CN110377325B - Interface configuration method, interface calling method, device, equipment and storage medium - Google Patents

Interface configuration method, interface calling method, device, equipment and storage medium Download PDF

Info

Publication number
CN110377325B
CN110377325B CN201910522416.2A CN201910522416A CN110377325B CN 110377325 B CN110377325 B CN 110377325B CN 201910522416 A CN201910522416 A CN 201910522416A CN 110377325 B CN110377325 B CN 110377325B
Authority
CN
China
Prior art keywords
interface
function
configuration
original
public
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.)
Active
Application number
CN201910522416.2A
Other languages
Chinese (zh)
Other versions
CN110377325A (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)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an interface configuration method, an interface calling device, computer equipment and a storage medium.

Description

Interface configuration method, interface calling method, device, equipment and storage medium
Technical Field
The present invention relates to the field of operation and maintenance, and in particular, to an interface configuration method, an interface calling method, an apparatus, a device, and a storage medium.
Background
With the continuous development of internet technology, content between different systems or interfaces is more and more closely related. For example: in daily life, people can acquire news information or perform information inquiry through applications on various websites. And web applications typically implement related functions by the web server invoking related data through an interface. Therefore, if the website server is ensured to be more efficient and stable when the corresponding related data is called through different interfaces, a calling method and an interface calling function of the external calling interface are required to be reasonably set. At present, when an interface call function of a certain system or interface is configured, most call functions of a single interface are configured, namely, different configuration functions and configuration methods are often adopted for different interfaces, so that the problem of low configuration efficiency of the interface call function is caused.
Disclosure of Invention
The embodiment of the invention provides an interface configuration method, an interface configuration device, computer equipment and a storage medium, which are used for solving the problem of low configuration efficiency of interface functions.
The embodiment of the invention provides an interface calling method, an interface calling device, computer equipment and a storage medium, which are used for solving the problem that the calling process of different interfaces is too complex.
An interface configuration method, comprising:
acquiring an interface configuration request, wherein the interface configuration request comprises at least two interface identifiers;
Acquiring an original configuration function corresponding to each interface according to each interface identifier;
Performing comparison analysis on the original configuration function to obtain an original public function and an original difference function;
uniformly configuring the original public function and the original difference function to obtain a public configuration function;
And packaging the public configuration function to obtain a public interface function.
An interface calling method, comprising:
acquiring an interface call request, wherein the interface call request comprises a target interface identifier and a target interface parameter;
Judging whether the target interface identifier meets a preset identifier or not;
if the target interface identifier meets the preset identifier, a public interface function is obtained, wherein the public interface function is obtained by adopting the interface configuration method;
and taking the target interface parameter as the input parameter of the public interface function, and calling the public interface function to realize interface calling.
An interface configuration apparatus comprising:
an interface configuration request acquisition module, configured to acquire an interface configuration request, where the interface configuration request includes at least two interface identifiers;
the original configuration function acquisition module is used for acquiring an original configuration function corresponding to each interface according to each interface identifier;
the comparison analysis module is used for carrying out comparison analysis on the original configuration function to obtain an original public function and an original difference function;
the unified configuration module is used for carrying out unified configuration on the original public function and the original difference function to obtain a public configuration function;
And the public configuration function packaging module is used for packaging the public configuration functions to obtain public interface functions.
An interface calling device, comprising:
The interface call request acquisition module is used for acquiring an interface call request, wherein the interface call request comprises a target interface identifier and a target interface parameter;
the identification judging module is used for judging whether the target interface identification meets a preset identification or not;
The public interface function acquisition module is used for acquiring a public interface function when the target interface identifier meets the preset identifier;
and the common interface function calling module is used for taking the target interface parameter as the input parameter of the common interface function and calling the common interface function to realize interface calling.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the interface configuration method described above when executing the computer program or the steps of the interface calling method described above when executing the computer program.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the interface configuration method described above, or which, when executed by a processor, implements the steps of the interface calling method described above.
According to the interface configuration method, the device, the computer equipment and the storage medium, the interface configuration request comprises at least two interface identifiers, the original configuration function corresponding to each interface is obtained according to each interface identifier, the original configuration function is subjected to comparison analysis to obtain the original public function and the original difference function, the original public function and the original difference function are subjected to unified configuration to obtain the public configuration function, finally the public configuration function is packaged to obtain the public interface function, and the interface functions of different interfaces are subjected to unified configuration, so that the configuration efficiency of the interface functions is improved.
The interface calling method, the device, the computer equipment and the storage medium are used for judging whether the target interface identifier meets the preset identifier or not by acquiring an interface calling request, wherein the interface calling request comprises the target interface identifier and the target interface parameter, and acquiring a public interface function if the target interface identifier meets the preset identifier, wherein the public interface function is obtained by adopting the interface function configuration method, and then the target interface parameter is used as an input parameter of the public interface function and the public interface function is called to realize interface calling; the unified interface configuration function can be adopted for calling different interfaces, so that the problem that the process is too complex when the different interfaces are called is solved, and the efficiency of calling the interfaces is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an application environment of an interface configuration method or an interface calling method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an exemplary method of interface configuration in accordance with one embodiment of the present invention;
FIG. 3 is a diagram illustrating another example of an interface configuration method according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating another example of an interface configuration method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating another example of an interface configuration method according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of an interface configuration device according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating an exemplary method of interface invocation in accordance with one embodiment of the present invention;
FIG. 8 is another exemplary diagram of an interface call method in accordance with one embodiment of the present invention;
FIG. 9 is a functional block diagram of an interface calling device in accordance with an embodiment of the present invention;
FIG. 10 is a schematic diagram of a computer device in accordance with an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The interface configuration method provided by the embodiment of the invention can be applied to an application environment shown in fig. 1. Specifically, the interface configuration method is applied to an interface configuration system, the interface configuration system comprises a client and a server as shown in fig. 1, and the client and the server communicate through a network to solve the problem of low configuration efficiency of interface functions. The client is also called a user end, and refers to a program corresponding to the server end for providing local service for the client. The client may be installed on, but is not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices. The server may be implemented by a stand-alone server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, an interface configuration method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
s10, acquiring an interface configuration request, wherein the interface configuration request comprises at least two interface identifiers.
The interface configuration request refers to a trigger request when a plurality of preset interfaces are configured. The interface configuration request comprises at least two interface identifiers, namely at least two preset interfaces for configuration. The interface refers to an application programming interface, also known as API (Application Programming Interface). The preset interfaces refer to a plurality of interfaces to be configured. The interface identification refers to an identification number corresponding to a preset interface to be configured, the interface identifications corresponding to different interfaces are different, namely, the interface identification corresponding to each interface is uniquely determined, and the corresponding interface can be obtained according to the interface identification. In particular, the interface identifier may be composed of at least one of a number, letter, text or symbol. Alternatively, since the interface addresses corresponding to different interfaces are uniquely determined, the interface address may be used as the interface identifier corresponding to each interface. Specifically, the user executes operation behavior of interface configuration on a preset interface on a client page, and after an interface configuration request is generated, the server acquires the corresponding interface configuration request from the client.
S20, obtaining an original configuration function corresponding to each interface according to each interface identifier.
Wherein the original configuration function refers to code compiled for implementing the execution of the call to each preset interface. The original configuration functions corresponding to different interfaces are different, namely, different original configuration functions are needed to be adopted to call different interfaces, and each interface has the original configuration function associated with the interface. Specifically, the obtaining the original configuration function corresponding to each interface according to the interface identifier includes: the method comprises the steps of firstly determining a preset interface to be configured according to each interface identifier, and then obtaining an original configuration function associated with each preset interface.
S30, performing comparison analysis on the original configuration function to obtain an original public function and an original difference function.
The original public function refers to a public function contained in at least two original configuration functions obtained after each original configuration function is subjected to comparative analysis. The original difference function refers to a difference function specific to some original configuration functions obtained after the comparison analysis of the original configuration functions. Specifically, the comparison analysis of the original configuration function refers to a process of performing function analysis and comparison on all sub-functions included in the original configuration function, and extracting an original public function and an original difference function from the original configuration function. Optionally, the comparison analysis of the original configuration function may be performed by obtaining the sub-configuration functions included in the original configuration function, performing one-to-one matching on function names corresponding to the obtained sub-configuration functions, and then using the sub-configuration functions with the number of function names matched greater than or equal to a preset threshold value as the original public function and the sub-configuration functions with the number of function names matched less than the preset threshold value as the original difference function. The preset threshold value refers to a value used for judging whether the sub-configuration function belongs to an original public function or not. For example: the preset threshold may be 2, 5, 7, etc. The user can set the magnitude of the preset threshold value according to the actual situation by self-definition. In addition, a function comparison analysis request can be sent to the client in advance, a function comparison analysis rule returned by the client is obtained, and comparison analysis is carried out on the original interface function according to the function comparison analysis rule, so that an original public function and an original difference function are obtained. The function processing rule refers to a rule for judging whether the sub-functions included in the original interface function belong to the original public function or belong to the original difference function. Illustratively, the function processing rules may be: and taking the sub-configuration function corresponding to the function code matching rate of more than eighty percent as an original public function, and taking the sub-configuration function corresponding to the function code matching rate of less than ten percent as an original difference function.
For example, if the original configuration functions corresponding to the three interfaces are obtained according to the interface identifier, the original configuration functions are respectively: an original configuration function A corresponding to the interface A, an original configuration function B corresponding to the interface B and an original configuration function C corresponding to the interface C; the original configuration function A comprises an outer call url function and an authentication authorization function; the original configuration function B comprises an outer tuning url function, and the original configuration function C comprises an outer tuning url function; after comparing and analyzing the original configuration function A, the original configuration function B and the original configuration function C, obtaining the external call url function of the original configuration function A, the external call url function of the original configuration function B and the external call url function of the original configuration function C with the same function name, and extracting the external call url function as an original public function; and if the authentication authorization function of the original configuration function A is a difference function specific to the original configuration function A, extracting the authentication authorization function as the original difference function.
And S40, uniformly configuring the original public function and the original difference function to obtain a public configuration function.
The common configuration function refers to a configuration function obtained by uniformly configuring an original common function and an original difference function. In this embodiment, the comparison analysis is performed on each original configuration function according to step S30, and the obtained original public function and the original difference function both exist in the form of key-value pairs (key-value). Specifically, the unified configuration of the original public function and the original difference function mainly refers to a process of assigning corresponding form parameter values to keys contained in the original public function and the original difference function again. The unified configuration of the original public function and the original difference function can transfer corresponding form parameter values to each key in the original public function and the original difference function through a Python function parameter transfer mode. Preferably, before the corresponding form parameter values are reapplied to the keys contained in the original public function and the original difference function, the key contained in the original public function and the original difference function can be renamed in advance, so that the content or the function of the corresponding sub-configuration function can be conveniently and directly obtained according to the function name. In addition, the unified configuration of the original public function and the original difference function can also be achieved by sending a function configuration request to the client to obtain a function configuration rule returned by the client, and then the original public function and the original difference function are configured according to the function configuration rule to obtain a public configuration function. The function configuration rule refers to a preset rule giving form parameter values corresponding to all keys in the original public function and the original difference function.
Illustratively, if the original common function is obtained includes: common outer call url function pad.life.out.system and common request pattern function pad.life.out.method, and original difference function: authentication authorization function pad. Life. Out. Authorization; the method comprises the steps of respectively endowing a form parameter value corresponding to a key of a public outer call url function, a form parameter value corresponding to a key of a public request mode function and a form parameter value corresponding to a key of an authentication authorization function with a function configuration rule to obtain a public configuration function, wherein the public configuration function comprises: the public outer call url function pad.life.out.system { a, b, c }, the public request pattern function pad.life.out.method { a, b, c, }, and the authentication authorization function pad.life.out.authorization { a, \0}. It will be appreciated that since the authentication authorization function belongs to the original difference function, i.e. a function that is unique to only a particular interface, the corresponding formal parameter value is assigned null after the other keys where the functional interface is not present.
Preferably, in order to expand the applicability of the resulting common configuration function in subsequent calls to the interface, the common configuration function further comprises a number of reservation functions. Wherein, the reservation function refers to a function which is temporarily configured in advance and does not have any functionality. If the special function which does not exist in the configured public configuration function appears in the unconfigured interface when the unconfigured interface is subsequently called, the corresponding function can be realized by adopting the reserved function.
And S50, packaging the public configuration function to obtain a public interface function.
Wherein the common interface function refers to a directly callable function that provides only one interface to the outside. Specifically, the process of packaging the public configuration function refers to the process of packaging the public configuration function in a function and class mode and providing only one simple function interface for the outside. Alternatively, a common interface function that provides only one simple function interface to the outside can be obtained by constructing a null object through var o= { } in advance and then putting the common configuration function into the constructed null object for encapsulation.
In this embodiment, the interface configuration request includes at least two interface identifiers, then, according to each interface identifier, an original configuration function corresponding to each interface is obtained, the original configuration functions are subjected to comparative analysis to obtain an original public function and an original difference function, then, the original public function and the original difference function are subjected to unified configuration to obtain a public configuration function, finally, the public configuration function is packaged to obtain a public interface function, and the configuration efficiency of the interface functions is improved by carrying out unified configuration on the interface functions of different interfaces.
In one embodiment, as shown in fig. 3, each original configuration function is subjected to a comparative analysis to obtain an original public function and an original difference function, which specifically includes the following steps:
S301, obtaining a sub-configuration function in each original configuration function, wherein the sub-configuration function comprises a function name.
The sub-configuration functions refer to sub-functions contained in original configuration functions, each original configuration function is composed of a plurality of sub-configuration functions, and each sub-configuration function comprises a function name. The function name refers to a function name customized to embody the function or property of each sub-configuration function. Specifically, after the original configuration function corresponding to each interface is obtained according to each interface identifier in step S20, the corresponding sub-configuration function can be obtained from each original configuration function.
S302, matching function names of the sub configuration functions one by one.
Specifically, the function names corresponding to all the sub configuration functions obtained from each original configuration function are matched one by one, and whether the function names of the sub configuration functions are matched is judged. Specifically, whether the function names of the sub configuration functions are matched or not can be judged by presetting a matching threshold, and if the matching degree between the function names of the two sub configuration functions is greater than or equal to the matching threshold, the function names of the two sub configuration functions are matched; if the matching degree between the function names of the two sub-configuration functions is smaller than the matching threshold, the function names of the two sub-configuration functions are not matched. Wherein, the matching threshold refers to a matching value for judging whether the function names of the sub configuration functions are matched. Alternatively, the matching threshold may be 90%, 95%, 98%, 100%, or the like. Optionally, the function names of the sub-configuration functions can be matched one by adopting a character string matching method, or the function names of the sub-configuration functions can be matched one by adopting a regular matching method, so that a user can select the function names according to actual conditions in a self-defined mode.
S303, taking the sub-configuration functions with the number of function names matched larger than or equal to a preset threshold value as an original public function, and taking the sub-configuration functions with the number of function names matched smaller than the preset threshold value as an original difference function.
The preset threshold value refers to a preset value used for judging whether the corresponding sub-configuration function belongs to an original public function or not. Optionally, the preset threshold may be 2, that is, in a process of performing one-to-one matching on the function names of each sub-configuration function, the sub-configuration function corresponding to the function name with at least 2 matching functions is used as the original public function; the preset threshold may also be 5, that is, in the process of performing one-to-one matching on the function names of each sub-configuration function, the sub-configuration function corresponding to the function names with at least 5 matching functions is used as the original public function. The user can set the corresponding preset threshold value in a self-defined mode according to the number of the preset interfaces.
For example, if 3 original configuration functions corresponding to 3 interfaces are obtained, the 3 original configuration functions are respectively an original configuration function a corresponding to an interface a, an original configuration function B corresponding to an interface B, and an original configuration function C corresponding to an interface C, where each original configuration function includes 3 sub-configuration functions, respectively, the original configuration functions a= { a 1,a2,a3 }, and a is a sub-configuration function; original configuration function b= { B 1,b2,b3 }, B is a child configuration function; original configuration function c= { C 1,c2,c3 }, C being a child configuration function; and the preset threshold is 2, after the function names of each sub-configuration function are matched one by one according to S302, a 1、b1 and c 1 are obtained to be matched, namely a 1、b1 and c 1 belong to the same sub-configuration function, a 2 and b 2 are matched, namely a 2 and b 2 belong to the same sub-configuration function, any one of a 1、b1 or c 1 and any one of a 2 and b 2 are extracted to serve as original public functions, and a 3、b3、c2 and c3 are respectively extracted to serve as original difference functions.
In this embodiment, by acquiring the sub-configuration function in each original configuration function, the sub-configuration function includes function names, then performing one-to-one matching on the function names of the sub-configuration functions, taking the sub-configuration function with the number of function names matched greater than a preset threshold as the original public function, and taking the sub-configuration function with the number of function names matched less than the preset threshold as the original difference function, the accuracy of the acquired original public function and original difference function is further ensured.
In an embodiment, as shown in fig. 4, after the common configuration function is encapsulated to obtain the common interface function, the interface configuration method further includes:
S51, acquiring an interface parameter modification request, wherein the interface parameter modification request comprises a configuration path and parameter information.
The interface parameter modification request refers to a trigger request when an interface parameter corresponding to a certain interface needs to be modified. The interface parameter is a specific actual parameter, and the interface parameters corresponding to different interfaces are different. The interface parameter modification request comprises a configuration path and parameter information; the configuration path refers to a modification path that modifies the interface parameters. The parameter information refers to information corresponding to the interface parameters to be modified, and comprises a parameter identifier and corresponding target parameters. The parameter identification refers to an identifier corresponding to the interface parameter to be modified; alternatively, the name of the interface parameter may be employed as the parameter identification of the interface parameter. The target parameters include the interface parameters to be modified and the interface parameters after modification.
S52, acquiring an original parameter configuration table according to the configuration path.
The original parameter configuration table refers to a configuration table established according to interface parameters of a plurality of preset interfaces. Specifically, in this example, the interface parameters of each preset interface are composed of a plurality of field sequences, and each field is represented by a key-value, so that the original parameter configuration table is composed of fields represented by a plurality of key-values. Preferably, since the keys in the interface parameters corresponding to different interfaces with the same function may have the same or similar conditions, before the original parameter configuration table is built, the same or similar keys in the interface parameters corresponding to different interfaces need to be generalized, and are uniformly represented by the same common key, and then different values corresponding to different interfaces are uniformly assigned to the corresponding common key, that is, after the value behind the common key includes one or more values corresponding to different interfaces in the original parameter configuration table.
In this embodiment, the original parameter configuration table is pre-configured and stored in the oracle database. The oracle database is a relational database management system and is mainly used for storing parameter configuration tables; in addition, the oracle database has complete data management function and distributed processing function. It will be appreciated that the original parameter configuration table belongs to an object within the oracle database. Specifically, according to the configuration path, the original parameter configuration table is obtained, that is, the original parameter configuration table which is configured in advance is obtained from the oracle database according to the configuration path.
S53, modifying the original parameter configuration table according to the parameter information, and re-reading the modified original parameter configuration table.
Specifically, modifying the original parameter configuration table according to the parameter information includes: firstly, determining a field to be modified of an original parameter configuration table according to a parameter identifier, namely determining key values in the original parameter configuration table, then matching interface parameters to be modified carried by target parameters with values contained in the field to be modified of the original parameter configuration table one by one according to a regular matching method, determining the values successfully matched with the interface parameters to be modified as parameters to be modified, finally replacing the modified interface parameters carried by the target parameters with the parameters to be modified one by one, obtaining a modified original parameter configuration table, and reproducing the read modified original parameter configuration table.
Specifically, since the original parameter configuration table is established according to the interface parameters corresponding to the preset interfaces, the original parameter configuration table is associated with each corresponding preset interface, that is, each preset interface needs to read the original parameter configuration table at regular time, and the corresponding interface parameters are updated in time. Optionally, the time interval for reading the original parameter configuration table may be set in a customized manner according to practical situations, and may be half an hour, one hour, or two hours. In order to prevent the interface parameters from being wrong when the interface is called, preferably, each preset interface re-reads the corresponding original parameter configuration table every half an hour.
Preferably, in order to timely acquire that the parameters in the original parameter configuration table are changed, the established parameter configuration table can be monitored in real time, and whether each parameter in the original parameter configuration table is changed or not is monitored; if a certain parameter corresponding to the original parameter configuration table is found to be changed, sending parameter change prompt information to an interface corresponding to the parameter, and immediately re-reading the changed original parameter configuration table by the interface according to the acquired parameter change prompt information.
In this embodiment, by acquiring an interface parameter modification request, the interface parameter modification request includes a configuration path and parameter information, then acquiring an original parameter configuration table according to the configuration path, and finally modifying the original parameter configuration table according to the parameter information, and re-reading the modified original parameter configuration table; when the interface parameters need to be modified, the modification can be realized by modifying the information in the original parameter configuration table without the need of modifying the text codes corresponding to the interface again, thereby improving the efficiency of modifying the interface parameters.
In one embodiment, as shown in fig. 5, before the original parameter configuration table is acquired according to the configuration path, the interface function configuration method further includes:
s521: an interface parameter configuration request is obtained, the interface parameter configuration request comprising at least two interface identifications.
Wherein, the interface parameter configuration request refers to a trigger request when the parameter configuration table is established. The parameter configuration request comprises at least two interface identifiers, namely at least two preset interfaces for performing interface parameter configuration. The interface identifier refers to an identifier corresponding to a preset interface to be subjected to parameter configuration, and the interface identifiers corresponding to different interfaces are different.
S522: and acquiring original interface parameters corresponding to each interface according to each interface identifier.
The original interface parameters refer to interface parameters corresponding to interfaces for interface parameter configuration. In this embodiment, the original interface parameters corresponding to each interface are in the form of key-value pairs (key-value), that is, each original interface parameter includes several key-value pairs (key-value), and the value in each key-value pair (key-value) is a specific actual parameter value. Specifically, obtaining the original interface parameters corresponding to each interface according to each interface identifier includes: firstly, determining an interface needing interface parameter configuration according to an interface identifier, and then acquiring corresponding original interface parameters from the corresponding interface.
S523: and establishing an original parameter configuration table according to each original interface parameter.
The original parameter configuration table refers to a parameter configuration table established by a plurality of original interface parameters. Specifically, according to each original interface parameter, establishing the original parameter configuration table includes: firstly, extracting corresponding independent parameters and independent variables from each original interface parameter, namely extracting corresponding keys and values from each original interface parameter, and then adding the extracted independent parameters and independent variables into a parameter configuration table in a unified way. Alternatively, an original parameter configuration table may be built in the SAP platform, with the independent parameters and independent variables in each original interface parameter being transferred into the parameter configuration table by employing the TcodeSM tool of the SAP platform. Preferably, the parameter configuration table may be an excel table, so that by using the excel table to list all parameters and variables related to each interface in the program, the number of parameters and variables can be freely set in the parameter configuration table to be suitable for different types of fields. Additionally, a default value and a corresponding parameter selection range can be set for each parameter or variable during setting so as to avoid unreasonable parameter or variable setting. It should be noted that, the parameter variables given herein include both currently existing related parameters and variables, and also parameters and variables that are newly added subsequently.
S524: an original parameter configuration table is associated with each interface identification.
Specifically, after the original parameter configuration table is established according to step S523, the original parameter configuration table is associated with each interface identifier. In this step, associating the original parameter configuration table with each interface identifier not only facilitates obtaining the corresponding original parameter configuration table directly according to the interface identifier, but also facilitates subsequent parameter reading and setting of the original parameter configuration table, and accessing each parameter and variable information of the original parameter configuration table.
Preferably, in order to improve the data reading efficiency of the original parameter configuration table, different access rights can be set respectively for different parameters and variables corresponding to different preset interfaces in the original parameter configuration table; when the original parameter configuration table is read or set, each preset interface only allows the parameter and variable information corresponding to the interface to be read or set, namely, when the original parameter configuration table is read by different interfaces, the parameter and variable information accessed or viewed are different, and further the situation of data reading errors can be avoided.
In this embodiment, an interface parameter configuration request is obtained, where the interface parameter configuration request includes at least two interface identifiers, then an original interface parameter corresponding to each interface is obtained according to each interface identifier, then an original parameter configuration table is built according to each original interface parameter, and finally the original parameter configuration table is associated with each interface identifier; the modification of the interface configuration parameters corresponding to each interface can be realized by modifying the original interface parameter table.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, an interface configuration device is provided, where the interface configuration device corresponds to the interface configuration method in the above embodiment one by one. As shown in fig. 6, the interface configuration apparatus includes an interface configuration request acquisition module 10, an original configuration function acquisition module 20, a comparison analysis module 30, a unified configuration module 40, and a common configuration function encapsulation module 50. The functional modules are described in detail as follows:
An interface configuration request acquisition module 10, configured to acquire an interface configuration request, where the interface configuration request includes at least two interface identifiers;
The original configuration function obtaining module 20 is configured to obtain an original configuration function corresponding to each interface according to each interface identifier;
The comparison analysis module 30 is configured to perform comparison analysis on the original configuration function to obtain an original public function and an original difference function;
The unified configuration module 40 is configured to perform unified configuration on the original public function and the original difference function to obtain a public configuration function;
And the common configuration function packaging module 50 is configured to package the common configuration function to obtain a common interface function.
Preferably, the contrast analysis module 30 comprises:
a sub-configuration function obtaining unit, configured to obtain a sub-configuration function in each original configuration function, where the sub-configuration function includes a function name;
The matching unit is used for matching the function names of the sub-configuration functions one by one;
The judging unit is used for taking the sub-configuration functions with the function names matched with each other and the number larger than or equal to a preset threshold value as an original public function and taking the sub-configuration functions with the function names matched with each other and the number smaller than the preset threshold value as an original difference function.
Preferably, the interface configuration device further includes:
The modification request acquisition module is used for acquiring an interface parameter modification request, wherein the interface parameter modification request comprises a configuration path and parameter information;
The original parameter configuration table acquisition module is used for acquiring an original parameter configuration table according to the configuration path;
And the modification module is used for modifying the original parameter configuration table according to the parameter information and re-reading the modified original parameter configuration table.
Preferably, the interface configuration device further includes:
the parameter configuration request acquisition module is used for acquiring an interface parameter configuration request, wherein the interface parameter configuration request comprises at least two interface identifiers;
the original interface parameter acquisition module is used for acquiring the original interface parameters corresponding to each interface according to each interface identifier;
The original parameter configuration table establishing module is used for establishing an original parameter configuration table according to each original interface parameter;
and the association module is used for associating the original parameter configuration table with each interface identifier.
For specific limitations of the interface configuration device, reference may be made to the above limitation of the interface configuration method, and the description thereof will not be repeated here. The respective modules in the above-described interface configuration apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
The interface calling method provided by the embodiment of the invention can be applied to an application environment shown in figure 1. Specifically, the interface calling method is applied to an interface calling system, the interface calling system comprises a client and a server as shown in fig. 1, and the client and the server communicate through a network to solve the problem of low configuration efficiency of interface functions. The client is also called a user end, and refers to a program corresponding to the server end for providing local service for the client. The client may be installed on, but is not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices. The server may be implemented by a stand-alone server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 7, an interface calling method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
S100, acquiring an interface call request, wherein the interface call request comprises a target interface identifier and a target interface parameter.
The interface call request refers to a request triggered when a certain interface call device or platform calls an interface of another platform. The interface call request includes a target interface identification and target interface parameters. The target interface refers to the interface that is invoked. The target interface identifier refers to an identifier number corresponding to the called interface, and is used for uniquely identifying the target interface. Alternatively, since the interface address corresponding to the different interfaces is uniquely determined, the interface address corresponding to the target interface may be used as the target interface identifier. The target interface parameter refers to the interface parameter corresponding to the called interface, and the target interface parameter is a specific actual parameter value.
Specifically, after the user clicks the operation of calling a certain interface and triggers an interface calling request, the server side can obtain the interface calling request for calling the interface from the client side. For example: in an application scene, the operation of the method is based on a page on a user smart phone or a computer, a certain interface calling platform user needs to execute and call an API interface for OCR character recognition in a hundred-degree API Store, when the user clicks or touches an interface address of the API interface for OCR character recognition on the page where the hundred-degree API Store is located, a corresponding interface calling request is generated, and after the client sends the interface calling request to the server, the server can acquire the interface calling request.
S110, judging whether the target interface identification meets the preset identification.
The preset identifier refers to an identifier corresponding to an interface which is subjected to interface configuration in advance. In this embodiment, the database of the server side stores in advance the interface identifier corresponding to the interface that has been subjected to the interface configuration. Specifically, whether the target interface identifier meets the preset identifier or not is judged by adopting a character string matching method in advance, and the target interface identifier carried by the interface calling request is matched with the preset identifier stored in the database one by one; if the target interface identifier carried by the interface calling request is successfully matched with any preset identifier stored in the database, the target interface identifier is indicated to meet the preset identifier; if the target interface identifier carried by the interface calling request is not matched with all preset identifiers stored in the database, the target interface identifier does not meet the preset identifier.
And S120, if the target interface identifier meets the preset identifier, acquiring a public interface function, wherein the public interface function is obtained by adopting an interface configuration method.
Wherein a common interface function refers to a configuration function associated with at least two interfaces, i.e. through which a call to at least two interfaces can be performed. In this embodiment, the common interface function is obtained according to the interface configuration method in the above embodiment. Therefore, the public interface function is associated with the interface corresponding to the preset identifier, and the calling of a plurality of interfaces corresponding to the preset identifier can be realized through the public interface function. Specifically, since the public interface class is a database that is already configured in advance and stored in the server, if it is determined in step S12 that the target interface identifier carried by the interface call request meets the preset identifier, the preset public interface function can be directly obtained from the database.
S130, taking the target interface parameter as the input parameter of the public interface function, and calling the public interface function to realize interface calling.
Since the target interface parameter is a specific actual parameter value, the input parameter using the target interface parameter as the common configuration function refers to a process of performing one-to-one parameter replacement between the actual parameter in the target interface parameter and the corresponding form parameter in the common configuration function. Specifically, firstly analyzing the target interface parameters to obtain a field sequence corresponding to the target interface parameters, then matching each key in the target interface parameters with keys contained in a public configuration function one by one according to the corresponding relation of the keys-value in the field sequence, and finally transmitting the value corresponding to each key in the target interface parameters to the keys in the public configuration function matched with the keys, thereby realizing the process of replacing the actual parameters in the target interface parameters with the form parameters corresponding to the public configuration function one by one. And finally, executing interface call by adopting the public configuration function with the replaced parameters.
In this embodiment, an interface call request is obtained, where the interface call request includes a target interface identifier and a target interface parameter, then it is determined whether the target interface identifier meets a preset identifier, if the target interface identifier meets the preset identifier, a public interface function is obtained by using the interface function configuration method, and finally the target interface parameter is used as an input parameter of the public interface function, and the public interface function is called to implement interface call; the unified interface configuration function can be adopted for calling different interfaces, so that the problem that the process is too complex when the different interfaces are called is solved, and the efficiency of calling the interfaces is further improved.
In an embodiment, as shown in fig. 8, after determining whether the target interface identifier meets the preset identifier, the interface calling method further includes:
S121, if the target interface identification does not meet the preset identification, an interface configuration request is sent to the client.
The interface configuration request refers to a trigger request when the target interface needs to be configured online. Specifically, if it is obtained according to step S110 that the target interface identifier does not meet the preset identifier, that is, the target interface identifier is not matched with any one of the preset identifiers, an interface configuration request is sent to the client.
S122, obtaining target configuration parameters returned by the client according to the interface configuration request.
The target configuration parameters refer to interface parameters corresponding to a target interface to be configured. In this embodiment, the target configuration parameter is in the form of key-value pairs (key-value), i.e. the target configuration parameter comprises several key-value pairs (key-value). Specifically, after receiving an interface configuration request returned by the server, the client side; the user can obtain the target configuration parameters corresponding to the interface on line through the client page, then the obtained target configuration parameters are sent to the server through the client, and the server can obtain the target configuration parameters returned by the client.
S123, obtaining the public interface function, and reconfiguring the public interface function according to the target configuration parameters to obtain the target public interface function.
The target public interface function refers to a public interface function after interface configuration is performed again according to the target configuration parameters. Specifically, since the target configuration parameter is composed of several key-value pairs (key-value), reconfiguring the common interface function according to the target configuration parameter includes: firstly, performing one-to-one matching on keys of each key-value pair (key-value) in the target configuration parameters and keys contained in a public interface function; if the key of the key-value pair (key-value) in the target configuration parameter is successfully matched with one of the keys contained in the public interface function, a new form parameter value is newly assigned after the corresponding key in the public interface function, and if the key of the key-value pair (key-value) in the target configuration parameter is not matched with any key contained in the public interface function, a reserved function in the public configuration function is called and is configured, so that the corresponding function is realized. Specifically, the method for reconfiguring the common interface function according to the target configuration parameter is the same as the method for uniformly configuring the original common function and the original difference function in step S40, and redundant description is omitted herein.
S124, taking the target interface parameter as the input parameter of the target public interface function, and calling the target public interface function to realize the interface call.
Specifically, the specific method and specific process for taking the target interface parameter as the input parameter of the target public interface function and calling the target public interface function to implement the interface call are the same as the method and process for taking the target interface parameter as the input parameter of the public interface function and calling the public interface function to implement the interface call in step S130, and redundant description is not made here.
In the step, if the target interface identifier does not meet the preset identifier, an interface configuration request is sent to the client, target configuration parameters returned by the client according to the interface configuration request are obtained, then a public interface function is obtained, the public interface function is reconfigured according to the target configuration parameters to obtain a target public interface function, finally the target interface parameter is used as an input parameter of the target public interface function, and the target public interface function is called to realize interface call; when the interface which is not subjected to interface configuration is called, the common interface function can be directly reconfigured, the interface calling is realized, and the interface calling efficiency is further improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, an interface calling device is provided, where the interface calling device corresponds to the interface calling method in the above embodiment one by one. As shown in fig. 9, the interface call device includes an interface call request acquisition module 100, an identification judgment module 110, a common interface function acquisition module 120, and an interface call module 130. The functional modules are described in detail as follows:
an interface call request acquisition module 100, configured to acquire an interface call request, where the interface call request includes a target interface identifier and a target interface parameter;
The identifier judging module 110 is configured to judge whether the target interface identifier meets a preset identifier;
The public interface function obtaining module 120 is configured to obtain a public interface function when the target interface identifier meets a preset identifier, where the public interface function is obtained according to the interface configuration method;
the common interface function calling module 130 is configured to take the target interface parameter as an input parameter of the common interface function, and call the common interface function to implement interface call.
Preferably, the interface calling device further includes:
the interface configuration request sending module is used for sending an interface configuration request to the client when the target interface identifier does not meet the preset identifier;
The target configuration parameter acquisition module is used for acquiring target configuration parameters returned by the client according to the interface configuration request;
The reconfiguration module is used for acquiring the public interface function, and reconfiguring the public interface function according to the target configuration parameters to acquire the target public interface function;
And the target public interface function calling module is used for taking the target interface parameter as the input parameter of the target public interface function and calling the target public interface function to realize interface calling.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 10. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for the data used in the interface configuration method and the interface calling method of the above embodiment. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by the processor implements an interface configuration method, or the computer program when executed by the processor implements an interface calling method.
In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the interface configuration method of the above embodiment when executing the computer program, or implements the interface calling method of the above embodiment when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the interface configuration method of the above embodiment, or which when executed by a processor implements the interface calling method of the above embodiment.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (9)

