CN110413667A - Interface selection method and device, electronic equipment and computer readable storage medium - Google Patents

Interface selection method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110413667A
CN110413667A CN201910525114.0A CN201910525114A CN110413667A CN 110413667 A CN110413667 A CN 110413667A CN 201910525114 A CN201910525114 A CN 201910525114A CN 110413667 A CN110413667 A CN 110413667A
Authority
CN
China
Prior art keywords
interface
configuration information
information
interface configuration
multinomial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910525114.0A
Other languages
Chinese (zh)
Inventor
夏良超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910525114.0A priority Critical patent/CN110413667A/en
Publication of CN110413667A publication Critical patent/CN110413667A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention proposes a kind of interface selection method and device, electronic equipment and computer readable storage medium, it is related to researching and developing administrative skill field, wherein this method comprises: obtaining single data transfer request;Judge whether the data output demand information in the single data transfer request is multinomial;In the case that data output demand information in the single data transfer request is multinomial, the interface configuration information that there is same index coding with data output demand information is obtained in interface configuration information database;According to the corresponding relationship of scheduled interface and interface configuration information, each described data output demand information is distributed to interface corresponding to the described interface configuration information encoded with it with same index.According to the technical solution of the present invention, the problem of avoiding high cost, poor efficiency and high error rates brought by manual amendment's interface configuration information facilitates the efficiency and accuracy that increase data output.

Description

