Application program interface information acquisition method and related equipment

By receiving user operations and mapping them to underlying services, and obtaining corresponding API information, the problems of low development efficiency and high promotion costs caused by API documentation complexity are solved, and the purpose of users to quickly understand and use APIs is achieved.

CN119621361APending Publication Date: 2025-03-14BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311172452.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The API documents of the existing promotion information delivery platform are complex, and users need to spend a lot of time and effort to understand and use the correct API request parameters, resulting in low development efficiency and high promotion costs.

Method used

Provides a method for obtaining application program interface information. By receiving user operations, mapped into underlying services, determining the API information corresponding to the underlying services, and outputting it to the user, helping users quickly understand API documents and use the correct API request parameters.

Benefits of technology

It improves users' understanding and use efficiency of the promotion information delivery platform API, reduces the promotion cost of promotion information, and simplifies the interaction process between users and API.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621361A_ABST
    Figure CN119621361A_ABST
Patent Text Reader

Abstract

The invention provides an application program interface information obtaining method. The method comprises the steps that operation from a user is received; mapping the operation into at least one underlying service; determining application program interface information corresponding to the at least one underlying service; and outputting application program interface information corresponding to the at least one underlying service. The invention further provides an application program interface information acquisition device, electronic equipment, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method, device, electronic device, storage medium and program product for acquiring application program interface information. Background Art

[0002] At present, existing promotion information delivery platforms can usually open their capabilities to external developers through application programming interfaces (APIs). The purpose of doing so is to establish a safe, powerful, and rich open ecosystem and continuously improve users' full-link development and operation capabilities.

[0003] Usually, users' understanding of the promotion information delivery platform begins with understanding the API documentation disclosed by the promotion information delivery platform. In other words, before using the promotion information delivery platform, users first need to sort out how to pass API request parameters in different business scenarios. For example, for the promotion information creation interface provided by the promotion information delivery platform, the fields of the request parameters involved are usually more than 100. Moreover, the fields relied on by different business scenarios are not the same. Furthermore, even for the same field, the parameter values ​​passed for each request parameter are different in different business scenarios. This reality has brought great difficulties to users in using the promotion information delivery platform, and understanding the API documentation is both laborious and time-consuming. Therefore, it is particularly important to help users quickly understand the API documentation to improve their development efficiency. Summary of the invention

[0004] In view of this, an embodiment of the present disclosure provides a method for obtaining application program interface information. The method includes: receiving an operation from a user; mapping the operation to at least one underlying service; determining application program interface information corresponding to the at least one underlying service; and outputting the application program interface information corresponding to the at least one underlying service.

[0005] In some embodiments of the present disclosure, the above-mentioned mapping of the operation to at least one underlying service includes: the promotion information delivery client converts the operation into at least one underlying service request based on a pre-set mapping relationship between the operation and the underlying service request; the promotion information delivery client sends the at least one underlying service request to the promotion information delivery platform; and the promotion information delivery platform maps the at least one underlying service request to the at least one underlying service based on the mapping relationship between the underlying service request and the underlying service.

[0006] In some embodiments of the present disclosure, the above-mentioned determining the application program interface information corresponding to the at least one underlying service includes: determining the application program interface information corresponding to the at least one underlying service request based on an application program interface information mapping model.

[0007] In some embodiments of the present disclosure, the above-mentioned application interface information mapping model is obtained by training a machine learning model based on the underlying service interface code of the promotion information delivery platform, the underlying service code of the promotion information delivery platform, and the application interface code of the promotion information delivery platform.

[0008] In some embodiments of the present disclosure, the above-mentioned determination of the application interface information corresponding to the at least one underlying service includes: determining the application interface information corresponding to the at least one underlying service based on a pre-set mapping relationship between the underlying service and the application interface information.

[0009] In some embodiments of the present disclosure, the above-mentioned output of the application interface information corresponding to the at least one underlying service includes: the promotion information delivery platform feeds back the application interface information corresponding to the at least one underlying service to the promotion information delivery client; and the promotion information delivery client displays the application interface information corresponding to the at least one underlying service.