1. An interface configuration method, comprising:
acquiring an interface configuration request, wherein the interface configuration request comprises at least two interface identifiers;
Acquiring an original configuration function corresponding to each interface according to each interface identifier;
performing comparative analysis on the original configuration function to obtain an original public function and an original difference function, wherein the obtaining the original public function and the original difference function comprises:
obtaining a sub-configuration function in each original configuration function, wherein the sub-configuration function comprises a function name;
matching the function names of the sub configuration functions one by one;
Taking the sub-configuration functions with the function names matched with each other and the number of which is larger than or equal to a preset threshold value as an original public function, and taking the sub-configuration functions with the function names matched with each other and the number of which is smaller than the preset threshold value as an original difference function;
uniformly configuring the original public function and the original difference function to obtain a public configuration function;
packaging the public configuration function to obtain a public interface function;
the uniformly configuring the original public function and the original difference function comprises the following steps:
Transmitting corresponding form parameter values to each key in the original public function and the original difference function by using a Python function parameter transmission mode so as to realize unified configuration;
or, sending a function configuration request to the client and acquiring a function configuration rule returned by the client;
configuring the original public function and the original difference function according to the function configuration rule to obtain a public configuration function; the function configuration rules refer to rules of form parameter values corresponding to all keys in the preset original public function and the preset original difference function.
2. The interface configuration method according to claim 1, wherein after the common configuration function is encapsulated to obtain a common interface function, the interface configuration method further comprises:
acquiring an interface parameter modification request, wherein the interface parameter modification request comprises a configuration path and parameter information;
acquiring an original parameter configuration table according to the configuration path;
And modifying the original parameter configuration table according to the parameter information, and re-reading the modified original parameter configuration table.
3. The interface configuration method according to claim 2, wherein before the obtaining of the original parameter configuration table according to the configuration path, the interface configuration method further comprises:
acquiring an interface parameter configuration request, wherein the interface parameter configuration request comprises at least two interface identifiers;
Acquiring original interface parameters corresponding to each interface according to each interface identifier;
Establishing an original parameter configuration table according to each original interface parameter;
the original parameter configuration table is associated with each of the interface identifications.
4. An interface calling method, comprising:
acquiring an interface call request, wherein the interface call request comprises a target interface identifier and a target interface parameter;
Judging whether the target interface identifier meets a preset identifier or not;
If the target interface identifier meets the preset identifier, a public interface function is obtained, wherein the public interface function is obtained according to the interface configuration method of any one of claims 1-3;
and taking the target interface parameter as the input parameter of the public interface function, and calling the public interface function to realize interface calling.
5. The interface calling method of claim 4, wherein after the determining whether the target interface identifier meets a preset identifier, the interface calling method further comprises:
If the target interface identifier does not meet the preset identifier, an interface configuration request is sent to the client;
acquiring target configuration parameters returned by the client according to the interface configuration request;
Obtaining the public interface function, and reconfiguring the public interface function according to the target configuration parameters to obtain a target public interface function;
and taking the target interface parameter as the input parameter of the target public interface function, and calling the target public interface function to realize interface calling.
6. An interface configuration apparatus, comprising:
an interface configuration request acquisition module, configured to acquire an interface configuration request, where the interface configuration request includes at least two interface identifiers;
the original configuration function acquisition module is used for acquiring an original configuration function corresponding to each interface according to each interface identifier;
The comparison analysis module is used for carrying out comparison analysis on the original configuration function to obtain an original public function and an original difference function, wherein the obtaining of the original public function and the original difference function comprises the following steps:
obtaining a sub-configuration function in each original configuration function, wherein the sub-configuration function comprises a function name;
matching the function names of the sub configuration functions one by one;
Taking the sub-configuration functions with the function names matched with each other and the number of which is larger than or equal to a preset threshold value as an original public function, and taking the sub-configuration functions with the function names matched with each other and the number of which is smaller than the preset threshold value as an original difference function;
the unified configuration module is used for carrying out unified configuration on the original public function and the original difference function to obtain a public configuration function;
The public configuration function packaging module is used for packaging the public configuration functions to obtain public interface functions;
the uniformly configuring the original public function and the original difference function comprises the following steps:
Transmitting corresponding form parameter values to each key in the original public function and the original difference function by using a Python function parameter transmission mode so as to realize unified configuration;
or, sending a function configuration request to the client and acquiring a function configuration rule returned by the client;
configuring the original public function and the original difference function according to the function configuration rule to obtain a public configuration function; the function configuration rules refer to rules of form parameter values corresponding to all keys in the preset original public function and the preset original difference function.
7. An interface calling device, comprising:
The interface call request acquisition module is used for acquiring an interface call request, wherein the interface call request comprises a target interface identifier and a target interface parameter;
the identification judging module is used for judging whether the target interface identification meets a preset identification or not;
A public interface function obtaining module, configured to obtain a public interface function when the target interface identifier meets the preset identifier, where the public interface function is obtained according to the interface configuration method of any one of claims 1-3;
And the public interface function calling module is used for taking the target interface parameter as the input parameter of the public interface function and calling the public interface function to realize interface calling.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the interface configuration method according to any one of claims 1 to 3 when executing the computer program or the processor implements the interface invocation method according to any one of claims 4 to 5 when executing the computer program.
9. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the interface configuration method according to any one of claims 1 to 3 or the computer program when executed by a processor implements the interface invocation method according to any one of claims 4 to 5.
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 CN110377325A (en) 2019-10-25
CN110377325B true 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)