Interface selection method and device, electronic equipment and computer readable storage medium
[technical field]
The present invention relates to research and development administrative skill field more particularly to a kind of interface selection method and device, electronic equipment and Computer readable storage medium.
[background technique]
In the related technology when receiving data transfer request, corresponding a plurality of types of data of output are generally required, and it is every Demand of the data of seed type to data transmission interface is different, and to solve this problem, then need manual modification interface matches confidence Breath, operation is very complicated, increases human cost, and be easy to appear mistake.For example, being needed in the air control report for generating enterprise The up to several hundred items of the data item to be inquired, the time that each data item generates is different, moreover, different enterprises specifically needs Data item it is also different, every time obtain data will go to safeguard this interface, great maintenance cost can be brought.
Therefore, the requested a plurality of types of data of single data transfer request how are completed in high efficiency and low cost, at For a technical problem to be solved urgently.
[summary of the invention]
The embodiment of the invention provides a kind of interface selection method and devices, electronic equipment and computer-readable storage medium Matter, it is intended to solve the low technical problem of data transmission efficiency in the related technology, single number can be completed in high efficiency and low cost Requested a plurality of types of data are requested according to transmission.
In a first aspect, the embodiment of the invention provides a kind of interface selection methods, comprising: obtain the transmission of single data and ask It asks;Judge whether the data output demand information in the single data transfer request is multinomial;It is transmitted in the single data In the case that data output demand information in request is multinomial, obtained and the number in interface configuration information database There is the interface configuration information of same index coding according to output demand information;According to pair of scheduled interface and interface configuration information It should be related to, each described data output demand information is distributed to the interface configuration information encoded with it with same index Corresponding interface.
In the above embodiment of the present invention, optionally, the acquisition single data transfer request the step of before, also wrap It includes: obtaining index encoding setting information;It is in the interface configuration information database according to the index encoding setting information Corresponding index coding is arranged in each described interface configuration information.
In the above embodiment of the present invention, optionally, encoded with data output demand information with same index The interface configuration information be it is multinomial in the case where, the corresponding relationship according to scheduled interface and interface configuration information, Each described data output demand information is distributed to corresponding to the described interface configuration information encoded with it with same index Interface the step of, comprising: according to the data export demand information in minimum transmission speed and/or minimum unit transmission Amount, in the multinomial interface configuration information that there is same index coding with data output demand information, selection transmission Speed is greater than or equal to the minimum transmission speed and/or unit transmission amount is greater than or equal to the mesh of the minimum unit transmission amount Mark interface configuration information;According to the corresponding relationship of the scheduled interface and interface configuration information, the data are exported into demand Information distributes interface corresponding to the target interface configuration information.
In the above embodiment of the present invention, optionally, the acquisition single data transfer request the step of before, also wrap It includes: obtaining correspondence setting information;According to the correspondence setting information, the scheduled interface is set and interface configures The corresponding relationship of information includes following one or more combination: first interface only corresponds to first interface configuration information;Second connects The corresponding multinomial second interface configuration information of mouth;Third interface configuration information corresponds to multiple third interfaces.
In the above embodiment of the present invention, optionally, multinomial second interface configuration information is corresponded in the second interface In the case of, further includes: different priority is respectively set for the multinomial second interface configuration information, then it is multinomial for being assigned The second interface of the data output demand information, exports demand information corresponding described second according to data described in each The priority of interface configuration information exports demand information for the multinomial data and transmission priority is arranged.
In the above embodiment of the present invention, optionally, further includes: correspond to multiple thirds in the third interface configuration information In the case where interface, different priority is respectively set for the multiple third interface, then it is described according to scheduled interface with connect The corresponding relationship of mouth configuration information distributes each described data output demand information to the institute encoded with it with same index The step of stating interface corresponding to interface configuration information, comprising: connect in the data output matched third of demand information In the case that mouth configuration information is corresponding with the multiple third interface, demand information is exported for the data and selects highest priority Third interface.
Second aspect, the embodiment of the invention provides a kind of interface selection devices, comprising: transmission request unit is used In acquisition single data transfer request;First judging unit, for judging that the data in the single data transfer request export Whether demand information is multinomial;Configuration information matching unit, it is defeated for the data in the single data transfer request In the case that demand information is multinomial out, obtaining in interface configuration information database has with data output demand information The interface configuration information of same index coding;Interface selecting unit, for pair according to scheduled interface and interface configuration information It should be related to, each described data output demand information is distributed to the interface configuration information encoded with it with same index Corresponding interface.
In the above embodiment of the present invention, optionally, further includes: index coding acquiring unit, for being asked in the transmission Before asking acquiring unit to obtain the single data transfer request, index encoding setting information is obtained;Encoding setting unit is indexed, For being each described interface configuration information in the interface configuration information database according to the index encoding setting information Corresponding index coding is set.
In the above embodiment of the present invention, optionally, encoded with data output demand information with same index The interface configuration information be it is multinomial in the case where, the interface selecting unit is used for: according to the data export demand letter Minimum transmission speed and/or minimum unit transmission amount in breath are being compiled with data output demand information with same index In the multinomial interface configuration information of code, transmission speed is selected to be greater than or equal to the minimum transmission speed and/or unit biography Throughput rate is greater than or equal to the target interface configuration information of the minimum unit transmission amount;Matched according to the scheduled interface with interface The corresponding relationship of confidence breath distributes data output demand information to interface corresponding to the target interface configuration information.
In the above embodiment of the present invention, optionally, further includes: correspondence setting information acquisition unit, in institute Before stating the transmission request unit acquisition single data transfer request, correspondence setting information is obtained;Corresponding relationship Setting unit, for it is corresponding with interface configuration information that the scheduled interface to be arranged according to the correspondence setting information Relationship includes following one or more combination: first interface only corresponds to first interface configuration information;Second interface corresponds to multinomial Second interface configuration information;Third interface configuration information corresponds to multiple third interfaces.
In the above embodiment of the present invention, optionally, multinomial second interface configuration information is corresponded in the second interface In the case of, further includes: interface priority setting unit, it is different for being respectively set for the multinomial second interface configuration information Priority, then interface selection devices further include: transmission priority setting unit, for for being assigned the multinomial data The second interface for exporting demand information exports the corresponding second interface of demand information according to data described in each and configures The priority of information exports demand information for the multinomial data and transmission priority is arranged.
In the above embodiment of the present invention, optionally, further includes: interface priority setting unit, in the third In the case that interface configuration information corresponds to multiple third interfaces, different priority is respectively set for the multiple third interface, Then the interface selecting unit is used for: being corresponding in the data output matched third interface configuration information of demand information In the case where the multiple third interface, the third interface that demand information selects highest priority is exported for the data.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, comprising: at least one processor;And with institute State the memory of at least one processor communication connection;Wherein, be stored with can be by least one described processor for the memory The instruction of execution, described instruction are arranged to be used for executing method described in any one of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, and it is executable to be stored with computer Instruction, the computer executable instructions are for executing method flow described in any one of above-mentioned first aspect.
One is provided for the low technical problem of data transmission efficiency in the related technology by above technical scheme The mode that kind completes the requested a plurality of types of data of single data transfer request in high efficiency and low cost specifically can Interface configuration information database is established, configures correspondence for a variety of different data such as different-format, different type, different purposes Interface configuration information, and select corresponding interface for every kind of interface configuration information.Then, single data transfer request is being obtained Afterwards, can detect the data output demand information in single data transfer request whether be it is multinomial, if multinomial, then illustrate to need into Enter for multinomial data export demand information distribute corresponding interface respectively the step of, that is to say, that next, starting be exclusively used in for The interface selection scheme of single data transfer request customization containing multinomial data output demand information.
Further, every item data output demand information corresponds to a kind of structure, a seed type or predetermined amount of data, predetermined number According to the data of piecemeal, which has index coding, what kind of interface configuration the transmission that index coding indicates the data needs Information.And also there is each interface configuration information in interface configuration information database corresponding index to encode, and therefore, can pass through Retrieval index identical with data output demand information encodes to determine that data export demand in interface configuration information database The required interface configuration information of the data of information.Then, corresponding with interface configuration information due to being predefined with interface Interface configuration information is then substituted into corresponding relationship by relationship, and the interface that the interface configuration information can be applicable in can be obtained.
By above technical scheme, the interface point to the multiple types of data in single data transfer request can be automatically performed The problem of matching, avoiding high cost, poor efficiency and high error rates brought by manual amendment's interface configuration information help to increase The efficiency and accuracy of data output.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 shows the flow chart of the interface selection method of one embodiment of the present of invention;
Fig. 2 shows the flow charts of the interface selection method of another embodiment of the invention;
Fig. 3 shows the flow chart of the interface selection method of yet another embodiment of the present invention;
Fig. 4 shows the block diagram of the interface selection devices of one embodiment of the present of invention;
Fig. 5 shows the block diagram of the electronic equipment of one embodiment of the present of invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
Fig. 1 shows the flow chart of the interface selection method of one embodiment of the present of invention.
As shown in Figure 1, the embodiment of the invention provides a kind of interface selection methods, comprising:
Step 102, single data transfer request is obtained.
Step 104, judge whether the data output demand information in the single data transfer request is multinomial.
Specifically, interface configuration information database can be established, is that different-format, different type, different purposes etc. are various Different data configure corresponding interface configuration information, and select corresponding interface for every kind of interface configuration information.Then, In After obtaining single data transfer request, data output demand information in detectable single data transfer request whether be it is multinomial, If multinomial, then illustrate to need to enter and be that multinomial data export the step of demand information distributes corresponding interface respectively, that is, It says, next, starting is exclusively used in exporting the interface choosing of the single data transfer request customization of demand information containing multinomial data Select scheme.
Step 106, in the case that the data output demand information in the single data transfer request is multinomial, Obtaining in interface configuration information database with data output demand information there is the interface of same index coding to match confidence Breath.
Every item data output demand information corresponds to a kind of structure, a seed type or predetermined amount of data, tentation data piecemeal Data, the data have index coding, what kind of interface configuration information the transmission that index coding indicates the data needs.And it connects Also there is each interface configuration information in mouth configuration information database corresponding index to encode, therefore, can be by matching in interface Set the number that index coding identical with data output demand information is retrieved in information database to determine data output demand information According to required interface configuration information.Then, due to being predefined with the corresponding relationship of interface and interface configuration information, then will Interface configuration information substitutes into corresponding relationship, and the interface that the interface configuration information can be applicable in can be obtained.
Wherein, before step 102, index encoding setting information can be obtained;According to the index encoding setting information, it is Corresponding index coding is arranged in each described interface configuration information in the interface configuration information database.Match confidence in interface It ceases in database, interface can be increased or be deleted, further, also interface configuration information can be increased or be deleted It removes, in the case where having increased interface configuration information newly, new index coding can be set for newly-increased interface configuration information, newly Index coding can be freely arranged by user, can also follow scheduled rule and be configured, to realize the compatibility between different scenes. That is index coding can flexible setting according to actual needs, include but is not limited to be sorted alphabetically, according to numeric sorting, According to upper and lower case letter and number combinatorics on words, can be even configured according to symbol, upper and lower case letter and number combinatorics on words, rope It is simpler to draw coding, can more save practical needed for matching.Conversely, index coding is more complicated, it can more reinforce interface with confidence The safety of breath increases the difficulty that the corresponding interface configuration information of the higher interface of demand for security is decoded by the external world.
Step 108, according to the corresponding relationship of scheduled interface and interface configuration information, each described data is exported into demand Information is distributed to interface corresponding to the described interface configuration information encoded with it with same index.
One is provided for the low technical problem of data transmission efficiency in the related technology by above technical scheme The mode for completing the requested a plurality of types of data of single data transfer request kind in high efficiency and low cost, can be automatically performed pair The interface assignment of multiple types of data in single data transfer request avoids brought by manual amendment's interface configuration information The problem of high cost, poor efficiency and high error rates, facilitates the efficiency and accuracy that increase data output.
Fig. 2 shows the flow charts of the interface selection method of another embodiment of the invention.
As shown in Fig. 2, the process of the interface selection method of another embodiment of the invention includes:
Step 202, single data transfer request is obtained.
Step 204, judge whether the data output demand information in the single data transfer request is multinomial.
Step 206, in the case that the data output demand information in the single data transfer request is multinomial, Obtaining in interface configuration information database with data output demand information there is the interface of same index coding to match confidence Breath.
Step 208, judge the interface configuration information that there is same index coding with data output demand information It whether is multinomial.
In actual scene, it is likely that because of artificial configuration fault or actual needs, not for same type, with transmission mode With the multinomial interface configuration information that data configuration is encoded with same index, the attribute of this multiple interface configuration information has not Same threshold value, attribute includes but is not limited to transmission speed and unit transmission amount etc..Therefore, because multinomial interface configuration information has Institute's difference efficiently transmits data for guarantee is more smooth, needs further optimum in this multinomial interface configuration information selection One interface configuration information
Step 210, it is in the interface configuration information that with data output demand information there is same index to encode In the case where multinomial, according to the data export demand information in minimum transmission speed and/or minimum unit transmission amount, with The data output demand information has in the multinomial interface configuration information of same index coding, and transmission speed is selected to be greater than Or match equal to the target interface that the minimum transmission speed and/or unit transmission amount are greater than or equal to the minimum unit transmission amount Confidence breath.
Step 212, according to the corresponding relationship of the scheduled interface and interface configuration information, the data are exported into demand Information distributes interface corresponding to the target interface configuration information.
In order to guarantee that selected target interface configuration information can satisfy the actual demand of data transmission, it is defeated data can be obtained Minimum transmission speed and/or minimum unit transmission amount required in demand information then can be in multinomial interface configuration informations out There is transmission speed to be greater than or equal to the minimum transmission speed and/or unit transmission amount more than or equal to described minimum for middle selection The target interface configuration information of unit transmission amount, in this way, target interface configuration information can reach needed for data transmission most Low transmission speed and/or minimum unit transmission amount.In addition, if obtained target interface configuration information be it is multiple, may be selected Wherein transmission speed highest and/or unit transmission amount maximum one are for configuring interface, so as within the scope of capacitation Optimum transport efficiency.
Real Fig. 1 and Fig. 2 shows embodiment on the basis of, in a kind of implementation of the invention, can also obtain in advance Take correspondence setting information;According to the correspondence setting information, the scheduled interface and interface configuration information are set Corresponding relationship include following one or more combination: first interface only corresponds to first interface configuration information;Second interface pair Answer multinomial second interface configuration information;Third interface configuration information corresponds to multiple third interfaces.In this way, can be according to actual transmissions need It asks, the corresponding relationship of flexible configuration interface and interface configuration information, so as to match for the optimum interface of each Interface Matching Confidence breath, is convenient for improving data transmission efficiency.By the technical solution, effective control of docking port transmission content is realized, just In the Data Securities such as execution data filtering according to actual needs.
In the first scenario, interface and interface configuration information are one-to-one relationship, then can directly export data needs Information is asked to distribute interface corresponding to the target interface configuration information.
In the latter case, interface and interface configuration information are one-to-many relationship, i.e., a single data are passed Defeated request, data export any multinomial be probably assigned to same interface in demand information and are transmitted, therefore, In It, can be according to the transmission energy of second interface configuration information in the case that the second interface corresponds to multinomial second interface configuration information Different priority is respectively set for the multinomial second interface configuration information in power.
For example, the transmittability of settable second interface configuration information is higher, priority is higher, with auxiliary transmission ability compared with Data transmission is rapidly completed in high interface configuration information, shortens the duration that data reach recipient, improves data transmission effect Rate.
For another example, the transmittability of settable second interface configuration information is lower, and priority is higher, to guarantee transmittability Lower interface configuration information can prioritised transmission data, with reduce its transmission delay degree.
In this way, for the second interface for being assigned the multinomial data output demand information, according to number described in each According to the priority of the corresponding second interface configuration information of output demand information, demand information is exported for the multinomial data and is set Set transmission priority.It, can be according to the sequence of transmission priority from high to low successively for individual interface when carrying out data transmission The multinomial data output demand information is transmitted, consequently facilitating prioritised transmission partial data, adapts to the data transmission of actual scene Demand.Hereby it is achieved that same interface passes sequentially through different configuration information transmission not when in face of the output request of single data Same data, improve the utilization rate of single face, facilitate whole saving interface quantity, reduce data transmission cost.
In a third case, interface and interface configuration information are many-to-one relationship, i.e., an interface configuration information can Multiple interfaces are configured at, this scheme is specifically described below by Fig. 3.
As shown in figure 3, the process of the interface selection method of yet another embodiment of the present invention includes:
Step 302, it in the case where an interface configuration information corresponds to multiple interfaces, is respectively set for the multiple interface Different priority.
Step 304, single data transfer request is obtained.
Step 306, judge whether the data output demand information in the single data transfer request is multinomial.
Step 308, in the case that the data output demand information in the single data transfer request is multinomial, Obtaining in interface configuration information database with data output demand information there is the interface of same index coding to match confidence Breath.
It step 310, is the interface of the data output demand information selection highest priority in the multiple interface.
By above technical scheme, since an interface configuration information corresponds to multiple interfaces, therefore can be selected in multiple interfaces It selects and is best suitable for an interface of actual transmissions demand to apply the interface configuration information to realize data transmission.The priority of interface is got over Height more meets actual transmissions demand, and the priority of interface can be by the largest data transfer amount in the unit time of interface, interface Safe water equality factor sets and sorts, and therefore, selects the interface of highest priority, can get strongest data transmission capabilities Or the advantages such as security performance, improve the practicability of data transmission.
Fig. 4 shows the block diagram of the interface selection devices of one embodiment of the present of invention.
As shown in figure 4, the embodiment of the invention provides a kind of interface selection devices 400, comprising: transmission request unit 402, for obtaining single data transfer request;First judging unit 404, for judging in the single data transfer request Data export whether demand information is multinomial;Configuration information matching unit 406, in the single data transfer request In the case that the data output demand information is multinomial, obtaining in interface configuration information database is needed with data output Ask information that there is the interface configuration information of same index coding;Interface selecting unit 408, for according to scheduled interface and interface The corresponding relationship of configuration information, by each described data output demand information distribute to it with described in same index coding Interface corresponding to interface configuration information.
In the above embodiment of the present invention, optionally, further includes: index coding acquiring unit, for being asked in the transmission Before asking acquiring unit 402 to obtain the single data transfer request, index encoding setting information is obtained;Index encoding setting list Member, for according to the index encoding setting information, being each described interface configuration in the interface configuration information database Corresponding index coding is arranged in information.
In the above embodiment of the present invention, optionally, encoded with data output demand information with same index The interface configuration information be it is multinomial in the case where, the interface selecting unit 408 is used for: according to the data export demand Minimum transmission speed and/or minimum unit transmission amount in information have same index with data output demand information In the multinomial interface configuration information of coding, transmission speed is selected to be greater than or equal to the minimum transmission speed and/or unit Transmission quantity is greater than or equal to the target interface configuration information of the minimum unit transmission amount;According to the scheduled interface and interface Data output demand information is distributed to the target interface configuration information is corresponding and is connect by the corresponding relationship of configuration information Mouthful.
In the above embodiment of the present invention, optionally, further includes: correspondence setting information acquisition unit, in institute State transmission request unit 402 obtain the single data transfer request before, obtain correspondence setting information;It is corresponding to close It is setting unit, for pair of the scheduled interface and interface configuration information to be arranged according to the correspondence setting information Should be related to including following one or more combination: first interface only corresponds to first interface configuration information;Second interface correspondence is more Item second interface configuration information;Third interface configuration information corresponds to multiple third interfaces.
In the above embodiment of the present invention, optionally, multinomial second interface configuration information is corresponded in the second interface In the case of, further includes: interface priority setting unit, it is different for being respectively set for the multinomial second interface configuration information Priority, then interface selection devices 400 further include: transmission priority setting unit, for multinomial described for being assigned Data export the second interface of demand information, export the corresponding second interface of demand information according to data described in each The priority of configuration information exports demand information for the multinomial data and transmission priority is arranged.
In the above embodiment of the present invention, optionally, further includes: interface priority setting unit, in the third In the case that interface configuration information corresponds to multiple third interfaces, different priority is respectively set for the multiple third interface, Then the interface selecting unit 408 is used for: exporting the matched third interface configuration information pair of demand information in the data In the case where there should be the multiple third interface, the third interface that demand information selects highest priority is exported for the data.
Therefore the interface selection devices 400 are had using scheme described in any one of embodiment shown in Fig. 1 to Fig. 3 Above-mentioned all technical effects, details are not described herein.
Fig. 5 shows the block diagram of the electronic equipment of one embodiment of the present of invention.
As shown in figure 5, the electronic equipment 500 of one embodiment of the present of invention, including at least one processor 502;And With the processor 504 of at least one processor 502 communication connection;Wherein, the memory be stored with can by it is described at least The instruction that one processor 504 executes, described instruction are arranged to be used for executing above-mentioned Fig. 1 to any one of Fig. 3 embodiment institute The scheme stated.Therefore, which has and Fig. 1 is to the identical technical effect of any one of Fig. 3 embodiment, herein not It repeats again.
In addition, computer executable instructions are stored with the embodiment of the invention provides a kind of computer readable storage medium, The computer executable instructions are used to execute above-mentioned Fig. 1 to the method flow described in any one of Fig. 3 embodiment.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, according to the technical solution of the present invention, can be automatic complete The interface assignment of multiple types of data in pairs of single data transfer request, avoids manual amendment's interface configuration information institute band The problem of high cost, poor efficiency and high error rates for coming, facilitates the efficiency and accuracy that increase data output.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It will be appreciated that though interface may be described in embodiments of the present invention using term first, second etc., but these Interface should not necessarily be limited by these terms.These terms are only used to for interface being distinguished from each other out.For example, not departing from the embodiment of the present invention In the case where range, first interface can also be referred to as second interface, and similarly, second interface can also be referred to as first and connect Mouthful.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
In several embodiments provided by the present invention, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of interface selection method characterized by comprising
Obtain single data transfer request;
Judge whether the data output demand information in the single data transfer request is multinomial;
In the case that data output demand information in the single data transfer request is multinomial, match confidence in interface Cease the interface configuration information for obtaining in database and there is same index coding with data output demand information;
According to the corresponding relationship of scheduled interface and interface configuration information, by each described data output demand information distribute to Interface corresponding to its described interface configuration information with same index coding.
2. interface selection method according to claim 1, which is characterized in that in the acquisition single data transfer request Before step, further includes:
Obtain index encoding setting information;
It is each described interface configuration information in the interface configuration information database according to the index encoding setting information Corresponding index coding is set.
3. interface selection method according to claim 1, which is characterized in that have with data output demand information In the case that the interface configuration information of same index coding is multinomial,
The corresponding relationship according to scheduled interface and interface configuration information, by each data output demand information distribution The step of interface corresponding to the interface configuration information that extremely with it there is same index to encode, comprising:
According to the data export demand information in minimum transmission speed and/or minimum unit transmission amount, with the data Exporting demand information has in the multinomial interface configuration information of same index coding, and transmission speed is selected to be greater than or equal to institute It states minimum transmission speed and/or unit transmission amount is greater than or equal to the target interface configuration information of the minimum unit transmission amount;
According to the corresponding relationship of the scheduled interface and interface configuration information, data output demand information is distributed to institute State the corresponding interface of target interface configuration information.
4. interface selection method according to any one of claim 1 to 3, which is characterized in that in the acquisition single number Before the step of transmission request, further includes:
Obtain correspondence setting information;
According to the correspondence setting information, be arranged the scheduled interface and interface configuration information corresponding relationship include with The next item down or multinomial combination:
First interface only corresponds to first interface configuration information;
Second interface corresponds to multinomial second interface configuration information;
Third interface configuration information corresponds to multiple third interfaces.
5. interface selection method according to claim 4, which is characterized in that correspond to multinomial second in the second interface and connect In the case where mouth configuration information, further includes:
Different priority is respectively set for the multinomial second interface configuration information, then
For being assigned the second interface of the multinomial data output demand information, demand is exported according to data described in each The priority of the corresponding second interface configuration information of information exports demand information for the multinomial data and transmission preferences is arranged Grade.
6. interface selection method according to claim 4, which is characterized in that further include:
In the case where the third interface configuration information corresponds to multiple third interfaces, it is respectively set for the multiple third interface Different priority, then
The corresponding relationship according to scheduled interface and interface configuration information, by each data output demand information distribution The step of interface corresponding to the interface configuration information that extremely with it there is same index to encode, comprising:
The multiple third interface is corresponding in the data output matched third interface configuration information of demand information In the case of, the third interface that demand information selects highest priority is exported for the data.
7. a kind of interface selection devices characterized by comprising
Request unit is transmitted, for obtaining single data transfer request;
First judging unit, for judging whether the output demand information of the data in the single data transfer request is multinomial;
Configuration information matching unit is multinomial for the data output demand information in the single data transfer request In the case where, obtaining in interface configuration information database has connecing for same index coding with data output demand information Mouth configuration information;
Interface selecting unit, it is for the corresponding relationship according to scheduled interface and interface configuration information, each described data are defeated Demand information is distributed to interface corresponding to the described interface configuration information encoded with it with same index out.
8. interface selection devices according to claim 7, which is characterized in that further include:
Encoding setting information acquisition unit is indexed, is asked for obtaining the single data transmission in the transmission request unit Before asking, index encoding setting information is obtained;
Encoding setting unit is indexed, for being in the interface configuration information database according to the index encoding setting information Each described interface configuration information corresponding index be set encode.
9. a kind of electronic equipment characterized by comprising at least one processor;And it is logical at least one described processor Believe the memory of connection;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use Method described in any one of execution the claims 1 to 6.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer executable instructions, the computer can It executes instruction for executing such as method flow described in any one of claims 1 to 6.
CN201910525114.0A 2019-06-18 2019-06-18 Interface selection method and device, electronic equipment and computer readable storage medium Pending CN110413667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910525114.0A CN110413667A (en) 2019-06-18 2019-06-18 Interface selection method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910525114.0A CN110413667A (en) 2019-06-18 2019-06-18 Interface selection method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110413667A true CN110413667A (en) 2019-11-05

Family

ID=68359231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910525114.0A Pending CN110413667A (en) 2019-06-18 2019-06-18 Interface selection method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110413667A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111554367A (en) * 2020-04-26 2020-08-18 贵州精准健康数据有限公司 Data processing method and device and computer readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090083234A1 (en) * 2006-03-14 2009-03-26 Korea Institute Of Science And Technology Intelligent Computing Device Agent System For Automatic Recognition Of Multi User Computing Environment And Information Sharing Setup
CN102857322A (en) * 2011-06-30 2013-01-02 丛林网络公司 Hybrid port range encoding
CN104410645A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Data interaction method, device and system
US20180054829A1 (en) * 2015-04-09 2018-02-22 Telefonaktiebolaget Lm Ericsson (Publ) Method and Apparatus for Scheduling Resources
CN107957992A (en) * 2017-12-12 2018-04-24 武汉虹信技术服务有限责任公司 The automatic processing method and system of a kind of field feedback
CN109298882A (en) * 2018-09-26 2019-02-01 深圳壹账通智能科技有限公司 Management method, computer readable storage medium and the terminal device of interface
CN109299348A (en) * 2018-11-28 2019-02-01 北京字节跳动网络技术有限公司 A kind of data query method, apparatus, electronic equipment and storage medium
CN109639591A (en) * 2018-12-07 2019-04-16 国网浙江省电力有限公司 Power dispatching data reverse transfer method and system and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090083234A1 (en) * 2006-03-14 2009-03-26 Korea Institute Of Science And Technology Intelligent Computing Device Agent System For Automatic Recognition Of Multi User Computing Environment And Information Sharing Setup
CN102857322A (en) * 2011-06-30 2013-01-02 丛林网络公司 Hybrid port range encoding
CN104410645A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Data interaction method, device and system
US20180054829A1 (en) * 2015-04-09 2018-02-22 Telefonaktiebolaget Lm Ericsson (Publ) Method and Apparatus for Scheduling Resources
CN107957992A (en) * 2017-12-12 2018-04-24 武汉虹信技术服务有限责任公司 The automatic processing method and system of a kind of field feedback
CN109298882A (en) * 2018-09-26 2019-02-01 深圳壹账通智能科技有限公司 Management method, computer readable storage medium and the terminal device of interface
CN109299348A (en) * 2018-11-28 2019-02-01 北京字节跳动网络技术有限公司 A kind of data query method, apparatus, electronic equipment and storage medium
CN109639591A (en) * 2018-12-07 2019-04-16 国网浙江省电力有限公司 Power dispatching data reverse transfer method and system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111554367A (en) * 2020-04-26 2020-08-18 贵州精准健康数据有限公司 Data processing method and device and computer readable medium
CN111554367B (en) * 2020-04-26 2023-05-30 贵州精准健康数据有限公司 Data processing method, device and computer readable medium