[0010] In some embodiments of the present disclosure, the above-mentioned application program interface information includes: an address of the application program interface, a request method of the application program interface, and request parameter information of the application program interface.

[0011] In some embodiments of the present disclosure, the request parameter information of the above-mentioned application program interface includes: a field, a type, and description information of a request parameter of at least one application program interface.

[0012] In some embodiments of the present disclosure, the above method further includes: the promotion information delivery platform generates promotion information based on the at least one underlying service.

[0013] In some embodiments of the present disclosure, the above operation includes: a promotion information creation operation or a promotion information page screenshot operation.

[0014] Based on the above-mentioned method for obtaining application program interface information, some embodiments of the present disclosure further provide a device for obtaining application program interface information, including:

[0015] An operation receiving module, used for receiving an operation from a user;

[0016] A first mapping module, configured to map the operation to at least one underlying service;

[0017] A second mapping module, configured to determine application program interface information corresponding to the at least one underlying service; and

[0018] The output module is used to output application program interface information corresponding to the at least one underlying service.

[0019] In addition, an embodiment of the present disclosure further provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned application program interface information acquisition method when executing the program.

[0020] An embodiment of the present disclosure further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the above-mentioned application program interface information acquisition method.

[0021] An embodiment of the present disclosure further provides a computer program product, including computer program instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for acquiring application program interface information.

[0022] Through the above-mentioned application program interface information acquisition method and related equipment, in addition to being able to perform corresponding operations on the promotional information on the promotional information delivery platform based on visual operations, users can further obtain API information associated with this operation, thereby enabling users to better understand which API request parameters should be used in a certain business scenario and how to correctly pass the parameter values ​​of each request parameter, etc., thereby improving their work efficiency and reducing the promotion cost of promotional information. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 A schematic diagram of an application scenario of a promotion information delivery platform is shown;

[0025] Figure 2 The implementation process of the API information acquisition method described in some embodiments of the present disclosure is shown;

[0026] Figure 3 The internal structure of the API information acquisition device described in the embodiment of the present disclosure is shown;

[0027] Figure 4A more specific schematic diagram of the hardware structure of an electronic device described in some embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0028] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0029] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0030] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0032] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0033] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0034] As mentioned above, promotional information delivery platforms can usually open their capabilities to external developers through APIs. However, understanding the API documentation provided by the promotional information delivery platform is a laborious and time-consuming task, which greatly affects the work efficiency of promotional information developers and also increases the promotion costs of promotional information.

[0035] In order to improve the work efficiency of promotional information developers, on the basis of the promotional information delivery platform, a promotional information delivery client with a visual operation interface based on the above-mentioned promotional information delivery platform has also appeared. The above-mentioned promotional information delivery client can also be called the front end of the promotional information delivery platform, as an extension of the functions of the promotional information delivery platform. In this case, the above-mentioned promotional information delivery platform can be regarded as the back end. In specific applications, the above-mentioned promotional information delivery client can usually be implemented through an application or a browser.

[0036] Figure 1 The following is a schematic diagram showing an application scenario of the promotion information delivery platform described in the embodiment of the present disclosure. Figure 1 As shown, in some application scenarios, the promotion information developer, that is, the user, can directly call the API 112 provided by the promotion information delivery platform 110 to call the underlying service 114 of the promotion information delivery platform 110, thereby completing operations such as creating promotion information. Such application scenarios are generally suitable for users who are familiar with the API 112 provided by the promotion information delivery platform 110. In addition, since the API 112 provided by the promotion information delivery platform 110 can provide users with more convenient and efficient underlying services such as batch operations, for users who are familiar with the API 112 of the promotion information delivery platform 110, the creation of promotion information by directly calling the API 112 is more efficient.

