CN111124924B - API deployment method and device, electronic equipment and storage medium - Google Patents

API deployment method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111124924B
CN111124924B CN201911357263.7A CN201911357263A CN111124924B CN 111124924 B CN111124924 B CN 111124924B CN 201911357263 A CN201911357263 A CN 201911357263A CN 111124924 B CN111124924 B CN 111124924B
Authority
CN
China
Prior art keywords
api
text
grammar
html
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911357263.7A
Other languages
Chinese (zh)
Other versions
CN111124924A (en
Inventor
廖露阳
彭飞
刘亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
58tongcheng Information Technology Co ltd
Original Assignee
58tongcheng 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 58tongcheng Information Technology Co ltd filed Critical 58tongcheng Information Technology Co ltd
Priority to CN201911357263.7A priority Critical patent/CN111124924B/en
Publication of CN111124924A publication Critical patent/CN111124924A/en
Application granted granted Critical
Publication of CN111124924B publication Critical patent/CN111124924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an API deployment method, an API deployment device, electronic equipment and a storage medium, wherein a first grammar text can be written according to the protocol format of an API; converting the first grammar text into an HTML grammar text by using an abstract grammar tree; generating an HTML webpage by utilizing the HTML grammar text; and finally, importing the simulation data corresponding to the API into a server through the HTML webpage and storing the simulation data. The webpage can be utilized to deploy the API, and the dependence on a third party Charles tool is avoided, so that the efficiency of API deployment is improved.

Description

API deployment method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of software development technologies, and in particular, to an API deployment method, an API deployment device, an electronic device, and a storage medium.
Background
The API (Application Programming Interface, application program interface) is a set of standards and specifications for accessing Internet-based services or applications that describe the functionality of the services. The mutual communication between the software can be realized through the API. Of course, before the software formally calls the API, debugging and deployment are performed on the API, so that the API is ensured to realize the service calling function of the corresponding software service.
Currently, developers typically debug and deploy APIs based on Charles tools. The Charles tool is an HTTP proxy server that can monitor all data sent and received by the browser. The Charles tool is installed in a computer, grabs a request for calling the API, and sends corresponding data in the server to the API according to the content of the request. However, there is sometimes no data required by the API in the server, and in order to complete the debugging of the API, it is generally necessary to send local data for simulation to the API by means of a Charles tool, so as to simulate a process of sending the data in the server to the API, and further complete the debugging and deployment of the API.
However, in the above method for debugging and deploying the API, the third party Charles tool is relied on, and the Charles tool is configured before being used, so that the total time for debugging and deploying the API is increased, and the efficiency of debugging and deploying the API is reduced.
Disclosure of Invention
The invention provides an API (application program interface) deployment method, an API deployment device, electronic equipment and a storage medium, which are used for solving the problem that the total time of API debugging deployment is increased due to the fact that the current API debugging deployment method depends on a third party Charles tool.
In a first aspect, the present invention provides an API deployment method, including:
writing a first grammar text according to a protocol format of an API, wherein the first grammar text is used for realizing description of the API, and the first grammar text describes the API by using marks;
converting the first grammar text into an HTML grammar text by using an abstract grammar tree;
generating an HTML webpage by utilizing the HTML grammar text, wherein the HTML webpage is used for showing paraphrasing of specific fields of the API and corresponding data;
and importing simulation data corresponding to the API into a server through the HTML webpage to be stored, wherein the simulation data is pre-created data according to the return value of the API.
With reference to the first aspect, in an implementation manner of the first aspect, the first grammatical text is text edited based on a Markdown grammar.
With reference to the first aspect, in an implementation manner of the first aspect, the step of importing, through the HTML web page, simulation data corresponding to the API into a server to store the simulation data includes:
determining a return value of the API according to the content of the HTML webpage;
simulating the same simulation data as the return value by using a machine;
importing the simulation data into the HTML webpage;
and importing the simulation data into the server by using the HTML webpage and storing the simulation data.
With reference to the first aspect, in an implementation manner of the first aspect, after the importing the simulation data into the server with the HTML web page for saving, the method includes:
if the return value already exists in the server, the return value in the server is overridden with the simulated data.
With reference to the first aspect, in an implementation manner of the first aspect, the step of converting the first syntax text into HTML syntax text using an abstract syntax tree includes:
generating an abstract syntax tree according to the first syntax text, wherein the abstract syntax tree is used for representing each marked logic relation in the first syntax text in a tree structure mode;
converting the format of each tag in the abstract syntax tree into an HTML format;
and generating an HTML grammar file by using each mark after format conversion.
In a second aspect, the present invention provides an API deployment apparatus comprising:
the text writing module is used for writing a first grammar text according to the protocol format of the API, wherein the first grammar text is used for realizing the description of the API, and the first grammar text describes the API by using marks;
the text conversion module is used for converting the first grammar text into an HTML grammar text by utilizing an abstract grammar tree;
the webpage generation module is used for generating an HTML webpage by utilizing the HTML grammar text, and the HTML webpage is used for displaying the paraphrasing of the specific fields of the API and corresponding data;
and the data storage module is used for importing the simulation data corresponding to the API into a server through the HTML webpage to store, wherein the simulation data is created in advance according to the return value of the API.
With reference to the second aspect, in an implementation manner of the second aspect, the first grammatical text compiled by the text compiling module is text compiled based on Markdown grammatical.
With reference to the second aspect, in an implementation manner of the second aspect, the data saving module includes:
the return value determining unit is used for determining the return value of the API according to the content of the HTML webpage;
the data simulation unit is used for simulating simulation data which are the same as the return value by using a machine;
a data importing unit for importing the simulation data into the HTML web page;
and the data storage unit is used for importing the simulation data into the server for storage by utilizing the HTML webpage.
With reference to the second aspect, in an implementation manner of the second aspect, the data saving unit is further configured to: the return value in the server is overridden with the analog data when the return value already exists in the server.
With reference to the second aspect, in an implementation manner of the second aspect, the text conversion module includes:
a grammar tree generating unit, configured to generate an abstract grammar tree according to the first grammar text, where the abstract grammar tree is used to represent a logical relationship of each tag in the first grammar text in a tree structure manner;
a format conversion unit, configured to convert the format of each tag in the abstract syntax tree into an HTML format;
and a grammar file generating unit for generating an HTML grammar file by using each mark after the format conversion.
In a third aspect, the present invention provides an electronic device, comprising: a memory for storing program instructions;
and the processor is used for calling and executing the program instructions in the memory to realize the API deployment method of the first aspect.
In a fourth aspect, the present invention provides a storage medium having a computer program stored therein, the API deployment apparatus executing the API deployment method of the first aspect when the computer program is executed by at least one processor of the API deployment apparatus.
According to the technical scheme, the API deployment method, the device, the electronic equipment and the storage medium provided by the invention can write the first grammar text according to the protocol format of the API; converting the first grammar text into an HTML grammar text by using an abstract grammar tree; generating an HTML webpage by utilizing the HTML grammar text; and finally, importing the simulation data corresponding to the API into a server through the HTML webpage and storing the simulation data. The webpage can be utilized to deploy the API, and the dependence on a third party Charles tool is avoided, so that the efficiency of API deployment is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flowchart of an API deployment method provided by an embodiment of the present invention;
FIG. 2 is a flow chart of storing analog data according to an embodiment of the present invention;
FIG. 3 is a flow chart of text conversion provided by an embodiment of the present invention;
FIG. 4 is a block diagram of an API deployment apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Currently, developers usually debug and deploy the API based on Charles tools, however, depending on the Charles tools of a third party, the total time of the API debugging and deploying is increased, and the efficiency of the API debugging and deploying is further reduced. Therefore, the embodiment of the invention provides an API deployment method, which can deploy APIs by using web pages, avoid using Charles tools and improve the deployment efficiency of the APIs.
Fig. 1 is a flowchart of an API deployment method according to an embodiment of the present invention. As shown in fig. 1, the API deployment method provided by the embodiment of the present invention includes:
s101, writing a first grammar text according to a protocol format of an API, wherein the first grammar text is used for realizing description of the API, and the first grammar text is used for describing the API by using marks. Further, the first grammar text may be text edited based on Markdown grammar, and specifically, the grammar text is actually a programming text.
In the embodiment of the invention, the first grammar text is written by using a concise markup language, and the markup language used can be but is not limited to MarkDown language. The protocol format of the API may be an HTTP format, and the first syntax text encoded according to the format requirement is a markup language text in the HTTP format. HTTP is a simple request-response protocol that specifies what messages a client might send to a server and what responses get.
S102, converting the first grammar text into an HTML grammar text by using an abstract grammar tree.
An abstract syntax tree is an abstract representation of the syntax structure of source code, which represents the syntax structure of a programming language in the form of a tree, each node on the tree representing a structure in the source code. In the embodiment of the invention, each mark in the first grammar text is represented by a node of a tree structure, and the marks also represent the grammar structure relation of the first grammar file in a tree form.
After the first grammar text is expressed into an abstract grammar tree, each mark in the grammar tree is converted into an HTML grammar format, and the structure of the grammar tree is not changed, so that the structural relationship or the logic relationship of the converted HTML grammar is not changed and still accords with the protocol requirement of an API. HTML is a hypertext markup language that includes a series of tags by which document formats on a network can be unified, making discrete Internet resources connected as a logical entity.
S103, generating an HTML webpage by utilizing the HTML grammar text, wherein the HTML webpage is used for showing the definition of the specific field of the API and corresponding data.
The HTML webpage generated in the embodiment of the invention is a webpage with editable content, the webpage displays related data content of the API, the filling and modification of data are supported, the HTML webpage and the server can realize data transmission, and the content on the webpage can be transmitted to the server for storage.
S104, importing simulation data corresponding to the API into a server through the HTML webpage to be stored, wherein the simulation data is created in advance according to the return value of the API, and the data plays a role in testing in the embodiment of the invention and is used for replacing the return value of the API so as to complete the deployment task of the API.
Typically, after a client calls an API, the API returns online data corresponding to the service in a service, where the data is called a return value, and the return value is used as data required by the service. The return values of APIs are typically obtained from the server, but some are not in the server, in which case it is difficult to determine which return values are present in the server for the API deployment, and thus it is difficult to ensure that each deployed API can obtain the return value. In the embodiment of the invention, when the APIs are deployed, in order to ensure that each API can obtain the return value, the return value of each API is simulated in advance, and all the simulated data are stored in the server, so that each API can obtain the response return value from the server in actual use.
According to the API deployment method provided by the embodiment of the invention, the first grammar text can be written according to the protocol format of the API; converting the first grammar text into an HTML grammar text by using an abstract grammar tree; generating an HTML webpage by utilizing the HTML grammar text; and finally, importing the simulation data corresponding to the API into a server through the HTML webpage and storing the simulation data. The webpage can be utilized to deploy the API, and the dependence on a third party Charles tool is avoided, so that the efficiency of API deployment is improved.
Fig. 2 is a flowchart of storing analog data according to an embodiment of the present invention. As shown in fig. 2, in the embodiment of the present invention, the step of importing, through the HTML web page, the simulation data corresponding to the API into the server for saving includes:
s201, determining the return value of the API according to the content of the HTML webpage.
The HTML webpage corresponding to the API in the embodiment of the invention displays the related content and data of the API, and according to the content and the data, the return value to be obtained by calling the API by the client can be determined. Or the name of the API corresponding to the specific service is displayed on the HTML webpage, and the return value required by the client when calling the API can be determined according to the function realized by the service or the name of the API.
S202, simulating the same simulation data as the return value by using a machine.
The machine according to embodiments of the present invention may be an analog data generator with which analog data may be generated.
S203, importing the simulation data into the HTML webpage.
The HTML webpage in the embodiment of the invention not only contains definition about specific fields of the API, but also comprises data corresponding to each field, and the information of the API can be modified and deleted on the HTML webpage. In addition, the HTML web page also supports importation of analog data.
S204, importing the simulation data into the server by using the HTML webpage and storing the simulation data.
The HTML web page and the server communicate by using the HTTP protocol, and analog data can be transmitted to the server.
In addition, after step S204, if the return value already exists in the server, the return value in the server is covered with the simulation data, so that the simulation data are all saved in the server, and because the simulation data are simulated according to the return value of the API, each time the requirement of the API changes, the simulated simulation data change, and further the simulation data can be ensured to be closer to the actual return value of the API, but the return value corresponding to the API already existing in the server cannot be changed along with the requirement of the API, and at this time, the return value in the server needs to be covered and replaced with new simulation data.
The server stores the received simulation data in a database, forms a mapping relation between the simulation data and the name of the API in the database, and can correspondingly return the simulation data according to the name of the API when calling the API.
According to the API deployment method provided by the embodiment of the invention, the simulation data corresponding to the API can be imported into the server through the HTML webpage and stored. The webpage can be utilized to deploy the API, and the dependence on a third party Charles tool is avoided, so that the efficiency of API deployment is improved.
Fig. 3 is a flowchart of text conversion provided in an embodiment of the present invention. As shown in fig. 3, in an embodiment of the present invention, the step of converting the first syntax text into the HTML syntax text by using an abstract syntax tree includes:
s301, generating an abstract syntax tree according to the first syntax text, wherein the abstract syntax tree is used for representing the logic relation of each mark in the first syntax text in a tree structure mode.
In the embodiment of the invention, each mark in the first grammar text is represented by a node of a tree structure, and the marks also represent the grammar structure relationship of the first grammar file in a tree form, namely the logic relationship of the grammar marks.
If the markup language is selected to be the Markdown language in the embodiment of the invention, the generated abstract syntax tree is the logical relationship of the markup in the Markdown syntax.
S302, converting the format of each mark in the abstract syntax tree into an HTML format.
The HTML language in the embodiment of the present invention is also a markup language, so that the grammar file may be a file formed by using markup, but the markup format is different from the markup format in Markdown, so that in the embodiment of the present invention, only the markup format needs to be changed.
S303, generating an HTML grammar file by using each mark after format conversion. The tags after format conversion still have a logical relationship, so the tags can be formed into an HTML grammar file according to the logical relationship, and the grammar file can be executed to generate an HTML web page.
According to the API deployment method provided by the embodiment of the invention, the first grammar text can be written according to the protocol format of the API; converting the first grammar text into an HTML grammar text by using an abstract grammar tree; generating an HTML webpage by utilizing the HTML grammar text; and finally, importing the simulation data corresponding to the API into a server through the HTML webpage and storing the simulation data. The webpage can be utilized to deploy the API, and the dependence on a third party Charles tool is avoided, so that the efficiency of API deployment is improved. In addition, the method provided by the embodiment of the invention reduces the debugging and configuration of Charles tools and improves the efficiency of the software development process.
It should be noted that, the method for deploying the API provided in the embodiment of the present invention may be implemented outside the server, and the deployment of the API is implemented by the API deployment device independently and with the server, and the analog data corresponding to the API is transmitted to the server through the web page; the deployment of the API may also be implemented within the server, for example, it is also possible that all the steps for implementing the API deployment are performed within the server. The embodiment of the invention does not specifically limit the position for realizing the API deployment.
Fig. 4 is a block diagram of an API deployment device according to an embodiment of the present invention. As shown in fig. 4, the API deployment device provided in the implementation of the present invention includes:
a text writing module 41, configured to write a first syntax text according to a protocol format of an API, where the first syntax text is used to implement description of the API, and the first syntax text describes the API with a flag; a text conversion module 42 for converting the first grammar text into HTML grammar text using an abstract grammar tree; a web page generating module 43, configured to generate an HTML web page using the HTML syntax text, where the HTML web page is used to expose paraphrasing of specific fields of the API and corresponding data; and the data storage module 44 is configured to import, through the HTML web page, simulation data corresponding to the API into a server for storage, where the simulation data is created in advance according to a return value of the API.
The text writing module is used for writing a first grammar text written by the text writing module into a text edited based on a MarkDown grammar.
The data storage module comprises: the return value determining unit is used for determining the return value of the API according to the content of the HTML webpage; the data simulation unit is used for simulating simulation data which are the same as the return value by using a machine; a data importing unit for importing the simulation data into the HTML web page; and the data storage unit is used for importing the simulation data into the server for storage by utilizing the HTML webpage.
The data storage unit is further configured to: the return value in the server is overridden with the analog data when the return value already exists in the server.
The text conversion module comprises: a grammar tree generating unit, configured to generate an abstract grammar tree according to the first grammar text, where the abstract grammar tree is used to represent a logical relationship of each tag in the first grammar text in a tree structure manner; a format conversion unit, configured to convert the format of each tag in the abstract syntax tree into an HTML format; and a grammar file generating unit for generating an HTML grammar file by using each mark after the format conversion.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. As shown in fig. 5, an electronic device provided by an embodiment of the present invention includes: a memory 51 for storing program instructions; and a processor 52 for calling and executing the program instructions in the memory to implement the API deployment method described in the above embodiment.
In embodiments of the present invention, processor 52 and memory 51 may be connected by a bus or other means. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk.
The present invention also provides a storage medium having a computer program stored therein, the API deployment apparatus executing the API deployment method described in the above embodiments when the computer program is executed by at least one processor of the API deployment apparatus.
The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the service building apparatus and the service loading apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description in the method embodiments for the matters.
The embodiments of the present invention described above do not limit the scope of the present invention.

Claims (8)

1. An API deployment method, comprising:
writing a first grammar text according to a protocol format of an API, wherein the first grammar text is used for realizing description of the API, and the first grammar text describes the API by using marks;
converting the first grammar text into an HTML grammar text by using an abstract grammar tree;
generating an HTML webpage by utilizing the HTML grammar text, wherein the HTML webpage is used for showing paraphrasing of specific fields of the API and corresponding data;
importing simulation data corresponding to the API into a server through the HTML webpage and storing the simulation data, wherein the simulation data is pre-created data according to the return value of the API;
overlaying the return value in the server with the simulated data if the return value already exists in the server;
the step of importing the simulation data corresponding to the API into a server for storage through the HTML webpage comprises the following steps:
determining a return value of the API according to the content of the HTML webpage;
simulating the same simulation data as the return value by using a machine;
importing the simulation data into the HTML webpage;
and importing the simulation data into the server by using the HTML webpage and storing the simulation data.
2. The method of claim 1, wherein the first grammatical text is Markdown grammar-based edited text.
3. The method of claim 1, wherein the step of converting the first syntax text into HTML syntax text using an abstract syntax tree comprises:
generating an abstract syntax tree according to the first syntax text, wherein the abstract syntax tree is used for representing each marked logic relation in the first syntax text in a tree structure mode;
converting the format of each tag in the abstract syntax tree into an HTML format;
and generating an HTML grammar file by using each mark after format conversion.
4. An API deployment apparatus, comprising:
the text writing module is used for writing a first grammar text according to the protocol format of the API, wherein the first grammar text is used for realizing the description of the API, and the first grammar text describes the API by using marks;
the text conversion module is used for converting the first grammar text into an HTML grammar text by utilizing an abstract grammar tree;
the webpage generation module is used for generating an HTML webpage by utilizing the HTML grammar text, and the HTML webpage is used for displaying the paraphrasing of the specific fields of the API and corresponding data;
the data storage module is used for importing the simulation data corresponding to the API into a server through the HTML webpage to be stored, wherein the simulation data is created in advance according to the return value of the API;
overlaying the return value in the server with the simulated data when the return value already exists in the server;
wherein, the data saving module includes:
the return value determining unit is used for determining the return value of the API according to the content of the HTML webpage;
the data simulation unit is used for simulating simulation data which are the same as the return value by using a machine;
a data importing unit for importing the simulation data into the HTML web page;
and the data storage unit is used for importing the simulation data into the server for storage by utilizing the HTML webpage.
5. The apparatus of claim 4, wherein the first grammatical text compiled by the text authoring module is a Markdown grammar-based edited text.
6. The apparatus of claim 4, wherein the text conversion module comprises:
a grammar tree generating unit, configured to generate an abstract grammar tree according to the first grammar text, where the abstract grammar tree is used to represent a logical relationship of each tag in the first grammar text in a tree structure manner;
a format conversion unit, configured to convert the format of each tag in the abstract syntax tree into an HTML format;
and a grammar file generating unit for generating an HTML grammar file by using each mark after the format conversion.
7. An electronic device, comprising: a memory for storing program instructions;
a processor for calling and executing program instructions in said memory to implement the API deployment method of any of claims 1-3.
8. A storage medium having a computer program stored therein, wherein the API deployment apparatus performs the API deployment method of any of claims 1-3 when the computer program is executed by at least one processor of the API deployment apparatus.
CN201911357263.7A 2019-12-25 2019-12-25 API deployment method and device, electronic equipment and storage medium Active CN111124924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911357263.7A CN111124924B (en) 2019-12-25 2019-12-25 API deployment method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911357263.7A CN111124924B (en) 2019-12-25 2019-12-25 API deployment method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111124924A CN111124924A (en) 2020-05-08
CN111124924B true CN111124924B (en) 2023-05-12

Family

ID=70503982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911357263.7A Active CN111124924B (en) 2019-12-25 2019-12-25 API deployment method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111124924B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860356B (en) * 2021-02-10 2023-08-15 北京百度网讯科技有限公司 API call control method and device, electronic equipment and storage medium
CN115509514B (en) * 2022-11-23 2023-03-10 济南浪潮数据技术有限公司 Front-end data simulation method, device, equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196733A (en) * 2019-06-06 2019-09-03 深圳市伊欧乐科技有限公司 A kind of default API document structure tree method, apparatus, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120897B2 (en) * 2001-07-10 2006-10-10 Microsoft Corporation User control objects for providing server-side code generation from a user-defined dynamic web page content file
US8285702B2 (en) * 2008-08-07 2012-10-09 International Business Machines Corporation Content analysis simulator for improving site findability in information retrieval systems
WO2010048746A1 (en) * 2008-10-31 2010-05-06 Ebay Inc. System and method to test executable instructions
CN102281311B (en) * 2010-06-10 2014-06-04 阿里巴巴集团控股有限公司 Method, system and device for implementing network service based on open application programming interface
US10657317B2 (en) * 2018-02-27 2020-05-19 Elasticsearch B.V. Data visualization using client-server independent expressions
CN108600311B (en) * 2018-03-21 2020-08-04 浙江口碑网络技术有限公司 Method and device for simulating interface data by client

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196733A (en) * 2019-06-06 2019-09-03 深圳市伊欧乐科技有限公司 A kind of default API document structure tree method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN111124924A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
US7870482B2 (en) Web browser extension for simplified utilization of web services
JP6629848B2 (en) Page processing for mobile applications
CN101697139B (en) Method, device and registry for remote procedure call
CN111782330B (en) Page data acquisition method, device and equipment based on Web application
CN110806863A (en) Interface document generation method and device, electronic equipment and storage medium
CN110806868B (en) Single-page building and loading method
CN104714982A (en) Method and system for loading webpage
CN109902247B (en) Page rendering method and device and electronic equipment
CN110221848A (en) APP method for updating pages, device, electronic equipment and storage medium
CN110580174B (en) Application component generation method, server and terminal
CN111124924B (en) API deployment method and device, electronic equipment and storage medium
CN110389755B (en) Code processing method and device, electronic equipment and computer readable storage medium
CN111427583A (en) Component compiling method and device, electronic equipment and computer readable storage medium
CN112114890A (en) Method, device and equipment for processing small program and storage medium
CN113010827A (en) Page rendering method and device, electronic equipment and storage medium
KR20130017337A (en) Hybrid app development platform architecture and test method of the same, and computer-readable recording medium with program for the same
CN114138372A (en) Front-end component loading method and device
CN113495730A (en) Resource package generation and analysis method and device
CN101876998A (en) Method and system for editing data
CN112947900A (en) Web application development method and device, server and development terminal
CN115113869A (en) Online webpage development method and device based on browser
CN108170557B (en) Method and apparatus for outputting information
CN112650492A (en) Rendering method, system and related device of Web page
CN113626392A (en) Method and device for updating document data, electronic equipment and storage medium
CN112765252A (en) Data transmission method, client, terminal, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant