CN118051220A - Program configuration processing method and device - Google Patents

Program configuration processing method and device Download PDF

Info

Publication number
CN118051220A
CN118051220A CN202410182553.7A CN202410182553A CN118051220A CN 118051220 A CN118051220 A CN 118051220A CN 202410182553 A CN202410182553 A CN 202410182553A CN 118051220 A CN118051220 A CN 118051220A
Authority
CN
China
Prior art keywords
interface
configuration
data
program
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410182553.7A
Other languages
Chinese (zh)
Inventor
赵冬雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202410182553.7A priority Critical patent/CN118051220A/en
Publication of CN118051220A publication Critical patent/CN118051220A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the specification provides a program configuration processing method and a device, wherein the program configuration processing method comprises the following steps: according to the configuration type of the configuration party for carrying out program configuration based on the application program, interface data and configuration data of the program configuration are determined, under the condition that effective detection of the interface data and the configuration data is passed, interface identification of an interface to be configured is determined based on the interface data, the interface identification is written into a code generation strategy to carry out code generation, a code file is obtained, and a development tool package is generated based on the configuration data and the code file so as to carry out program development of the target application program based on the development tool package.

Description

Program configuration processing method and device
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a program configuration processing method and apparatus.
Background
With the development of mobile application technology, in order to recommend programs and services, a program development kit (Software Development Kit, SDK) is provided for a developer, where the program development kit is a collection of development tools for creating application programs for specific program packages, program frameworks, hardware platforms, operating systems, and the like, and after the development of an application program is completed, related files in the process of developing the application program can be packaged into the program development kit of the application program, and the development kit is subsequently called to modify and adjust the application program.
Disclosure of Invention
One or more embodiments of the present specification provide a program configuration processing method, including: and determining interface data and configuration data of the program configuration according to the configuration type of the program configuration performed by the configuration party based on the application program. And carrying out effective detection on the interface data and the configuration data. If the detection is passed, determining an interface identifier of the interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file. And generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
One or more embodiments of the present specification provide a program configuration processing apparatus including: and the data determining module is configured to determine interface data and configuration data of the program configuration according to the configuration type of the program configuration performed by the configuration party based on the application program. And the effective detection module is configured to effectively detect the interface data and the configuration data. And if the detection passes, the code generation module is operated and configured to determine an interface identifier of the interface to be configured based on the interface data, and write the interface identifier into a code generation strategy to generate codes so as to obtain a code file. And the tool kit generating module is configured to generate a development tool kit based on the configuration data and the code file so as to conduct program development of the target application program under the configuration category based on the development tool kit.
One or more embodiments of the present specification provide a program configuration processing apparatus including: a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: and determining interface data and configuration data of the program configuration according to the configuration type of the program configuration performed by the configuration party based on the application program. And carrying out effective detection on the interface data and the configuration data. If the detection is passed, determining an interface identifier of the interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file. And generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
One or more embodiments of the present specification provide a computer-readable storage medium storing computer-executable instructions that, when executed, implement the following: and determining interface data and configuration data of the program configuration according to the configuration type of the program configuration performed by the configuration party based on the application program. And carrying out effective detection on the interface data and the configuration data. If the detection is passed, determining an interface identifier of the interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file. And generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are needed in the description of the embodiments or of the prior art will be briefly described below, it being obvious that the drawings in the description that follow are only some of the embodiments described in the present description, from which other drawings can be obtained, without inventive faculty, for a person skilled in the art;
FIG. 1 is a schematic diagram of an implementation environment of a program configuration processing method according to one or more embodiments of the present disclosure;
FIG. 2 is a process flow diagram of a method for processing a configuration of a program according to one or more embodiments of the present disclosure;
FIG. 3 is a schematic diagram illustrating the composition of an application program according to one or more embodiments of the present disclosure;
FIG. 4 is a schematic diagram illustrating an efficient detection flow of interface data according to one or more embodiments of the present disclosure;
FIG. 5 is a schematic diagram of an effective detection flow of configuration data according to one or more embodiments of the present disclosure;
FIG. 6 is a schematic diagram illustrating the generation of a code file according to one or more embodiments of the present disclosure;
FIG. 7 is a process diagram of a program configuration processing method applied to a software product configuration scenario according to one or more embodiments of the present disclosure;
FIG. 8 is a process flow diagram of a program configuration process method for application to a software product configuration scenario, provided by one or more embodiments of the present disclosure;
FIG. 9 is a schematic diagram of one embodiment of a program configuration processing apparatus provided in one or more embodiments of the present disclosure;
fig. 10 is a schematic structural diagram of a program configuration processing device according to one or more embodiments of the present disclosure.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive effort, are intended to be within the scope of the present disclosure.
The program configuration processing method provided in one or more embodiments of the present disclosure may be applied to an implementation environment of program configuration processing, where the implementation environment includes at least a server 101 for performing program configuration processing of a target application program, as shown in fig. 1.
In addition, the implementation environment may further include a configurator terminal 102, where the configurator terminal 102 may be a smart phone, a tablet computer, an electronic book reader, a wearable device, an AR (Augmented Reality) based/VR (Virtual Reality) based device for information interaction, and the like, for submitting configuration classes and downloading development kits.
In addition, the implementation environment may further include a server terminal 103, where the server terminal 103 may be a smart phone, a tablet computer, an electronic book reader, a wearable device, an AR (Augmented Reality) based/VR (Virtual Reality) based device for information interaction, and the like, for receiving a configuration category and determining interface data and configuration data.
The server 101 may be one or more servers, a server cluster formed by a plurality of servers, or a cloud server of a cloud computing platform, and is configured to generate a development kit of a target application program according to a configuration category for performing program configuration; the configurator terminal 102 may submit the configuration class through the application data platform, or may download a development kit of the target application under the configuration class in the kit storage area through the application data platform, so as to perform program development;
In this implementation environment, when the configuration party does not select a matched historical application program through the application program data platform of the configuration party terminal 102, the configuration party submits a configuration type for performing program configuration to the server 101, the server 101 determines interface data and configuration data for program configuration according to the configuration type for performing program configuration by the configuration party based on the application program, then effectively detects the interface data and the configuration data, determines an interface identifier of an interface to be configured based on the interface data if the detection passes, and writes the interface identifier into a code generation policy for code generation, so as to obtain a code file, and generates a development kit based on the configuration data and the code file, so as to perform program development of a target application program under the configuration type based on the development kit.
One or more embodiments of a program configuration processing method provided in the present specification are as follows:
In the program configuration processing method provided by the embodiment, in the process of performing program configuration of a target application program, interface data and configuration data of program configuration are determined according to the configuration type of the program configuration performed by a configuration party, the interface data and the configuration data are effectively detected, if the detection passes, code generation is performed based on the interface data and a code generation strategy, a code file is obtained, a development kit is generated based on the configuration data and the code file, program development of the target application program in the configuration type is performed based on the development kit, so that the configuration party can select the configuration type according to requirements, in the process of generating the development kit of the target application program in the configuration type, the code file is generated based on the two data of the interface data and the configuration data through a pre-configured code generation strategy, and then the development kit is generated, so that the code file is automatically generated, the generation efficiency and the accuracy of the code file are improved, and the convenience of the generation of the development kit is further improved.
Referring to fig. 2, the program configuration processing method provided in the present embodiment specifically includes steps S202 to S208.
Step S202, according to the configuration type of the configuration party for performing program configuration based on the application program, interface data and configuration data of the program configuration are determined.
The application program in this embodiment includes application software that provides a certain function, and the application program is installed or downloaded in the terminal, so that the terminal obtains the function of the application program; it should be noted that, the application program in this embodiment may be a computer program running on the terminal to perform some or more specific tasks, and interact with the user through a visual user interface; for example, a third party application; in addition, the application program in the embodiment may also be software provided for meeting application requirements of different fields and different problems of a user, so as to widen the application field of the computer system and amplify the hardware function, and specifically, the application program may be a terminal or a computer program running on the terminal and providing one or more specific works through an interaction application program interacted with the user through a visual user interface, and only the function of the auxiliary terminal or the interaction application program is realized without interacting with the user through the visual user interface; such as payment functions in third party applications. That is, the application program in the present embodiment may be application software or an application service.
The configuration party comprises a mechanism and/or a user with program development requirements; in a specific execution process, the configurator directly downloads a development kit of the application program when needed by providing the application program for the configurator so as to carry out program development of the application program based on the development kit of the application program, but in some scenes, the provided application program cannot meet the requirements of the configurator, in order to improve the perception degree of the configurator, personalized application program configuration is provided for the configurator, and the configurator can carry out personalized program configuration by submitting configuration categories for program configuration; the configuration category comprises a category corresponding to the configuration requirement of the configuration party; for example, an organization may access a credit-based resource lending application that is required to have a query function, a write function, and an update function; the configuration category for performing the program configuration is a credit-based resource lending category including a query function, a write function, and an update function.
In this embodiment, the configuration class of the configuration party performing program configuration based on the application program may be a configuration class of the application program of the configuration party performing the subclass under the existing large class of application program, for example, the application program may be an applet, a life number, a third party application, a web page/mobile application and an IoT (Internet of Things ) that are displayed to the configuration party, and the configuration class of the configuration party performing program configuration based on the application program may be a configuration class of the applet performing program configuration for one or more functions under the large class of applet; for example, program configuration of an applet for medical insurance; in addition, the configuration category for performing program configuration based on the application program may be a configuration category for performing program configuration on the newly added application program by the configurator, continuing to take the application program including the applet, the life number, the third party application, the web page/mobile application and the IoT shown to the configurator as examples, the configurator needs to perform the development of the mini-game, but the shown application program does not include the mini-game, and the configurator performs program configuration based on the application program, including the configuration category for performing program configuration on the application program, which is the mini-game.
In an optional implementation manner provided in this embodiment, before determining interface data and configuration data configured by a program according to a configuration category of the program configuration performed by a configuration party based on an application program, the following operations are further performed:
reading and displaying historical application program data of the application program data platform according to an access request of the configurator to the application program data platform;
And acquiring a program configuration request submitted by the configuration party, wherein the program configuration request comprises a configuration category for performing program configuration based on the application program.
Optionally, the program configuration request is submitted in case the matching of the historical application program with the configuration requirements of the configurator fails.
Specifically, the configurator can access the historical application program data through the application program data platform, directly download the development kit of the historical application program under the condition that the historical application program data contains the historical application program meeting the configuration requirement of the configurator, and enter the configuration category for program configuration through the application program data platform if the historical application program data does not contain the historical application program data meeting the configuration requirement of the configurator.
The application program data platform comprises a platform for displaying application program data, and particularly, the application program data platform can be divided into a configuration side and a service side; the application program data platform of the configuration side is used for displaying application program data, and the configuration side can download development toolkits of application programs corresponding to any application program data based on the application program data platform; the application data platform of the server side refers to an application data platform accessed by the server side providing the application data platform, and the server side can receive the configuration category submitted by the configuration side and integrate the application data based on the application data platform of the server side.
For example, an organization accesses a credit-based resource lending service (credit-based resource lending application program) that is required to have a query function, a write function, and an update function; but the application program data platform does not contain the service data of the credit-based resource lending service, the configuration class of the mechanism for program configuration through the service data platform at the mechanism side is the credit-based resource lending class submission containing the query function, the write function and the update function, and the provider of the service data platform checks the service configuration request of the mechanism for the credit-based resource lending class containing the query function, the write function and the update function through the service data platform at the provider side to perform service configuration.
In the implementation, since the application program data are obtained by integrating the interface data and the configuration data as metadata, in order to improve the convenience and efficiency of program configuration, the interface configuration data of the defined interface can be stored, and the related data of the defined interface can be directly read in the subsequent process of integrating the application program data without re-defining the interface; similarly, configuration data can be stored, so that resource waste and time loss caused by repeated definition are avoided.
In the process of specifically performing program (service) configuration, the target application program needs to perform relevant configuration of interfaces and data because the target application program can realize certain functions; for example, implementing a write function requires making a call to a write interface and determining a file to write data; the interface data in this embodiment includes relevant data of an interface to be configured of the target application program, that is, the integrated target application program having a function corresponding to the configuration class; such as interface identification and interface configuration data including parameters, error codes, etc., required by the interface. The configuration data comprises related data required by the integrated target application program with the function corresponding to the configuration category.
In an optional implementation manner provided in this embodiment, in order to enable an integrated application program to implement a required function, in a process of determining interface data and configuration data configured by a configuration party based on a configuration program category of program configuration of the application program, the following operations are performed:
analyzing the configuration category to obtain at least one program function;
based on the functional characteristics of each program function, determining a function interface identifier and a configuration data identifier corresponding to each program function;
And generating the interface data and the configuration data according to the function interface identifier and the configuration data identifier.
Specifically, analyzing the configuration category to obtain at least one program function, determining a function interface identifier and a configuration data identifier required for realizing each program function, and generating interface data and configuration data according to the function interface identifier and the configuration data identifier; that is, interface data and configuration data for implementing each of at least one program function corresponding to the configuration category are determined.
For example, the server analyzes the configuration category to obtain the query function, the write function and the update function, determines that the query interface and the query file are required for realizing the query function, the write interface and the file to be written are required for realizing the write function, the update interface, the write interface and the file to be updated are required for realizing the update function, determines that the function interface to be defined comprises the query interface, the write interface and the update interface, and the configuration data to be defined comprises the query file, the file to be written and the file to be updated, generates interface data according to the query interface identifier, the write interface identifier and the update interface identifier, and generates configuration data according to the query file identifier, the file identifier to be written and the file identifier to be updated.
Further, in an optional implementation manner provided in this embodiment, the interface data is generated in the following manner:
Reading interface configuration data of a matched interface matched with the functional interface identifier from an interface data set of an application program data platform;
And determining an interface to be integrated according to the interface identifier and the matched interface identifier of the matched interface, and carrying out interface configuration on the interface to be integrated to obtain interface configuration data of the interface to be integrated.
Optionally, the interface data set is composed of interface data contained in historical application data.
Specifically, after the function interface identifiers are obtained, firstly, interface configuration data of a matched interface matched with the function interface identifiers and interface configuration data of an interface to be integrated which is not matched with the interface identifiers in the interface data set in the configuration function interface identifiers are read from the interface data set of the application program data platform, so that each function interface identifier and interface configuration information corresponding to each function interface identifier are obtained, and each interface configuration information corresponding to each function interface identifier is used as interface data for program configuration.
According to the above example, the defined function interfaces comprise a query interface, a write interface and an update interface, firstly, whether the query interface identifier, the write interface identifier and the update interface identifier exist in an interface data set of the service data platform is queried, if the query interface identifier and the write interface identifier exist in the interface data set, interface configuration data corresponding to the query interface identifier and interface configuration data corresponding to the write interface identifier in the interface data set are read, and because the update interface identifier does not exist in the interface data set, the service side can define the interface configuration data corresponding to the update interface identifier through the service data platform of the service side to obtain the interface configuration data corresponding to the update interface identifier, so that the interface configuration data corresponding to the query interface identifier, the write interface identifier, the interface configuration data corresponding to the write interface identifier, and the interface configuration data corresponding to the update interface identifier form the interface data.
After obtaining the interface configuration data of the interface to be integrated, which is not matched with the interface identifier in the interface data set, in order to improve the convenience of use of the interface to be integrated in the subsequent program configuration process, in an optional implementation manner provided in this embodiment, after obtaining the interface configuration data of the interface to be integrated, the interface configuration data of the interface to be integrated is updated to the interface data set.
Optionally, the configuration data in this embodiment includes at least one of the following:
and according to the function configuration data of each program function, which is acquired by the data acquisition strategy corresponding to the configuration data identifier, the function link data of each program function, which is constructed according to the function interface identifier of each program function and the configuration data identifier, is constructed according to the function link identifier of each program function, and the link configuration data of the program configuration, which is constructed according to the function link identifier of each program function.
Specifically, after the configuration data identifier is obtained, the function configuration data of each program function is obtained according to the data obtaining policy of each configuration data identifier, the function link data of each program function is constructed according to the function interface identifier and the configuration data identifier of each program function, and/or the function configuration data, the function link data and/or the link configuration data are used as the configuration data of the program configuration according to the link configuration data constructed according to the function link identifier of each program function.
Optionally, the data acquisition policy includes an interaction acquisition policy, a template acquisition policy, and/or an interaction-template acquisition policy; for example, the query file includes a file provided by the configurator for performing user query, that is, the data acquisition policy corresponding to the query file identifier is an interaction acquisition policy; for another example, the file to be written needs to be written into the processing flow, and the file to be written is determined based on the template of the file to be written; for another example, the mechanism to which the file to be updated is to record updates to the template to be updated, so the data acquisition policy corresponding to the file to be updated is an interaction-template acquisition policy.
It should be noted that, the corresponding relationship between the configuration data identifier and the data acquisition policy and the file template may be configured in advance by the server, which is not described herein.
For example, the configuration category is analyzed to obtain a query function, a write function and an update function, it is determined that the query function needs to be achieved, the write function needs to be achieved, the interface and the file to be written need to be updated, the update function needs to be achieved, the write interface and the file to be updated are achieved, the data acquisition strategy corresponding to the query file is an interactive acquisition strategy, a query file acquisition request is sent to an organization according to the query file identification, the query file returned by the organization is received, the data acquisition strategy corresponding to the file to be written is a template acquisition strategy, a template of the file to be written is read in a template library according to the file identification to be written, the template of the organization is sent to the organization according to the file identification to be updated, the mechanism information is read from the template library according to the file identification to be updated, the mechanism information is written into the template of the file to be updated, the file to be updated is obtained, the query file is used as function configuration data of the query function, the file to be written is read in the template library, the template information and the mechanism information and the file to be updated are used as function configuration data of the update function.
Further, in order to perfect each program function, the characterization of each program function is performed in a function link manner, for example, the query function is realized based on the query function link, the write function is realized based on the write link, the update function is realized based on the update link, and in order to perfect the function link of each program function, the function link data of each program function is constructed according to the function interface identification and the configuration data identification of each program function; for example, the query interface identification and the query file identification combine functional link data constituting a query functional link (link 1); the writing interface identifier and the file identifier to be written are combined to form functional link data of a writing functional link (link 2); the writing interface identifier, the updating interface identifier and the file identifier to be updated are combined to form functional link data of an updating functional link (link 3);
Still further, in order to define the target application program, link configuration data of the program configuration, that is, links included to implement all functions corresponding to the program configuration, is defined, where in this embodiment, the link configuration data includes a link identifier of the link 1, a link identifier of the link 2, and a link identifier of the link 3.
That is, the function configuration data of each program function in this embodiment includes data such as files required for implementing each program function, and the function link data of each program function includes data related to links of each defined program function; the link configuration data of the program configuration includes defined link identifications required to run the target application program.
In the specific execution process, interface data and configuration data of program configuration are determined from the configuration category, namely the configuration requirement, so that the configuration requirement is split into atomic force, and the efficiency of program configuration is improved from the atomic layer. In the process of constructing an application, as shown in fig. 3, an interface of an atomic dimension is first determined, a link is constructed by the interface, and the application is constructed by the link. Wherein,
In addition, step S102 may be replaced by determining interface data and configuration data of the program configuration according to the configuration type of the program configuration performed by the configurator, and forming a new implementation manner with other processing steps provided in the present embodiment.
And step S204, effective detection is carried out on the interface data and the configuration data.
In practice, in order to ensure the accuracy of the metadata (interface data and configuration data), the metadata may be effectively detected after the interface data and configuration data are determined.
In this embodiment, in the interface data and the configuration data, there may be related privacy data related to the configuration party or the user accessing the configuration party, in order to ensure the security and compliance of the interface data and the configuration data, in an optional implementation provided in this embodiment, the effective detection of the interface data and the configuration data may be implemented in the following manner:
detecting whether the interface data and the configuration data meet the admission condition of the application program or not;
If yes, determining that the detection is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
if not, determining that the detection is not passed.
Specifically, whether the interface data and the configuration data are safe or not is judged by configuring the access conditions of the application program, if so, the passing of detection is determined, and if not, the failed detection is determined. Alternatively, the admission condition may be configured by the service party, which is not limited herein.
Whether the interface data and the configuration data meet the admittance conditions of the application program or not can be detected by sending the interface data and the configuration data to an admittance detection user for admittance detection, if the detection result submitted by the admittance detection user is obtained to be the detection passing, determining the interface identification of the interface to be configured based on the interface data, and writing the interface identification into a code generation strategy for code generation to obtain a code file; if the detection result submitted by the admission detection user is not detected and is not passed, the processing is not carried out.
In addition, for the interface data, whether the interface data is safe or not is part of effective detection, whether the interface can be normally invoked is also part of effective detection of the interface data, and because the interface is developed by a service side through codes, whether codes are normal or not is critical to whether the interface can be normally invoked, in an optional implementation manner provided in this embodiment, the following detection is performed on the interface data in addition to detecting whether the admission condition of the application program is met:
performing call detection on the interface to be configured based on the interface data;
If the call detection is passed, performing interface test in at least one running environment based on the interface data;
And under the condition that the test is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file.
In the process of calling and detecting the interface to be configured based on the interface data, the interface data can be sent to a calling and detecting user for calling and detecting, and a detection result submitted by the calling and detecting user is received.
It should be noted that, the effective detection may be performed only on the interface configuration data of the interface to be integrated in the interface data, that is, step S204 may be replaced by performing the effective detection on the interface configuration data of the interface to be integrated in the interface data and the configuration data, and the new implementation manner is formed by the effective detection and other processing steps provided in the embodiment, and in addition, the effective detection may also be performed on the interface configuration data of each interface in the interface data, which is not repeated herein. Optionally, the interface to be integrated includes an interface that is not matched with an interface in the interface set in the program interface of the program configuration.
For interface information, in the process of effective detection, effective detection can be performed by creating a detection worksheet. As shown in the effective detection flow chart of the interface data in fig. 4, for any interface to be integrated, in the process of effectively detecting the interface to be integrated, creating an interface detection work order written with the interface identifier and the interface configuration information of the interface to be integrated, wherein the work order state of the interface detection work order is in editing, after the editing is completed, sending the interface detection work order to a call detection user and an interface admission detection user to effectively detect the interface to be integrated, in the process, if the detection is not passed, updating the work order state of the interface detection work order into editing, if the detection is passed, issuing the interface to be integrated into a DEV Environment for running test, and updating the work order state of the interface detection work order into a DEV test; if the test is not passed, rolling back the interface detection work order, rolling back to an editing state, updating the work order state into rolling back, if the test is passed, updating the work order state of the interface detection work order into DEV passed, releasing the interface to be integrated into a prefire environment for running test, and updating the work order state of the interface detection work order from DEV passed to prefire; if the test fails, rolling back the interface detection work order, rolling back to an editing state, updating the work order state into rolling back, if the test passes, updating the work order state of the interface detection work order from the prefire test to the prefire pass, carrying out on-line release on the interface to be integrated, wherein the work order state in the release process is in-line release, and updating the work order state into a completion state after the on-line release is completed.
It should be noted that, the creation of the interface detection worksheet may be performed for each interface to be integrated in the interface data, or the creation of one interface detection worksheet may be performed for all interfaces to be integrated, or the creation of one interface detection worksheet may be performed for each interface in the interface data, or the creation of one interface detection worksheet may be performed for all interfaces in the interface data, which is not limited herein.
For configuration data, effective detection can be performed by creating a detection worksheet, as shown in an effective detection flow diagram of the configuration data shown in fig. 5, for any file or information, a configuration detection worksheet including key information of the file or information is created, the worksheet state of the configuration detection worksheet is in editing, after the editing is completed, the configuration detection worksheet is sent to a configuration access detection user to perform configuration access detection, in this process, the worksheet state of the configuration detection worksheet is in detection, if the detection fails, the worksheet state of the configuration detection worksheet is updated into editing, if the detection fails, the configuration data corresponding to the configuration detection worksheet is issued on line, and the worksheet state is updated to an unfinished state.
It should be noted that, the configuration detection worksheet may be created for each function configuration data, or the configuration detection worksheet may be created for the configuration data formed by all the function configuration data, which is not described herein.
In practical application, for the interface, the service side develops based on the code, the code refers to whether the code field is accurate or not, for example, the code field can be externally revealed, for example, the interface of the user information is queried, when the information is queried, the queried identity certificate identification and/or contact information belong to the privacy of the user, whether the security check can be externally revealed or not is needed, in addition, the interface also refers to the correctness of the interface definition, namely, whether the interface definition is compliant or not, therefore, the accuracy of the code also needs to be detected; it can be seen that, for the interface, two detection methods are required, namely, detecting the standardization defined by the interface, that is, performing call detection on the interface to be configured, and detecting the security defined by the interface, that is, performing data security detection on the interface to be configured. For configuration data, it is necessary to detect whether the configuration data is required or not, and whether the configuration data is compliant or not.
Based on this, step S204 may be replaced by performing data detection on the interface data and the configuration data according to the data detection policies corresponding to the interface data and the configuration data, and forming a new implementation manner with the other processing steps provided in this embodiment.
Optionally, the data detection of the interface data includes:
Transmitting the interface data to a call detection user for call detection, and transmitting the interface data to an interface admission detection user for interface admission detection;
if the call detection is passed and/or the interface admission detection is not passed, sending the interface data to a server for data modification;
if the call detection is passed and the interface admission detection is passed, performing interface test in at least one running environment based on the interface data;
under the condition that the test is passed, determining that the data detection result of the interface data is the passing of the detection;
and in the case that the test fails, sending the interface data to a service side for data modification.
Optionally, the data detection of the configuration data includes:
the configuration data is sent to a configuration admittance detection user for configuration admittance detection;
If the configuration admittance detection is passed, determining that the data detection result of the configuration data is the detection passing;
and if the configuration admission detection is not passed, sending the configuration data to a service side for data modification.
Step S206, if the detection is passed, determining an interface identifier of the interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes, thereby obtaining a code file.
In a specific implementation, if the effective detection of the interface data and the configuration data is passed, in order to improve the perception degree of the configuration party to the application program data at least including the interface data and the configuration data, in an alternative implementation provided in this embodiment, the following operations are performed:
reading a description document template of the application program, writing the interface data and the configuration data into the description document template, and obtaining a description document of the target application program;
and generating application program data comprising the description document, the interface data and the configuration data, and publishing the application program data to an application program data platform.
Further, in an alternative implementation manner provided in this embodiment, after the application data is published to the application data platform, the following operations are further performed:
Acquiring a program development instruction submitted by the configurator based on the application program data issued by the application program data platform;
And determining an interface identifier of an interface to be configured based on the interface data based on the program development instruction, inputting the interface identifier into a code generation strategy to generate codes, and obtaining a code file.
In a specific execution process, under the condition that interface data and configuration data are effectively detected and passed, determining that a target application program is defined, after the application program is defined, in order to promote the perception degree of a configuration party, firstly reading an explanation document template of the application program, writing the interface data and the configuration data into the explanation document template to obtain an explanation document of the target application program, regenerating the application program data containing the explanation document, the interface data and the configuration data, and issuing the application program data to an application program data platform so that the configuration party can access the application program data through the application program data platform at the configuration party side. For the configuration party, development of the target application program is required by utilizing the development kit, so that if a program development instruction submitted by the configuration party based on application program data issued by the application program data platform is acquired, an interface identification of an interface to be configured is determined based on the interface data, and the interface identification is input into a code generation strategy to generate a code.
Optionally, the description document template includes an application document template, a link access document template, an offline file description document template, and an information description document template, corresponding to the link configuration data in the configuration data, the function link data, the file data in the function configuration data, and the organization information. Specifically, the file data in the configuration data is written into an offline file description document template to obtain an offline file description document, the functional link data in the configuration data is written into a link access document template to obtain a link access document, the information (the mechanism information or the related information provided by the mechanism) in the configuration data is written into an information description document template to obtain an information description document, and the link configuration data in the configuration data is written into an application document template to obtain an application document. It should be noted that, the application program document template, the link access document template, the offline file description document template and the information description document template are configured by the service side in advance according to actual requirements, and this embodiment is not described here again.
The configurator can view the interface data, the configuration data and the description document of the target application program based on the application program data platform, and can also download the SDK of the target application program through the application program data platform, and under the condition that a program development instruction submitted by the configurator for downloading the SDK of the target application program is obtained, code generation is carried out based on the interface data to obtain a code file, namely, the interface data is input into a code generation template to carry out code generation to obtain the code file.
In an optional implementation manner provided in this embodiment, an interface identifier of an interface to be configured is determined based on the interface data, and the interface identifier is input into a code generation policy to generate a code, and in a process of obtaining a code file, the following operations are performed:
determining an interface identifier of each interface to be configured in at least one interface to be configured based on the interface data;
code generation is carried out on the interface identification input code generation templates of the interfaces to be configured, and interface codes of the interfaces to be configured are obtained;
and merging the interface codes to obtain the code file.
Specifically, for each interface to be configured, code generation is performed based on a code generation template, and a code file containing interface codes of at least one interface to be configured is obtained.
As shown in fig. 6, the application 1 is composed of a link 1, a link 2 and a link 3, the link 1 includes an interface 1, the link 2 includes an interface 2, and the link 3 includes an interface 2 and an interface 3, and if the interface to be configured includes the interface 1, the interface 2 and the interface 3, the interface codes of the interface 1, the interface 2 and the interface 3 are generated based on the code generation template, respectively, and a code file composed of the interface code of the interface 1, the interface code of the interface 2 and the interface code of the interface 3 is obtained.
And step S208, generating a development tool package based on the configuration data and the code file so as to conduct program development of the target application program under the configuration category based on the development tool package.
In the implementation, the interface data is triggered to generate a code file through a code generation template, and after the code is written by a server, the code is stored in a corresponding code library and then deployed on a corresponding machine, and after the code file is generated, the code file cannot be stored based on the code library, so that the code file can be stored in an OSS (Object Storage Service ) firstly, then the code file is replaced by a side pull in the OSS, and an SDK is constructed, and in order to ensure the safety of the SDK, the SDK is stored in a maven library of a special storage SDK visible to a configurator, and the configurator downloads the SDK of the target application program through the maven library.
In a specific execution process, compiling processing is performed based on the configuration data and the code file so as to generate a development kit, and after the development kit is downloaded by the configuration party, program development of the target application program corresponding to the configuration type can be performed based on the development kit.
In addition, step S208 may be replaced by compiling the code file based on the interface data and/or the configuration data to generate a development kit, so as to perform program development of the target application program under the configuration category based on the development kit, and form a new implementation with other processing steps provided in the present embodiment.
In summary, in the program configuration processing method provided in this embodiment, after a configuration class for performing program configuration by a configurator is obtained, analysis processing is performed on the configuration class to obtain interface data and configuration data for characterizing a target application program corresponding to the configuration class by an atomic dimension, standardized management capability is provided for the interface data and the configuration data, and the determined interface data and configuration data are performed according to a preset flow specification, and effective detection is performed on the interface data and the configuration data, so as to ensure that the interface data and the configuration data conform to conditions;
Further, after the detection of interface data and configuration data is passed, on the one hand, the interface data and the configuration data are written into the description document template to carry out description document generation to obtain the description document of the target application program, so that the description document is automatically generated based on the description document template and the configuration data, namely, the description document is used, a large amount of manual investment caused by repeated manual generation of the description document is avoided, the cost of manual investment is reduced, and due to certain errors or deviations in the manual generation process, the efficiency of generating the description document can be improved, and the accuracy of the generated description document is improved by adopting an automatic process; after the description document is obtained, the description document, the interface data and the configuration data are sent to the configuration party so that the configuration party can view the description document; on the other hand, the interface data is written into a code generation template to generate a code file, so that the code is generated in an automatic code generation mode, the cost of labor investment in the code generation process is reduced, the code file generation efficiency is improved, meanwhile, the accuracy and the effectiveness of the code file are improved, the code file is compiled based on configuration data on the basis of the code file to generate a development kit of a target application program, and a configuration party can carry out program development of the target application program by downloading the development kit;
It is emphasized that in this embodiment, automation capability is provided, and the description document and the code file are automatically generated through the abstract description document template and the code generation template, so that development efficiency is improved, errors or deviations caused by manually performing document generation and code generation are avoided, and personalized program configuration is realized by performing SDK generation of the target application program according to configuration categories of configuration parties.
In addition, in the process of managing the metadata, a data relationship network can be established, specifically, any data of any atomic dimension such as any interface, any link, any file and the like is established, and the data with the relationship with the data can be queried; for example, the data relationship network of any interface comprises a link for calling the interface, an application program and interface configuration data of the interface, so that the safety and reliability of the data link are ensured.
The following describes the application of the program configuration processing method provided in this embodiment to a software product configuration scene by way of example, and further describes the program configuration processing method provided in this embodiment with reference to fig. 7 to 8, referring to fig. 8, the program configuration processing method applied to the software product configuration scene specifically includes the following steps.
As shown in fig. 7, the configurator submits configuration requirements for configuring a software product based on a software product platform at a configurator side, the server performs metadata management of the software product based on the configuration requirements after acquiring the configuration requirements based on the software product platform at a server side, specifically, interface definition, product definition, link definition, archive management and file management are included, wherein the interface definition includes parameter definition, error code definition and example management, the product definition, link definition, archive management and file management belong to configuration data, the interface definition belongs to interface data, data detection is performed on the interface data according to a data detection policy corresponding to the interface data, the configuration data is subjected to data detection according to a data detection policy corresponding to the configuration data, after the detection is completed, the configuration data is written into an explanation document template to obtain a product document, a link access document, an offline file explanation document and an archive explanation document, the product document, the link access document, the offline file explanation document, the configuration data and the interface data are stored as product data into a database of the software product platform, and the product data in the database is displayed to the configurator side through the software product platform at the configurator side;
In addition, after the interface data and the configuration data are obtained, a code file is generated through the interface data and a code generation template and stored in an OSS, the code file is read from the OSS, and the code file is compiled through different code compilers based on the configuration data, so that SDKs of software products in different languages are obtained and stored in a maven warehouse;
in the event that the user selects the software product, the download of the SDK is performed from the maven repository.
Step S802, according to the configuration type of the configuration party for performing program configuration based on the application program, determining the interface identification and the configuration data of the program configuration.
Step S804, based on the interface identification, reading the interface configuration data of the matched interface from the interface data set, and carrying out data configuration of the interface configuration data on the interface to be integrated to obtain the interface data.
Step S806, data detection is carried out on the interface data and the configuration data according to the data detection strategies corresponding to the interface data and the configuration data.
Step S808, if the data detection is passed, the configuration data is written into the description document template to obtain a description document, and the description document, the interface data and the configuration data are transmitted to the configuration party as product data.
Step S810, according to a product development request submitted by a configurator based on the product data, writing the interface data into a code template to obtain a code file.
In step S812, the code file is compiled based on the configuration data to obtain a development kit of the software product.
Alternatively, the configurator may download the development kit for product development of the software product.
One or more embodiments of a program configuration processing apparatus provided in the present specification are as follows:
In the above-described embodiments, a program configuration processing method and a program configuration processing apparatus corresponding thereto are provided, and the following description is made with reference to the accompanying drawings.
Referring to fig. 9, a schematic diagram of an embodiment of a program configuration processing apparatus provided in this embodiment is shown.
Since the apparatus embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions should be referred to the corresponding descriptions of the method embodiments provided above. The device embodiments described below are merely illustrative.
The present embodiment provides a program configuration processing apparatus including:
A data determining module 902 configured to determine interface data and configuration data of a program configuration based on a configuration category of the program configuration by a configurator;
A valid detection module 904 configured to valid detect the interface data and the configuration data;
If the detection passes, a code generation module 906 is operated, the code generation module 906 is configured to determine an interface identifier of an interface to be configured based on the interface data, and write the interface identifier into a code generation policy to generate a code, so as to obtain a code file;
A tool package generating module 908 is configured to generate a development tool package based on the configuration data and the code file, so as to perform program development of the target application program under the configuration category based on the development tool package.
One or more embodiments of a program configuration processing apparatus provided in the present specification are as follows:
In correspondence to a program configuration processing method described above, one or more embodiments of the present disclosure further provide a program configuration processing apparatus for executing the program configuration processing method provided above, and fig. 10 is a schematic structural diagram of a program configuration processing apparatus provided in one or more embodiments of the present disclosure, based on the same technical concept.
The program configuration processing device provided in this embodiment includes:
As shown in fig. 10, the program configuration processing device may have a relatively large difference due to different configurations or performances, and may include one or more processors 1001 and a memory 1002, where the memory 1002 may store one or more storage applications or data. Wherein the memory 1002 may be transient storage or persistent storage. The application programs stored in memory 1002 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a program configuration processing device. Still further, the processor 1001 may be configured to communicate with the memory 1002 and execute a series of computer executable instructions in the memory 1002 on a program configuration processing device. The program configuration processing device may also include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input/output interfaces 1005, one or more keyboards 1006, etc.
In a particular embodiment, a program configuration processing device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the program configuration processing device, and the execution of the one or more programs by the one or more processors comprises computer-executable instructions for:
determining interface data and configuration data of program configuration according to the configuration type of the program configuration performed by a configuration party based on an application program;
performing effective detection on the interface data and the configuration data;
if the detection is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
and generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
One or more embodiments of a computer-readable storage medium provided in the present specification are as follows:
Corresponding to an order payment processing method described above, one or more embodiments of the present disclosure further provide a computer-readable storage medium based on the same technical concept.
The computer readable storage medium provided in this embodiment is configured to store computer executable instructions, where the computer executable instructions when executed implement the following procedures:
determining interface data and configuration data of program configuration according to the configuration type of the program configuration performed by a configuration party based on an application program;
performing effective detection on the interface data and the configuration data;
if the detection is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
and generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
It should be noted that, in the present specification, the embodiments about the computer readable storage medium and the embodiments about the program configuration processing method in the present specification are based on the same inventive concept, so that the specific implementation of this embodiment may refer to the implementation of the foregoing corresponding method, and the repetition is not repeated.
In this specification, each embodiment is described in a progressive manner, and the same or similar parts of each embodiment are referred to each other, and each embodiment focuses on the differences from other embodiments, for example, an apparatus embodiment, and a storage medium embodiment, which are all similar to a method embodiment, so that description is relatively simple, and relevant content in reading apparatus embodiments, and storage medium embodiments is referred to the part description of the method embodiment.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the 30 s of the 20 th century, improvements to one technology could clearly be distinguished as hardware improvements (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or procedural improvements (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable GATE ARRAY, FPGA)) is an integrated circuit whose logic functions are determined by user programming of the device. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by a "logic compiler (logic compiler)" program, which is similar to a program compiler used in program development and writing, and the original code before being compiled is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but HDL is not only one but a plurality of kinds, such as ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language), and VHDL (Very-High-SPEED INTEGRATED Circuit Hardware Description Language) and Verilog are most commonly used at present. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., program or firmware) executable by the (micro) processor, logic gates, switches, application SPECIFIC INTEGRATED Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either program modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented by a computer chip or entity, or by a program having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each unit may be implemented in the same program or programs and/or hardware when implementing the embodiments of the present specification.
One skilled in the art will appreciate that one or more embodiments of the present description may be provided as a method, system, or computer program. Accordingly, one or more embodiments of the present specification may take the form of an entirely hardware embodiment, an entirely program embodiment, or an embodiment combining program and hardware aspects. Furthermore, the present description may take the form of a computer program embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
One or more embodiments of the present specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended to limit the present disclosure. Various modifications and changes may occur to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.

