CN106649488A - Method and device for invoking multi-data-source interaction interface - Google Patents
Method and device for invoking multi-data-source interaction interface Download PDFInfo
- Publication number
- CN106649488A CN106649488A CN201610877852.8A CN201610877852A CN106649488A CN 106649488 A CN106649488 A CN 106649488A CN 201610877852 A CN201610877852 A CN 201610877852A CN 106649488 A CN106649488 A CN 106649488A
- Authority
- CN
- China
- Prior art keywords
- interface
- combined
- base
- base interface
- input paramete
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and device for invoking a multi-data-source interaction interface. The method includes the steps that a combined interface invoking request transmitted through a client terminal is obtained, wherein the combined interface invoking request comprises combined interface id and an input parameter; combined interface configuration information and basic interface configuration information are obtained according to the combined interface id; then whether the input parameter is complete or not is judged; if the input parameter is complete, all basic interfaces corresponding to a combined interface are invoked for processing, and the output result is obtained and returned to the client terminal. According to the method and device, as the combined interface and the basic interfaces configured on a server are invoked, the workloads of a worker are reduced; meanwhile, the corresponding basic interfaces are directly invoked through the combined interface id for processing during accessing, the output result is obtained accordingly and returned to the client terminal, and the processing speed is high.
Description
Technical field
The present invention relates to field of Internet communication, more particularly to a kind of calling processing method of multi-data source interactive interface.
Background technology
In big data industry, general data is originated in addition to itself history adds up the user data for getting off, also quite
A part of data are to need from other metadata providers to obtain.Such as obtain user's from Unionpay, China's finance authentication center
Card class Transaction Information, from face++ recognition of face relevant information is obtained, and is obtained social security from Shanghai 30 and is paid relevant information, therefrom
State's movement obtains Mobile phone card and uses relevant information etc..The use of external data source, typically all by calling data supplier
Interface obtaining, interface type that each supplier provides is different, quantity is also different.
For basic interface, typically all after developer's encapsulation, there is provided out use to client, but for
For client, it is possible in calling interface, what possible function that will be using multiple basic interfaces and different needed
Type or quantity are all different, such as, for " looking into identity " function, it is necessary to while calling China's finance authentication center to provide
3 interfaces and Unionpay's intelligence plan an interface;For " looking into credit " function, then it is accomplished by while calling in Chinese amount of money certification
The data-interface that an interface, an interface of Unionpay's intelligence plan and the company that the heart is provided has by oneself.Therefore, in packaged many bases
On the premise of plinth interface, for the new demand of each user, it is required for additionally writing code and integrates required interface,
But after interface quantity reaches to a certain degree, exploitation and the cost overhead safeguarded can be very big, while can also there is overlapping development
The drawbacks of, cause the waste of resource.In addition, in calling interface, its access speed is also relatively lower.
The content of the invention
In order to overcome the deficiencies in the prior art, an object of the present invention is to provide calling for multi-data source interactive interface
Method, it can solve the problem that the development and maintenance cost of staff when obtaining data by interface from multi-data source in prior art
Big technical problem.
An object of the present invention employs the following technical solutions realization:
The invention provides the call method of multi-data source interactive interface, including:
S1:Obtain the combined interface call request that client sends;The combined interface call request includes combined interface
Id and |input paramete;
S2:The combined interface corresponding to the combined interface id, the combined interface are searched in combined interface allocation list
Configuration information include that combined interface configures |input paramete and corresponding base interface id;
S3:The |input paramete is compared with combined interface configuration |input paramete, checks that the |input paramete is
It is no complete, if it is not, then returning client or terminating flow process, if so, then perform S4;
S4:Base interface corresponding to table search each base interface id is configured by base interface and process is called, is obtained
Go out the output result of the combined interface and return to client.
Preferably, S4 is specifically included:
When combined interface is sync cap, when that is to say that each base interface is synchronous base interface, each is called
Base interface simultaneously processes the output parameter for drawing corresponding base interface, then according to the output result of combined interface with it is corresponding
Mapping relations between the output parameter of base interface, by all of output parameter the output result of combined interface is converted to, and
Return to client;Mapping relations quilt between the output result of the combined interface and the output parameter of corresponding base interface
In being stored in a combination _ basis output mapping table;
When combined interface is asynchronous interface, that is to say that there are one or more base interface is asynchronous basis
During interface, call each base interface and process, then generate the corresponding serial number of the combined interface, the serial number is returned
Back to client.
Preferably, when the combined interface is asynchronous interface, also include:
When the base interface that there are or more is synchronous base interface, the synchronous base interface is called simultaneously
Output it parameter to be stored in asynchronous interface table.
Preferably, described each base interface has corresponding configuration |input paramete, and described configuration |input paramete is deposited
In being stored in ginseng table;
It is described when configuring the corresponding base interface of table search each base interface id by base interface and calling process also
Specifically include:The |input paramete is converted to into the input of correspondence base interface according to the configuration |input paramete of each base interface
Parameter, then draws the output parameter of base interface according to each base interface and its |input paramete, and all of output is joined
Array closes the output result for being converted to combined interface.
In order to overcome the deficiencies in the prior art, the second object of the present invention is to provide calling for multi-data source interactive interface
Method, it can solve the problem that in prior art.
The second object of the present invention employs the following technical solutions realization:
Present invention also offers the calling device of multi-data source interactive interface, including:
Acquisition request module, for obtaining the combined interface call request of client transmission;The combined interface is called please
Ask including combined interface id and |input paramete;
Data obtaining module, connects for searching the combination corresponding to the combined interface id in combined interface allocation list
Mouthful, the configuration information of the combined interface includes that combined interface configures |input paramete and corresponding base interface id;
Judge module, the |input paramete is compared with combined interface configuration |input paramete, checks the input
Whether parameter is complete, if it is not, then returning client or terminating flow process, if so, then performs processing module;
Processing module, for configuring the corresponding base interface of table search each base interface id by base interface and calling
Process, draw the output result of the combined interface and return to client.
Preferably, the processing procedure of processing module is specifically included:
When combined interface is sync cap, when that is to say that each base interface is synchronous base interface, each is called
Base interface simultaneously processes the output parameter for drawing corresponding base interface, then according to the output result of combined interface with it is corresponding
Mapping relations between the output parameter of base interface, by all of output parameter the output result of combined interface is converted to, and
Return to client;Mapping relations quilt between the output result of the combined interface and the output parameter of corresponding base interface
In being stored in a combination _ basis output mapping table;
When combined interface is asynchronous interface, that is to say that there are one or more base interface is asynchronous basis
During interface, call each base interface and process, then generate the corresponding serial number of the combined interface, the serial number is returned
Back to client.
Preferably, when the combined interface is asynchronous interface, also include:
When the base interface that there are or more is synchronous base interface, the synchronous base interface is called simultaneously
Output it parameter to be stored in asynchronous interface table.
Preferably, described each base interface has corresponding configuration |input paramete, and described configuration |input paramete is deposited
In being stored in ginseng table;
It is described when configuring the corresponding base interface of table search each base interface id by base interface and calling process also
Specifically include:
The |input paramete is converted to into the input of correspondence base interface according to the configuration |input paramete of each base interface
Parameter, then draws the output parameter of base interface according to each base interface and its |input paramete, and all of output is joined
Array closes the output result for being converted to combined interface.
Compared to existing technology, the beneficial effects of the present invention is:Base interface after to encapsulation carries out configuration realization,
So as to cause staff that the combined interface of required function can be voluntarily configured according to the demand of oneself, development people is reduced
The workload of member, facilitates client voluntarily to configure addition interface according to the demand of oneself, convenient directly perceived;In the process of interface interchange
In, processing speed is very fast.In addition, with the increase of the data field and base interface quantity for accessing, the present invention also has good
Autgmentability.
Description of the drawings
The method flow diagram of the embodiment that Fig. 1 is provided for the present invention;
The function structure chart of the embodiment that Fig. 2 is provided for the present invention.
Specific embodiment
Below, with reference to accompanying drawing and specific embodiment, the present invention is described further:
As shown in figure 1, the invention provides a kind of call method of multi-data source interactive interface, in user client is passed through
Before server interaction, first staff needs docking port to be configured, and in general interface includes base interface and group
Splice grafting mouth, base interface refers to that it can realize some basic functions, is packaged through the developer of metadata provider
The interface for providing afterwards, the base interface has input and output parameter and how |input paramete process is converted to into output ginseng
Several method etc..And combined interface is referred to be combined by multiple base interfaces and completes some complicated functions jointly, open in original
Under the pattern of sending out, the combined interface be also directly developed by developer and after encapsulating for users to use, but it is different
The combined interface that user needs is different, and this results in and ceaselessly develop a variety of combined interfaces, or even a large amount of weights occur
The work of renaturation, and for basis solution and the realization of combined interface are all stored on database, so cause the later stage
Maintenance cost is greatly increased.And in the application then using it is a kind of by configuring by the way of realizing combinations thereof interface because one
As the realization of combined interface need to complete to realize jointly by multiple base interfaces, by a group by way of configuring
Splice grafting mouth forms mapping relations with corresponding multiple base interfaces, so, when a combined interface is called, calls corresponding base
Plinth interface is processed, and the defeated of combined interface is then integrated or be converted to the output parameter of all of base interface
Go out result, be so greatly saved the workload of developer, reduce a large amount of exploitations for repeating.That is to say, when user needs
When calling combined interface, process is called to base interface first, then carry out output parameter obtaining most after conversion process
Whole output result.
In general, base interface is all generally existing, carries out packing encapsulation through developer and is supplied to client to make
.When needing to carry out the function of complexity, staff is configured by client to combined interface, first according to difference
Function define different combined interfaces, then all of combined interface is all configured in a combined interface allocation list, should
Combined interface allocation list is used to store the configuration information of combined interface, and each combined interface includes that combined interface id, combination connect
Mouthful title, combined interface configuration |input paramete, corresponding base interface id etc. related configuration information, and by the combined interface
Allocation list is stored on server.In addition, base interface is also configured in a base interface allocation list, each base interface
Also base interface id, base interface title, base interface configuration |input paramete, base interface output parameter, base interface are included
Processing method etc. relevant information, these relevant informations can be configured according to specific needs.In addition, also configure that it is right
Entering for answering and goes out ginseng table at ginseng table, enters ginseng table for configuring the configuration |input paramete of base interface, and it includes configuring |input paramete
The information such as type, size;It is described go out ginseng table be used for configuration storage base interface output parameter, such as the type of output parameter,
Size etc..In addition, staff also sets up a combination _ basis output mapping table, the table is used to store the output knot of combined interface
Fruit and the mapping relations between corresponding base interface output parameter, such as one combined interface has three base interfaces, combines
The output result of interface is obtained by the output parameter combination of corresponding three base interfaces, and in above-mentioned table this is just stored
How the output parameter of combined interface and a kind of mapping relations of the output parameter of above three base interface, that is to say by three
The output parameter of individual base interface is obtaining the output parameter of combined interface.When combined interface is called, it is necessary first to the group
All of base interface in splice grafting mouth is called and processes and draw output parameter, then again by the output parameter conversion map be group
After the output parameter of splice grafting mouth, return again to client.This collocation method, can be according to self-defined group of the appellative function of itself
Splice grafting mouth, for staff, unusual intuitive and convenient, relative to the mode of original direct exploitation, greatlys save work
Make the workload of personnel, meanwhile, corresponding interface is called by way of tabling look-up, then directly adjusted by corresponding interface id again
Use corresponding interface, its access speed faster, rather than the correlation such as |input paramete as before according to interface, output parameter
Data search interface (because interface is numerous in original mode, cause access speed slack-off) in database.
The call method of the multi-data source interactive interface, comprises the following steps:
S1:The combined interface call request that client sends is obtained, the combined interface call request includes combined interface
Id and |input paramete.
In this step, when user needs to call certain interface to obtain data, such as " looking into identity " function, typically
For need 3 base interfaces that China's finance authentication center provides and 1 base interface that Unionpay intelligence plan is provided to obtain number
According in the present invention with regard to combining a combined interface to realize above-mentioned functions above-mentioned 4 base interfaces, when user needs reality
Now during the function, only corresponding combined interface need to be called, combined interface call request is sent by user end to server, should
Include combined interface id and corresponding |input paramete in asking.
S2:The combined interface corresponding to the combined interface id, the combined interface are searched in combined interface allocation list
Configuration information include combined interface title, combined interface configuration |input paramete and corresponding base interface id.The combined interface
Allocation list can be present in server in the way of cache table, and when processing, access speed is just than very fast.
After the combined interface call request of client transmission is received, combined interface is obtained from the call request first
Id, then according to combined interface id get from combined interface allocation list combined interface and its combined interface with confidence
Breath, the configuration information of the combined interface potentially includes combined interface title, combined interface configuration |input paramete and corresponding base
Plinth interface id.Certainly, it is likely present in the step and can not find combined interface id, then illustrates that the combined interface of user is called and ask
Ask wrong, return error message and inform client.
S3:The |input paramete is compared with combined interface configuration |input paramete, checks whether the |input paramete is complete
It is whole, if it is not, then returning client or terminating flow process;If so, S4 is then performed.
Before base interface is called, first have to that |input paramete is carried out to judge its integrality, in other words according to combination
Interface configuration |input paramete judges whether the |input paramete in combined interface call request complete, such as the type of |input paramete,
Whether size etc. is legal or complete, if imperfect, illustrates that input is wrong, returns error message and gives Client-Prompt user;
If complete, proceed next step process.
S4:Search the corresponding base interface of each base interface id respectively in base interface allocation list and call process,
Draw the output result of combined interface and return to client.
In this step, when have found corresponding all of base interface id of the combined interface by combined interface id, need
The corresponding base interface of each base interface id is searched in base interface allocation list, then each base interface is adjusted
Corresponding output parameter is obtained with process, finally the combination of all of output parameter the output result of the combined interface is obtained into and is returned
Back to client.
Further, each base interface has its configuration information, including configuration |input paramete, output parameter, basis connect
Title of mouth etc., wherein the information of configuration |input paramete is stored in one and enters in ginseng table, such as the type of configuration |input paramete,
Size.When corresponding base interface is found by base interface id, joined according to the configuration of each base interface input first
|input parametes in combination call request are converted to corresponding |input paramete by number, then further according to each base interface and its defeated
Enter the output parameter that parameter draws base interface, finally obtain all of output parameter according to combination _ basis output mapping table
The output result of the combined interface, and output result is returned to into client.Wherein combination _ basis output mapping table is used to store
Mapping relations between the output result of combined interface and the output parameter of corresponding base interface.Such as, combination is being called to connect
During mouth, the corresponding all of base interface of combined interface is called and processed first, obtain the corresponding output ginseng of each base interface
Then these output parameters are obtained combined interface by number according to the mapping relations that combinations thereof _ basis output mapping table is stored
Output result.
Further, because the type of interface can there are sync cap and asynchronous interface, therefore, it is involved in the present invention
To combined interface can also distinguish sync cap and asynchronous interface.In general a combined interface can include multiple bases and connect
Mouthful, therefore, if when corresponding each base interface of combined interface is sync cap, then it is assumed that the combined interface connects for synchronous
Mouthful;If being asynchronous interface when there are one in the corresponding base interface of combined interface, then it is assumed that the combined interface connects for asynchronous
Mouthful.Therefore, S4 is specifically further comprising the steps of:First determine whether the type of the combined interface:
S41:When combined interface is sync cap, that is to say that all of base interface is synchronous base interface, then
Call each base interface and process draws corresponding output parameter, then by the output parameter according to the basis _ combination
Output mapping table is converted to the output result of combined interface, and returns to client.
S42:When combined interface is asynchronous interface, that is to say and exist in the base interface corresponding to the combined interface one
Or more than one asynchronous interface, also include:
When all of base interface is asynchronous interface, then calls all of base interface and generate the combined interface pair
The serial number answered, by the serial number client is returned to.
When wherein there is a base interface to be synchronous base interface, then the base interface for calling this synchronous, and its is right
The output parameter answered is first stored in asynchronous interface table;Also call asynchronous base interface and generate the combined interface pair simultaneously
The serial number answered, by the serial number client is returned to.
The serial number refers to that server returns to the voucher of client, when combined interface is asynchronous interface, calls one
Individual combined interface only can return a unique serial number to client;The effect of the serial number just such as returns to client
One serial number, allows client to wait for a period of time, and returns again to output result.Further, since the presence of asynchronous base interface, may
Output parameter can be caused not draw in real time, and the output parameter of the base interface of synchronization can be obtained in real time, therefore work as group
When splice grafting mouth is asynchronous interface, synchronous base interface output parameter is preserved first, wait the defeated of other asynchronous interfaces
Go out parameter, turn to be finally combined the synchronous output parameter of base interface and the output parameter of asynchronous base interface
Get the final required output result of client in return.
As shown in Fig. 2 present invention also offers the calling device of multi-data source interactive interface, it includes:
Acquisition request module, for obtaining the combined interface call request of client transmission;The combined interface is called please
Ask including combined interface id and |input paramete;
Data obtaining module, connects for searching the combination corresponding to the combined interface id in combined interface allocation list
Mouthful, the configuration information of the combined interface includes that combined interface configures |input paramete and corresponding base interface id;
Judge module, the |input paramete is compared with combined interface configuration |input paramete, checks the input
Whether parameter is complete, if it is not, then returning client or terminating flow process, if so, then performs processing module;
Processing module, for configuring the corresponding base interface of table search each base interface id by base interface and calling
Process, draw the output result of the combined interface and return to client.
Preferably, the processing procedure of processing module is specifically included:
When combined interface is sync cap, when that is to say that each base interface is synchronous base interface, each is called
Base interface simultaneously processes the output parameter for drawing corresponding base interface, then according to the output result of combined interface with it is corresponding
Mapping relations between the output parameter of base interface, by all of output parameter the output result of combined interface is converted to, and
Return to client;Mapping relations quilt between the output result of the combined interface and the output parameter of corresponding base interface
In being stored in a combination _ basis output mapping table;
When combined interface is asynchronous interface, that is to say that there are one or more base interface is asynchronous basis
During interface, call each base interface and process, then generate the corresponding serial number of the combined interface, the serial number is returned
Back to client.
Preferably, when the combined interface is asynchronous interface, also include:
When the base interface that there are or more is synchronous base interface, the synchronous base interface is called simultaneously
Output it parameter to be stored in asynchronous interface table.
Preferably, described each base interface has corresponding configuration |input paramete, and described configuration |input paramete is deposited
In being stored in ginseng table;
It is described when configuring the corresponding base interface of table search each base interface id by base interface and calling process also
Specifically include:
The |input paramete is converted to into the input of correspondence base interface according to the configuration |input paramete of each base interface
Parameter, then draws the output parameter of base interface according to each base interface and its |input paramete, and all of output is joined
Array closes the output result for being converted to combined interface.
The present invention adopts and the base interface after encapsulation is configured such that it is able to so that staff makes by oneself according to oneself
The mode of justice is defined and meets the combined interface that self-demand is used, very intuitive and convenient;In addition, this configuration mode,
It is (former relative to the mode of existing direct exploitation the data field for accessing and contact interface sum gradually increase later in the case that
The mode of the direct exploitation for coming there are the work of a large amount of overlapping development), it greatlys save the workload of developer, has
Good extensibility.
In addition, staff returns all of combined interface unification provides an access url, in user combined interface is called
When, client is connected with server by the connected mode of http.Docking port is so facilitated to be managed collectively, it is greatly convenient
The modules such as charging, log management, data storage.
The present invention is also very high in the efficiency of interface interchange, such as in general 8g internal memories, the server that CPU is 3Ghz
On, the application call frequency of 100/second can be realized;In calling using parallel processing in process to multiple base interfaces, lead to
Cross the configuration read in caching and carry out calling interface, drastically increase the efficiency of interface interchange.
It will be apparent to those skilled in the art that technical scheme that can be as described above and design, make other various
It is corresponding to change and deformation, and all these change and deformation should all belong to the protection domain of the claims in the present invention
Within.
Claims (8)
1. the call method of multi-data source interactive interface, it is characterised in that include:
S1:Obtain the combined interface call request that client sends;The combined interface call request include combined interface id and
|input paramete;
S2:Search the combined interface corresponding to the combined interface id in combined interface allocation list, the combined interface is matched somebody with somebody
Confidence breath includes combined interface configuration |input paramete and corresponding base interface id;
S3:The |input paramete is compared with combined interface configuration |input paramete, checks whether the |input paramete is complete
It is whole, if it is not, then returning client or terminating flow process, if so, then perform S4;
S4:Base interface corresponding to table search each base interface id is configured by base interface and process is called, this is drawn
The output result of combined interface simultaneously returns to client.
2. the call method of multi-data source interactive interface as claimed in claim 1, it is characterised in that S4 is specifically included:
When combined interface is sync cap, when that is to say that each base interface is synchronous base interface, each basis is called
Interface simultaneously processes the output parameter for drawing corresponding base interface, then according to the output result of combined interface and corresponding basis
Mapping relations between the output parameter of interface, by all of output parameter the output result of combined interface is converted to, and is returned
To client;Mapping relations between the output result of the combined interface and the output parameter of corresponding base interface are stored
In one combination _ basis output mapping table;
When combined interface is asynchronous interface, that is to say that there are one or more base interface is asynchronous base interface
When, call each base interface and process, the corresponding serial number of the combined interface is then generated, the serial number is returned to
Client.
3. the call method of multi-data source interactive interface as claimed in claim 2, it is characterised in that the combined interface is asynchronous
During interface, also include:
When the base interface that there are or more is synchronous base interface, call the synchronous base interface and by its
Output parameter is stored in asynchronous interface table.
4. the call method of multi-data source interactive interface as claimed in claim 1, it is characterised in that described each base interface
There is corresponding configuration |input paramete, the configuration |input paramete is stored in ginseng table;
It is described also concrete when configuring the corresponding base interface of table search each base interface id by base interface and calling process
Including:The |input paramete is converted to into the input ginseng of correspondence base interface according to the configuration |input paramete of each base interface
Number, then draws the output parameter of base interface according to each base interface and its |input paramete, and by all of output parameter
Combination conversion obtains the output result of combined interface.
5. the calling device of multi-data source interactive interface, it is characterised in that include:
Acquisition request module, for obtaining the combined interface call request of client transmission;The combined interface call request bag
Include combined interface id and |input paramete;
Data obtaining module, for searching the combined interface corresponding to the combined interface id, institute in combined interface allocation list
Stating the configuration information of combined interface includes that combined interface configures |input paramete and corresponding base interface id;
Judge module, the |input paramete is compared with combined interface configuration |input paramete, checks the |input paramete
It is whether complete, if it is not, then returning client or terminating flow process, if so, then perform processing module;
Processing module, for configuring the corresponding base interface of table search each base interface id by base interface and calling place
Reason, draws the output result of the combined interface and returns to client.
6. the call method of multi-data source interactive interface as claimed in claim 5, it is characterised in that the processing procedure of processing module
Specifically include:
When combined interface is sync cap, when that is to say that each base interface is synchronous base interface, each basis is called
Interface simultaneously processes the output parameter for drawing corresponding base interface, then according to the output result of combined interface and corresponding basis
Mapping relations between the output parameter of interface, by all of output parameter the output result of combined interface is converted to, and is returned
To client;Mapping relations between the output result of the combined interface and the output parameter of corresponding base interface are stored
In one combination _ basis output mapping table;
When combined interface is asynchronous interface, that is to say that there are one or more base interface is asynchronous base interface
When, call each base interface and process, the corresponding serial number of the combined interface is then generated, the serial number is returned to
Client.
7. the call method of multi-data source interactive interface as claimed in claim 6, it is characterised in that the combined interface is asynchronous
During interface, also include:
When the base interface that there are or more is synchronous base interface, call the synchronous base interface and by its
Output parameter is stored in asynchronous interface table.
8. the call method of multi-data source interactive interface as claimed in claim 5, it is characterised in that described each base interface
There is corresponding configuration |input paramete, the configuration |input paramete is stored in ginseng table;
It is described also concrete when configuring the corresponding base interface of table search each base interface id by base interface and calling process
Including:
The |input paramete is converted to into the |input paramete of correspondence base interface according to the configuration |input paramete of each base interface,
Then the output parameter of base interface is drawn according to each base interface and its |input paramete, and all of output parameter is combined
It is converted to the output result of combined interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610877852.8A CN106649488B (en) | 2016-09-30 | 2016-09-30 | Method and device for calling multi-data-source interactive interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610877852.8A CN106649488B (en) | 2016-09-30 | 2016-09-30 | Method and device for calling multi-data-source interactive interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106649488A true CN106649488A (en) | 2017-05-10 |
CN106649488B CN106649488B (en) | 2020-05-05 |
Family
ID=58853688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610877852.8A Active CN106649488B (en) | 2016-09-30 | 2016-09-30 | Method and device for calling multi-data-source interactive interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649488B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107194014A (en) * | 2017-07-04 | 2017-09-22 | 贵州数据宝网络科技有限公司 | Data source call method and device |
CN107809332A (en) * | 2017-11-10 | 2018-03-16 | 中国民生银行股份有限公司 | Compound interface configures and compound interface call method, device |
CN110162560A (en) * | 2019-04-16 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Finance data interface butt joint method, device, computer equipment and storage medium |
CN112181520A (en) * | 2020-09-27 | 2021-01-05 | 新奥数能科技有限公司 | Interface design method and configuration tool for energy equipment |
WO2021218063A1 (en) * | 2020-04-27 | 2021-11-04 | 平安科技(深圳)有限公司 | Method and apparatus for assigning parameter with value on the basis of name mapping, and computer device |
CN113791766A (en) * | 2021-09-16 | 2021-12-14 | 易保网络技术(上海)有限公司 | Method for combining data interfaces, electronic device and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050050320A1 (en) * | 2003-09-02 | 2005-03-03 | Microsoft Corporation | Branding framework |
CN101615116A (en) * | 2008-06-23 | 2009-12-30 | 成都市华为赛门铁克科技有限公司 | A kind of interface acquisition methods, Apparatus and system |
CN103383749A (en) * | 2012-05-04 | 2013-11-06 | 上海盛霄云计算技术有限公司 | Method and system for automatic integration of multiple management systems |
CN104168148A (en) * | 2014-05-04 | 2014-11-26 | 杭州立地信息技术有限公司 | Multi-interface data collecting device and method |
CN104852939A (en) * | 2014-02-18 | 2015-08-19 | 中国电信股份有限公司 | Capability interface deploying method and system |
CN105446714A (en) * | 2014-08-14 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Interface calling method and device |
-
2016
- 2016-09-30 CN CN201610877852.8A patent/CN106649488B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050050320A1 (en) * | 2003-09-02 | 2005-03-03 | Microsoft Corporation | Branding framework |
CN101615116A (en) * | 2008-06-23 | 2009-12-30 | 成都市华为赛门铁克科技有限公司 | A kind of interface acquisition methods, Apparatus and system |
CN103383749A (en) * | 2012-05-04 | 2013-11-06 | 上海盛霄云计算技术有限公司 | Method and system for automatic integration of multiple management systems |
CN104852939A (en) * | 2014-02-18 | 2015-08-19 | 中国电信股份有限公司 | Capability interface deploying method and system |
CN104168148A (en) * | 2014-05-04 | 2014-11-26 | 杭州立地信息技术有限公司 | Multi-interface data collecting device and method |
CN105446714A (en) * | 2014-08-14 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Interface calling method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107194014A (en) * | 2017-07-04 | 2017-09-22 | 贵州数据宝网络科技有限公司 | Data source call method and device |
CN107194014B (en) * | 2017-07-04 | 2021-05-28 | 贵州数据宝网络科技有限公司 | Data source calling method and device |
CN107809332A (en) * | 2017-11-10 | 2018-03-16 | 中国民生银行股份有限公司 | Compound interface configures and compound interface call method, device |
CN110162560A (en) * | 2019-04-16 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Finance data interface butt joint method, device, computer equipment and storage medium |
WO2021218063A1 (en) * | 2020-04-27 | 2021-11-04 | 平安科技(深圳)有限公司 | Method and apparatus for assigning parameter with value on the basis of name mapping, and computer device |
CN112181520A (en) * | 2020-09-27 | 2021-01-05 | 新奥数能科技有限公司 | Interface design method and configuration tool for energy equipment |
CN112181520B (en) * | 2020-09-27 | 2024-05-14 | 新奥数能科技有限公司 | Interface design method and configuration tool for energy equipment |
CN113791766A (en) * | 2021-09-16 | 2021-12-14 | 易保网络技术(上海)有限公司 | Method for combining data interfaces, electronic device and readable storage medium |
CN113791766B (en) * | 2021-09-16 | 2023-05-16 | 易保网络技术(上海)有限公司 | Method for combining data interfaces, electronic device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106649488B (en) | 2020-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106649488A (en) | Method and device for invoking multi-data-source interaction interface | |
US10146560B2 (en) | Method and apparatus for automatic processing of service requests on an electronic device | |
US11934394B2 (en) | Data query method supporting natural language, open platform, and user terminal | |
CN102939579A (en) | Method and apparatus for binding user interface elements and granular reflective processing | |
WO2016183378A1 (en) | Instant communication | |
CN111382252B (en) | Method, device, equipment and medium for determining problem category based on user request | |
CN106911782A (en) | A kind of method for reading data and device | |
WO2022100222A1 (en) | Information retrieval method, apparatus and system, and storage medium | |
US20200142674A1 (en) | Extracting web api endpoint data from source code | |
CN104717131B (en) | Information interacting method and server | |
CN111104425A (en) | Data processing method and device | |
CN115269683A (en) | Data query method and device based on multi-party cooperation | |
CN113742005A (en) | Platform docking method and device | |
CN109597825B (en) | Rule engine calling method, device, equipment and computer readable storage medium | |
CN109343983A (en) | Information interacting method, device, equipment and storage medium between functional module | |
CN108446366A (en) | A kind of method and device of classification storage/Rapid matching data | |
CN114741400A (en) | Data synchronization and analysis method, device and terminal equipment | |
CN112243016A (en) | Middleware platform, terminal equipment, 5G artificial intelligence cloud processing system and processing method | |
CN106850838A (en) | The control method and system of mobile terminal cloud application | |
WO2018176705A1 (en) | Method and apparatus for voice service response | |
CN108845996A (en) | A kind of META Search Engine implementation method and turn-key system polymerizeing Android application program inner search function | |
CN108287859A (en) | A kind of multimedia information retrieval method and device | |
CN108959294A (en) | A kind of method and apparatus accessing search engine | |
CN112491943A (en) | Data request method, device, storage medium and electronic equipment | |
US20220027419A1 (en) | Smart search and recommendation method for content, storage medium, and terminal |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 510000 room 1601, No. 68, Huacheng Avenue, Tianhe District, Guangzhou City, Guangdong Province Patentee after: Guangdong No.7 Digital Service Co., Ltd Address before: 510000, 01-04, room 18, Yuexiu finance building, 28 Zhujiang East Road, Guangdong, Tianhe District, Guangzhou, China Patentee before: GUANGDONG WANGJIN DATA SERVICE Co.,Ltd. |