Disclosure of Invention
In order to solve the problems that the existing software development package is low in access efficiency and can cause access failure due to human errors and confusion, the embodiment of the application provides a software development package configuration method, equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a software development kit configuration method, including:
responding to an access instruction of a target software development kit, and acquiring a configuration file of the target software development kit from an application program; the target software development package is a software development package for calling a third party application to realize a target function, the configuration file comprises configuration parameters required by the target software development package for accessing, and the configuration file is uniformly configured in advance through a target configuration system;
Verifying the configuration file;
if the verification is passed, reading the configuration parameters from the configuration file, and transmitting the configuration parameters into the target software development kit;
generating an interface function for a specified method in the target software development kit and packaging a non-specified method in the target software development kit, wherein the specified method comprises at least one of the following steps: a method requiring callback of the third party application and a method requiring realization of the third party application.
The method provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
The implementation manner of accessing the management software development kit into the target software development kit according to the configuration file may include:
reading configuration parameters from the configuration file, and transmitting the configuration parameters into a target software development kit;
generating interface functions for specified methods in the target software development kit and encapsulating non-specified methods in the target software development kit, the specified methods comprising at least one of: a callback method of the third party application is needed, and a method implemented by the third party application is needed.
Optionally, the initialization instruction carries an index of a configuration file of the target software development kit and an index of the target software development kit, and before the configuration file of the target software development kit is read from the engineering file of the application program, the configuration file can be searched according to the index of the configuration file; before the configuration parameters are transmitted into the target software development kit, the target software development kit can be searched according to the index of the target software development kit.
Optionally, the verifying the configuration file includes:
searching at least one of the following information corresponding to the configuration file: terminal operating system, application program version number, application program identification;
if the terminal operating system corresponding to the configuration file is found, comparing the terminal operating system corresponding to the configuration file with the operating system of the terminal where the application program is located;
If the application program version number corresponding to the configuration file is found, comparing the application program version number corresponding to the configuration file with the application program version number;
if the application program identifier corresponding to the configuration file is found, comparing the identifier corresponding to the configuration file with the identifier of the application program.
Optionally, the generating manner of the configuration file includes:
acquiring configuration parameters of the target software development kit through a human-computer interaction interface;
generating a configuration file containing the configuration parameters.
In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a management software development kit module, where the management software development kit module includes a configuration file reading sub-module and a software development kit access sub-module:
the configuration file reading sub-module is used for: responding to an access instruction of a target software development kit, and acquiring a configuration file of the target software development kit from an application program; the target software development package is a software development package for calling a third party application to realize a target function, the configuration file comprises configuration parameters required by the target software development package for accessing, and the configuration file is uniformly configured in advance through a target configuration system;
The software development kit access submodule is used for: verifying the configuration file; if the verification is passed, reading the configuration parameters from the configuration file, and transmitting the configuration parameters into the target software development kit; generating an interface function for a specified method in the target software development kit and packaging a non-specified method in the target software development kit, wherein the specified method comprises at least one of the following steps: a method requiring callback of the third party application and a method requiring realization of the third party application.
The electronic equipment provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
The software development packet access module is specifically configured to:
reading configuration parameters from the configuration file, and transmitting the configuration parameters into a target software development kit;
generating interface functions for specified methods in the target software development kit and encapsulating non-specified methods in the target software development kit, the specified methods comprising at least one of: a callback method of the third party application is needed, and a method implemented by the third party application is needed.
Optionally, the initializing instruction carries an index of a configuration file of the target software development kit and an index of the target software development kit, and before reading the configuration file of the target software development kit from the engineering file of the application program, the configuration file reading submodule may further search the configuration file according to the index of the configuration file; before the configuration parameters are transmitted into the target software development kit, the SDK access sub-module can also search the target software development kit according to the index of the target software development kit.
Optionally, the software development kit access submodule is configured to: searching at least one of the following information corresponding to the configuration file: terminal operating system, application program version number, application program identification; if the terminal operating system corresponding to the configuration file is found, comparing the terminal operating system corresponding to the configuration file with the operating system of the terminal where the application program is located; if the application program version number corresponding to the configuration file is found, comparing the application program version number corresponding to the configuration file with the application program version number; if the application program identifier corresponding to the configuration file is found, comparing the identifier corresponding to the configuration file with the identifier of the application program.
Optionally, the generating manner of the configuration file includes:
acquiring configuration parameters of the target software development kit through a human-computer interaction interface;
generating a configuration file containing the configuration parameters.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory is used for storing a program for executing any method embodiment of the first aspect;
the processor is configured to execute a program stored in the memory.
The electronic equipment provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a program for implementing any of the method embodiments of the first aspect.
The program stored in the computer readable storage medium provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
In a fifth aspect, an embodiment of the present application provides a software development kit configuration method, including:
acquiring configuration information of a target software development kit through a human-computer interaction interface, wherein the target software development kit is a software development kit for calling a third party application to realize a target function;
Generating a configuration file of the target software development kit based on the configuration information;
and sending the configuration file in response to a configuration file acquisition request, so that a receiver can store the configuration file to an application program, wherein the configuration file is used for accessing a management software development kit in the application program into the target software development kit.
The method provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and sends the configuration file according to the request of the receiver so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Optionally, the method further comprises:
acquiring at least one of the following configuration file management instructions through a human-computer interaction interface: the configuration file management instruction is used for searching the target configuration file and modifying the configuration file management instruction of the target configuration file;
and processing the target configuration file according to the configuration file management instruction.
In a sixth aspect, an embodiment of the present application provides an electronic device, including:
the configuration information acquisition module is used for acquiring the configuration information of the target software development kit through the human-computer interaction interface;
the configuration file generation module is used for generating a configuration file containing the configuration information;
and the configuration file sending module is used for responding to a configuration file acquisition request and sending the configuration file so that a receiver can store the configuration file to an application program, wherein the configuration file is used for accessing a management software development kit in the application program into the target software development kit.
The configuration parameters of each configuration item of the target software development kit are stored in the configuration file in advance, and the configuration file is sent according to the request of the receiver, so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
In a seventh aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory is used for storing a program for executing an embodiment of the method of any fifth aspect;
the processor is configured to execute a program stored in the memory.
The electronic equipment provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and sends the configuration file according to the request of the receiver so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
In an eighth aspect, an embodiment of the present application provides a computer readable storage medium storing a program for implementing any of the method embodiments of the fifth aspect.
The program stored in the computer readable storage medium provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and sends the configuration file according to the request of the receiver so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In some of the procedures described in the specification and claims of the present application and the above figures, a plurality of operations appearing in a particular order are included, but it should be clearly understood that the procedures may include more or less operations, and that the operations may be performed in order or in parallel.
As shown in fig. 1, an embodiment of the present application provides a software development kit access method, which may be implemented on a terminal device, specifically by a management software development kit in an application program of the terminal device, and includes the following operations:
Step 101, responding to an access instruction of a target software development kit, and acquiring a configuration file of the target software development kit from an application program; the target software development package is a software development package for calling a third party application to realize a target function, the configuration file comprises configuration parameters required by the target software development package for accessing, and the configuration file is configured uniformly in advance through a target configuration system.
The access instruction may be issued by an application program or by a network device, and is used for triggering the management software development kit to access the target software development kit.
The third party application may refer to a third party application program, or may refer to a server of the third party application program.
Step 102, verifying the configuration file.
And step 103, if the verification is passed, reading the configuration parameters from the configuration file, and transmitting the configuration parameters into the target software development kit.
If the verification is not passed, the access processing is not performed on the target software development package. Further, if the verification fails, a prompt message of the failure can be sent out through a human-computer interaction interface, or the prompt message of the failure can be sent to the target network equipment through the Internet.
Step 104, generating an interface function for a specified method in the target software development kit, and packaging a non-specified method in the target software development kit, wherein the specified method comprises at least one of the following steps: a method requiring callback of the third party application and a method requiring realization of the third party application.
The specified method refers to a method which is required to be called by a third party or realized by the third party, and the unspecified method refers to a method which is not required to be called by the third party and is not required to be realized by the third party. Specifically, the third party application calls back or implements the specified method through the encapsulated interface function.
By way of example and not limitation, the target software development kit may be an account software development kit, a sharing software development kit, or a push software development kit.
The management software development kit is pre-installed in the application program, and has the main functions of reading the configuration file of the target software development kit, checking the accuracy of the configuration file and realizing the automatic access of the target software development kit.
The method provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Furthermore, the initialization instruction may carry identification information of the specified method, and the management software development package identifies the specified method according to the identification information.
On the basis of any of the method embodiments, the initialization instruction may further carry an index of a configuration file of the target software development kit and an index of the target software development kit, and before the configuration file of the target software development kit is read from the application program, the configuration file may be searched according to the index of the configuration file; before the configuration parameters are transmitted into the target software development kit, the target software development kit can be searched from the application program according to the index of the target software development kit.
Wherein the index of the configuration file may include at least one of the following information: the name of the configuration file, the name of the target software development kit corresponding to the configuration file, the name of the terminal operating system corresponding to the configuration file and the version number of the application program corresponding to the configuration file. Wherein, the index of the target software development kit can comprise at least one of the following information: the name of the target software development kit, the name of the terminal operating system corresponding to the target software development kit, and the version number of the application program corresponding to the target software development kit.
On the basis of any of the method embodiments, before the configuration parameters are transmitted into the target software development kit, the configuration file can be verified; and if the verification is passed, transmitting the configuration parameters into the target software development kit.
Wherein the verification of the configuration file may include validity. The implementation manner of the validity check may include: and checking information such as a terminal operating system, an application program version number and the like corresponding to the configuration file. If the terminal operating system corresponding to the configuration file is consistent with the operating system of the terminal where the application program is located, and the version number of the application program corresponding to the configuration file is consistent with the version number of the application system, the validity check is passed, otherwise, the validity check is not passed.
As shown in fig. 2, an embodiment of the present application provides a software development kit configuration method, which may be implemented on a server, and includes the following operations:
step 201, obtaining configuration information of a target software development kit through a man-machine interaction interface, wherein the target software development kit is a software development kit for calling a third party application to realize a target function.
Step 202, generating a configuration file containing the configuration information.
And 203, sending the configuration file in response to the configuration file acquisition request, so that the receiver can save the configuration file to the application program, wherein the configuration file is used for accessing the management software development kit in the application program into the target software development kit.
The server is used as a cloud configuration platform, so that a user can configure some parameters on the platform according to the characteristics and requirements of a target software development kit to generate a configuration file, and an access party can download and view a history configuration file on the cloud configuration platform.
The method provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and sends the configuration file according to the request of the receiver so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
As shown in fig. 3, in the software development kit configuration method provided by the embodiment of the present application: providing a configuration interface by a cloud configuration platform for a configuration administrator to input configuration information of a target software development kit; the cloud configuration platform generates a configuration file of the target software development kit according to the configuration information; the management software development kit acquires a configuration file of the target software development kit from the cloud configuration platform, and verifies the configuration file; the management software development kit adapts the target software development kit according to the configuration file to realize the access of the target software development kit (such as pushing the software development kit, sharing the software development kit, deep linking the software development kit and the like), wherein in the adaptation process, the management software development kit adapts each target software development kit to be accessed, encapsulates parameters required by registration of the target software development kit, realizes callback required by part of the target software development kit, and exposes callback or a method required by an access party.
The method provided by the embodiment of the application is described below with reference to a specific application scenario.
In this scenario, a configuration administrator accesses a software development kit configuration server (also referred to as a cloud configuration platform) through a browser of a terminal device, sends configuration information to the software development kit configuration server, and the software development kit configuration server generates a configuration file according to the received configuration information. Taking the configuration file generation of push (push) software development kit as an example, the configuration interface shown in fig. 4 is displayed on the browser of the terminal device by accessing the software development kit configuration server, and a basic configuration input control and a personalized configuration adding control are loaded through the configuration interface. For the target software development kit, the configuration information may include basic configuration information and personality configuration information, where the basic configuration information includes information related to an application program in which the software development kit is located, a running environment of a terminal operating system, and the like, and the personality configuration information is configuration information related to a specific function of the software development kit. The operating system selection control, the machine room selection control, the domain name input control and the user setting permission switch control in fig. 4 all belong to basic configuration input controls, and are used for inputting basic configuration information by a user. The category object (category) configuration adding control in fig. 4 belongs to a personality configuration adding control for a user to input personality configuration information.
If the user clicks the classified object configuration adding control, as shown in fig. 5, the classified object configuration information and the corresponding control are loaded on the configuration interface, including: a class name input control, a class object style selection control, a summary format input control, and a button add control.
After the user inputs configuration information through the configuration interface, clicking a control for generating the configuration file, responding to the configuration file generation instruction by the software development kit configuration server, generating the configuration file from the configuration information input by the user, and storing the configuration file in association with configuration file index information such as the name of the push software development kit, the name of the terminal operating system, the version number of the application program and the like. Configuration files of a plurality of software development packages are stored in a software development package configuration server.
Correspondingly, the software development kit configuration manager can also access the software development kit configuration server to modify, delete, download and the like the generated configuration files.
Therefore, the software development package configuration server generates and manages configuration files, so that software development package management personnel can manage different software development packages and different versions of the same software development package in an orderly manner, and the management and maintenance difficulty is reduced.
In addition, for the general basic configuration of a plurality of software development packages, the automatic addition of basic configuration information can be realized, and the processing efficiency is further improved.
When the push software development kit is required to be accessed in the application program A, an access side management personnel can access the software development kit configuration server, request to acquire the configuration file of the push SDK from the SDK configuration server, and the SDK configuration server receives the configuration file acquisition request and sends the corresponding configuration file to a requesting side. The access party manager stores the acquired configuration file into an engineering file of the application program A, the application program A is operated, and an initialization instruction is sent to the management SDK by the application program A, wherein the initialization instruction carries an index of the push SDK, an index of the configuration file and identification information of a designated method. And the management SDK responds to the initialization instruction, searches the configuration file from the engineering file, performs validity check on the searched configuration file, takes the configuration parameters in the configuration file after the verification is passed, and injects the configuration parameters into the push SDK, encapsulates a non-designated method, generates the designated method into an interface function, and completes the access of the push SDK.
Based on the same inventive concept as the method shown in fig. 1, the embodiment of the present application further provides an electronic device, as shown in fig. 6, where the electronic device includes a management software development kit module, and the management software development kit module includes a configuration file reading sub-module 601 and a software development kit accessing sub-module 602:
The profile reading submodule 601 is configured to: responding to an access instruction of a target software development kit, and acquiring a configuration file of the target software development kit from an application program; the target software development package is a software development package for calling a third party application to realize a target function, the configuration file comprises configuration parameters required by the target software development package for accessing, and the configuration file is uniformly configured in advance through a target configuration system;
the software development kit access submodule 602 is configured to: verifying the configuration file; if the verification is passed, reading the configuration parameters from the configuration file, and transmitting the configuration parameters into the target software development kit; generating an interface function for a specified method in the target software development kit and packaging a non-specified method in the target software development kit, wherein the specified method comprises at least one of the following steps: a method requiring callback of the third party application and a method requiring realization of the third party application.
The electronic equipment provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
The software development packet access module is specifically configured to:
reading configuration parameters from the configuration file, and transmitting the configuration parameters into a target software development kit;
generating interface functions for specified methods in the target software development kit and encapsulating non-specified methods in the target software development kit, the specified methods comprising at least one of: a callback method of the third party application is needed, and a method implemented by the third party application is needed.
Optionally, the initializing instruction carries an index of a configuration file of the target software development kit and an index of the target software development kit, and before reading the configuration file of the target software development kit from the engineering file of the application program, the configuration file reading submodule may further search the configuration file according to the index of the configuration file; before the configuration parameters are transmitted into the target software development kit, the SDK access sub-module can also search the target software development kit according to the index of the target software development kit.
Optionally, the software development kit access submodule is configured to: searching at least one of the following information corresponding to the configuration file: terminal operating system, application program version number, application program identification; if the terminal operating system corresponding to the configuration file is found, comparing the terminal operating system corresponding to the configuration file with the operating system of the terminal where the application program is located; if the application program version number corresponding to the configuration file is found, comparing the application program version number corresponding to the configuration file with the application program version number; if the application program identifier corresponding to the configuration file is found, comparing the identifier corresponding to the configuration file with the identifier of the application program.
Optionally, the generating manner of the configuration file includes:
acquiring configuration parameters of the target software development kit through a human-computer interaction interface;
generating a configuration file containing the configuration parameters.
Based on the same inventive concept as the method shown in fig. 2, an embodiment of the present application further provides an electronic device, as shown in fig. 7, including:
the configuration information acquisition module 701 is configured to acquire configuration information of a target software development kit through a human-computer interaction interface;
a configuration file generating module 702, configured to generate a configuration file containing the configuration information;
and the configuration file sending module 703 is configured to send the configuration file in response to a configuration file obtaining request, so that the receiver saves the configuration file to an application program, where the configuration file is used for accessing a management software development kit in the application program into the target software development kit.
The configuration parameters of each configuration item of the target software development kit are stored in the configuration file in advance, and the configuration file is sent according to the request of the receiver, so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the module of the electronic device described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
Based on the same inventive concept as the method shown in fig. 1, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory is used for storing a program for executing any of the method embodiments based on fig. 1;
the processor is configured to execute a program stored in the memory.
The electronic equipment provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Based on the same inventive concept as the method shown in fig. 1, an embodiment of the present application provides a computer-readable storage medium storing a program implementing any of the method embodiments based on fig. 1.
The program stored in the computer readable storage medium provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and stores the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Based on the same inventive concept as the method shown in fig. 2, an embodiment of the present application provides an electronic device, including a processor and a memory;
The memory is used for storing a program for executing any of the method embodiments based on fig. 2;
the processor is configured to execute a program stored in the memory.
The electronic equipment provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and sends the configuration file according to the request of the receiver so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the application program, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Based on the same inventive concept as the method shown in fig. 2, an embodiment of the present application provides a computer-readable storage medium storing a program implementing any of the method embodiments based on fig. 2.
The program stored in the computer readable storage medium provided by the embodiment of the application stores the configuration parameters of each configuration item of the target software development kit in the configuration file in advance, and sends the configuration file according to the request of the receiver so that the receiver can store the configuration file in the application program. When the target software development kit is required to be accessed, the configuration file is read from the engineering file, and the management software development kit automatically accesses the target software development kit according to the configuration parameters in the configuration file. Compared with manual access software development kit, the automatic access software development kit has higher efficiency, and avoids access failure caused by human error. In addition, the configuration parameters of each configuration item are prestored in the configuration file, and verification is carried out in the process of automatically accessing the software development kit, so that access failure caused by confusion in the process of changing the version of the application program can be avoided.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program to instruct related hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The embodiments described above are only 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 fall within the scope of the invention.