[0037] In other application scenarios, users can also indirectly call the underlying service 114 of the promotion information delivery platform 110 through the visual operation mode through the visual operation interface 122 provided by the promotion information delivery client 120 to complete the creation of promotion information and other operations. Specifically, the promotion information delivery platform 110 will provide the promotion information delivery client 120 with an underlying service interface 116. After receiving the user's operation, the promotion information delivery client 120 converts the user's operation into a corresponding underlying service request through the internal processing module 124, and calls the underlying service 114 of the promotion information delivery platform 110 through the underlying service interface 116 of the above-mentioned promotion information delivery platform 110, thereby completing the creation of promotion information and other operations. Such application scenarios are generally suitable for users who are not familiar with the API 112 provided by the promotion information delivery platform 110, so that they can complete the creation of promotion information and other operations through the visual operation interface 122 provided by the promotion information delivery client 120, thereby achieving the purpose of facilitating users to use the promotion information delivery platform 110. However, although such an operation mode does not require high user capabilities, its work efficiency is relatively low compared with the mode of directly calling the API 112. Therefore, the familiarity with the API 112 provided by the promotion information delivery platform 110 becomes a key factor affecting the user's work efficiency.

[0038] In order to further improve the user's work efficiency, the embodiment of the present disclosure provides an API information acquisition method, which can acquire and output to the user the API information involved in the visual operation process, including: API address, API request method, API request parameters and their restrictions, etc., so that users who are not familiar with the API 112 provided by the promotion information delivery platform 110 can quickly understand the information of the API 112 provided by the promotion information delivery platform 110 through visual actual operation, thereby helping them to quickly understand the API document provided by the promotion information delivery platform 110, improve their work efficiency, and thus reduce the promotion cost of the promotion information as a whole.

[0039] Figure 2 The implementation process of the method for obtaining application program interface information according to the embodiment of the present disclosure is shown. The above-mentioned method for obtaining application program interface information can be jointly executed by the above-mentioned promotion information delivery platform 110 and the promotion information delivery client 120. Figure 2 As shown, the above-mentioned method for obtaining application program interface information may include the following steps:

[0040] In step 210, an operation from a user is received.

[0041] In the embodiments of the present disclosure, the user can complete various operations on the promotion information through a visual operation mode through the visual operation interface 122 provided by the promotion information delivery client 120. For example, in some embodiments, the above operations may include: promotion information creation operations or promotion information page screenshot operations, etc. Specifically, the above promotion information creation operations may include a series of operations for creating promotion information in any set business scenario, for example, a series of operations for creating download-type promotion information or a series of operations for creating lead-type promotion information, etc.

[0042] In step 220, the above operations are mapped to at least one underlying service.

[0043] It can be understood that since various operations on promotional information are essentially implemented based on the underlying service 114 of the promotional information delivery platform 110, after receiving the operation from the user, the above operation needs to be mapped to at least one underlying service 114 of the promotional information delivery platform 110, so as to finally complete the operation on the promotional information, such as creating promotional information, etc. How to map the above operation to at least one underlying service in the embodiment of the present disclosure will be described in detail later, and will be omitted here for the time being.

[0044] In step 230, API information corresponding to the at least one underlying service is determined.

[0045] As mentioned above, the promotion information delivery platform 110 provides an API 112, and users can call the underlying service 114 of the promotion information delivery platform 110 through the above API 112. Therefore, each underlying service will correspond to one or more API information. In this way, after determining at least one underlying service associated with the received operation, the promotion information delivery platform 110 can further determine the API information corresponding to these underlying services based on the above at least one underlying service. It can be understood that these API information are also API information associated with the received operation.

[0046] In some embodiments of the present disclosure, the above-mentioned API information may specifically include: the address of the API, the request method of the API, and the request parameter information of the API, etc. Among them, the request parameter information of the above-mentioned API may include: the field, type and description of the request parameter, etc. Among them, the restrictions on the request parameters in different business scenarios may also be included in the above description. Specifically, how to determine the API information corresponding to the above-mentioned at least one underlying service in the embodiments of the present disclosure will be described in detail later, which is omitted here for the time being.

[0047] In step 240, API information corresponding to the at least one underlying service is output.

[0048] In an embodiment of the present disclosure, after obtaining the API information corresponding to the at least one underlying service, the obtained API information can be output to the user to prompt the user with the API information associated with the visualization operation performed by the user.