Claims (14)

1. A program configuration processing method, comprising:
determining interface data and configuration data of program configuration according to the configuration type of the program configuration performed by a configuration party based on an application program;
performing effective detection on the interface data and the configuration data;
if the detection is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
and generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
2. The program configuration processing method according to claim 1, wherein the determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation policy to perform code generation, and before executing the code file obtaining operation, further comprises:
reading a description document template of the application program, writing the interface data and the configuration data into the description document template, and obtaining a description document of the target application program;
and generating application program data comprising the description document, the interface data and the configuration data, and publishing the application program data to an application program data platform.
3. The program configuration processing method according to claim 2, said generating application data including said description document, said interface data, and said configuration data, and issuing said application data to an application data platform operation for execution, further comprising:
Acquiring a program development instruction submitted by the configurator based on the application program data issued by the application program data platform;
And executing the interface identification of the interface to be configured based on the interface data based on the program development instruction, inputting the interface identification into a code generation strategy to generate codes, and obtaining code file operation.
4. The program configuration processing method according to claim 1, wherein the determining an interface identifier of an interface to be configured based on the interface data, and inputting the interface identifier into a code generation policy to generate a code, and obtaining a code file, includes:
determining an interface identifier of each interface to be configured in at least one interface to be configured based on the interface data;
code generation is carried out on the interface identification input code generation templates of the interfaces to be configured, and interface codes of the interfaces to be configured are obtained;
and merging the interface codes to obtain the code file.
5. The program configuration processing method according to claim 1, wherein the determining interface data and configuration data of the program configuration according to a configuration program category of the program configuration by the configurator based on the application program includes:
analyzing the configuration category to obtain at least one program function;
based on the functional characteristics of each program function, determining a function interface identifier and a configuration data identifier corresponding to each program function;
And generating the interface data and the configuration data according to the function interface identifier and the configuration data identifier.
6. The program configuration processing method according to claim 5, the configuration data comprising at least one of:
and according to the function configuration data of each program function, which is acquired by the data acquisition strategy corresponding to the configuration data identifier, the function link data of each program function, which is constructed according to the function interface identifier of each program function and the configuration data identifier, is constructed according to the function link identifier of each program function, and the link configuration data of the program configuration, which is constructed according to the function link identifier of each program function.
7. The program configuration processing method according to claim 5, wherein the interface data is generated by:
Reading interface configuration data of a matched interface matched with the functional interface identifier from an interface data set of an application program data platform;
And determining an interface to be integrated according to the interface identifier and the matched interface identifier of the matched interface, and carrying out interface configuration on the interface to be integrated to obtain interface configuration data of the interface to be integrated.
8. The program configuration processing method according to claim 1, the effective detection of the interface data and the configuration data, comprising:
detecting whether the interface data and the configuration data meet the admission condition of the application program or not;
if yes, determining that the detection is passed.
9. The program configuration processing method according to claim 8, further comprising:
performing call detection on the interface to be configured based on the interface data;
If the call detection is passed, performing interface test in at least one running environment based on the interface data;
And under the condition that the test is passed, executing the interface identification of the interface to be configured based on the interface data, writing the interface identification into a code generation strategy to generate codes, and obtaining code file operation.
10. The program configuration processing method according to claim 1, wherein before the step of determining interface data and configuration data of the program configuration is performed according to a configuration category of the program configuration performed by the configurator based on the application program, further comprising:
reading and displaying historical application program data of the application program data platform according to an access request of the configurator to the application program data platform;
acquiring a program configuration request submitted by the configuration party, wherein the program configuration request comprises a configuration category for performing program configuration based on the application program;
Wherein the program configuration request is submitted in case the matching of the historical application program with the configuration requirements of the configurator fails.
11. The program configuration processing method according to claim 7, wherein the determining an interface to be integrated according to the interface identifier and the matching interface identifier of the matching interface and performing interface configuration on the interface to be integrated, after performing the operation of obtaining the interface configuration data of the interface to be integrated, further comprises:
and updating the interface configuration data of the interface to be integrated to the interface data set.
12. A program configuration processing apparatus comprising:
The data determining module is configured to determine interface data and configuration data of program configuration according to the configuration type of the program configuration performed by the configuration party based on the application program;
A valid detection module configured to valid detect the interface data and the configuration data;
If the detection is passed, a code generation module is operated, and the code generation module is configured to determine an interface identifier of an interface to be configured based on the interface data, and write the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
And the tool kit generating module is configured to generate a development tool kit based on the configuration data and the code file so as to conduct program development of the target application program under the configuration category based on the development tool kit.
13. A program configuration processing apparatus comprising:
A processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to:
determining interface data and configuration data of program configuration according to the configuration type of the program configuration performed by a configuration party based on an application program;
performing effective detection on the interface data and the configuration data;
if the detection is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
and generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
14. A computer-readable storage medium storing computer-executable instructions that, when executed, implement the following:
determining interface data and configuration data of program configuration according to the configuration type of the program configuration performed by a configuration party based on an application program;
performing effective detection on the interface data and the configuration data;
if the detection is passed, determining an interface identifier of an interface to be configured based on the interface data, and writing the interface identifier into a code generation strategy to generate codes so as to obtain a code file;
and generating a development tool package based on the configuration data and the code file, so as to conduct program development of the target application program under the configuration category based on the development tool package.
CN202410182553.7A 2024-02-18 2024-02-18 Program configuration processing method and device Pending CN118051220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410182553.7A CN118051220A (en) 2024-02-18 2024-02-18 Program configuration processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410182553.7A CN118051220A (en) 2024-02-18 2024-02-18 Program configuration processing method and device