Similar Documents

Publication Publication Date Title
CN106228386B (en) A kind of information-pushing method and device
CN103294809B (en) A kind of user organizes matching process and device
CN110457256A (en) Date storage method, device, computer equipment and storage medium
CN110377804A (en) Method for pushing, device, system and the storage medium of training course data
CN109783472A (en) Moving method, device, computer equipment and the storage medium of table data
WO2019019649A1 (en) Method and apparatus for generating investment portfolio product, storage medium and computer device
CN107991892A (en) The methods, devices and systems of control device
CN110831039A (en) Data transmission method and transmission server in multi-path concurrent system
CN103914767A (en) Meeting scheduling method, device and system
CN109992284A (en) Method and device for providing hot update program and electronic equipment
CN114070791B (en) Speed limiting processing method and device for data traffic
CN108197203A (en) A kind of shop front head figure selection method, device, server and storage medium
CN110221960A (en) Generate method and device, the computer equipment, storage medium of test case
CN110232633A (en) A kind of electronic signature method, apparatus, storage medium and server
CN109086289A (en) A kind of media data processing method, client, medium and equipment
CN106390451A (en) Method and device for testing capacity of game server
CN110413667A (en) Interface selection method and device, electronic equipment and computer readable storage medium
CN107437967A (en) Data transmission method based on sound wave, send equipment and receiving device
CN103299298B (en) The method and system of process business
CN107342929A (en) A kind of sending method of new message notification, apparatus and system
CN107800999A (en) A kind of method and system for mixing access video camera and video platform
CN105224394B (en) A kind of classification method and device of application program
CN110209904A (en) Classification method, device and the storage medium of information
CN102999581B (en) Measure data access and real-time ordering system for business large user
CN107025227A (en) User is to the determination of the familiarity of product, information sifting, processing method and processing device

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