[0049] It can be seen that in the above process, the user first creates promotion information through visual operation. At this time, the promotion information delivery platform 110 will further determine the API information associated with the above creation process or the user's visual operation while creating the corresponding promotion information based on the user's operation, and output it to the user, so that the user can quickly understand the API information associated with the visual operation performed by the user, so as to achieve the purpose of assisting the user to quickly understand the API information, improve their work efficiency and reduce the promotion cost of the promotion information.

[0050] The specific implementation method of each step of the above API information acquisition method will be further described in detail below with reference to specific examples and drawings.

[0051] In an embodiment of the present disclosure, the mapping of the above operation to at least one underlying service in step 220 may specifically include:

[0052] First, the promotion information delivery client 120 converts the above operation into at least one underlying service request based on a preset mapping relationship between the operation and the underlying service request.

[0053] Specifically, during the development of the promotion information delivery client, the underlying service requests triggered by various operations are set in the promotion information delivery client code, that is, the mapping relationship between various operations and underlying service requests is pre-set during the development of the promotion information delivery client. In this way, when a user performs an operation through the visual operation interface provided by the promotion information delivery client, the operation received from the user can be converted into at least one underlying service request based on the mapping relationship between the pre-set operation and the underlying service request.

[0054] Then, the promotion information delivery client 120 sends at least one underlying service request obtained through the conversion to the promotion information delivery platform 110 .

[0055] In the above steps, the promotion information delivery client 120 sends at least one underlying service request obtained through the conversion to the promotion information delivery platform 110 through the underlying service interface 116 provided by the promotion information delivery platform.

[0056] Finally, the promotion information delivery platform 110 maps the at least one underlying service request to the at least one underlying service based on a preset mapping relationship between the underlying service request and the underlying service.

[0057] Similarly, during the development of the promotion information delivery platform 110, the underlying service corresponding to each underlying service request will also be set in the code of the promotion information delivery platform (including the underlying service code and the underlying service interface code), that is, the mapping relationship between the underlying server request and the underlying service is pre-set during the development process of the promotion information delivery platform. In this way, after receiving the underlying service request from the promotion information delivery client 120 through the underlying service interface 116, the promotion information delivery platform 110 can map the received at least one underlying service request to at least one underlying service based on the mapping relationship between the underlying service request and the underlying service. In the embodiment of the present disclosure, it can be considered that the at least one underlying service obtained by mapping is the underlying service corresponding to the visual operation performed by the user in the promotion information delivery client.

[0058] After determining at least one underlying service corresponding to the visual operation performed by the user in the promotion information delivery client, the promotion information delivery platform 110 will generate promotion information based on the at least one underlying service, thereby completing operations such as creation of the promotion information.

[0059] In some embodiments of the present disclosure, the determining of the API information corresponding to the at least one underlying service in the above step 230 may specifically include: determining the API information corresponding to the at least one underlying service request based on an API information mapping model.

[0060] In the embodiment of the present disclosure, the above-mentioned API information mapping model can be obtained by training a machine learning model based on the underlying service interface code of the promotion information delivery platform, the underlying service code of the promotion information delivery platform, and the API code of the promotion information delivery platform. As mentioned above, since the underlying service interface code of the promotion information delivery platform and the underlying service code of the promotion information delivery platform record the calling relationship between the underlying service interface and the underlying service. The API code of the promotion information delivery platform and the underlying service code of the promotion information delivery platform record the calling relationship between the API and the underlying service. Therefore, by using the underlying service interface code of the promotion information delivery platform, the underlying service code of the promotion information delivery platform, and the API code of the promotion information delivery platform as training data to train the machine learning model, an API information mapping model that can complete the mapping between the underlying service request and the API information can be obtained. That is, based on the trained API information mapping model, the API information corresponding to the input underlying service request can be obtained through the input underlying service request, that is, the address of the API corresponding to the input underlying service request, the request method of the API, and the request parameter information of the API (the field, type, and description of the request parameter), etc.

