CN110377325A - Interface allocation method, interface call method, device, equipment and storage medium - Google Patents

Interface allocation method, interface call method, device, equipment and storage medium Download PDF

Info

Publication number
CN110377325A
CN110377325A CN201910522416.2A CN201910522416A CN110377325A CN 110377325 A CN110377325 A CN 110377325A CN 201910522416 A CN201910522416 A CN 201910522416A CN 110377325 A CN110377325 A CN 110377325A
Authority
CN
China
Prior art keywords
interface
function
configuration
original
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910522416.2A
Other languages
Chinese (zh)
Other versions
CN110377325B (en
Inventor
崔刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201910522416.2A priority Critical patent/CN110377325B/en
Publication of CN110377325A publication Critical patent/CN110377325A/en
Application granted granted Critical
Publication of CN110377325B publication Critical patent/CN110377325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of interface allocation methods, interface call method, device, computer equipment and storage medium, by obtaining interface configuring request, interface configuring request includes at least two interface identifier, then the corresponding original configuration function of each interface is obtained according to each interface identifier, original configuration function is compared and analyzed, obtain original public function and original differences function, unified configuration is carried out to original public function and original differences function again, obtain common configuration function, finally common configuration function is packaged, obtain common interface function, unified configuration is carried out by the interface function to distinct interface, to improve the allocative efficiency of interface function.

Description

Interface allocation method, interface call method, device, equipment and storage medium
Technical field
The present invention relates to O&M field more particularly to a kind of interface allocation method, interface call method, device, equipment and Storage medium.
Background technique
With the continuous development of Internet technology, the not increasingly tight association of the content between homologous ray or interface.Such as: People in daily life, Domestic News can be obtained by the application on various websites or carry out information inquiry.And website Related data is called to realize correlation function by interface using usually Website server.Therefore, to guarantee website clothes Business device is passing through different interfaces, can be more efficient and stable when calling corresponding related data, then needs the tune to transferring interface Function is called reasonably to be arranged with method and interface.Function is called to match in the interface to a certain system or interface at present It is most of that only the calling function of single face is configured when setting, i.e., different configuration letters is often used to different interfaces Several and configuration method, so as to cause there is the low problem of allocative efficiency that interface calls function.
Summary of the invention
The embodiment of the present invention provides a kind of interface allocation method, device, computer equipment and storage medium, to solve interface The low problem of the allocative efficiency of function.
The embodiment of the present invention provides a kind of interface call method, device, computer equipment and storage medium, to solve to not With the problem for the process excessively complexity that interface is called.
A kind of interface allocation method, comprising:
Interface configuring request is obtained, the interface configuring request includes at least two interface identifier;
The corresponding original configuration function of each interface is obtained according to each interface identifier;
The original configuration function is compared and analyzed, original public function and original differences function are obtained;
Unified configuration is carried out to the original public function and the original differences function, obtains common configuration function;
The common configuration function is packaged, common interface function is obtained.
A kind of interface call method, comprising:
Interface call request is obtained, the interface call request includes target interface mark and target interface parameter;
Judge that the target interface identifies whether to meet default mark;
If target interface mark meets the default mark, common interface function is obtained, wherein described public to connect Mouth function is obtained using above-mentioned interface allocation method;
Using the target interface parameter as the input parameter of the common interface function, and call the common interface letter Number realizes that interface calls.
A kind of interface configuration apparatus, comprising:
Interface configuring request obtains module, and for obtaining interface configuring request, the interface configuring request includes at least two A interface identifier;
Original configuration function obtains module, and for being obtained according to each interface identifier, each interface is corresponding original to match Set function;
Comparative analysis module obtains original public function and original for comparing and analyzing to the original configuration function Beginning difference function;
Unified configuration module is obtained for carrying out unified configuration to the original public function and the original differences function To common configuration function;
Common configuration function package module obtains common interface function for the common configuration function to be packaged.
A kind of interface calling device characterized by comprising
Interface call request obtains module, and for obtaining interface call request, the interface call request includes that target connects Mouth mark and target interface parameter;
Judgment module is identified, for judging that the target interface identifies whether to meet default mark;
Common interface function obtains module, for obtaining public when target interface mark meets the default mark Interface function altogether;
Interface function calling module altogether, for joining the target interface parameter as the input of the common interface function Number, and the common interface function is called to realize that interface calls.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize the step of above-mentioned interface allocation method when executing the computer program Suddenly the step of realizing above-mentioned interface call method when or the processor executes the computer program.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter The step of calculation machine program realizes above-mentioned interface allocation method when being executed by processor or the computer program are held by processor The step of above-mentioned interface call method is realized when row.
Above-mentioned interface allocation method, device, computer equipment and storage medium, by obtaining interface configuring request, interface Configuring request includes at least two interface identifier, then obtains the corresponding original configuration letter of each interface according to each interface identifier Number, compares and analyzes original configuration function, obtains original public function and original differences function, then to original public function Unified configuration is carried out with original differences function, common configuration function is obtained, finally common configuration function is packaged, obtains public affairs Interface function altogether carries out unified configuration by the interface function to distinct interface, to improve the allocative efficiency of interface function.
Above-mentioned interface call method, device, computer equipment and storage medium, by obtaining interface call request, interface Call request includes target interface mark and target interface parameter, judges that target interface identifies whether to meet default mark, if mesh It marks interface identifier and meets default mark, then obtain common interface function, wherein common interface function is using above-mentioned interface function What configuration method obtained, then using target interface parameter as the input parameter of common interface function, and call common interface letter Number realizes that interface calls;Unified interface configuration function can be used for distinct interface to be called, not only solve to difference The excessively complicated problem of process, further improves the efficiency of interface calling when interface is called.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is an application environment schematic diagram of interface allocation method or interface call method in one embodiment of the invention;
Fig. 2 is an exemplary diagram of interface allocation method in one embodiment of the invention;
Fig. 3 is another exemplary diagram of interface allocation method in one embodiment of the invention;
Fig. 4 is another exemplary diagram of interface allocation method in one embodiment of the invention;
Fig. 5 is another exemplary diagram of interface allocation method in one embodiment of the invention;
Fig. 6 is a functional block diagram of interface configuration apparatus in one embodiment of the invention;
Fig. 7 is an exemplary diagram of interface call method in one embodiment of the invention;
Fig. 8 is another exemplary diagram of interface call method in one embodiment of the invention;
Fig. 9 is a functional block diagram of interface calling device in one embodiment of the invention;
Figure 10 is a schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Interface allocation method provided in an embodiment of the present invention, the interface allocation method can apply ring using as shown in Figure 1 In border.Specifically, which applies in interface configuration system, and it includes as shown in Figure 1 which, which configures system, Client and server-side, client are communicated with server-side by network, and the allocative efficiency for solving interface function is low to ask Topic.Wherein, client is also known as user terminal, refers to corresponding with server-side, provides the program of local service for client.Client It is mountable but be not limited to various personal computers, laptop, smart phone, tablet computer and portable wearable device On.Server-side can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of interface allocation method, the service in Fig. 1 is applied in this way It is illustrated, includes the following steps: for end
S10: obtaining interface configuring request, and interface configuring request includes at least two interface identifier.
Wherein, interface configuring request refers to trigger request when configuring to several preset interfaces.Interface configuring request packet At least two interface identifier are included, that is, the preset interface at least two configured.Interface refers to application programming interface, also referred to as For API (Application Programming Interface).Preset interface refers to several interfaces of pending configuration.Interface Mark refers to identification number corresponding to the preset interface of pending configuration, and interface identifier corresponding to distinct interface is different, i.e., each Interface identifier corresponding to interface uniquely determines, according to interface identifier you can learn that corresponding interface.Specifically, interface Mark can be made of at least one in number, letter, text or symbol.Optionally, as corresponding to distinct interface Interface IP address uniquely determines, therefore interface IP address can be used as interface identifier corresponding to each interface.Specifically, it uses Family executes the operation behavior of interface configuration in customer terminal webpage to preset interface, and after generating interface configuring request, server is from visitor Family end obtains corresponding interface configuring request.
S20: the corresponding original configuration function of each interface is obtained according to each interface identifier.
Wherein, original configuration function refers to realize to execute each preset interface and calling compiled code.Distinct interface Corresponding original configuration function is different, that is, calls different interfaces that need to go to realize using different original configuration functions, each Interface has the original configuration function being associated.Specifically, the corresponding original configuration of each interface is obtained according to interface identifier Function includes: the preset interface that pending configuration is first determined according to each interface identifier, is then obtained and each preset interface phase Associated original configuration function.
S30: comparing and analyzing original configuration function, obtains original public function and original differences function.
Wherein, original public function refers to each original configuration function is compared and analyzed after, at least two obtained are former The public function that beginning configuration function all includes.Original differences function refers to original configuration function is compared and analyzed after, obtain Certain distinctive difference functions of original configuration function.Specifically, original configuration function is compared and analyzed and is referred to original All subfunctions that configuration function is included carry out Functional Analysis comparison, and original public function is extracted from original configuration function With the process of original differences function.Optionally, comparing and analyzing to original configuration function can be by obtaining original configuration letter Several included sub- configuration functions, and function name corresponding to the sub- configuration function that will acquire is matched one by one, then by letter Several quantity to match are greater than or equal to the sub- configuration function of preset threshold as original public function, and by function famous prime minister The quantity matched is less than the sub- configuration function of preset threshold as original differences function.Wherein, preset threshold refers to for judging that son is matched Set the value whether function belongs to original public function.Such as: preset threshold can be 2,5 or 7 etc..User can basis The size of preset threshold is arranged from justice surely for actual conditions.Additionally, also function comparative analysis request can be sent to client in advance, Obtain the function comparative analysis rule that client returns, and according to the function comparative analysis rule to the raw interface function into Row comparative analysis obtains original public function and original differences function.Wherein, function processing rule refers to judgement raw interface function The subfunction for being included is a kind of rule for belonging to original public function or belonging to original differences function.Illustratively, function Handling rule can be with are as follows: using function code matching rate be greater than 80 percent corresponding to sub- configuration function as original public letter Number, by function code matching rate less than 10 corresponding to sub- configuration function be considered as original differences function.
Illustratively, if according to interface identifier get three interfaces corresponding to original configuration function be respectively as follows: interface A Corresponding original configuration function A, the corresponding original configuration function C of interface B corresponding original configuration function B and interface C;And it is original Configuration function A includes transferring url function and Certificate Authority function;Original configuration function B includes transferring url function, and former Beginning configuration function C includes transferring url function;To original configuration function A, original configuration function B and original configuration function C into After row comparative analysis, the transferring url function of original configuration function A, the transferring url function of original configuration function B and original are obtained The function name of the transferring url function of configuration function C is identical, then extracts transferring url function as original public function;It is former The Certificate Authority function of beginning configuration function A is the distinctive difference function of original configuration function A, then extracts Certificate Authority function As original differences function.
S40: unified configuration is carried out to original public function and original differences function, obtains common configuration function.
Wherein, common configuration function refers to carries out unifying to match postponing resulting match to original public function and original differences function Set function.In the present embodiment, each original configuration function is compared and analyzed according to step S30, obtained original public affairs Function and original differences function are existed in the form of key-value pair (key-value) altogether.Specifically, to original public function and Original differences function carries out unified configure and refers mainly to the unified key for being included to original public function and original differences function again Assign the process of corresponding formal parameter value.Carrying out unified configure to original public function and original differences function can pass through The mode of Python function parameter transmitting every key into original public function and original differences function transmits corresponding form ginseng Numerical value.Preferably, corresponding formal parameter value is assigned again in the key for being included to original public function and original differences function Before, the key that can also included to original public function and original differences function in advance is renamed, and can be facilitated subsequent straight It connects according to function name you can learn that perhaps function in corresponding sub- configuration function.Additionally, to original public function and original difference Different function carries out unified configure can also obtain the function that client returns and configure rule by sending function configuring request to client Then, then original public function and original differences function are configured respectively according to the function configuration rule, obtains public match Set function.Wherein, function configuration rule refers to the preset all key assigned in original public function and original differences function The rule of corresponding formal parameter value.
Illustratively, if obtain original public function include: public transferring url function pad.life.out.system and Common request mode function pad.life.out.methed and original differences function: Certificate Authority function pad.life.out.authorization;It is assigned corresponding to the key of public transferring url function respectively by function configuration rule Formal parameter value, common request mode function key corresponding to formal parameter value and Certificate Authority function key corresponding to Formal parameter value after obtain common configuration function are as follows: it is public transferring url function pad.life.out.system { a, b, c }, public Request method function pad.life.out.methed { a, b, c, } and Certificate Authority function altogether pad.life.out.authorization{a,\0,\0}.It is to be appreciated that since Certificate Authority function belongs to original differences letter Number, i.e. only special interface just distinctive function, thus it is other there is no the key of the functional interface after assign corresponding form Parameter value is sky.
Preferably, in order to the common configuration function that expands it is subsequent interface is called when applicability, the public affairs Configuration function further includes several reserved functions altogether.Wherein, reserved function refers to preconfigured temporarily without any functional Function.If being not configured when interface is not configured in subsequent calls and occurring what the configured common configuration function was not present in interface When peculiar function, function can be reserved by using this and realizes corresponding function.
S50: common configuration function is packaged, and obtains common interface function.
Wherein, common interface function, which refers to, externally only provides the function of an interface called directly.It specifically, will be public Configuration function, which is packaged, to be referred to and is encapsulated common configuration function by way of function, class, and a letter is externally only provided The process of single function interface.Optionally, an empty object can be constructed by first passing through var o={ } in advance, it is then that this is public Configuration function is put into the empty object of the construction and is packaged, and can be obtained and externally only provides the public affairs of a simple function interface Interface function altogether.
In the present embodiment, by obtaining interface configuring request, interface configuring request includes at least two interface identifier, so The corresponding original configuration function of each interface is obtained according to each interface identifier afterwards, original configuration function is compared and analyzed, Original public function and original differences function are obtained, then unified configuration is carried out to original public function and original differences function, is obtained To common configuration function, finally common configuration function is packaged, obtains common interface function, by being connect to distinct interface Mouth function carries out unified configuration, to improve the allocative efficiency of interface function.
In one embodiment, as shown in figure 3, comparing and analyzing to each original configuration function, original public letter is obtained Several and original differences function, specifically comprises the following steps:
S301: obtaining the sub- configuration function in each original configuration function, and sub- configuration function includes function name.
Wherein, sub- configuration function refers to the subfunction that original configuration function is included, and each original configuration function is all by several A sub- configuration function composition, each sub- configuration function includes function name.Function name refer to the function of embodying each sub- configuration function or Property and customized function name.Specifically, corresponding original according to each interface of each interface identifier acquisition in step S20 After configuration function, corresponding sub- configuration function can be obtained from each original configuration function.
S302: the function name of sub- configuration function is matched one by one.
Specifically, function name corresponding to all sub- configuration functions got from each original configuration function is carried out It matches one by one, judges whether the function name of sub- configuration function matches.Specifically, judge sub- configuration function function name whether phase Matching can be by presetting a matching threshold, if matching degree is greater than or equal to matching threshold between the function name of two sub- configuration functions Value, then it represents that the function name of the two sub- configuration function matches;If between the function name of two sub- configuration functions matching degree be less than With threshold value, then it represents that the function name of the two sub- configuration function does not match that.Wherein, matching threshold refers to the letter for judging sub- configuration function Several matching values whether to match.Optionally, matching threshold can be 90%, 95%, 98% or 100% etc..Optionally, String matching method can be used to be matched the function name of sub- configuration function one by one, it can also will will be sub using canonical matching method The function name of configuration function is matched one by one, and user can customized selection according to the actual situation.
S303: the quantity that function name is matched is greater than or equal to the sub- configuration function of preset threshold as original public letter Number, the quantity that function name is matched are less than the sub- configuration function of preset threshold as original differences function.
Wherein, preset threshold refer to it is preset be used to judge whether corresponding sub- configuration function belongs to original public function Value.Optionally, preset threshold can be 2, i.e., carry out in matching process one by one by the function name of each sub- configuration function, will Sub- configuration function is as original public function corresponding to the function name to match there are at least two;Preset threshold may be 5, i.e., the function name of each sub- configuration function is being carried out the function name that at least five matches will be present in matching process one by one Corresponding sub- configuration function is as original public function.User can be corresponding pre- according to the customized setting of quantity of preset interface If threshold value.
Illustratively, if having obtained the corresponding 3 original configuration functions of 3 interfaces is respectively the corresponding original configuration of interface A The corresponding original configuration function C of function A, interface B corresponding original configuration function B and interface C, and each original configuration function is all It include that 3 sub- configuration functions are respectively, original configuration function A={ a1,a2,a3, a is sub- configuration function;Original configuration function B={ b1,b2,b3, b is sub- configuration function;Original configuration function C={ c1,c2,c3, c is sub- configuration function;And preset threshold It is 2, then after match one by one by the function name of each sub- configuration function according to S302, obtains a1、b1And c1Match, i.e., a1、b1And c1Belong to identical sub- configuration function, a2And b2Match, i.e. a2And b2Belong to identical sub- configuration function, then by a1、b1Or c1In any one and a2And b2In any one extract as original public function, and by a3、b3、c2Distinguish with c3 It extracts and is used as original differences function.
In the present embodiment, by obtaining the sub- configuration function in each original configuration function, sub- configuration function includes letter It is several, then the function name of sub- configuration function is matched one by one, the quantity that function name is matched is greater than preset threshold Sub- configuration function as original public function, and quantity that function name is matched be less than the sub- configuration function of preset threshold as Original differences function further ensures the original public function of acquisition and the accuracy of original differences function.
In one embodiment, as shown in figure 4, being packaged by common configuration function, after obtaining common interface function, Interface allocation method further include:
S51: interface parameters modification request is obtained, interface parameters modification request includes configuration path and parameter information.
Wherein, interface parameters modification request refers to the trigger request when the corresponding interface parameters of a certain interface needs to modify. Interface parameters is a specific actual parameter, and interface parameters corresponding to distinct interface is different.Interface parameters modification is requested Configuration path and parameter information;Configuration path refers to the modification path modified to interface parameters.Parameter information refers to be modified Information corresponding to interface parameters, including parameter identification and corresponding target component.Parameter identification refers to interface parameters to be modified Corresponding identifier;Optionally, the name that interface parameters can be used is referred to as the parameter identification of the interface parameters.Target component packet Include the interface parameters by interface parameters to be modified and after modifying.
S52: according to configuration path, initial parameter allocation list is obtained.
Wherein, initial parameter allocation list refers to the allocation list established according to the interface parameters of several preset interfaces.Specifically, In this way of example, the interface parameters of each preset interface is all made of several field sequences, and each field is all to use Key-value indicate, therefore initial parameter allocation list be by several key-value represented by field form.Preferably, by There may be same or similar situations by key in the interface parameters corresponding to the identical distinct interface of function, therefore are building Before vertical initial parameter allocation list, the same or similar key in the interface parameters corresponding to distinct interface need to be concluded, It is unified to be indicated with an identical public key, then different value primary system one corresponding to distinct interface is assigned in corresponding public affairs After total key, i.e., in initial parameter allocation list, the public subsequent value of key includes corresponding to one or more distinct interfaces value。
In the present embodiment, initial parameter allocation list is configured good in advance and is stored in oracle database. Oracle database is a kind of relational database management system, is mainly used to store parameter configuration table;In addition oracle database With complete data management function and distributed processing power.It is to be appreciated that it is oracle that initial parameter allocation list, which belongs to, Object inside database.Specifically, according to configuration path is stated, obtain initial parameter allocation list i.e. according to configuration path from The process of initial parameter allocation list configured in advance is obtained in oracle database.
S53: according to parameter information, modifying to initial parameter allocation list, and re-reads described modified original Parameter configuration table.
Specifically, according to parameter information, modifying to initial parameter allocation list includes: to be determined first according to parameter identification The field that initial parameter allocation list need to modify determines the key value in initial parameter allocation list, is then matched according to canonical The field that interface parameters to be modified entrained by target component and initial parameter allocation list need to modify included by method Value is matched one by one, will be determined as the parameter that need to be modified with the value of interface parameters successful match to be modified, The parameter finally modified interface parameters entrained by target component carried out with the parameter that need to be modified one by one is replaced, and is obtained To modified initial parameter allocation list, and reappears and read modified initial parameter allocation list.
Specifically, since initial parameter allocation list is what the interface parameters according to corresponding to several preset interfaces was established, because This initial parameter allocation list and corresponding each preset interface are associated, i.e., each preset interface need to initial parameter allocation list into Row timing is read, and timely update corresponding interface parameters.Optionally, the time interval being read out to initial parameter allocation list can Customized setting is carried out according to the actual situation, can be half an hour, one hour or two hours etc..Interface is adjusted in order to prevent There is the mistake of interface parameters in used time, it is preferable that each preset interface every half an hour to corresponding initial parameter allocation list into Row is re-read.
It preferably, can also be to established parameter in order to which the parameter in timely learning initial parameter allocation list is changed Allocation list is monitored in real time, and whether each parameter monitored in initial parameter allocation list is changed;If it was found that original ginseng Corresponding a certain parameter has found variation in number allocation list, then issues parameter variations prompt information to the corresponding interface of the parameter, The interface carries out the reading again of parameter according to the parameter variations prompt information of acquisition to the initial parameter allocation list after variation immediately It takes.
In the present embodiment, by obtain interface parameters modification request, interface parameters modification request include configuration path and Parameter information obtains initial parameter allocation list then according to configuration path, finally according to parameter information, configures to initial parameter Table is modified, and re-reads the modified initial parameter allocation list;It, only need to be to original when interface parameters needs to modify Information in beginning parameter configuration table, which is modified, can be realized, without being repaired again to the corresponding text codes of the interface Change, improves the efficiency modified to interface parameters.
In one embodiment, as shown in figure 5, according to configuration path, before obtaining initial parameter allocation list, the interface letter Number configuration method further include:
S521: obtaining interface parameters configuring request, and interface parameters configuring request includes at least two interface identifier.
Wherein, interface parameters configuring request refers to trigger request when establishing parameter configuration table.Parameter-configuring request includes extremely The preset interface of few two interface identifier, i.e. progress interface parameters configuration is no less than two.Interface identifier refers to that pending parameter is matched Mark corresponding to the preset interface set, interface identifier corresponding to distinct interface are different.
S522: the corresponding clean interface parameter of each interface is obtained according to each interface identifier.
Wherein, interface parameters corresponding to the interface of clean interface parameter fingering line interface parameter configuration.In the present embodiment In, the corresponding clean interface parameter of each interface is existed by the form of key-value pair (key-value), i.e., each clean interface Parameter all includes several key-value pairs (key-value), and the value in each key-value pair (key-value) is one specific real Border parameter value.Specifically, obtaining the corresponding clean interface parameter of each interface according to each interface identifier includes: that basis first connects Mouth mark determination need to carry out the interface of interface parameters configuration, and corresponding clean interface parameter is then obtained from corresponding interface.
S523: according to each clean interface parameter, initial parameter allocation list is established.
Wherein, initial parameter allocation list refers to the parameter configuration table established by several clean interface parameters.Specifically, according to every One clean interface parameter, establish initial parameter allocation list include: extracted from each clean interface parameter first it is corresponding solely Vertical parameter and independent variable, i.e., extract corresponding key and value from each clean interface parameter, then will extract Independent parameter and independent variable are uniformly added in parameter configuration table.Optionally, initial parameter configuration can be established in SAP platform Table, by using SAP platform TcodeSM30 tool by each clean interface parameter independent parameter and independent variable transmit Into in parameter configuration table.Preferably, parameter configuration table can be excel table, can be listed in this way by using excel table With each interface related all parameters and variable in program, of parameter and variable is conveniently freely set in parameter configuration table Number is to be suitable for different types of field.Additionally, one can also be arranged to each parameter or variable when setting Default value and corresponding parameter selection range, in order to avoid parameter or variable that setting is unreasonable.It should be noted that giving here Parametric variable out had both included current existing relevant parameter and variable, was also possible to subsequent newly-increased parameter and variable.
S524: initial parameter allocation list is associated with each interface identifier.
Specifically, after establishing initial parameter allocation list according to step S523, which is connect with each Mouth mark is associated.In this step, initial parameter allocation list is associated with each interface identifier not only convenient for direct basis Interface identifier obtains corresponding initial parameter allocation list, is also convenient for subsequent carrying out parameter reading to the initial parameter allocation list and setting It sets, and accesses each parameter and variable information of the initial parameter allocation list.
Preferably, in order to improve the data reading performance using redundancy to initial parameter allocation list, for different preset interfaces in the original Corresponding parameter and variable difference, can be respectively set different access authority in beginning parameter configuration table;I.e. each preset interface Only allow to read or be arranged parameter corresponding with this interface and variable when initial parameter allocation list is read out or is arranged The parameter for accessing or viewing when information, i.e. distinct interface are read out initial parameter allocation list and variable information difference, And then the case where reading data fault can also be avoided the occurrence of.
In the present embodiment, by obtaining interface parameters configuring request, interface parameters configuring request connects including at least two Then mouth mark obtains the corresponding clean interface parameter of each interface according to each interface identifier, further according to each clean interface Parameter establishes initial parameter allocation list, finally that initial parameter allocation list is associated with each interface identifier;Convenient for subsequent direct The modification to interface configuration parameter corresponding to each interface can be realized by modifying clean interface parameter list.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of interface configuration apparatus is provided, which matches with interface in above-described embodiment Set method one-to-one correspondence.As shown in fig. 6, the interface configuration apparatus includes that interface configuring request obtains module 10, original configuration letter Number obtains module 20, comparative analysis module 30, unified configuration module 40 and common configuration function package module 50.Each functional module Detailed description are as follows:
Interface configuring request obtains module 10, and for obtaining interface configuring request, interface configuring request includes at least two Interface identifier;
Original configuration function obtains module 20, for obtaining the corresponding original configuration of each interface according to each interface identifier Function;
Comparative analysis module 30 obtains original public function and original for comparing and analyzing to original configuration function Difference function;
Unified configuration module 40 obtains public for carrying out unified configuration to original public function and original differences function Configuration function;
Common configuration function package module 50 obtains common interface function for common configuration function to be packaged.
Preferably, comparative analysis module 30 includes:
Sub- configuration function acquiring unit, for obtaining the sub- configuration function in each original configuration function, sub- configuration function Including function name;
Matching unit, for being matched the function name of sub- configuration function one by one;
Judging unit, the quantity for function name to match are greater than or equal to the sub- configuration function of preset threshold as original Beginning public function, the quantity that function name is matched are less than the sub- configuration function of preset threshold as original differences function.
Preferably, interface configuration apparatus further include:
Request module is modified, for obtaining interface parameters modification request, interface parameters modification request includes configuration road Diameter and parameter information;
Initial parameter allocation list obtains module, for obtaining initial parameter allocation list according to configuration path;
Modified module, for modifying to initial parameter allocation list, and re-read the modification according to parameter information Initial parameter allocation list afterwards.
Preferably, interface configuration apparatus further include:
Parameter-configuring request obtains module, and for obtaining interface parameters configuring request, interface parameters configuring request includes extremely Few two interface identifier;
Clean interface parameter acquisition module is joined for obtaining the corresponding clean interface of each interface according to each interface identifier Number;
Initial parameter allocation list establishes module, for establishing initial parameter allocation list according to each clean interface parameter;
Relating module, for initial parameter allocation list is associated with each interface identifier.
Specific about interface configuration apparatus limits the restriction that may refer to above for interface allocation method, herein not It repeats again.Modules in above-mentioned interface configuration apparatus can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
Interface call method provided in an embodiment of the present invention, the interface call method can apply ring using as shown in Figure 1 In border.Specifically, which applies in interface calling system, which includes as shown in Figure 1 Client and server-side, client are communicated with server-side by network, and the allocative efficiency for solving interface function is low to ask Topic.Wherein, client is also known as user terminal, refers to corresponding with server-side, provides the program of local service for client.Client It is mountable but be not limited to various personal computers, laptop, smart phone, tablet computer and portable wearable device On.Server-side can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in fig. 7, providing a kind of interface call method, the service in Fig. 1 is applied in this way It is illustrated, includes the following steps: for end
S100: obtaining interface call request, and interface call request includes target interface mark and target interface parameter.
Wherein, interface call request refers to that a certain interface calls equipment or platform to call and triggers when the interface of another platform Request.Interface call request includes target interface mark and target interface parameter.Target interface refers to called interface.Target connects Mouth mark refers to identification number corresponding to called interface, and target interface mark is used for unique identification target interface.Optionally, due to Interface IP address corresponding to distinct interface uniquely determines, therefore interface IP address conduct corresponding to the target interface can be used Target interface mark.Target interface parameter refers to that interface parameters corresponding to called interface, target interface parameter are one specific Actual parameter value.
Specifically, the operation of a certain interface of calling is clicked in user, after triggering interface call request, server-side can be from visitor Family end obtains the interface call request being called to the interface.Such as: in an application scenarios, the operation of this method is based on On the page on user's smart phone or computer, a certain interface calling platform user, which need to execute, calls OCR in Baidu API Store The OCR Text region is clicked or touched to the api interface of Text region, the page where entering Baidu API Store in user Api interface interface IP address, generate corresponding interface call request, the interface call request is sent server-side by client Afterwards, server-side can obtain the interface call request.
S110: judge that target interface identifies whether to meet default mark.
Wherein, default mark refers to has carried out identification number corresponding to the interface of interface configuration in advance.In the present embodiment, it takes The database at business end is previously stored with interface identifier corresponding to the interface for having carried out interface configuration.Specifically, judge that target connects Mouth identifies whether that target entrained by interface call request can be connect by using string matching method in advance by meeting default mark Mouth mark is matched one by one with the default mark stored in database;If target interface entrained by interface call request identifies With any one default mark successful match stored in database, then it represents that target interface mark meets default mark;If connecing All default marks stored in target interface mark and database entrained by mouth call request all do not match that, then it represents that should Target interface mark is unsatisfactory for default mark.
S120: if target interface mark meets default mark, common interface function is obtained, wherein common interface function It is obtained using interface allocation method.
Wherein, common interface function refers to configuration function at least associated with two interfaces, that is, passes through the common interface letter Number can be achieved to execute calling at least two interfaces.In the present embodiment, common interface function is according in above-described embodiment What interface allocation method obtained.Therefore, the common interface function is associated with the corresponding interface of default mark, and passes through the public affairs Interface function, which can be realized, altogether executes calling to several interfaces corresponding to default mark.Specifically, since common interface class is Database that is pre-configured and being stored in server-side, therefore, if according to step S12 judge outgoing interface call request is taken The target interface mark of band meets default mark, then directly can obtain preset common interface function from database.
S130: using target interface parameter as the input parameter of common interface function, and common interface function is called to realize Interface calls.
Since target interface parameter is a specific actual parameter value, using target interface parameter as common configuration letter Several input parameters, which refers to, carries out the actual parameter in target interface parameter with formal parameter corresponding in common configuration function The process of parameter replacement one by one.Specifically, target interface parameter is parsed first, is obtained corresponding to target interface parameter Field sequence, then according to the corresponding relationship of key-value in field sequence by every key in the target interface parameter and public Key included in configuration function is matched one by one altogether, finally will be corresponding to every key in target interface parameter Value passes to the key in matching common configuration function, thus realize by target interface parameter actual parameter with Corresponding formal parameter carries out the process of parameter replacement one by one in common configuration function.Finally using parameter, replaced this is public Configuration function executes interface and calls.
In the present embodiment, by obtaining interface call request, interface call request includes target interface mark and target Then interface parameters judges that target interface identifies whether to meet default mark, if target interface mark meets default mark, obtain Take common interface function, wherein common interface function is obtained using above-mentioned interface function configuration method, finally connects target Input parameter of the mouth parameter as common interface function, and common interface function is called to realize that interface calls;For distinct interface Unified interface configuration function can be used to be called, not only solve process excessively complexity when being called to distinct interface Problem further improves the efficiency of interface calling.
In one embodiment, as shown in figure 8, after judging that target interface identifies whether to meet default mark, the interface Call method further include:
S121: if target interface mark is unsatisfactory for default mark, transmission interface configuring request to client.
Wherein, interface configuring request refers to trigger request when need to carry out Configuration Online to target interface.Specifically, if according to Step S110 show that target interface mark is unsatisfactory for default mark, i.e. target interface mark and any one interface in default mark Mark does not all match that, then issues interface configuring request to client.
S122: the target configuration parameter that client is returned according to interface configuring request is obtained.
Wherein, target configuration parameter refers to interface parameters corresponding to the target interface of pending configuration.In present embodiment In, target configuration parameter is existed in the form of key-value pair (key-value), i.e., target configuration parameter includes several key-value pairs (key-value).Specifically, client is after the interface configuring request for receiving server-side return;User can pass through client The page obtains target configuration parameter corresponding to the interface online, and the target configuration parameter that then will acquire is sent by client To server-side, server-side can obtain the target configuration parameter of client return.
S123: common interface function is obtained, and common interface function is reconfigured according to target configuration parameter, is obtained To target common interface function.
Wherein, target common interface function refers to according to target configuration parameter, has re-started interface and has matched public connecing of postponing Mouth function.Specifically, it is made of due to target configuration parameter several key-value pairs (key-value), is matched according to target Setting parameter and reconfigure to common interface function includes: first by each key-value pair (key- in target configuration parameter Value the key for including in key) and common interface function is matched one by one;If the key-value pair in target configuration parameter (key-value) the wherein key successful match for including in key and common interface function, then in the common interface function Again a new formal parameter value is assigned after corresponding key, if the key of the key-value pair (key-value) in target configuration parameter It is not all matched that with any one key for including in common interface function, then calls the reserved function in common configuration function, and right The reserved function is configured, to realize corresponding function.Specifically, according to target configuration parameter to common interface function The method reconfigured carries out the method phase of unified configuration with step S40 to original public function and original differences function Together, redundancy is not done herein to repeat.
S124: using target interface parameter as the input parameter of target common interface function, and invocation target common interface Function realizes that interface calls.
Specifically, using target interface parameter as the input parameter of target common interface function, and invocation target is public connects Mouth function realizes the specific method and detailed process that interface calls, with step S130 using target interface parameter as common interface letter Several input parameters, and the method and process for calling common interface function to realize that interface calls are identical, do not do redundancy herein and repeat.
In this step, if target interface, which identifies, is unsatisfactory for default mark, transmission interface configuring request to client, and The target configuration parameter that client is returned according to interface configuring request is obtained, then obtains common interface function, and according to target Configuration parameter reconfigures common interface function, obtains target common interface function, finally makees target interface parameter For the input parameter of target common interface function, and invocation target common interface function realizes that interface calls;To not connecing When the interface of mouth configuration is called, directly common interface function can be reconfigured, and realize that interface calls, further It improves interface and calls efficiency.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of interface calling device is provided, interface tune in the interface calling device and above-described embodiment It is corresponded with method.As shown in figure 9, the interface calling device includes that interface call request obtains module 100, mark judges mould Block 110, common interface function obtain module 120 and interface calling module 130.Detailed description are as follows for each functional module:
Interface call request obtains module 100, and for obtaining interface call request, interface call request includes target interface Mark and target interface parameter;
Judgment module 110 is identified, for judging that target interface identifies whether to meet default mark;
Common interface function obtains module 120, for obtaining common interface when target interface mark meets default mark Function, wherein common interface function is obtained according to above-mentioned interface allocation method;
Common interface function call module 130, for using target interface parameter as the input parameter of common interface function, And common interface function is called to realize that interface calls.
Preferably, interface calling device further include:
Interface configuring request sending module, for when target interface mark is unsatisfactory for default mark, transmission interface to be configured It requests to client;
Target configuration parameter obtains module, the target configuration ginseng returned for obtaining client according to interface configuring request Number;
Reconfigure module, for obtaining common interface function, and according to target configuration parameter to common interface function into Row reconfigures, and obtains target common interface function;
Target common interface function call module, for using target interface parameter as the input of target common interface function Parameter, and invocation target common interface function realizes that interface calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating Data of the database of machine equipment for being used in above-described embodiment interface allocation method and interface call method.The computer The network interface of equipment is used to communicate with external terminal by network connection.The computer program is executed by processor Shi Yishi To realize a kind of interface call method when a kind of existing interface allocation method or the computer program are executed by processor.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor realize that interface configures in above-described embodiment when executing computer program Method or processor realize interface call method in above-described embodiment when executing computer program.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes that interface allocation method or computer program are executed by processor in above-described embodiment when being executed by processor when Realize interface call method in above-described embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of interface allocation method characterized by comprising
Interface configuring request is obtained, the interface configuring request includes at least two interface identifier;
The corresponding original configuration function of each interface is obtained according to each interface identifier;
The original configuration function is compared and analyzed, original public function and original differences function are obtained;
Unified configuration is carried out to the original public function and the original differences function, obtains common configuration function;
The common configuration function is packaged, common interface function is obtained.
2. interface allocation method as described in claim 1, which is characterized in that described to be compared point to original configuration function Analysis, obtains original public function and original differences function, specifically includes:
The sub- configuration function in each original configuration function is obtained, the sub- configuration function includes function name;
The function name of the sub- configuration function is matched one by one;
The quantity that the function name is matched is greater than or equal to the sub- configuration function of preset threshold as original public letter Number, and the quantity that the function name is matched are less than the sub- configuration function of preset threshold as original differences function.
3. interface allocation method as described in claim 1, which is characterized in that it is described to be packaged by common configuration function, After obtaining common interface function, the interface allocation method further include:
Interface parameters modification request is obtained, the interface parameters modification request includes configuration path and parameter information;
According to the configuration path, initial parameter allocation list is obtained;
It according to the parameter information, modifies, and re-reads described modified original to the initial parameter allocation list Parameter configuration table.
4. interface allocation method as claimed in claim 3, which is characterized in that it is described according to configuration path, obtain original ginseng Before number allocation list, the interface allocation method further include:
Interface parameters configuring request is obtained, the interface parameters configuring request includes at least two interface identifier;
The corresponding clean interface parameter of each interface is obtained according to each interface identifier;
According to each clean interface parameter, initial parameter allocation list is established;
The initial parameter allocation list is associated with each interface identifier.
5. a kind of interface call method characterized by comprising
Interface call request is obtained, the interface call request includes target interface mark and target interface parameter;
Judge that the target interface identifies whether to meet default mark;
If the target interface mark meets the default mark, common interface function is obtained, wherein the common interface letter Number is that interface allocation method described in any one of -4 obtains according to claim 1;
Using the target interface parameter as the input parameter of the common interface function, and call the common interface function real Existing interface calls.
6. interface call method as claimed in claim 5, which is characterized in that described to judge that target interface identifies whether to meet After default mark, the interface call method, further includes:
If the target interface mark is unsatisfactory for the default mark, transmission interface configuring request to client;
Obtain the target configuration parameter that the client is returned according to the interface configuring request;
The common interface function is obtained, and the common interface function is matched again according to the target configuration parameter It sets, obtains target common interface function;
Using the target interface parameter as the input parameter of the target common interface function, and call the target is public to connect Mouth function realizes that interface calls.
7. a kind of interface configuration apparatus characterized by comprising
Interface configuring request obtains module, and for obtaining interface configuring request, the interface configuring request connects including at least two Mouth mark;
Original configuration function obtains module, for obtaining the corresponding original configuration letter of each interface according to each interface identifier Number;
Comparative analysis module obtains original public function and original difference for comparing and analyzing to the original configuration function Different function;
Unified configuration module obtains public affairs for carrying out unified configuration to the original public function and the original differences function Configuration function altogether;
Common configuration function package module obtains common interface function for the common configuration function to be packaged.
8. a kind of interface calling device characterized by comprising
Interface call request obtains module, and for obtaining interface call request, the interface call request includes target interface mark Know and target interface parameter;
Judgment module is identified, for judging that the target interface identifies whether to meet default mark;
Common interface function obtains module, for obtaining public connect when target interface mark meets the default mark Mouth function, wherein the common interface function is that interface allocation method according to claim 1 obtains;
Common interface function call module, for joining the target interface parameter as the input of the common interface function Number, and the common interface function is called to realize that interface calls.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Any one of 4 interface allocation methods or the processor realize such as claim 5 to 6 when executing the computer program Any one interface call method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In, the interface allocation method as described in any one of Claims 1-4 is realized when the computer program is executed by processor, or The interface call method as described in any one of claim 5 to 6 is realized when the computer program is executed by processor.
CN201910522416.2A 2019-06-17 2019-06-17 Interface configuration method, interface calling method, device, equipment and storage medium Active CN110377325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910522416.2A CN110377325B (en) 2019-06-17 2019-06-17 Interface configuration method, interface calling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910522416.2A CN110377325B (en) 2019-06-17 2019-06-17 Interface configuration method, interface calling method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110377325A true CN110377325A (en) 2019-10-25
CN110377325B CN110377325B (en) 2024-05-17

Family

ID=68249002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910522416.2A Active CN110377325B (en) 2019-06-17 2019-06-17 Interface configuration method, interface calling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110377325B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990468A (en) * 2019-11-12 2020-04-10 中核控制***工程有限公司 DCS (distributed control system) online configuration solution based on relational database
CN111611581A (en) * 2020-05-14 2020-09-01 陈洋洋 Internet of things-based network big data information anti-disclosure method and cloud communication server
CN112130850A (en) * 2020-08-28 2020-12-25 北京达佳互联信息技术有限公司 Method and device for realizing functions in application program
CN112256325A (en) * 2020-10-14 2021-01-22 北京康惠达科技有限公司 Interface data adaptation method, equipment, server and storage medium
CN112394934A (en) * 2020-11-27 2021-02-23 完美世界(北京)软件科技发展有限公司 File processing method and device, electronic equipment and readable medium
CN112947963A (en) * 2021-02-26 2021-06-11 平安普惠企业管理有限公司 Interface operation and maintenance method and device, computer equipment and storage medium
CN113535830A (en) * 2020-04-21 2021-10-22 中移信息技术有限公司 Automatic interface expansion method, device, equipment and storage medium
CN114185617A (en) * 2021-12-13 2022-03-15 中国平安财产保险股份有限公司 Service calling interface configuration method, device, equipment and storage medium
CN115309375A (en) * 2022-08-08 2022-11-08 北京百度网讯科技有限公司 Application programming interface processing method and device, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05216715A (en) * 1992-02-05 1993-08-27 Nec Corp Function calling and returning detection system
US20100235436A1 (en) * 2009-03-13 2010-09-16 Tomonori Ishizaki Server device and setting information sharing method
WO2012162105A1 (en) * 2011-05-20 2012-11-29 Google Inc. Quantification of structure fitness enabling evaluation and comparison of structure designs
CN103399753A (en) * 2013-08-19 2013-11-20 银联商务有限公司 Software framework
CN107741866A (en) * 2017-09-29 2018-02-27 山东浪潮通软信息科技有限公司 A kind of implementation method for realizing multi-vendor video camera front end loading
CN108363564A (en) * 2018-01-23 2018-08-03 平安普惠企业管理有限公司 Entry modularization implementation method, device, terminal device and storage medium
CN109445845A (en) * 2018-09-10 2019-03-08 深圳市智美达科技股份有限公司 Interface call method, device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05216715A (en) * 1992-02-05 1993-08-27 Nec Corp Function calling and returning detection system
US20100235436A1 (en) * 2009-03-13 2010-09-16 Tomonori Ishizaki Server device and setting information sharing method
WO2012162105A1 (en) * 2011-05-20 2012-11-29 Google Inc. Quantification of structure fitness enabling evaluation and comparison of structure designs
CN103399753A (en) * 2013-08-19 2013-11-20 银联商务有限公司 Software framework
CN107741866A (en) * 2017-09-29 2018-02-27 山东浪潮通软信息科技有限公司 A kind of implementation method for realizing multi-vendor video camera front end loading
CN108363564A (en) * 2018-01-23 2018-08-03 平安普惠企业管理有限公司 Entry modularization implementation method, device, terminal device and storage medium
CN109445845A (en) * 2018-09-10 2019-03-08 深圳市智美达科技股份有限公司 Interface call method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘随: "CDMA北向接口适配器配置管理***研究与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, no. 05, 15 May 2007 (2007-05-15), pages 136 - 691 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990468B (en) * 2019-11-12 2023-10-20 中核控制***工程有限公司 DCS online configuration solution method based on relational database
CN110990468A (en) * 2019-11-12 2020-04-10 中核控制***工程有限公司 DCS (distributed control system) online configuration solution based on relational database
CN113535830A (en) * 2020-04-21 2021-10-22 中移信息技术有限公司 Automatic interface expansion method, device, equipment and storage medium
CN111611581A (en) * 2020-05-14 2020-09-01 陈洋洋 Internet of things-based network big data information anti-disclosure method and cloud communication server
CN111611581B (en) * 2020-05-14 2021-01-26 深圳万物安全科技有限公司 Internet of things-based network big data information anti-disclosure method and cloud communication server
CN112130850A (en) * 2020-08-28 2020-12-25 北京达佳互联信息技术有限公司 Method and device for realizing functions in application program
CN112256325A (en) * 2020-10-14 2021-01-22 北京康惠达科技有限公司 Interface data adaptation method, equipment, server and storage medium
CN112256325B (en) * 2020-10-14 2021-08-17 北京康惠达科技有限公司 Interface data adaptation method, equipment, server and storage medium
CN112394934A (en) * 2020-11-27 2021-02-23 完美世界(北京)软件科技发展有限公司 File processing method and device, electronic equipment and readable medium
CN112947963A (en) * 2021-02-26 2021-06-11 平安普惠企业管理有限公司 Interface operation and maintenance method and device, computer equipment and storage medium
CN114185617B (en) * 2021-12-13 2023-06-20 中国平安财产保险股份有限公司 Service call interface configuration method, device, equipment and storage medium
CN114185617A (en) * 2021-12-13 2022-03-15 中国平安财产保险股份有限公司 Service calling interface configuration method, device, equipment and storage medium
CN115309375A (en) * 2022-08-08 2022-11-08 北京百度网讯科技有限公司 Application programming interface processing method and device, electronic equipment and medium
CN115309375B (en) * 2022-08-08 2023-10-27 北京百度网讯科技有限公司 Processing method and device of application programming interface, electronic equipment and medium

Also Published As

Publication number Publication date
CN110377325B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
CN110377325A (en) Interface allocation method, interface call method, device, equipment and storage medium
US11895204B1 (en) Data structures for intelligently resolving deterministic and probabilistic device identifiers to device profiles and/or groups
CN101593111B (en) Service component, method and system for developing application software based on service component
CN108829581B (en) Application program testing method and device, computer equipment and storage medium
CN110287709A (en) User's operation authority control method, device, equipment and medium
US11924247B1 (en) Access control policy simulation and testing
EP3190765A1 (en) Sensitive information processing method, device, server and security determination system
US11445032B2 (en) Matching and attribution of user device events
CN101159715B (en) Safety information checking method and safety information checking device and client terminal
CN103685304A (en) Method and system for sharing session information
CN104268241B (en) Attribute display method in a kind of configuration database
CN110008226A (en) Construction method, device, computer equipment and the storage medium of data model
CN106789227B (en) A kind of internet behavior analysis method and internet behavior analytical equipment
CN110717647A (en) Decision flow construction method and device, computer equipment and storage medium
US10225152B1 (en) Access control policy evaluation and remediation
CN110880146A (en) Block chain chaining method, device, electronic equipment and storage medium
CN110597541B (en) Interface updating processing method, device, equipment and storage medium based on block chain
CN109344075A (en) Configuration method, test method, configuration server and service node device
CN104935660A (en) System, method and device for developing and operating cloud program
CN110716743A (en) Aggregation API development method and system suitable for multi-party collaborative development
CN111047434B (en) Operation record generation method and device, computer equipment and storage medium
CN110807209A (en) Data processing method, device and storage medium
CN112579997B (en) User permission configuration method and device, computer equipment and storage medium
CN103051623A (en) Method for limiting calling of open platform
CN114138651B (en) Test data generation method and 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
GR01 Patent grant
GR01 Patent grant