Publications (1)

Publication Number Publication Date
CN118051220A true CN118051220A (en) 2024-05-17

Family

ID=91053266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410182553.7A Pending CN118051220A (en) 2024-02-18 2024-02-18 Program configuration processing method and device

Country Status (1)

Country Link
CN (1) CN118051220A (en)

Similar Documents

Publication Publication Date Title
CN107038042B (en) Service execution method and device
CN106559438B (en) Program uploading method and device based on target network platform
AU2018310287A1 (en) Smart contract processing method and apparatus
CN110569428B (en) Recommendation model construction method, device and equipment
CN111400681B (en) Data authority processing method, device and equipment
CN112488855A (en) Business verification method and equipment based on rule template
CN107479868B (en) Interface loading method, device and equipment
CN111858727A (en) Multi-data-source data export system and method based on template configuration
CN110992040A (en) Transaction processing method, device and equipment
CN114547024A (en) SQL statement risk detection method, device, equipment and medium
CN111611022A (en) Data processing method, device, equipment and system for applet application
CN112258295A (en) Recording processing method, device and equipment
CN110022351B (en) Service request processing method and device
CN109409037B (en) Method, device and equipment for generating data confusion rule
CN118051220A (en) Program configuration processing method and device
CN107992749B (en) Method and device for detecting conflict of patch packages
CN115809193A (en) Front-end reverse abnormal data robustness detection method, device and storage medium
CN113435950B (en) Bill processing method and device
CN110874322A (en) Test method and test server for application program
CN112181798B (en) Data recording method and device
Soleimanifard et al. Procedure-modular specification and verification of temporal safety properties
CN113703728B (en) Micro-component business processing method, device and equipment for assisting research and development
CN114546524B (en) Application authority processing method and device
CN117421036A (en) Component management method, device, electronic equipment and computer readable storage medium
CN117555586B (en) Algorithm application publishing, managing and scoring method

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