[0061] It should be noted that in other embodiments, in addition to the underlying service interface code of the above-mentioned promotion information delivery platform, the underlying service code of the promotion information delivery platform, and the API code of the promotion information delivery platform, the code of the promotion information delivery client can also be used as training data to train the above-mentioned API information mapping model, so as to directly obtain the mapping relationship between the underlying service interface parameters or various operations and API request parameters. The API information mapping model trained in this way can also be applied to the above-mentioned API information acquisition method, directly using the received underlying service interface parameters or the received operations from the user as input, so as to directly obtain the corresponding API information.

[0062] In some other embodiments of the present disclosure, the determination of the API information corresponding to the at least one underlying service described in the above step 230 may specifically include: determining the application interface information corresponding to the at least one underlying service based on a pre-set mapping relationship between the underlying service and the application interface information.

[0063] As mentioned above, the underlying service interface code of the promotion information delivery platform and the underlying service code of the promotion information delivery platform record the calling relationship between the underlying service interface and the underlying service. The API code of the promotion information delivery platform and the underlying service code of the promotion information delivery platform record the calling relationship between the API and the underlying service. Therefore, the mapping relationship between the underlying service and the API information can also be pre-set during the development stage of the promotion information delivery platform. In this case, in the above step 230, after determining at least one underlying service, the API information corresponding to the above at least one underlying service request can be directly determined based on the pre-set mapping relationship between the underlying service and the API information.

[0064] In some embodiments of the present disclosure, the outputting of the application program interface information corresponding to the at least one underlying service described in the above step 230 may specifically include the following steps.

[0065] First, the promotion information delivery platform feeds back the application program interface information corresponding to the at least one underlying service to the promotion information delivery client.

[0066] Then, the promotion information delivery client displays the application program interface information corresponding to the at least one underlying service.

[0067] Specifically, the promotion information delivery client may display the application program interface information corresponding to the at least one underlying service through a browser plug-in or a page.

[0068] Furthermore, users can also export the above API information and store it locally for joint debugging and verification.

[0069] It can be seen that through the output of the above API information, users can quickly understand the API request parameters associated with the visualization operations they input in a certain business scenario, as well as information such as how to correctly pass parameter values, thereby effectively assisting users to quickly become familiar with the API provided by the promotion information delivery platform 110.

[0070] It can be seen that through the above-mentioned application program interface information acquisition method, in addition to being able to directly operate the promotional information based on visualization operations, the user can further obtain API information associated with this visualization operation, especially the fields, types and request restrictions of the associated API request parameters, etc., which can enable users to understand more quickly and better which API request parameters should be used in a certain business scenario and how to correctly pass the parameter values ​​of each request parameter, etc., so as to improve their work efficiency and reduce the promotion cost of promotion information.

[0071] Furthermore, by repeatedly using the above method in multiple business scenarios, users can quickly understand the API request parameters associated with different business scenarios and the description and restrictions of each request parameter, thereby helping users to quickly understand the API documentation of the promotion information delivery platform and accelerate user access to new capabilities, thereby further improving the promotion efficiency of promotion information and further reducing the promotion cost of promotion information.

[0072] Corresponding to the above method, an embodiment of the present disclosure further discloses a device for acquiring application program interface information. Figure 3 The internal structure of the application program interface information acquisition device described in the embodiment of the present disclosure is shown. Figure 3 As shown, the above-mentioned application program interface information acquisition device may include the following modules:

[0073] An operation receiving module 310 is used to receive an operation from a user;

[0074] A first mapping module 320, configured to map the operation to at least one underlying service;

[0075] A second mapping module 330 is configured to determine application program interface information corresponding to the at least one underlying service; and

[0076] The output module 340 is used to output application program interface information corresponding to the at least one underlying service.

[0077] The specific implementation of each of the above modules can refer to the above methods and drawings, and will not be repeated here. For the convenience of description, the above devices are described in various modules according to their functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or more software and / or hardware. The device of the above embodiment is used to implement the corresponding application program interface information acquisition method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0078] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a head-mounted display device, including: a sensor, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the application program interface information acquisition method described in any of the above embodiments is implemented.

