CN107800667A - A kind of information processing method and access processing unit - Google Patents
A kind of information processing method and access processing unit Download PDFInfo
- Publication number
- CN107800667A CN107800667A CN201610801042.4A CN201610801042A CN107800667A CN 107800667 A CN107800667 A CN 107800667A CN 201610801042 A CN201610801042 A CN 201610801042A CN 107800667 A CN107800667 A CN 107800667A
- Authority
- CN
- China
- Prior art keywords
- data
- request
- interface
- business
- feedback
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/06—Asset management; Financial planning or analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Strategic Management (AREA)
- Environmental & Geological Engineering (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Economics (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of information processing method and access processing unit, wherein, methods described includes:Obtain the business request for data of transmitting terminal;Enter line interface adaptation to the business request for data according to the first configuration parameter, obtain the request for data for meeting receiving terminal business interface demand, the request for data is transmitted to receiving terminal;Obtain the business feedback data of receiving terminal;Enter line interface adaptation to the business feedback data according to the second configuration parameter, obtain the feedback data for meeting transmitting terminal business interface demand, the feedback data is transmitted to transmitting terminal;Data interaction checking is carried out between the request for data and the feedback data according to preset strategy, the data of validation-cross failure are subjected to rollback processing, and failure information is carried in the rollback processing request of generation.
Description
Technical field
The present invention relates to Internet technology, more particularly to a kind of information processing method and access processing unit.
Background technology
In the big data epoch, the fusion between different pieces of information is very important, and the type of different pieces of information and structure all may be used
Can be different, it is necessary to handle different pieces of information, solve the otherness between data and comply with the demand of whole operation flow.
By taking internet financial business as an example, a financing platform that Duo Jia financial institutions can be docked, as the platform is receiving the industry of user
Business application after, a financial institution in Qu Duojia financial institutions handles the business, due between platform and financial institution this two
All had nothing in common with each other, it is necessary to request for data and feedback data at platform side in data type, structure, interface etc. between person
Reason, this processing cost is very cumbersome and complicated, because often increasing a new data, platform is required for being directed to this again
Data are modified to processing logic, and treatment effeciency is low, and processing cost is also higher.In addition, request for data and feedback data are being located
Easily occur real data and expected incongruent problem during reason, for example, data do not possess integrality, data will not property
Deng, however, in correlation technique, for the problem, there is no effective solution, at present there is an urgent need to one kind to improve handle imitate
Rate, reduce processing cost and reduce the information processing scheme of data processing error probability.
The content of the invention
In view of this, the embodiments of the invention provide a kind of information processing method and access processing unit, solve at least
The problem of prior art is present.
What the technical scheme of the embodiment of the present invention was realized in:
A kind of information processing method of the embodiment of the present invention, methods described include:
Obtain the business request for data of transmitting terminal;
Enter line interface adaptation to the business request for data according to the first configuration parameter, obtain meeting receiving terminal business interface
The request for data of demand, the request for data is transmitted to receiving terminal;
Obtain the business feedback data of receiving terminal;
Enter line interface adaptation to the business feedback data according to the second configuration parameter, obtain meeting transmitting terminal business interface
The feedback data of demand, the feedback data is transmitted to transmitting terminal;
Data interaction checking is carried out between the request for data and the feedback data according to preset strategy, by validation-cross
The data of failure carry out rollback processing, and carry failure information in the rollback processing request of generation.
In such scheme, enter line interface adaptation to the business request for data according to the first configuration parameter, obtain meeting and connect
The request for data of receiving end business interface demand, including:
The first service identification according to corresponding to inquiring the business request for data, first service identification are to match somebody with somebody in advance
It is placed in the mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to first service identification loading, the configuration item parameter is defined as described the
One configuration parameter;
Conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal business and connects
The request for data of mouth demand.
In such scheme, conversion process is carried out to the business request for data according to the configuration item parameter, including:
The configuration item parameter defines data including at least one interface format;
Defined in data and carried from least one interface format according to the first type of service of the business request for data
First interface form corresponding to taking defines data, for the conversion of interface adaptation;
Load the first interface form and define data, data are defined to the business Shen according to the first interface form
Please data carry out data validation, to carrying out turning for the interface adaptation by the business request for data of legitimate verification
Change.
In such scheme, it is legal to business request for data progress data that data are defined according to the first interface form
Property checking, including:
Data are defined according to the first interface form to solve the file header and data volume of the business request for data
Analysis, to check data validation;
When not passing through legitimate verification, the illegal cause information of data is returned into transmitting terminal.
In such scheme, enter line interface adaptation to the business feedback data according to the second configuration parameter, obtain meeting hair
The feedback data of sending end business interface demand, the feedback data is transmitted to transmitting terminal, including:
The second service identification according to corresponding to inquiring the business feedback data, second service identification are to match somebody with somebody in advance
It is placed in the mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to second service identification loading, the configuration item parameter is defined as described the
Two configuration parameters;
Conversion process is carried out to the business feedback data according to the configuration item parameter, obtains meeting transmitting terminal business and connects
The feedback data of mouth demand.
In such scheme, conversion process is carried out to the business feedback data according to the configuration item parameter, including:
The configuration item parameter defines data including at least one interface format;
Defined in data and carried from least one interface format according to the first type of service of the business feedback data
First interface form corresponding to taking defines data, for the conversion of interface adaptation;
Load the first interface form and define data, it is anti-to the business to define data according to the first interface form
The conversion that data carry out the interface adaptation is presented, the feedback data is obtained, by the configuration item parameter and the feedback data
It is supplied to transmitting terminal to carry out data validation.
In such scheme, data interaction is carried out between the request for data and the feedback data according to preset strategy and tested
Card, the data of validation-cross failure are subjected to rollback processing, and failure information is carried in the rollback processing request of generation, wrapped
Include:
Load the feedback data;
Load the request for data;
The first strategy for data check and reconciliation is extracted from the preset strategy;
Judge that the feedback data and the request for data are correct in data integrity and data according to the described first strategy
Property on whether be consistent, if it is inconsistent, the failure information that will be generated according to data check result and failure cause
It is encapsulated into rollback processing request, sends the processing request that retracts to receiving terminal.
In such scheme, methods described also includes:
When real data occur in processing procedure in the request for data and the feedback data and are expected incongruent inclined
During poor situation, the second strategy for strengthening or increasing and decreasing deviation adjusting is extracted from the preset strategy;
According to the second strategy generating deviation adjusting amount, the deviation adjusting amount is encapsulated into rollback processing request;
Acquisition there is the 3rd service identification corresponding to the transmitting terminal of deviation situation, by it is described retract handle request be sent to
Transmitting terminal corresponding to 3rd service identification.
A kind of access processing unit of the embodiment of the present invention, described device include:
First acquisition unit, for obtaining the business request for data of transmitting terminal;
First adaptation unit, for entering line interface adaptation to the business request for data according to the first configuration parameter, obtain
Meet the request for data of receiving terminal business interface demand, the request for data is transmitted to receiving terminal;
Second acquisition unit, for obtaining the business feedback data of receiving terminal;
Second adaptation unit, for entering line interface adaptation to the business feedback data according to the second configuration parameter, obtain
Meet the feedback data of transmitting terminal business interface demand, the feedback data is transmitted to transmitting terminal;
Authentication unit, tested for carrying out data interaction between the request for data and the feedback data according to preset strategy
Card, the data of validation-cross failure are subjected to rollback processing, and failure information is carried in the rollback processing request of generation.
In such scheme, first adaptation unit, it is further used for:
The first service identification according to corresponding to inquiring the business request for data, first service identification are to match somebody with somebody in advance
It is placed in the mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to first service identification loading, the configuration item parameter is defined as described the
One configuration parameter;
Conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal business and connects
The request for data of mouth demand.
In such scheme, first adaptation unit, it is further used for:
The configuration item parameter defines data including at least one interface format;
Defined in data and carried from least one interface format according to the first type of service of the business request for data
First interface form corresponding to taking defines data, for the conversion of interface adaptation;
Load the first interface form and define data, data are defined to the business Shen according to the first interface form
Please data carry out data validation, to carrying out turning for the interface adaptation by the business request for data of legitimate verification
Change.
In such scheme, first adaptation unit, it is further used for:
Data are defined according to the first interface form to solve the file header and data volume of the business request for data
Analysis, to check data validation;
When not passing through legitimate verification, the illegal cause information of data is returned into transmitting terminal.
In such scheme, second adaptation unit, it is further used for:
The second service identification according to corresponding to inquiring the business feedback data, second service identification are to match somebody with somebody in advance
It is placed in the mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to second service identification loading, the configuration item parameter is defined as described the
Two configuration parameters;
Conversion process is carried out to the business feedback data according to the configuration item parameter, obtains meeting transmitting terminal business and connects
The feedback data of mouth demand.
In such scheme, second adaptation unit, it is further used for:
The configuration item parameter defines data including at least one interface format;
Defined in data and carried from least one interface format according to the first type of service of the business feedback data
First interface form corresponding to taking defines data, for the conversion of interface adaptation;
Load the first interface form and define data, it is anti-to the business to define data according to the first interface form
The conversion that data carry out the interface adaptation is presented, the feedback data is obtained, by the configuration item parameter and the feedback data
It is supplied to transmitting terminal to carry out data validation.
In such scheme, the authentication unit, it is further used for:
Load the feedback data;
Load the request for data;
The first strategy for data check and reconciliation is extracted from the preset strategy;
Judge that the feedback data and the request for data are correct in data integrity and data according to the described first strategy
Property on whether be consistent, if it is inconsistent, the failure information that will be generated according to data check result and failure cause
It is encapsulated into rollback processing request, sends the processing request that retracts to receiving terminal.
In such scheme, described device also includes:Deviation adjusting unit, is used for:
When real data occur in processing procedure in the request for data and the feedback data and are expected incongruent inclined
During poor situation, the second strategy for strengthening or increasing and decreasing deviation adjusting is extracted from the preset strategy;
According to the second strategy generating deviation adjusting amount, the deviation adjusting amount is encapsulated into rollback processing request;
Acquisition there is the 3rd service identification corresponding to the transmitting terminal of deviation situation, by it is described retract handle request be sent to
Transmitting terminal corresponding to 3rd service identification.
The information processing method of the embodiment of the present invention includes:Obtain the business request for data of transmitting terminal;According to the first configuration
Parameter enters line interface adaptation to the business request for data, the request for data for meeting receiving terminal business interface demand is obtained, by institute
State request for data and be transmitted to receiving terminal;Obtain the business feedback data of receiving terminal;It is anti-to the business according to the second configuration parameter
Feedback data enter line interface adaptation, obtain the feedback data for meeting transmitting terminal business interface demand, the feedback data is transmitted to
Transmitting terminal;Data interaction checking is carried out between the request for data and the feedback data according to preset strategy, by validation-cross
The data of failure carry out rollback processing, and carry failure information in the rollback processing request of generation.
Using the embodiment of the present invention, line interface adaptation is entered in access processing unit side to request for data and feedback data and turned
Platform and financial institution are available to after changing processing, it is not necessary to often increase a new data and just remodify processing logic, because
This, processing cost is low, and treatment effeciency is high.In addition, tested by carrying out data interaction between the request for data and the feedback data
Card, the data of validation-cross failure are subjected to rollback processing, and failure information is carried in the rollback processing request of generation, can be with
Avoid request for data and real data that feedback data occurs during processing and expected incongruent problem, reduce data
Handle error probability.
Brief description of the drawings
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present invention;
Fig. 2 is the handling process schematic diagram of the embodiment of the present invention one;
Fig. 3 is the handling process schematic diagram of the embodiment of the present invention two;
Fig. 4 is the handling process schematic diagram of the practical application of conversion process one in the embodiment of the present invention two;
Fig. 5 is the handling process schematic diagram of the embodiment of the present invention three;
Fig. 6 is the handling process schematic diagram of the embodiment of the present invention four;
Fig. 7 is that the system of the embodiment of the present invention five forms structural representation;
Fig. 8 is that the fund product of existing internet financing platform accesses schematic diagram;
Fig. 9 is the frame using the internet financing platform of the embodiment of the present invention, access processing unit and Fund Company's composition
Frame schematic diagram;
Figure 10 is the processing logical schematic using the access processing unit of the embodiment of the present invention to application interface;
Figure 11 is the access processing unit using the embodiment of the present invention and the interaction logic schematic diagram of request for data interface;
Figure 12 is to define schematic diagram using the reference format for applying to purchase application interface of the embodiment of the present invention;
Figure 13 is the processing logical schematic using the access processing unit of the embodiment of the present invention to confirmation interface;
Figure 14 is using interaction logic schematic diagram of the access processing unit of the embodiment of the present invention with confirming data-interface;
Figure 15 is to confirm that the reference format of interface defines schematic diagram using applying to purchase for the embodiment of the present invention;
Figure 16 is to need it data being processed into after normal data using the access processing unit of the embodiment of the present invention
The processing logical schematic that preceding request for data is verified and checked;
Figure 17 is to strengthen by force to subtract processing logical schematic using the access processing unit share data of the embodiment of the present invention;
Figure 18 is that the data format definition for subtracting standard interface using the strong enhancing of access processing unit of the embodiment of the present invention shows
It is intended to.
Embodiment
The implementation to technical scheme is described in further detail below in conjunction with the accompanying drawings.
Describe to realize the mobile terminal of each embodiment of the present invention referring now to accompanying drawing.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for being advantageous to the explanation of the embodiment of the present invention,
Itself do not have specific meaning.Therefore, " module " can be used mixedly with " part ".
In the following detailed description, numerous details is set forth, thoroughly to understand the present invention.But, for
For one of ordinary skill in the art, it is clear that the present invention can be put into practice in the case of these no details.In other feelings
Under condition, disclosed known method, process, component, circuit and network are not described in detail, to avoid unnecessarily making embodiment
Various aspects are smudgy.
In addition, herein although term " first ", " second " etc. is employed many times describe various elements (or various threshold values or
Various applications or various instructions or various operations) etc., but these elements (or threshold value or application or instruction or operation) should not be by
The limitation of these terms.These terms are only intended to distinguish an element (or threshold value or application or instruction or operation) and another
Element (or threshold value or application or instruction or operation).For example, the first operation can be referred to as the second operation, the second operation can also
It is referred to as the first operation, without departing from the scope of the present invention, the first operation and the second operation are all operations, and simply the two is not
Identical operates.
Step in the embodiment of the present invention is not necessarily handled according to described step order, can be according to need
Ask and step is selectively upset into rearrangement, either delete the step in the step or increase embodiment in embodiment, the present invention
Step description in embodiment is optional sequential combination, does not represent all sequence of steps combination of the embodiment of the present invention,
Step order in embodiment is not construed as limiting the invention.
Term "and/or" in the embodiment of the present invention refers to including one or more of associated listed items
Any and whole possibility combination.It may also be noticed that:Where used in this disclosure, "comprises/comprising" specifies what is stated
Feature, integer, step, operation, the presence of element and/or component, but it is not excluded for other one or more features, integer, step
Suddenly, the presence or addition of operation, element and/or component and/or their group.
The intelligent terminal (such as mobile terminal) of the embodiment of the present invention can be implemented in a variety of manners.For example, the present invention is real
Apply mobile terminal described in example can include such as mobile phone, smart phone, notebook computer, digit broadcasting receiver,
Personal digital assistant (PDA, Personal Digital Assistant), tablet personal computer (PAD), portable media player
(PMP, Portable Media Player), guider etc. mobile terminal and digital TV, desktop computer etc.
Deng fixed terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that except especially using
Outside the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present invention, and Fig. 1 includes:Access
Processing unit 11, terminal device 21-24, platform 31 and financial institution 41, terminal device 21-24 pass through cable network or wireless
Network carries out information exchange with server, and terminal device includes the types such as mobile phone, desktop computer, PC, all-in-one.Access processing dress
It is that example is stated with a server in Fig. 1 to put 11, platform 31 and financial institution 41, in actual applications, access processing
Device 11, platform 31 and financial institution 41 can be the group systems that multiple servers and its corollary apparatus are formed, using this hair
Bright embodiment, terminal device 21-24 carry out information exchange with platform 31 by cable network or wireless network, propose business Shen
Please, and receive and handle obtained business through platform 31, access processing unit 11 and the collaboration of financial institution 41 and feed back.Wherein, platform
The business application of receiving terminal equipment, be submitted to access processing unit enter line interface adaptation after, to adapt to financial institution
Data format, the business application after interface is adapted to submit to financial institution and carry out service handling, and financial institution accepts business Shen
Please, obtain business feedback, be submitted to access processing unit enter line interface adaptation after, to adapt to the data format of platform, warp
Business feedback after interface adaptation submits to platform, and most business feedback submits to terminal device, terminal device finishing service at last
The process applied and accepted, obtain expected business feedback.For accessing processing unit, it, which handles logic 10, includes:S1, obtain
Make even the business request for data of you, enter line interface adaptation to the business request for data according to the first configuration parameter, accorded with
Alloy melts the request for data of institution business interface requirements;S2, send the request for data;S3, the business of acquisition financial institution are anti-
Data are presented, enters line interface adaptation to the business feedback data according to the second configuration parameter, obtains meeting transmitting terminal business interface
The feedback data of demand;S4, send the feedback data;S5, according to preset strategy between request for data and feedback data carry out
Data interaction is verified;S6, the data of validation-cross failure are carried out to rollback processing, and carried in the rollback processing request of generation
Failure information.
Above-mentioned Fig. 1 example is a system architecture example for realizing the embodiment of the present invention, and the embodiment of the present invention is not
It is limited to the system architecture described in above-mentioned Fig. 1, based on the system architecture described in Fig. 1, proposes each embodiment of the inventive method.
Embodiment one:
A kind of information processing method of the embodiment of the present invention, as shown in Fig. 2 methods described includes:
Step 101, the business request for data for obtaining transmitting terminal.
Here, transmitting terminal can be the platform (e.g., internet financing platform) of trustship financial business in actual applications, should
Platform can access multiple terminal devices, and receive the business application of multiple terminal devices.
Step 102, enter line interface adaptation to the business request for data according to the first configuration parameter, obtain meeting receiving terminal
The request for data of business interface demand, the request for data is transmitted to receiving terminal.
Here, the first configuration parameter is the statement of a convenient expression, refers to and enters line interface for business request for data and fit
The configuration parameter matched somebody with somebody, is specifically as follows configuration item parameter, and configuration item parameter can both be stored in database (DB), and can also protect
Exist in configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system,
Only need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in configuration file relatively simple
It is single, but parameter is not shared, it is necessary to store a configuration item parameter in each place.By the first configuration parameter to institute
The business request for data of stating enters line interface adaptation, the request for data for meeting receiving terminal business interface demand is obtained, by the application number
According to being transmitted to receiving terminal.Wherein, for interface adaptation, platform (such as internet financing platform) is needed to financial institution (such as
Fund Company) submit request for data interface mainly include open an account application interface, apply to purchase application interface, redeem application interface.
Step 103, the business feedback data for obtaining receiving terminal.
Here, receiving terminal can be financial institution in actual applications, can access multiple (such as Bank of Chinas of financial institution
With the company or Fund Company etc. such as Deng Yao banks of industrial and commercial bank classes, share certificate, various inhomogeneities can be provided for terminal device
The financial business of type).
Step 104, enter line interface adaptation to the business feedback data according to the second configuration parameter, obtain meeting transmitting terminal
The feedback data of business interface demand, the feedback data is transmitted to transmitting terminal.
Here, the second configuration parameter is the statement of a convenient expression, refers to and enters line interface for business feedback data and fit
The configuration parameter matched somebody with somebody, is specifically as follows configuration item parameter, and configuration item parameter can both be stored in database (DB), and can also protect
Exist in configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system,
Only need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in configuration file relatively simple
It is single, but parameter is not shared, it is necessary to store a configuration item parameter in each place.By the second configuration parameter to institute
The business feedback data of stating enters line interface adaptation, the feedback data for meeting transmitting terminal business interface demand is obtained, by the feedback coefficient
According to being transmitted to transmitting terminal.
Step 105, data interaction checking carried out between the request for data and the feedback data according to preset strategy, will
The data of validation-cross failure carry out rollback processing, and carry failure information in the rollback processing request of generation.
Here, data interaction checking is carried out between the request for data and the feedback data according to preset strategy, at least
Ensure the integrality and correctness of data interaction.For the guarantee of correctness, due to access processing unit can handle it is flat
Interaction data between platform (such as internet financing platform) and financial institution (such as Fund Company), therefore it is necessary to access processing unit
The data for ensureing to be supplied to platform (such as internet financing platform) and financial institution (such as Fund Company) are all correct.Mainly
Ensure by following two strategies:1) data check and reconciliation logic;2) enhancing subtracts logic to share by force.
Using the embodiment of the present invention, by accessing processing unit to platform (such as internet financing platform) and financial institution
Interface difference between (such as Fund Company) is adapted to.Such as, by taking Fund Company as an example, it is necessary to) adaptation different Fund Companies
External interface difference.At present, the external interface of fund/insurance company is broadly divided into two classes:One kind be internet manage money matters platform to
The interface of request for data is submitted by Fund Company;One kind is interface of the Fund Company to internet financing platform feedback acknowledgment data.
Request for data interface and confirmation are adapted to by accessing processing unit (a specific implementation form can be the form of middleware)
The difference of data-interface (or feedback data interface), it is adapted to by the interface for accessing processing unit, can be to each internet
Platform of managing money matters provides the request for data interface of standard and confirms data-interface.The access processing unit reusable and independently of interconnection
Net financing platform and Fund Company, realize shielding and be adapted to the external interface difference of different fund products.Can be by including first
The mode of the configuration of the configuration item parameter of configuration parameter and the second configuration parameter is neatly adapted to the business of different fund products
Logic difference, standard is provided without changing processing logic for the data often updated, and to multiple internets financing platform
Interface service;Verification verification between request for data and feedback data, it is ensured that data are being handled and the standard in transmitting procedure
True property and integrality, so as to significantly provide the new product access efficiency of internet financing platform, reduce internet financing platform
System development and maintenance cost.
The position of transmitting terminal and receiving terminal in the present embodiment can be exchanged mutually, here, it is convenient fixed be only intended to explanation
The appellation of justice.
Embodiment two:
A kind of information processing method of the embodiment of the present invention, as shown in figure 3, methods described includes:
Step 201, the business request for data for obtaining transmitting terminal.
Here, transmitting terminal can be the platform (e.g., internet financing platform) of trustship financial business in actual applications, should
Platform can access multiple terminal devices, and receive the business application of multiple terminal devices.
Here, the type of service of the business request for data comprises at least:Open an account application, the application of applying to purchase, redeem application in
At least one, the business request for data, according to type of service respectively correspond to open an account application interface, apply to purchase application interface, redeem
Return application interface and carry out the interface adaptation.That is, different application interfaces can only handle corresponding request for data file,
Such as apply to purchase application interface and can only handle and apply to purchase request for data file.
Here, the transmission means of business request for data can use following two schemes:1) processing unit is accessed from platform
Active downloading service request for data in the system of (such as internet financing platform);2) platform (such as internet financing platform) active handle
Business request for data is uploaded in the system of access processing unit.
In actual applications, business request for data can periodic Batch sending.For the business Shen of finance product T days
Please data, Fund Company can be confirmed in T+1 days and return to confirmation data, due in finance services to the reality of data transfer
When property is less demanding, and financing platform in internet can use file mode disposably transmission services request for data, so may be used also
To mitigate the concurrent request pressure to accessing processing unit interface.During the business request for data transmission of internet financing platform T days
Between generally in 2-3 hour starting T+1 days, for access processing unit service and the enough data processing of Fund Company's guarantee
Time.So-called T days, an example are:The day of trade that certain Shanghai exchange externally announces, not including weekend and country ownership method
Determine holiday.
Step 202, the first service identification according to corresponding to inquiring the business request for data, first service identification
To be pre-configured with and being stored in the mark of transmitting terminal and receiving terminal.
Here, a kind of implementation of first service identification is:Pass through what is established between transmitting terminal and receiving terminal
Obtained when communication protocol interface is held consultation.
Here, an example of the first service identification is:Trade company number.The trade company number be internet treasury management services platform and
The product identification for certain finance product decided through consultation between financing/insurance company, such as, the fund business of Bank of China is bought, it is corresponding
Mark be exactly Bank of China's fund business fund number.
Step 203, the configuration item parameter according to corresponding to first service identification loading, the configuration item parameter is determined
For first configuration parameter.
Step 204, according to the configuration item parameter to the business request for data carry out conversion process, obtain meeting reception
Hold the request for data of business interface demand.
Here, by above-mentioned steps 202-204, line interface can be entered to the business request for data according to the first configuration parameter
Adaptation, obtains the request for data for meeting receiving terminal business interface demand, the request for data is transmitted into receiving terminal.One example
For:Trade company number is carried in business request for data, then accesses processing unit and obtains the business application number that internet financing platform is submitted
According to rear, the configuration item data of loading fund product, and the Shen submitted according to specific configuration item parameter to internet financing platform
Please data carry out conversion process, generation meets the data of Fund Company's requirement, and the data after processing is sent to corresponding base
King Company, to be adapted to the interface difference of counterpart fund company.
Here, the first configuration parameter is the statement of a convenient expression, refers to and enters line interface for business request for data and fit
The configuration parameter matched somebody with somebody, is specifically as follows configuration item parameter, and configuration item parameter can both be stored in database (DB), and can also protect
Exist in configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system,
Only need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in configuration file relatively simple
It is single, but parameter is not shared, it is necessary to store a configuration item parameter in each place.By the first configuration parameter to institute
The business request for data of stating enters line interface adaptation, the request for data for meeting receiving terminal business interface demand is obtained, by the application number
According to being transmitted to receiving terminal.Wherein, for interface adaptation, platform (such as internet financing platform) is needed to financial institution (such as
Fund Company) submit request for data interface mainly include open an account application interface, apply to purchase application interface, redeem application interface.
Here, conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal
The request for data of business interface demand, as shown in figure 4, including:
Step 2041, the configuration item parameter define data including at least one interface format.
Step 2042, defined from least one interface format according to the first type of service of the business request for data
First interface form defines data corresponding to extracting data, for the conversion of interface adaptation.
Here, the different service types of the business request for data correspond to different interface formats and define data, such as, Shen
Purchase application, correspond to apply to purchase and apply for that interface format defines data.
Step 2043, the loading first interface form define data, and data pair are defined according to the first interface form
The business request for data carries out data validation, to carrying out the interface by the business request for data of legitimate verification
The conversion of adaptation.
Here, in a practical application, data are defined to the business request for data according to the first interface form
File header and data volume parsed, it is when not passing through legitimate verification, data are illegal to check data validation
Cause information returns to transmitting terminal.
Step 205, the business feedback data for obtaining receiving terminal.
Here, receiving terminal can be financial institution in actual applications, can access multiple (such as Bank of Chinas of financial institution
With the company or Fund Company etc. such as Deng Yao banks of industrial and commercial bank classes, share certificate, various inhomogeneities can be provided for terminal device
The financial business of type).
Step 206, enter line interface adaptation to the business feedback data according to the second configuration parameter, obtain meeting transmitting terminal
The feedback data of business interface demand, the feedback data is transmitted to transmitting terminal.
Here, the second configuration parameter is the statement of a convenient expression, refers to and enters line interface for business feedback data and fit
The configuration parameter matched somebody with somebody, is specifically as follows configuration item parameter, and configuration item parameter can both be stored in database (DB), and can also protect
Exist in configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system,
Only need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in configuration file relatively simple
It is single, but parameter is not shared, it is necessary to store a configuration item parameter in each place.By the second configuration parameter to institute
The business feedback data of stating enters line interface adaptation, the feedback data for meeting transmitting terminal business interface demand is obtained, by the feedback coefficient
According to being transmitted to transmitting terminal.
Step 207, data interaction checking carried out between the request for data and the feedback data according to preset strategy, will
The data of validation-cross failure carry out rollback processing, and carry failure information in the rollback processing request of generation.
Here, data interaction checking is carried out between the request for data and the feedback data according to preset strategy, at least
Ensure the integrality and correctness of data interaction.For the guarantee of correctness, due to access processing unit can handle it is flat
Interaction data between platform (such as internet financing platform) and financial institution (such as Fund Company), therefore it is necessary to access processing unit
The data for ensureing to be supplied to platform (such as internet financing platform) and financial institution (such as Fund Company) are all correct.Mainly
Ensure by following two strategies:1) data check and reconciliation logic;2) enhancing subtracts logic to share by force.
Using the embodiment of the present invention, by accessing processing unit to platform (such as internet financing platform) and financial institution
Interface difference between (such as Fund Company) is adapted to.Such as, by taking Fund Company as an example, it is necessary to) adaptation different Fund Companies
External interface difference.At present, the external interface of fund/insurance company is broadly divided into two classes:One kind be internet manage money matters platform to
The interface of request for data is submitted by Fund Company;One kind is interface of the Fund Company to internet financing platform feedback acknowledgment data.
Fitted by accessing processing unit (a specific implementation form can be the form of access processing unit (such as financing middleware))
Difference with request for data interface and confirmation data-interface (or feedback data interface), is fitted by the interface for accessing processing unit
Match somebody with somebody, the platform that can be managed money matters to each internet provides the request for data interface of standard and confirms data-interface.Access processing dress
Put reusable and independently of internet financing platform and Fund Company, realize shielding and be adapted to the external interface of different fund products
Difference.Can neatly it be adapted to by way of the configuration including the first configuration parameter and the configuration item parameter of the second configuration parameter
The service logic difference of different fund products, without changing processing logic for the data often updated, and to multiple internets
Platform of managing money matters provides the interface service of standard;Verification verification between request for data and feedback data, it is ensured that data are being located
Accuracy and integrality in reason and transmitting procedure, so as to significantly provide the new product access efficiency of internet financing platform, drop
The system development of low internet financing platform and maintenance cost.
The position of transmitting terminal and receiving terminal in the present embodiment can be exchanged mutually, here, it is convenient fixed be only intended to explanation
The appellation of justice.
Embodiment three:
A kind of information processing method of the embodiment of the present invention, as shown in figure 5, methods described includes:
Step 301, the business request for data for obtaining transmitting terminal.
Here, transmitting terminal can be the platform (e.g., internet financing platform) of trustship financial business in actual applications, should
Platform can access multiple terminal devices, and receive the business application of multiple terminal devices.
Here, the type of service of the business request for data comprises at least:Open an account application, the application of applying to purchase, redeem application in
At least one, the business request for data, according to type of service respectively correspond to open an account application interface, apply to purchase application interface, redeem
Return application interface and carry out the interface adaptation.That is, different application interfaces can only handle corresponding request for data file,
Such as apply to purchase application interface and can only handle and apply to purchase request for data file.
Here, the transmission means of business request for data can use following two schemes:1) processing unit is accessed from platform
Active downloading service request for data in the system of (such as internet financing platform);2) platform (such as internet financing platform) active handle
Business request for data is uploaded in the system of access processing unit.
In actual applications, business request for data can periodic Batch sending.For the business Shen of finance product T days
Please data, Fund Company can be confirmed in T+1 days and return to confirmation data, due in finance services to the reality of data transfer
When property is less demanding, and financing platform in internet can use file mode disposably transmission services request for data, so may be used also
To mitigate the concurrent request pressure to accessing processing unit interface.During the business request for data transmission of internet financing platform T days
Between generally in 2-3 hour starting T+1 days, for access processing unit service and the enough data processing of Fund Company's guarantee
Time.So-called T days, an example are:The day of trade that certain Shanghai exchange externally announces, not including weekend and country ownership method
Determine holiday.
Step 302, the first service identification according to corresponding to inquiring the business request for data, first service identification
To be pre-configured with and being stored in the mark of transmitting terminal and receiving terminal.
Here, a kind of implementation of first service identification is:Pass through what is established between transmitting terminal and receiving terminal
Obtained when communication protocol interface is held consultation.
Here, an example of the first service identification is:Trade company number.The trade company number be internet treasury management services platform and
The product identification for certain finance product decided through consultation between financing/insurance company, such as, the fund business of Bank of China is bought, it is corresponding
Mark be exactly Bank of China's fund business fund number.
Step 303, the configuration item parameter according to corresponding to first service identification loading, the configuration item parameter is determined
For first configuration parameter.
Step 304, according to the configuration item parameter to the business request for data carry out conversion process, obtain meeting reception
Hold the request for data of business interface demand.
Here, by above-mentioned steps 302-304, line interface can be entered to the business request for data according to the first configuration parameter
Adaptation, obtains the request for data for meeting receiving terminal business interface demand, the request for data is transmitted into receiving terminal.One example
For:Trade company number is carried in business request for data, then accesses processing unit and obtains the business application number that internet financing platform is submitted
According to rear, the configuration item data of loading fund product, and the Shen submitted according to specific configuration item parameter to internet financing platform
Please data carry out conversion process, generation meets the data of Fund Company's requirement, and the data after processing is sent to corresponding base
King Company, to be adapted to the interface difference of counterpart fund company.
Here, the first configuration parameter is the statement of a convenient expression, refers to and enters line interface for business request for data and fit
The configuration parameter matched somebody with somebody, is specifically as follows configuration item parameter, and configuration item parameter can both be stored in database (DB), and can also protect
Exist in configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system,
Only need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in configuration file relatively simple
It is single, but parameter is not shared, it is necessary to store a configuration item parameter in each place.By the first configuration parameter to institute
The business request for data of stating enters line interface adaptation, the request for data for meeting receiving terminal business interface demand is obtained, by the application number
According to being transmitted to receiving terminal.Wherein, for interface adaptation, platform (such as internet financing platform) is needed to financial institution (such as
Fund Company) submit request for data interface mainly include open an account application interface, apply to purchase application interface, redeem application interface.
Here, conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal
The request for data of business interface demand, including:The configuration item parameter defines data including at least one interface format;According to institute
State the first type of service of business request for data and define corresponding to extracting data first from least one interface format and connect
Mouthful form defines data, and for the conversion of interface adaptation, the different service types of the business request for data correspond to different
Interface format defines data, such as, the application of applying to purchase, correspond to apply to purchase and apply for that interface format defines data;Load the first interface
Form defines data, and defining data according to the first interface form tests business request for data progress data validation
Card, the conversion of the interface adaptation is carried out to the business request for data by legitimate verification.
Here, in a practical application, data are defined to the business request for data according to the first interface form
File header and data volume parsed, it is when not passing through legitimate verification, data are illegal to check data validation
Cause information returns to transmitting terminal.
Step 305, the business feedback data for obtaining receiving terminal.
Here, the type of service of the business feedback data comprises at least:Open an account confirmation, trade confirmation, income reconciliation, strong
Enhancing at least one of subtracts.The business feedback data, correspond to open an account confirmation interface, trade confirmation respectively according to type of service
Interface, income reconciliation interface, strong enhancing subtract interface and carry out the interface adaptation.That is, different feedback interfaces can only be located
Feedback data file corresponding to reason, such as open an account and confirm that interface can only handle confirmation data file of opening an account.
Here, receiving terminal can be financial institution in actual applications, can access multiple (such as Bank of Chinas of financial institution
With the company or Fund Company etc. such as Deng Yao banks of industrial and commercial bank classes, share certificate, various inhomogeneities can be provided for terminal device
The financial business of type).
Step 306, the second service identification according to corresponding to inquiring the business feedback data, second service identification
To be pre-configured with and being stored in the mark of transmitting terminal and receiving terminal.
Here, a kind of implementation of second service identification is:Pass through what is established between transmitting terminal and receiving terminal
Obtained when communication protocol interface is held consultation.
Here, an example of the second service identification is:Trade company number.The trade company number be internet treasury management services platform and
The product identification for certain finance product decided through consultation between financing/insurance company, such as, the fund business of Bank of China is bought, it is corresponding
Mark be exactly Bank of China's fund business fund number.The first service identification and the second service identification in the present embodiment exist
It is identical mark in same data interaction flow.
Step 307, the configuration item parameter according to corresponding to second service identification loading, the configuration item parameter is determined
For second configuration parameter.
Step 308, according to the configuration item parameter to the business feedback data carry out conversion process, obtain meeting transmission
Hold the feedback data of business interface demand.
By above-mentioned steps 306-308, line interface adaptation can be entered to the business feedback data according to the second configuration parameter,
The feedback data for meeting transmitting terminal business interface demand is obtained, the feedback data is transmitted to transmitting terminal.One example is:Industry
Trade company number is carried in feedback data of being engaged in, then after accessing the business feedback data that processing unit obtains Fund Company's submission, loading is mutual
The configuration item data of networking financing platform, and the feedback data submitted according to specific configuration item parameter to Fund Company turns
Processing is changed, generation meets the data of internet financing platform corresponding interface requirement, and the data after processing are sent to internet
The corresponding interface of financing platform, with the interface difference of the corresponding internet financing platform corresponding interface of adaptation.
Here, the second configuration parameter is the statement of a convenient expression, refers to and enters line interface for business feedback data and fit
The configuration parameter matched somebody with somebody, is specifically as follows configuration item parameter, and configuration item parameter can both be stored in database (DB), and can also protect
Exist in configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system,
Only need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in configuration file relatively simple
It is single, but parameter is not shared, it is necessary to store a configuration item parameter in each place.By the second configuration parameter to institute
The business feedback data of stating enters line interface adaptation, the feedback data for meeting transmitting terminal business interface demand is obtained, by the feedback coefficient
According to being transmitted to transmitting terminal.
Here, conversion process is carried out to the business feedback data according to the configuration item parameter, obtains meeting transmitting terminal
The feedback data of business interface demand, including:The configuration item parameter defines data including at least one interface format;According to institute
State the first type of service of business feedback data and define corresponding to extracting data first from least one interface format and connect
Mouth form defines data, for the conversion of interface adaptation, confirms that data-interface (or feedback data interface) mainly generates
And transmission standard confirms that data (file) are managed money matters platform to internet, wherein different confirmation interfaces can only handle corresponding confirmation
Data file;Load the first interface form and define data, data are defined to the business according to the first interface form
Feedback data carries out the conversion of the interface adaptation, the feedback data is obtained, by the configuration item parameter and the feedback coefficient
Data validation is carried out according to transmitting terminal is supplied to.
In actual applications, Fund Company can be confirmed simultaneously in T+1 days to the request for data of internet financing platform T days
Confirmation data file is returned to access processing unit, access processing unit to initial confirmation data according to before with internet
Financing platform agreement rule handled after, then by confirm interface confirmation data return to internet manage money matters platform,
Transmission means that is direct, confirming data file can use following two sides between access processing unit and internet financing platform
Case:1) actively download confirms data text to internet financing platform from the system of access processing unit (such as financing middleware) service
Part;2) system for accessing processing unit actively uploads to confirmation file in internet financing platform.And internet financing platform
The interface format for needing to load access processing unit (such as financing middleware) when processing confirms file defines data, then accordingly
Parsing confirms the file header and data body portion of data file.Specifically, file type can be judged according to filename, according to text
Part type loading interface form is defined, and resolution file head is defined according to confirmation interface, and resolution file number is defined according to confirmation interface
According to body, file data legitimacy is checked, the illegal cause information of file data is returned and gives access processing unit.
Step 309, data interaction checking carried out between the request for data and the feedback data according to preset strategy, will
The data of validation-cross failure carry out rollback processing, and carry failure information in the rollback processing request of generation.
Here, data interaction checking is carried out between the request for data and the feedback data according to preset strategy, at least
Ensure the integrality and correctness of data interaction.For the guarantee of correctness, due to access processing unit can handle it is flat
Interaction data between platform (such as internet financing platform) and financial institution (such as Fund Company), therefore it is necessary to access processing unit
The data for ensureing to be supplied to platform (such as internet financing platform) and financial institution (such as Fund Company) are all correct.Mainly
Ensure by following two strategies:1) data check and reconciliation logic;2) enhancing subtracts logic to share by force.
Using the embodiment of the present invention, by accessing processing unit to platform (such as internet financing platform) and financial institution
Interface difference between (such as Fund Company) is adapted to.Such as, by taking Fund Company as an example, it is necessary to) adaptation different Fund Companies
External interface difference.At present, the external interface of fund/insurance company is broadly divided into two classes:One kind be internet manage money matters platform to
The interface of request for data is submitted by Fund Company;One kind is interface of the Fund Company to internet financing platform feedback acknowledgment data.
Request for data interface and confirmation are adapted to by accessing processing unit (a specific implementation form can be the form of middleware)
The difference of data-interface (or feedback data interface), it is adapted to by the interface for accessing processing unit, can be to each internet
Platform of managing money matters provides the request for data interface of standard and confirms data-interface.The access processing unit reusable and independently of interconnection
Net financing platform and Fund Company, realize shielding and be adapted to the external interface difference of different fund products.Can be by including first
The mode of the configuration of the configuration item parameter of configuration parameter and the second configuration parameter is neatly adapted to the business of different fund products
Logic difference, standard is provided without changing processing logic for the data often updated, and to multiple internets financing platform
Interface service;Verification verification between request for data and feedback data, it is ensured that data are being handled and the standard in transmitting procedure
True property and integrality, so as to significantly provide the new product access efficiency of internet financing platform, reduce internet financing platform
System development and maintenance cost.
The to sum up description of these embodiments, it can be deduced that, using the embodiment of the present invention, when platform, (such as internet is managed money matters
Platform) selection access processing unit (as financing middleware) to access new finance product when, avoid the need for be adapted to finance
The interface difference of mechanism (such as Fund Company) and carry out system maintenance and development because the work of this part has been handed over to and connect
In the service for entering processing unit (such as financing middleware), so as to which the treatment effeciency of whole information exchange flow greatly improved, with
Then it is to improve the efficiency that internet financing platform accesses new fund exemplified by fund product.Simultaneously as access processing unit
The data that platform (such as internet financing platform) can be ensured to be supplied to (such as financing middleware) are complete and accurate, therefore, are put down
Platform (such as internet financing platform) avoids the need for carrying out core to the confirmation data of financial institution (such as Fund Company) in internal system
Pair and verification, so can largely mitigate the complexity of platform (such as internet financing platform) built-in system service logic
Property, make system update be easy to safeguard.
The position of transmitting terminal and receiving terminal in the present embodiment can be exchanged mutually, here, it is convenient fixed be only intended to explanation
The appellation of justice.
Example IV:
A kind of information processing method of the embodiment of the present invention, in above-described embodiment, by accessing processing unit processing interconnection
Interaction data between net financing platform and Fund Company, therefore, to assure that by being supplied to internet after accessing processing unit processing
The data of platform and Fund Company of managing money matters all are correct, therefore, it is necessary to according to preset strategy in the request for data and described
Data interaction checking is carried out between feedback data, the data of validation-cross failure are subjected to rollback processing, and at the rollback of generation
Failure information is carried in reason request, its concrete processing procedure, as shown in fig. 6, including:
Step 401, the loading feedback data.
Step 402, the loading request for data.
Step 403, extract from the preset strategy the first strategy for data check and reconciliation.
Judge that the feedback data and the request for data are correct in data integrity and data according to the described first strategy
Property on whether be consistent, if it is inconsistent, the failure information that will be generated according to data check result and failure cause
It is encapsulated into rollback processing request, sends the processing request that retracts to receiving terminal.
Here, the confirmation data (or feedback data) of internet financing platform are supplied to for Fund Company, at access
Reason device is verified and checked in request for data data being processed into before being needed after normal data.Specifically, loading
Request data, the confirmation data after loading processing, verification confirm data integrity, and verification confirms data correctness, if verification
Failure, then middleware returned data check results and failure cause are to Fund Company, if verified successfully, return to the trade company number
Confirmation data give internet financing platform.
Here, data check and verification are carried out using the first strategy of the embodiment of the present invention, can be to the confirmation after processing
The request for data that data (or feedback data) provide with internet financing platform is checked, it is consistent mainly to include both data
Property, confirm the inspection of data correctness etc., be reliable with the confirmation data for ensureing to return to internet financing platform.
Here, can also comprise the following steps after step 403:
Step 404, when the request for data and the feedback data occur in processing procedure real data with it is expected not
During the deviation situation met, the second strategy for strengthening or increasing and decreasing deviation adjusting is extracted from the preset strategy.
Here, such as, when Fund Company's system or access processing unit its own system due to cause data check
When there is deviation with the confirmation data (the mainly income and share data of user) after verification logical check, processing unit is accessed
Need to use strong enhancing to subtract interface to provide a kind of function of Data correction for internet financing platform, by accessing processing unit
Such as strong enhancing of the second strategy subtract logic, internet financing platform can adjust the abnormal quota of each trade company number in time
According to.Specifically, access processing unit receives the share data adjust request that Fund Company sends, trade company number, inspection are carried in request
Fund Company's request data is looked into, that collects each trade company number forces strong subtrahend evidence, generates the strong subtrahend evidence of forcing of standard, at access
Reason device, which returns, forces strong subtrahend according to internet financing platform is given, and forces strong subtrahend by internet financing platform to verify share
According to if verification failure, internet financing platform returns to error message and gives access processing unit, if verified successfully, mutually
The feedback data such as networking financing stage correction user's share.
Wherein, an example " strong enhancing subtracts logic " for the second strategy, the action type during its interface format defines includes 2
Kind:1) share is increased by force;2) share is subtracted by force.It is a very sensitive operation because share strengthens by force reducing, directly affects reason
Share data are held at finance family, therefore internet financing platform is also required to carry out verification of data before operation.
Step 405, according to the second strategy generating deviation adjusting amount, the deviation adjusting amount is encapsulated into rollback processing
In request.
There is the 3rd service identification corresponding to the transmitting terminal of deviation situation in step 406, acquisition, by the processing request that retracts
It is sent to transmitting terminal corresponding with the 3rd service identification.
Here, for the 3rd service identification, an example can be trade company number, and trade company number is internet treasury management services
The product identification for certain finance product decided through consultation between platform and financing/insurance company, such as, buy the Fund Industry of Bank of China
Business, corresponding mark are exactly the fund number of Bank of China's fund business.
Here, data are not all of retracting, and are targetedly to retract, i.e., are returned just for the transmitting terminal for deviation occur
Move back, such as, there are 11 transmitting terminals to have sent request, but the real data for finding there are 2 transmitting terminals in verification is with being expected not
Meet and cause the situation for deviation occur, then, using the embodiment of the present invention, data only can be carried out to this 2 transmitting terminals and returned
Move back, and allow this deviation adjusting amount of 2 terminals in data-backoff to look at this departure whether just from performing check and verification
Really, if correctly, request is re-emitted after just being adjusted for this departure.
Embodiment five:
A kind of information processing system of the embodiment of the present invention, wherein, the system includes platform 51, access processing unit 52 and
Financial institution 53, as shown in fig. 7, platform 51 is used to send business application, submit business request for data, financial institution 53 be used for by
Reason business application, the confirmation data (or feedback data) for business application are returned to, and access processing unit 52 and be used for industry
Request for data and the confirmation data (or feedback data) of being engaged in carry out corresponding interface adaptation, to avoid asking caused by interface otherness
Topic.Access processing unit 52 includes:First acquisition unit 521, for obtaining the business request for data of transmitting terminal;First adaptation is single
Member 522, for entering line interface adaptation to the business request for data according to the first configuration parameter, obtain meeting receiving terminal business and connect
The request for data of mouth demand, receiving terminal is transmitted to by the request for data;Second acquisition unit 523, for obtaining receiving terminal
Business feedback data;Second adaptation unit 524, fitted for entering line interface to the business feedback data according to the second configuration parameter
Match somebody with somebody, obtain the feedback data for meeting transmitting terminal business interface demand, the feedback data is transmitted to transmitting terminal;Authentication unit
525, for carrying out data interaction checking between the request for data and the feedback data according to preset strategy, by validation-cross
The data of failure carry out rollback processing, and carry failure information in the rollback processing request of generation.
Here, transmitting terminal can be the platform (e.g., internet financing platform) of trustship financial business in actual applications, should
Platform can access multiple terminal devices, and receive the business application of multiple terminal devices.Accordingly, receiving terminal is in practical application
In can be financial institution, multiple financial institutions (such as Bank of China and Deng Yao banks of industrial and commercial bank class, share certificate can be accessed
Deng company or Fund Company etc., various types of financial business can be provided for terminal device).First configuration parameter is
The statement of one convenient expression, refers to the configuration parameter for entering line interface adaptation for business request for data, is specifically as follows configuration item
Parameter.Similarly, the second configuration parameter is the statement of a convenient expression, refers to and enters line interface adaptation for business feedback data
Configuration parameter, can also be specifically configuration item parameter.Configuration item parameter can be both stored in database (DB), can also be preserved
In configuration file.Configuration item parameter is stored in the DB using distributed system, DB shares, suitable for group system, only
Need to preserve a configuration item parameter, DB setting is relative complex;Configuration item parameter is stored in it is relatively easy in configuration file,
But parameter is not shared, it is necessary to store a configuration item parameter in each place.By the first configuration parameter to described
Business request for data enters line interface adaptation, the request for data for meeting receiving terminal business interface demand is obtained, by the request for data
It is transmitted to receiving terminal.Wherein, for interface adaptation, platform (such as internet financing platform) is needed to financial institution's (such as base
King Company) submit request for data interface mainly include open an account application interface, apply to purchase application interface, redeem application interface.
Data interaction checking is carried out between the request for data and the feedback data according to preset strategy, at least ensured
The integrality and correctness of data interaction.For the guarantee of correctness, because access processing unit meeting processing platform is (as mutually
Networking financing platform) interaction data financial institution (such as Fund Company) between, therefore access processing unit it has to be ensured that
The data for being supplied to platform (such as internet financing platform) and financial institution (such as Fund Company) are all correct.Mainly by following
Two kinds of strategies ensure:1) data check and reconciliation logic;2) enhancing subtracts logic to share by force.
Using the embodiment of the present invention, by accessing processing unit to platform (such as internet financing platform) and financial institution
Interface difference between (such as Fund Company) is adapted to.Such as, by taking Fund Company as an example, it is necessary to) adaptation different Fund Companies
External interface difference.At present, the external interface of fund/insurance company is broadly divided into two classes:One kind be internet manage money matters platform to
The interface of request for data is submitted by Fund Company;One kind is interface of the Fund Company to internet financing platform feedback acknowledgment data.
Request for data interface and confirmation are adapted to by accessing processing unit (a specific implementation form can be the form of middleware)
The difference of data-interface (or feedback data interface), it is adapted to by the interface for accessing processing unit, can be to each internet
Platform of managing money matters provides the request for data interface of standard and confirms data-interface.The access processing unit reusable and independently of interconnection
Net financing platform and Fund Company, realize shielding and be adapted to the external interface difference of different fund products.Can be by including first
The mode of the configuration of the configuration item parameter of configuration parameter and the second configuration parameter is neatly adapted to the business of different fund products
Logic difference, standard is provided without changing processing logic for the data often updated, and to multiple internets financing platform
Interface service;Verification verification between request for data and feedback data, it is ensured that data are being handled and the standard in transmitting procedure
True property and integrality, so as to significantly provide the new product access efficiency of internet financing platform, reduce internet financing platform
System development and maintenance cost.
The position of transmitting terminal and receiving terminal in the present embodiment can be exchanged mutually, here, it is convenient fixed be only intended to explanation
The appellation of justice.
In the embodiment of the embodiment of the present invention one, the type of service of the business request for data comprises at least:Open an account Shen
Please, at least one of the application of applying to purchase, redemption application.The business request for data, Shen of opening an account is corresponded to according to type of service respectively
Please interface, apply to purchase application interface, redeem application interface and carry out the interface adaptation.
In the embodiment of the embodiment of the present invention one, first adaptation unit, it is further used for:According to the business Shen
Please data query first service identification corresponding to, first service identification is is pre-configured with and is stored in transmitting terminal and reception
The mark at end, a kind of implementation are:When being held consultation by the communication protocol interface established between transmitting terminal and receiving terminal
Obtain;According to configuration item parameter corresponding to first service identification loading, the configuration item parameter is defined as described first
Configuration parameter;Conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal business
The request for data of interface requirements.
In the embodiment of the embodiment of the present invention one, first adaptation unit, it is further used for:The configuration item parameter
Data are defined including at least one interface format;According to the first type of service of the business request for data from described at least one
Interface format defines first interface form corresponding to extracting data and defines data, for the conversion of interface adaptation;Loading institute
State first interface form and define data, define data according to the first interface form carries out data to the business request for data
Legitimate verification, the conversion of the interface adaptation is carried out to the business request for data by legitimate verification.
In the embodiment of the embodiment of the present invention one, first adaptation unit, it is further used for:Connect according to described first
Mouth form defines data and the file header and data volume of the business request for data is parsed, to check data validation;When
When not passing through legitimate verification, the illegal cause information of data is returned into transmitting terminal.
In the embodiment of the embodiment of the present invention one, the type of service of the business feedback data comprises at least:Open an account really
Recognize, trade confirmation, income reconciliation, strong enhancing at least one of subtract.The business feedback data is right respectively according to type of service
It should open an account and confirm that interface, trade confirmation interface, income reconciliation interface, strong enhancing subtract interface and carry out the interface adaptation.
In the embodiment of the embodiment of the present invention one, second adaptation unit, it is further used for:It is anti-according to the business
Data query second service identification corresponding to is presented, second service identification is to be pre-configured with and be stored in transmitting terminal and reception
The mark at end, a kind of implementation are:When being held consultation by the communication protocol interface established between transmitting terminal and receiving terminal
Obtain;According to configuration item parameter corresponding to second service identification loading, the configuration item parameter is defined as described second
Configuration parameter;Conversion process is carried out to the business feedback data according to the configuration item parameter, obtains meeting transmitting terminal business
The feedback data of interface requirements.
In the embodiment of the embodiment of the present invention one, second adaptation unit, it is further used for:The configuration item parameter
Data are defined including at least one interface format;According to the first type of service of the business feedback data from described at least one
Interface format defines first interface form corresponding to extracting data and defines data, for the conversion of interface adaptation;Loading institute
State first interface form and define data, data are defined to described in business feedback data progress according to the first interface form
The conversion of interface adaptation, obtains the feedback data, is supplied to transmitting terminal to enter the configuration item parameter and the feedback data
Row data validation.
In the embodiment of the embodiment of the present invention one, the authentication unit, it is further used for:Load the feedback data;
Load the request for data;The first strategy for data check and reconciliation is extracted from the preset strategy;According to described
One strategy judges whether the feedback data and the request for data are consistent in data integrity and data correctness, such as
Fruit is inconsistent, then will be encapsulated into rollback processing request according to the failure information of data check result and failure cause generation
In, the processing request that retracts is sent to receiving terminal.
In the embodiment of the embodiment of the present invention one, described device also includes:Deviation adjusting unit, is used for:When the Shen
Please data and the feedback data when occurring real data and expected incongruent deviation situation in processing procedure, from described pre-
If the second strategy for strengthening or increasing and decreasing deviation adjusting is extracted in strategy;According to the second strategy generating deviation adjusting amount,
The deviation adjusting amount is encapsulated into rollback processing request;There is the 3rd business mark corresponding to the transmitting terminal of deviation situation in acquisition
Know, the processing request that retracts is sent to transmitting terminal corresponding with the 3rd service identification.
Wherein, for the processor for data processing, when performing processing, microprocessor, center can be used
Processor (CPU, Central Processing Unit), digital signal processor (DSP, Digital Singnal
Processor) or programmable logic array (FPGA, Field-Programmable Gate Array) is realized;It is situated between for storage
For matter, comprising operational order, the operational order can be computer-executable code, be realized by the operational order
State each step in information processing method flow of the embodiment of the present invention.
It need to be noted that be:Above is referred to the description of terminal and server entry, be with above method description it is similar,
Beneficial effect with method describes, and does not repeat.For the ins and outs not disclosed in terminal of the present invention and server example,
It refer to content described by the embodiment of the inventive method flow description.
The embodiment of the present invention is described below by taking a practical application scene as an example:
Use the embodiment of the present invention in finance and money management field, be internet financing platform access multiple terminal devices,
Internet financing platform, access processing unit and the message processing flow accessed between the Duo Jia financial institutions that processing unit accesses.
The technical terms being referred to herein is described first:1) T days:The day of trade that i.e. Shanghai exchange externally announces, do not include
Weekend and country ownership public holiday;2) D days:Represent consecutive days, including weekend and country ownership public holiday.3) trade company
Number:The product identification for certain finance product decided through consultation between internet treasury management services platform and financing/insurance company.
In finance and money management field, current internet treasury management services platform typically can all access miscellaneous fund production
Product, to facilitate user to be chosen, but the interface format and business transaction mould used due to historical reasons difference Fund Company
Formula has very big difference, the external interface form that even the different types of fund product in identical Fund Company inside is provided
There is also very big difference.
Present internet financing platform is when accessing a new finance product, in order to be adapted to finance product in technology and industry
Difference in business, be typically necessary existing system is adjusted or again development system come be adapted to (or specially treated) should
The difference of product.And for managing money matters platform to internet, be required for when often accessing a new finance product from application of opening an account,
The application of applying to purchase, application is redeemed, applies to purchase reconciliation, reconciliation, multiple links such as income reconciliation and Fund Company is redeemed and enters line interface adaptation,
The functional module being related to is as shown in figure 8, Fig. 8 is the current fund product access scheme of existing internet financing platform.In Fig. 8
In, at present when accessing the finance product of different fund/insurance companies, platform is mainly managed money matters by internet to be responsible for realizing to production
The adaptation of product difference, and corresponding system is developed and maintenance work.At present in internet financing platform access inhomogeneity
During the finance product of type, there are the following problems with maintenance scheme for existing access:
One, influence the new product access efficiency of internet financing platform
Because the business rule and external interface of different finance products are widely different, therefore internet financing platform exists every time
When accessing new finance product, difference and feature for this product are required for come to existing system function module (such as Fig. 8
In functional module ListA and functional module List B) modify or development again, then enter again with Fund Company
Line interface joint debugging, so often access a new fund product averagely it is time-consuming be required for expending very big time cost and manpower into
This.
2nd, the system maintenance of internet financing platform is complicated
As the fund product of internet financing platform access is more and more, related functional module (such as Fig. 8 in its system
In functional module ListA and functional module List B) can be more and more, and service logic can also become to become increasingly complex.
Especially when the interface specification of Fund Company changes, internet platform of managing money matters is repaiied firstly the need of evaluating needs exactly
The module changed, then need to put into manpower again and developed, tested and joint debugging work.Therefore, internet financing platform is
Uniting can be as its maintenance cost that is continuously increased of access fund/insurance products number also can more and more higher.
3rd, the logic of interface difference adaptation can not be multiplexed
Because the adaptation to Fund Company's interface and processing logic are in the functional module of internet financing platform itself
Realize, therefore different internets financing platform is required for the difference to this product when access is with a fund product
It is adapted to and is handled.But these adaptations and processing logic can not realize work(in the system of different internet financing platforms
Can multiplexing, the problem of there is also than more serious module overlapping development and the wasting of resources.
In view of the above-mentioned problems, use the embodiment of the present invention in finance and money management scene, realize it is a kind of reusable and
Independently of internet financing platform and the access processing unit of Fund Company, an example is financing middleware, passes through the access
Processing unit can realize the external interface difference for shielding and being adapted to different fund products, can be by way of configuring come neatly
It is adapted to the service logic difference of different fund products and provides the interface service of " standard " to multiple internets financing platform, and protects
Accuracy and integrality of the data in processing and transmitting procedure are demonstrate,proved, is connect so as to significantly provide the new product of internet financing platform
Enter efficiency, reduce system development and the maintenance cost of internet financing platform.
The embodiment of the present invention is used in finance and money management scene, the access processing unit realized, is managed independently of internet
Wealth platform and Fund Company, the frame being made up of internet financing platform, access processing unit (financing middleware) and Fund Company
Frame is as shown in Figure 9.Wherein, it is specifically described for access processing unit (financing middleware) as follows:
First, it is adapted to the external interface difference of different Fund Companies
At present, the external interface of fund/insurance company is broadly divided into two classes:One kind is that internet financing platform is public to fund
The interface of request for data is submitted by department;One kind is interface of the Fund Company to internet financing platform feedback acknowledgment data.The present invention
Access processing unit (such as financing middleware) and the interface definition of Fund Company in embodiment meet at present mutually with processing logic
The interface definition of networking financing platform and Fund Company and processing logic, so as to pass through the access processing unit (as managed money matters
Middleware) come be adapted to request for data interface and confirm data-interface difference;And access processing unit (such as financing middleware) meeting
The request for data interface of standard is provided to each internet financing platform and confirms data-interface.
1) internet financing platform need to Fund Company submit request for data interface mainly include open an account application interface,
Apply to purchase application interface, redeem application interface, processing logic of the access processing unit (such as financing middleware) for this kind of interface is such as
Shown in Figure 10, Figure 10 is processing logical schematic of the access processing unit (such as financing middleware) to request for data standard interface,
The processing logic includes:
Step 501, generation request data;
Step 502, send request data [trade company number=prol];
Step 503, the configuration for loading the trade company number;
Step 504, according to config option handle request data;
Step 505, generation meet the data of Fund Company's requirement;
Request data after step 506, transmission processing;
Step 507, processing request data;
Step 508, return to result.
Step 509, record result.
From fig. 10 it can be seen that for the standard interface (being usually file process interface) of request for data, at access of managing money matters
The main processing logic of reason device (such as financing middleware) is to receive the request for data of internet financing all fund products of platform
(including application of opening an account, the application of applying to purchase, redeem the data such as application), then loads the configuration item data of the fund product, and according to
The request for data that specific configuration item is submitted to networking financing platform carries out conversion process, and the data after processing are sent to pair
The Fund Company answered.
Wherein, each finance product is owned by a independent configuration items list, and these configuration items mainly define pair
The Fund Company answered to the particular/special requirements of data, and according to the configuration the data conversion that internet financing platform is submitted into meeting
The data that Fund Company requires, to be adapted to the interface difference of counterpart fund company.And to internet financing platform then provide standard,
Unified data interaction interface, therefore special configuration need not be carried out.
, can also and the configuration data for accessing processing unit (such as financing middleware) can be both stored in database (DB)
It is stored in configuration file, form can be as follows:
Wherein, each finance product is owned by a independent configuration item, and these configuration items mainly define corresponding
Fund Company to the particular/special requirements of data, and according to the configuration the data conversion that internet financing platform is submitted into meeting fund
The data that company requires, to be adapted to the interface difference of counterpart fund company.
It is described as follows for request for data transmission time and transmission means:
Generally, the request for data Fund Company of finance product T days can be confirmed in T+1 days and return to confirmation number
According to due to not high to the requirement of real-time of data transfer in finance services, internet financing platform can use file mode
Request data is disposably transmitted, can also so mitigate the concurrent request to access processing unit (such as financing middleware) interface
Pressure.The request data file transmission time of internet financing platform T days was generally in the 2-3 hour started T+1 days, to connect
Enter processing unit (such as financing middleware) service and Fund Company ensures enough data processing times.
The transmission means of application documents can use following two schemes:1, access processing unit (such as financing middleware) clothes
It is engaged in actively downloading request for data file from the system of internet financing platform;2, internet financing platform is actively application documents
Upload in the system of access processing unit (such as financing middleware).
It is supplied to the application interface encapsulation of internet financing platform to illustrate (such as financing middleware) for access processing unit
It is as follows:
As shown in figure 11, Figure 11 is the interaction logic signal of access processing unit (such as financing middleware) request for data interface
Figure, the interaction logic include:
Step 601, transmission application documents, specifically include the following two kinds mode:
Step 601a, application documents are transmitted in active upload demand file;
Step 601b, active download request file, including request download file and return to application documents;
Step 602, file type judged according to filename;
Step 603, according to file type loading interface form define;
Step 604, according to application interface define resolution file head;
Step 605, according to application interface define resolution file data volume;
Step 606, check file data legitimacy;
If step 607, file are illegal, the illegal cause information of file data is returned.
It can be seen from figure 11 that request for data interface is mainly the request for data (file) for handling internet financing platform,
Wherein different application interfaces can only handle corresponding request for data file, such as apply to purchase and apply for that interface can only handle the application of applying to purchase
Data file.
Access processing unit (such as middleware of managing money matters) needs loading interface form to define corresponding in processing during application documents
Data, the file header and data body portion of request for data file, such as the mark of the application of applying to purchase (file) interface are then parsed accordingly
Quasiconfiguaration definition can be as shown in figure 12, if the application interface of access processing unit (such as financing middleware) applies for number in parsing
According to file and check illegal data be present when, specific failure information can be fed back to internet financing platform.
2) Fund Company, which needs to return to internet financing platform to Fund Company, confirms that data-interface mainly includes opening an account
Confirm that interface, trade confirmation interface, income reconciliation interface, strong enhancing subtract interface, access processing unit is right (such as financing middleware)
As shown in figure 13 in the processing logic of this kind of interface, Figure 13 is access processing unit (such as financing middleware) to confirming data standard
The processing logical schematic of interface, the processing logic include:
Step 701, generation confirm file;
Step 702, send confirmation data [trade company number=prol];
Step 703, the configuration for loading the trade company number;
Step 704, confirmation data are handled according to configuration item;
Step 705, the confirmation data for generating standard;
Step 706, return to result;
Confirmation data after step 707, return processing;
Step 708, processing request data;
Step 709, record result.
As can be seen from Figure 13, for the standard interface (being usually file process interface) of request for data, at access of managing money matters
Reason device (such as financing middleware) mainly the confirmation data of each fund/insurance company output (including open an account confirm data,
Trade confirmation data, strong enhancing subtrahend according to etc.) according to the configuration item of corresponding trade company number changed and handled, the processing of data
As a result financing platform in internet is supplied to by the confirmation data-interface of standard.
For confirming that data transmission period and transmission means are described as follows:
Generally, Fund Company can confirm simultaneously handle in T+1 days to the request for data of internet financing platform T days
Confirm that data file returns to access processing unit (such as financing middleware), access processing unit (such as financing middleware) is to initial
Confirmation data according to before with internet financing platform agreement rule handled after, then by confirm interface confirm
Data return to internet financing platform.
It is direct in access processing unit (such as financing middleware) and internet financing platform, confirm the transmission side of data file
Formula can use following two schemes:1) system of the internet financing platform from access processing unit (such as financing middleware) service
Middle active, which is downloaded, confirms data file;2) system for accessing processing unit (such as financing middleware) actively uploads to confirmation file
In internet financing platform.
It is supplied to the confirmation data-interface of internet financing platform to encapsulate (such as financing middleware) for access processing unit
It is described as follows, Figure 14 is to access the interaction logic schematic diagram that processing unit confirms data-interface (such as financing middleware), the logic
Including:
Step 801, the confirmation file for generating standard;
Step 802, transmission application documents, specifically include the following two kinds mode:
Step 802a, confirmation file is transmitted in active upload demand file;
Step 802b, active download request file, including request download file and return to the confirmation data (text of reference format
Part);
Step 803, file type judged according to filename;
Step 804, according to file type loading interface form define;
Step 805, according to confirm interface define resolution file head;
Step 806, according to confirm interface define resolution file data volume;
Step 807, check file data legitimacy;
Step 808, when file is illegal, return the illegal cause information of file data.
It is seen from figure 14 that confirm that data-interface mainly generates and transmission standard confirms that data (file) arrive internet
Financing platform, wherein different confirmation interfaces can only handle corresponding confirmation data file, such as apply to purchase and confirm that interface can only be located
Reason applies to purchase confirmation data file.
And internet financing platform is needed when processing confirms file loading access processing unit (such as middleware of managing money matters)
Interface format defines data, and then parsing confirms the file header and data body portion of data file, such as the confirmation of applying to purchase (text accordingly
Part) interface reference format definition can be as shown in figure 15.
If the processing logic of internet financing platform in parsing request for data file and checks and illegal number be present
According to when, can be to access processing unit (such as financing middleware) specific failure information of feedback.
In summary, new financing is accessed when internet financing platform selecting access processing unit (such as financing middleware)
During product, avoid the need for carrying out system maintenance and development to be adapted to the interface difference of Fund Company, because this part
Work has been transferred into the service of access processing unit (such as financing middleware), so as to significantly provide internet financing platform
Access the efficiency of new fund.
Simultaneously as the data that access processing unit can ensure to be supplied to internet to manage money matters platform (such as financing middleware) are
It is complete and accurate, therefore internet financing platform avoids the need for checking in confirmation data of the internal system to Fund Company
And verification, it so can largely mitigate the complexity of internet financing platform interior system business logic, make system
Renewal is easy to safeguard.
For the guarantee of data correctness, managed because access processing unit can handle internet (such as financing middleware)
Interaction data between wealth platform and Fund Company, therefore processing unit (such as financing middleware) is accessed it has to be ensured that being supplied to
The data of internet financing platform and Fund Company are all correct.
This ensures mainly by following two strategies:
1) data check and reconciliation logic
The request for data of Fund Company is provided for internet financing platform, access processing unit (such as financing middleware) is only
The data record these standardization is needed to get off.
The confirmation data of internet financing platform, access processing unit are supplied to for Fund Company (such as financing middleware)
Verified and checked in request for data data being processed into before being needed after normal data, flow is as shown in figure 16, figure
16 be access processing unit (such as financing middleware) data check and the processing logical schematic of verification, and the processing logic includes:
Step 901, load request data;
Confirmation data after step 902, loading processing;
Step 903, verification confirm data integrity;
Step 904, verification confirm data correctness;
Step 905, returned data check results and failure cause;
Step 906, the confirmation data for returning to the trade company number.
As can be seen from Figure 16, data check and verification part are mainly managed money matters with the confirmation data after processing and internet
The request for data that platform provides is checked, mainly includes the inspection of both data uniformity, confirmation data correctness etc.,
It is reliable with the confirmation data for ensureing to return to internet financing platform.
2) enhancing subtracts logic to share by force
When causing data due to its own system (such as financing middleware) Fund Company's system or access processing unit
When there is deviation in confirmation data (the mainly income and share data of user) after verification and verification logical check, access processing
Strong enhancing is needed to subtract interface to provide a kind of function of Data correction for internet financing platform if device (such as middleware of managing money matters),
Main logic is as shown in figure 17, and Figure 17 subtracts processing logic for the strong enhancing of access processing unit (such as financing middleware) share data and shown
It is intended to, the processing logic includes:
Step 1001, share data adjust request (trade company number=prol);
Step 1002, check Fund Company's request data;
Step 1003, collect each trade company number force strong subtrahend evidence;
Step 1004, generation standard force strong subtrahend evidence;
Strong subtrahend evidence is forced in step 1005, return;
Step 1006, verification share force strong subtrahend evidence;
Step 1007, return to error message;
Step 1008, correcting user share etc. confirm data.
As can be seen from Figure 17, by accessing processing unit, (such as financing middleware), strong enhancing subtracts logic, internet financing
Platform can adjust the abnormal share data of each trade company number in time.
Wherein, accessing the processing unit data format that strong enhancing subtracts standard interface (such as financing middleware) can define such as figure
Shown in 18.Wherein, the action type during interface format defines includes 2 kinds:1) share is increased by force;2) share is subtracted by force.Because share is strong
It is a very sensitive operation to strengthen reducing, and directly affect financing user holds share data, therefore internet is managed money matters
Platform is also required to carry out verification of data before operation, and rule is as follows:
1) the strong reducing of share:
Hold the actual share of share=system-computed before operation;
Hold share before the < operations of adjustment share;
Adjust share data > 0.
2) share increases by force operation:
Hold the actual share of share=system-computed before operation;
Adjust share data > 0.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only
A kind of division of logic function, there can be other dividing mode when actually realizing, such as:Multiple units or component can combine, or
Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion
Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists
In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
To be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned
Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:It is movable storage device, read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of SFU software functional unit and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented
The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product,
The computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be with
It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the present invention.
And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (16)
1. a kind of information processing method, it is characterised in that methods described includes:
Obtain the business request for data of transmitting terminal;
Enter line interface adaptation to the business request for data according to the first configuration parameter, obtain meeting receiving terminal business interface demand
Request for data, the request for data is transmitted to receiving terminal;
Obtain the business feedback data of receiving terminal;
Enter line interface adaptation to the business feedback data according to the second configuration parameter, obtain meeting transmitting terminal business interface demand
Feedback data, the feedback data is transmitted to transmitting terminal;
Data interaction checking is carried out between the request for data and the feedback data according to preset strategy, validation-cross is failed
Data carry out rollback processing, and carry failure information in the rollback processing request of generation.
2. according to the method for claim 1, it is characterised in that the business request for data is entered according to the first configuration parameter
Line interface is adapted to, and obtains the request for data for meeting receiving terminal business interface demand, including:
The first service identification according to corresponding to inquiring the business request for data, first service identification are to be pre-configured in
The mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to first service identification loading, the configuration item parameter is defined as described first and matched somebody with somebody
Put parameter;
Conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal business interface need
The request for data asked.
3. according to the method for claim 2, it is characterised in that according to the configuration item parameter to the business request for data
Conversion process is carried out, including:
The configuration item parameter defines data including at least one interface format;
Extracting data pair is defined from least one interface format according to the first type of service of the business request for data
The first interface form answered defines data, for the conversion of interface adaptation;
Load the first interface form and define data, data are defined to the business application number according to the first interface form
According to data validation is carried out, the conversion of the interface adaptation is carried out to the business request for data by legitimate verification.
4. according to the method for claim 3, it is characterised in that data are defined to the industry according to the first interface form
Business request for data carries out data validation, including:
Data are defined according to the first interface form to parse the file header and data volume of the business request for data, with
Check data validation;
When not passing through legitimate verification, the illegal cause information of data is returned into transmitting terminal.
5. according to the method for claim 1, it is characterised in that the business feedback data is entered according to the second configuration parameter
Line interface is adapted to, and obtains the feedback data for meeting transmitting terminal business interface demand, the feedback data is transmitted into transmitting terminal, is wrapped
Include:
The second service identification according to corresponding to inquiring the business feedback data, second service identification are to be pre-configured in
The mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to second service identification loading, the configuration item parameter is defined as described second and matched somebody with somebody
Put parameter;
Conversion process is carried out to the business feedback data according to the configuration item parameter, obtains meeting transmitting terminal business interface need
The feedback data asked.
6. according to the method for claim 5, it is characterised in that according to the configuration item parameter to the business feedback data
Conversion process is carried out, including:
The configuration item parameter defines data including at least one interface format;
Extracting data pair is defined from least one interface format according to the first type of service of the business feedback data
The first interface form answered defines data, for the conversion of interface adaptation;
Load the first interface form and define data, data are defined to the business feedback coefficient according to the first interface form
According to the conversion for carrying out the interface adaptation, the feedback data is obtained, the configuration item parameter and the feedback data are provided
Data validation is carried out to transmitting terminal.
7. according to the method described in any one of claim 1 to 6, it is characterised in that according to preset strategy in the request for data
Data interaction checking is carried out between the feedback data, the data of validation-cross failure are subjected to rollback processing, and in generation
Retract during processing is asked and carry failure information, including:
Load the feedback data;
Load the request for data;
The first strategy for data check and reconciliation is extracted from the preset strategy;
Judge the feedback data and the request for data in data integrity and data correctness according to the described first strategy
Whether it is consistent, if it is inconsistent, will be encapsulated according to the failure information of data check result and failure cause generation
Into the processing request that retracts, the processing request that retracts is sent to receiving terminal.
8. according to the method for claim 7, it is characterised in that methods described also includes:
When real data and expected incongruent deviation feelings occur in processing procedure in the request for data and the feedback data
During condition, the second strategy for strengthening or increasing and decreasing deviation adjusting is extracted from the preset strategy;
According to the second strategy generating deviation adjusting amount, the deviation adjusting amount is encapsulated into rollback processing request;
Acquisition there is the 3rd service identification corresponding to the transmitting terminal of deviation situation, by it is described retract handle request be sent to it is described
Transmitting terminal corresponding to 3rd service identification.
9. one kind access processing unit, it is characterised in that described device includes:
First acquisition unit, for obtaining the business request for data of transmitting terminal;
First adaptation unit, for entering line interface adaptation to the business request for data according to the first configuration parameter, met
The request for data of receiving terminal business interface demand, the request for data is transmitted to receiving terminal;
Second acquisition unit, for obtaining the business feedback data of receiving terminal;
Second adaptation unit, for entering line interface adaptation to the business feedback data according to the second configuration parameter, met
The feedback data of transmitting terminal business interface demand, the feedback data is transmitted to transmitting terminal;
Authentication unit, for carrying out data interaction checking between the request for data and the feedback data according to preset strategy,
The data of validation-cross failure are subjected to rollback processing, and failure information is carried in the rollback processing request of generation.
10. device according to claim 9, it is characterised in that first adaptation unit, be further used for:
The first service identification according to corresponding to inquiring the business request for data, first service identification are to be pre-configured in
The mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to first service identification loading, the configuration item parameter is defined as described first and matched somebody with somebody
Put parameter;
Conversion process is carried out to the business request for data according to the configuration item parameter, obtains meeting receiving terminal business interface need
The request for data asked.
11. device according to claim 10, it is characterised in that first adaptation unit, be further used for:
The configuration item parameter defines data including at least one interface format;
Extracting data pair is defined from least one interface format according to the first type of service of the business request for data
The first interface form answered defines data, for the conversion of interface adaptation;
Load the first interface form and define data, data are defined to the business application number according to the first interface form
According to data validation is carried out, the conversion of the interface adaptation is carried out to the business request for data by legitimate verification.
12. device according to claim 11, it is characterised in that first adaptation unit, be further used for:
Data are defined according to the first interface form to parse the file header and data volume of the business request for data, with
Check data validation;
When not passing through legitimate verification, the illegal cause information of data is returned into transmitting terminal.
13. device according to claim 9, it is characterised in that second adaptation unit, be further used for:
The second service identification according to corresponding to inquiring the business feedback data, second service identification are to be pre-configured in
The mark of transmitting terminal and receiving terminal;
According to configuration item parameter corresponding to second service identification loading, the configuration item parameter is defined as described second and matched somebody with somebody
Put parameter;
Conversion process is carried out to the business feedback data according to the configuration item parameter, obtains meeting transmitting terminal business interface need
The feedback data asked.
14. device according to claim 13, it is characterised in that second adaptation unit, be further used for:
The configuration item parameter defines data including at least one interface format;
Extracting data pair is defined from least one interface format according to the first type of service of the business feedback data
The first interface form answered defines data, for the conversion of interface adaptation;
Load the first interface form and define data, data are defined to the business feedback coefficient according to the first interface form
According to the conversion for carrying out the interface adaptation, the feedback data is obtained, the configuration item parameter and the feedback data are provided
Data validation is carried out to transmitting terminal.
15. according to the device described in any one of claim 9 to 14, it is characterised in that the authentication unit, be further used for:
Load the feedback data;
Load the request for data;
The first strategy for data check and reconciliation is extracted from the preset strategy;
Judge the feedback data and the request for data in data integrity and data correctness according to the described first strategy
Whether it is consistent, if it is inconsistent, will be encapsulated according to the failure information of data check result and failure cause generation
Into the processing request that retracts, the processing request that retracts is sent to receiving terminal.
16. device according to claim 15, it is characterised in that described device also includes:Deviation adjusting unit, is used for:
When real data and expected incongruent deviation feelings occur in processing procedure in the request for data and the feedback data
During condition, the second strategy for strengthening or increasing and decreasing deviation adjusting is extracted from the preset strategy;
According to the second strategy generating deviation adjusting amount, the deviation adjusting amount is encapsulated into rollback processing request;
Acquisition there is the 3rd service identification corresponding to the transmitting terminal of deviation situation, by it is described retract handle request be sent to it is described
Transmitting terminal corresponding to 3rd service identification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610801042.4A CN107800667B (en) | 2016-09-02 | 2016-09-02 | Information processing method and access processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610801042.4A CN107800667B (en) | 2016-09-02 | 2016-09-02 | Information processing method and access processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107800667A true CN107800667A (en) | 2018-03-13 |
CN107800667B CN107800667B (en) | 2020-05-08 |
Family
ID=61530547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610801042.4A Active CN107800667B (en) | 2016-09-02 | 2016-09-02 | Information processing method and access processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107800667B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108416676A (en) * | 2018-03-21 | 2018-08-17 | 上海艾融软件股份有限公司 | A kind of implementation method sold bank financial product directly to households and quickly accessed |
CN109614338A (en) * | 2018-12-25 | 2019-04-12 | 成都四方伟业软件股份有限公司 | External interface adaptation method, device and peripheral interface adapter |
CN109656632A (en) * | 2018-10-31 | 2019-04-19 | 深圳壹账通智能科技有限公司 | Interface automatic adaptation method, device, electronic equipment and computer readable storage medium |
CN110958058A (en) * | 2019-11-25 | 2020-04-03 | 大唐半导体科技有限公司 | FPGA platform wireless communication baseband debugging method and device |
CN113535260A (en) * | 2021-06-29 | 2021-10-22 | 未鲲(上海)科技服务有限公司 | Simulator-based data processing method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277307A (en) * | 2008-05-21 | 2008-10-01 | 天柏宽带网络科技(北京)有限公司 | System and method for processing data information |
CN101854348A (en) * | 2010-04-02 | 2010-10-06 | 南京联创科技集团股份有限公司 | Realization method of SOA (Service Oriented Architecture) accessing core supporting system in peripheral system |
US20140164539A1 (en) * | 2012-12-07 | 2014-06-12 | Unisys Corporation | Application service integration |
CN103944891A (en) * | 2014-04-10 | 2014-07-23 | 福建星网信通软件有限公司 | Service application system access method and device |
CN105488663A (en) * | 2015-11-19 | 2016-04-13 | 成都连银信息技术有限公司 | Uniform account settlement gateway capable of supporting various payment aisles |
-
2016
- 2016-09-02 CN CN201610801042.4A patent/CN107800667B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277307A (en) * | 2008-05-21 | 2008-10-01 | 天柏宽带网络科技(北京)有限公司 | System and method for processing data information |
CN101854348A (en) * | 2010-04-02 | 2010-10-06 | 南京联创科技集团股份有限公司 | Realization method of SOA (Service Oriented Architecture) accessing core supporting system in peripheral system |
US20140164539A1 (en) * | 2012-12-07 | 2014-06-12 | Unisys Corporation | Application service integration |
CN103944891A (en) * | 2014-04-10 | 2014-07-23 | 福建星网信通软件有限公司 | Service application system access method and device |
CN105488663A (en) * | 2015-11-19 | 2016-04-13 | 成都连银信息技术有限公司 | Uniform account settlement gateway capable of supporting various payment aisles |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108416676A (en) * | 2018-03-21 | 2018-08-17 | 上海艾融软件股份有限公司 | A kind of implementation method sold bank financial product directly to households and quickly accessed |
CN109656632A (en) * | 2018-10-31 | 2019-04-19 | 深圳壹账通智能科技有限公司 | Interface automatic adaptation method, device, electronic equipment and computer readable storage medium |
CN109614338A (en) * | 2018-12-25 | 2019-04-12 | 成都四方伟业软件股份有限公司 | External interface adaptation method, device and peripheral interface adapter |
CN110958058A (en) * | 2019-11-25 | 2020-04-03 | 大唐半导体科技有限公司 | FPGA platform wireless communication baseband debugging method and device |
CN113535260A (en) * | 2021-06-29 | 2021-10-22 | 未鲲(上海)科技服务有限公司 | Simulator-based data processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107800667B (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107800667A (en) | A kind of information processing method and access processing unit | |
CN104169952B (en) | A kind of method of network payment, apparatus and system | |
CN1799042B (en) | System and method for controlling access to downloadable resources | |
CN107578243A (en) | Electricity transaction method and device based on block chain technology | |
CN108615195B (en) | Resource transfer information transmission method and device, storage medium and electronic device | |
CN109087208A (en) | Data processing method, device, computer equipment and storage medium before borrowing | |
CN109711999A (en) | Go out single method and device, computer equipment, storage medium based on halfpace | |
CN110601896B (en) | Data processing method and equipment based on block chain nodes | |
CN106056437A (en) | Order management method and system | |
CN109597816A (en) | Parameter verification method, apparatus, computer storage medium and embedded device | |
CN107181804A (en) | The method for down loading and device of resource | |
CN113726890B (en) | Federal prediction method and system for block chain data service | |
CN110597919A (en) | Data management method, device and equipment based on block chain and storage medium | |
CN110096511B (en) | Data consistency verification method, device, equipment and medium based on private chain | |
US20190196935A1 (en) | Computer-implemented methods, computer-readable media and electronic devices for processing test electronic transactions | |
US11562427B2 (en) | Customizable macro-based order entry protocol and system | |
CN116385181A (en) | Business transaction method, system, storage medium and electronic equipment | |
CN107767271A (en) | Stored value automatic processing method and system | |
CN109656632A (en) | Interface automatic adaptation method, device, electronic equipment and computer readable storage medium | |
CN110852744A (en) | Method, device, terminal equipment and medium for switching transaction channels | |
CN110009483A (en) | A kind of data processing method and device based on temporal information | |
CN111882436B (en) | Data processing method, device and equipment based on block chain | |
CN114217911A (en) | Cross-chain transaction processing method, device, computing equipment and medium | |
CN111581283A (en) | Application program processing system based on block chain | |
CN106886927A (en) | A kind of processing method and processing device, system for extracting voucher |
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 |