Families Citing this family (9)

* 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
CN113535830A (en) * 2020-04-21 2021-10-22 中移信息技术有限公司 Automatic interface expansion method, device, equipment and storage medium
CN112434289A (en) * 2020-05-14 2021-03-02 陈洋洋 Internet of things-based network big data information anti-leakage method and system and server
CN112130850A (en) * 2020-08-28 2020-12-25 北京达佳互联信息技术有限公司 Method and device for realizing functions in application program
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
CN115309375B (en) * 2022-08-08 2023-10-27 北京百度网讯科技有限公司 Processing method and device of application programming interface, electronic equipment and medium

Citations (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5003701B2 (en) * 2009-03-13 2012-08-15 ソニー株式会社 Server apparatus and setting information sharing method

Patent Citations (6)

* 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
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北向接口适配器配置管理系统研究与实现;刘随;《中国优秀硕士学位论文全文数据库 (信息科技辑)》;20070515(第05期);I136-691 *

Also Published As

Publication number Publication date
CN110377325A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110377325B (en) Interface configuration method, interface calling method, device, equipment and storage medium
CN109474578B (en) Message checking method, device, computer equipment and storage medium
US10769228B2 (en) Systems and methods for web analytics testing and web development
CN110535971B (en) Interface configuration processing method, device, equipment and storage medium based on block chain
EP3190765A1 (en) Sensitive information processing method, device, server and security determination system
CN110610196B (en) Desensitization method, system, computer device and computer readable storage medium
CN110889142B (en) Data authority management method, device, system and equipment
CN114531477B (en) Method and device for configuring functional components, computer equipment and storage medium
CN112181423B (en) Project construction method and device based on configuration file, computer equipment and medium
CN108282484B (en) Password acquisition method and device, computer equipment and storage medium
CN111222153B (en) Application program authority management method and device and storage medium
CN110275703B (en) Method and device for assigning key value to data, computer equipment and storage medium
CN111683083A (en) Block chain user identity authentication method, device, equipment and medium
CN114003432A (en) Parameter checking method and device, computer equipment and storage medium
CN112052256A (en) Multi-version request returning method and device, computer equipment and readable storage medium
CN111176882A (en) Specific data processing method, specific data processing device, computer equipment and storage medium
CN112685451B (en) Data query processing method, device, computer equipment and storage medium
CN112637085B (en) Flow recording method and device, computer equipment and storage medium
CN111708795B (en) Object identification generation method, object identification updating device, computer equipment and medium
US10033528B2 (en) Method of communicating between a server and a secure element
CN112231377A (en) Data mapping method, system, device, server and storage medium
US11533282B1 (en) Specifying and testing open communication protocols
KR102336698B1 (en) Method for verifying validity of firmware, firmware management apparatus for performing the same, internet of things device for updating firmware and system for including the same
CN114095272B (en) Intranet data linking method and device based on internal and external network security architecture
CN117453784A (en) Configuration file conversion method, device, equipment and storage medium

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