[0079] Figure 4 A more specific hardware structure diagram of a head mounted display device provided in this embodiment is shown, and the device may include: a processor 2010, a memory 2020, an input / output interface 2030, a communication interface 2040, and a bus 2050. The processor 2010, the memory 2020, the input / output interface 2030, and the communication interface 2040 are connected to each other in communication within the device through the bus 2050.

[0080] The processor 2010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0081] The memory 2020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 2020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 2020 and are called and executed by the processor 2010.

[0082] The input / output interface 2030 is used to connect input / output devices to realize information input and output. The input / output devices can be configured in the device as components, or can be externally connected to the device to provide corresponding functions. The input devices can include microphones, various sensors, etc., and the output devices can include displays, speakers, vibrators, indicator lights, etc.

[0083] The communication interface 2040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0084] The bus 2050 includes a path that transmits information between the various components of the device (eg, the processor 2010, the memory 2020, the input / output interface 2030, and the communication interface 2040).

[0085] It should be noted that, although the above device only shows the processor 2010, the memory 2020, the input / output interface 2030, the communication interface 2040, and the bus 2050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0086] The electronic device of the above embodiment is used to implement the corresponding application program interface information acquisition method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0087] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the application interface information acquisition method described in any of the above embodiments.

[0088] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media 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, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0089] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the task processing method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0090] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0091] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0092] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0093] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A method for obtaining application program interface information, comprising: Receive operations from users; Mapping the operation to at least one underlying service; Determining application program interface information corresponding to the at least one underlying service; as well as Output application program interface information corresponding to the at least one underlying service.

2. The method according to claim 1, wherein: Mapping the operation to at least one underlying service comprises: The promotion information delivery client converts the operation into at least one underlying service request based on a preset mapping relationship between the operation and the underlying service request; The promotion information delivery client sends the at least one underlying service request to the promotion information delivery platform; and The promotion information delivery platform maps the at least one underlying service request to the at least one underlying service based on a preset mapping relationship between the underlying service request and the underlying service.

3. The method according to claim 2, wherein: The determining of the application program interface information corresponding to the at least one underlying service comprises: Based on the application program interface information mapping model, application program interface information corresponding to the at least one underlying service request is determined.

4. The method according to claim 3, wherein: The application program interface information mapping model is obtained by training a machine learning model based on the underlying service interface code of the promotion information delivery platform, the underlying service code of the promotion information delivery platform, and the application program interface code of the promotion information delivery platform.

5. The method according to claim 2, wherein: The determining of the application program interface information corresponding to the at least one underlying service comprises: Based on a preset mapping relationship between underlying services and application program interface information, application program interface information corresponding to the at least one underlying service is determined.

6. The method according to claim 1, wherein: The outputting of the application program interface information corresponding to the at least one underlying service comprises: The promotion information delivery platform feeds back application program interface information corresponding to the at least one underlying service to the promotion information delivery client; and The promotion information delivery client displays application program interface information corresponding to the at least one underlying service.

7. The method according to claim 1, wherein: The application program interface information includes: an address of the application program interface, a request method of the application program interface, and request parameter information of the application program interface.

8. The method according to claim 7, wherein: The request parameter information of the application program interface includes: a field, a type and description information of at least one request parameter of the application program interface.

9. The method according to claim 1, further comprising: The promotion information delivery platform generates promotion information based on the at least one underlying service.

10. The method according to claim 1, wherein: The operation includes: a promotion information creation operation or a promotion information page screenshot operation.

11. An application program interface parameter information display device, comprising: An operation receiving module, used for receiving an operation from a user; A first mapping module, configured to map the operation to at least one underlying service; A second mapping module, configured to determine application program interface information corresponding to the at least one underlying service; as well as The output module is used to output application program interface information corresponding to the at least one underlying service.

12. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for obtaining application program interface information as described in any one of claims 1 to 10 is implemented.

13. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method for obtaining application program interface information according to any one of claims 1 to 10.

14. A computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method for obtaining application program interface information according to any one of claims 1 to 10.