CN111124924A - API (application program interface) deployment method and device, electronic equipment and storage medium - Google Patents
API (application program interface) deployment method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111124924A CN111124924A CN201911357263.7A CN201911357263A CN111124924A CN 111124924 A CN111124924 A CN 111124924A CN 201911357263 A CN201911357263 A CN 201911357263A CN 111124924 A CN111124924 A CN 111124924A
- Authority
- CN
- China
- Prior art keywords
- api
- text
- html
- grammar
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses an API (application program interface) deployment method, an API deployment device, electronic equipment and a storage medium, wherein a first syntax text can be compiled 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 for storage through the HTML webpage. The API can be deployed by utilizing the webpage, dependence on a third-party Charles tool is avoided, and the API deployment efficiency is further improved.
Description
Technical Field
The invention relates to the technical field of software development, in particular to an API (application program interface) deployment method, an API deployment device, electronic equipment and a storage medium.
Background
An API (Application Programming Interface) is a set of standards and specifications for accessing Internet-based services or applications, which describes the functionality of the service. Intercommunication between the software can be realized through the API. Certainly, before the software formally calls the API, the API needs to be debugged and deployed, so that the API can realize the service call function of the corresponding software service.
At present, developers usually 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, captures a request for calling the API, and then sends corresponding data in the server to the API according to the content of the request. However, there is no data needed by the API in the server, and in order to complete debugging of the API, it is usually necessary to transmit local data for simulation to the API by means of a Charles tool, so as to simulate a process of transmitting data in the server to the API, thereby completing debugging deployment of the API.
However, the debugging deployment method of the API described above relies on the third party Charles tool, and the Charles tool needs to be 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, and aims to solve the problem that the total time of API debugging deployment is increased because the conventional 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 syntax text according to a protocol format of an API, wherein the first syntax text is used for realizing description of the API, and the first syntax text describes the API by using a mark;
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 displaying paraphrases and corresponding data of specific fields of the API;
and importing the simulation data corresponding to the API into a server for storage through the HTML webpage, wherein the simulation data are data created in advance according to the return value of the API.
With reference to the first aspect, in an implementation manner of the first aspect, the first grammar text is a 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 webpage, the simulation data corresponding to the API into a server for storage includes:
determining a return value of the API according to the content of the HTML webpage;
simulating the simulation data which is the same as the return value by using a machine;
importing the simulation data into the HTML webpage;
and importing the analog data into the server by using the HTML webpage for storage.
With reference to the first aspect, in an implementation manner of the first aspect, after the importing, by using the HTML web page, the analog data into the server for storage includes:
overwriting the return value in the server with the simulation data if the return value already exists in the server.
With reference to the first aspect, in an implementation manner of the first aspect, the step of converting the first syntax text into an HTML syntax text by 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 the logical relation of each mark in the first syntax text in a tree-like structure manner;
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 deploying apparatus, including:
the text writing module is used for writing a first syntax text according to the protocol format of the API, wherein the first syntax text is used for realizing the description of the API, and the first syntax text describes the API by using a mark;
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 generating module is used for generating an HTML webpage by utilizing the HTML grammar text, and the HTML webpage is used for displaying paraphrases and corresponding data of specific fields of the API;
and the data storage module is used for importing the simulation data corresponding to the API into a server through the HTML webpage for storage, wherein the simulation data are data 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 grammar text written by the text writing module is a text edited based on Markdown grammar.
With reference to the second aspect, in an implementation manner of the second aspect, the data saving module includes:
a return value determining unit, configured to determine a return value of the API according to the content of the HTML web page;
the data simulation unit is used for simulating the simulation data which is the same as the return value by using a machine;
the data import unit is used for importing the simulation data into the HTML webpage;
and the data storage unit is used for importing the analog data into the server by using the HTML webpage for storage.
With reference to the second aspect, in an implementable manner of the second aspect, the data saving unit is further configured to: overwriting the return value in the server with the simulation 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 syntax tree generating unit, configured to generate an abstract syntax tree according to the first syntax text, where the abstract syntax tree is used to represent a logical relationship of each tag in the first syntax text in a tree-like structure;
the format conversion unit is used for converting the format of each mark in the abstract syntax tree into an HTML format;
and the grammar file generating unit is used for generating an HTML grammar file by using each mark after format conversion.
In a third aspect, the present invention provides an electronic device, comprising: a memory for storing program instructions;
a processor, configured to call and execute the program instructions in the memory to implement the API deployment method according to the first aspect.
In a fourth aspect, the present invention provides a storage medium, in which a computer program is stored, and when at least one processor of an API deployment apparatus executes the computer program, the API deployment apparatus executes the API deployment method according to the first aspect.
According to the technical scheme, the API deployment method, the API deployment device, the electronic equipment and the storage medium can compile a 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 for storage through the HTML webpage. The API can be deployed by utilizing the webpage, dependence on a third-party Charles tool is avoided, and the API deployment efficiency is further improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any inventive exercise.
Fig. 1 is a flowchart of an API deployment method according to an embodiment of the present invention;
FIG. 2 is a flow chart of saving simulation 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
At present, developers usually debug and deploy the API based on Charles tools, but relying on third party Charles tools can increase the total time for debugging and deploying the API, thereby reducing the efficiency of debugging and deploying the API. Therefore, the embodiment of the invention provides an API deployment method, which can deploy the API by using a webpage, avoid using a Charles tool and improve the API deployment efficiency.
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 in the embodiment of the present invention includes:
s101, according to a protocol format of an API, writing a first syntax text, wherein the first syntax text is used for realizing description of the API, and the first syntax text describes the API by using a mark. Further, the first grammar text may be a text edited based on a Markdown grammar, and in particular, 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 used markup language 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 written 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 may send to a server and what responses it gets.
And 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 the source code, which represents the syntax structure of the programming language in the form of a tree, where each node on the tree represents 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 mark also represents the grammar structure relation of the first grammar file in the tree form.
After the first grammar text is expressed into the abstract grammar tree, each mark in the grammar tree is converted into the format of the HTML grammar, and the structure of the grammar tree is not changed, so that the structural relation or the logical relation of the converted HTML grammar is not changed and still meets the protocol requirement of the API. HTML is a hypertext markup language, including a series of tags, through which documents on the network can be unified in format, so that scattered Internet resources are connected into a logical whole.
S103, generating an HTML webpage by using the HTML grammar text, wherein the HTML webpage is used for displaying paraphrases and corresponding data of specific fields of the API.
The HTML webpage generated in the embodiment of the invention is a webpage with editable content, the webpage displays the related data content of the API, and also supports the filling and modification of data, the HTML webpage and the server can realize the transmission of data, and the content on the webpage can be transmitted to the server for storage.
And S104, importing the simulation data corresponding to the API into a server through the HTML webpage for storage, wherein the simulation data is pre-created according to the return value of the API, and the simulation data plays a test role in the embodiment of the invention to replace the return value of the API, so that the API deployment task is completed.
Generally, after a client calls an API, the API returns online data corresponding to a service in the service, and this number is called a return value, and the return value is used as data required by the service. The return values of the API are usually obtained from the server, but some of the return values are not available in the server, in which case it is difficult to determine which return values exist in the server for API deployment, and thus it is difficult to ensure that each deployed API can obtain the return values. In the embodiment of the invention, when the API is deployed, in order to ensure that each API can obtain the return value, the return value of each API is simulated in advance, and the simulated data is all stored in the server, so that each API can obtain the response return value from the server when 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 for storage through the HTML webpage. The API can be deployed by utilizing the webpage, dependence on a third-party Charles tool is avoided, and the API deployment efficiency is further improved.
Fig. 2 is a flowchart of saving simulation 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 a server for storage 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 relevant content and data of the API, and the return value obtained by calling the API by the client can be determined according to the content and the data. 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 the API is called can be determined according to the function realized by the service or the name of the API.
And S202, simulating the simulation data which is the same as the return value by using a machine.
The machine in embodiments of the invention may be a simulation data generator with which simulation data may be generated.
S203, importing the analog data into the HTML webpage.
The HTML webpage in the embodiment of the invention not only contains paraphrases related to 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 page also supports the import of analog data.
And S204, importing the analog data into the server by using the HTML webpage for storage.
The HTML webpage and the server are communicated by using an HTTP protocol, and the 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 overwritten with the simulation data, so that the simulation data is stored in the server, because the simulation data is simulated according to the return value of the API, the simulated simulation data changes whenever the requirement of the API changes, and it is further ensured that the simulation data is closer to the true return value of the API, and the return value corresponding to the API already existing in the server has not been changed according to the requirement of the API, and at this time, the return value in the server needs to be overwritten 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 returns the simulation data according to the name of the API when the API is called.
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 for storage. The API can be deployed by utilizing the webpage, dependence on a third-party Charles tool is avoided, and the API deployment efficiency is further improved.
Fig. 3 is a flowchart of text conversion according to an embodiment of the present invention. As shown in fig. 3, in the embodiment of the present invention, the step of converting the first syntax text into an 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 logical 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 mark also represents a grammar structure relation of the first grammar file in a tree form, namely a logic relation of the grammar mark.
If the markup language selected in the embodiment of the invention is the Markdown language, the generated abstract syntax tree is the logical relation 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 invention is also a markup language, so that the grammar file can be a file formed by using the markup, but the format of the markup is different from that of the markup in the Markdown, and therefore, the embodiment of the invention only needs to change the format of the markup.
S303, generating an HTML grammar file by using each mark after format conversion. The tags after format conversion still have logical relationship, so the tags can be combined into an HTML grammar file according to the logical relationship, and the grammar file can be executed to generate an HTML webpage.
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 for storage through the HTML webpage. The API can be deployed by utilizing the webpage, dependence on a third-party Charles tool is avoided, and the API deployment efficiency is further improved. In addition, the method provided by the embodiment of the invention reduces the debugging and configuration of the Charles tool and improves the efficiency of the software development process.
It is worth mentioning that the API deployment method provided in the embodiment of the present invention can be implemented outside the server, and implement API deployment with the server independently in the form of an API deployment device, and transmit the simulation data corresponding to the API to the server through a web page; the API deployment may also be implemented inside the server, for example, it is also possible to place all the above steps of implementing API deployment inside the server. The embodiment of the present invention does not specifically limit the location where API deployment is implemented.
Fig. 4 is a block diagram of an API deployment apparatus according to an embodiment of the present invention. As shown in fig. 4, an API deployment apparatus 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 tag; a text conversion module 42, configured to convert the first syntax text into an HTML syntax text by using an abstract syntax 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 display paraphrases and corresponding data of specific fields of the API; and a data storage module 44, configured to import and store, through the HTML web page, the analog data corresponding to the API in a server, where the analog data is data created in advance according to a return value of the API.
The first grammar text compiled by the text compiling module is a text compiled based on Markdown grammar.
The data saving module comprises: a return value determining unit, configured to determine a return value of the API according to the content of the HTML web page; the data simulation unit is used for simulating the simulation data which is the same as the return value by using a machine; the data import unit is used for importing the simulation data into the HTML webpage; and the data storage unit is used for importing the analog data into the server by using the HTML webpage for storage.
The data saving unit is further configured to: overwriting the return value in the server with the simulation data when the return value already exists in the server.
The text conversion module comprises: a syntax tree generating unit, configured to generate an abstract syntax tree according to the first syntax text, where the abstract syntax tree is used to represent a logical relationship of each tag in the first syntax text in a tree-like structure; the format conversion unit is used for converting the format of each mark in the abstract syntax tree into an HTML format; and the grammar file generating unit is used for generating an HTML grammar file by using each mark after 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 in an embodiment of the present invention includes: a memory 51 for storing program instructions; and a processor 52, configured to call and execute the program instructions in the memory to implement the API deployment method described in the foregoing embodiment.
In the embodiment of the present invention, the processor 52 and the 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, in which a computer program is stored, and when at least one processor of the API deployment apparatus executes the computer program, the API deployment apparatus executes the API deployment method described in the above embodiments.
The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiments of the service construction apparatus and the service loading apparatus, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the description in the embodiments of the method.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.
Claims (12)
1. An API deployment method, comprising:
writing a first syntax text according to a protocol format of an API, wherein the first syntax text is used for realizing description of the API, and the first syntax text describes the API by using a mark;
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 displaying paraphrases and corresponding data of specific fields of the API;
and importing the simulation data corresponding to the API into a server for storage through the HTML webpage, wherein the simulation data are data created in advance according to the return value of the API.
2. The method of claim 1, wherein the first grammar text is a Markdown grammar-based compiled text.
3. The method of claim 1, wherein the step of importing the simulation data corresponding to the API into a server through the HTML web page for storage comprises:
determining a return value of the API according to the content of the HTML webpage;
simulating the simulation data which is the same as the return value by using a machine;
importing the simulation data into the HTML webpage;
and importing the analog data into the server by using the HTML webpage for storage.
4. The method of claim 3, wherein after the importing the simulation data into the server using the HTML webpage for saving, the method comprises:
overwriting the return value in the server with the simulation data if the return value already exists in the server.
5. The method of claim 1, wherein the step of converting the first grammar text into HTML grammar text using an abstract grammar tree comprises:
generating an abstract syntax tree according to the first syntax text, wherein the abstract syntax tree is used for representing the logical relation of each mark in the first syntax text in a tree-like structure manner;
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.
6. An API deployment apparatus, comprising:
the text writing module is used for writing a first syntax text according to the protocol format of the API, wherein the first syntax text is used for realizing the description of the API, and the first syntax text describes the API by using a mark;
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 generating module is used for generating an HTML webpage by utilizing the HTML grammar text, and the HTML webpage is used for displaying paraphrases and corresponding data of specific fields of the API;
and the data storage module is used for importing the simulation data corresponding to the API into a server through the HTML webpage for storage, wherein the simulation data are data created in advance according to the return value of the API.
7. The apparatus of claim 6, wherein the first grammar text written by the text writing module is a Markdown grammar-based text.
8. The apparatus of claim 6, wherein the data saving module comprises:
a return value determining unit, configured to determine a return value of the API according to the content of the HTML web page;
the data simulation unit is used for simulating the simulation data which is the same as the return value by using a machine;
the data import unit is used for importing the simulation data into the HTML webpage;
and the data storage unit is used for importing the analog data into the server by using the HTML webpage for storage.
9. The apparatus of claim 8, wherein the data retention unit is further configured to: overwriting the return value in the server with the simulation data when the return value already exists in the server.
10. The apparatus of claim 6, wherein the text conversion module comprises:
a syntax tree generating unit, configured to generate an abstract syntax tree according to the first syntax text, where the abstract syntax tree is used to represent a logical relationship of each tag in the first syntax text in a tree-like structure;
the format conversion unit is used for converting the format of each mark in the abstract syntax tree into an HTML format;
and the grammar file generating unit is used for generating an HTML grammar file by using each mark after format conversion.
11. An electronic device, comprising: a memory for storing program instructions;
a processor for calling and executing program instructions in the memory to implement the API deployment method of any of claims 1-5.
12. A storage medium, characterized in that the storage medium has stored therein a computer program, which when executed by at least one processor of an API deploying apparatus, the API deploying apparatus executes the API deploying method according to any one of claims 1 to 5.
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 true CN111124924A (en) | 2020-05-08 |
CN111124924B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860356A (en) * | 2021-02-10 | 2021-05-28 | 北京百度网讯科技有限公司 | API call control method and device, electronic equipment and storage medium |
CN115509514A (en) * | 2022-11-23 | 2022-12-23 | 济南浪潮数据技术有限公司 | Front-end data simulation method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030025728A1 (en) * | 2001-07-10 | 2003-02-06 | Ebbo David S. | User control objects for providing server-side code generation from a user-defined dynamic web page content file |
US20100036828A1 (en) * | 2008-08-07 | 2010-02-11 | International Business Machines Corporation | Content analysis simulator for improving site findability in information retrieval systems |
US20110264961A1 (en) * | 2008-10-31 | 2011-10-27 | Lei Hong | System and method to test executable instructions |
US20130074151A1 (en) * | 2010-06-10 | 2013-03-21 | Alibaba Group Holding Limited | Online Business Method, System and Apparatus Based on Open Application Programming Interface |
CN108600311A (en) * | 2018-03-21 | 2018-09-28 | 浙江口碑网络技术有限公司 | The method and device of client simulation interface data |
US20190266232A1 (en) * | 2018-02-27 | 2019-08-29 | Elasticsearch B.V. | Data Visualization Using Client-Server Independent Expressions |
CN110196733A (en) * | 2019-06-06 | 2019-09-03 | 深圳市伊欧乐科技有限公司 | A kind of default API document structure tree method, apparatus, equipment and storage medium |
-
2019
- 2019-12-25 CN CN201911357263.7A patent/CN111124924B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030025728A1 (en) * | 2001-07-10 | 2003-02-06 | Ebbo David S. | User control objects for providing server-side code generation from a user-defined dynamic web page content file |
US20100036828A1 (en) * | 2008-08-07 | 2010-02-11 | International Business Machines Corporation | Content analysis simulator for improving site findability in information retrieval systems |
US20110264961A1 (en) * | 2008-10-31 | 2011-10-27 | Lei Hong | System and method to test executable instructions |
US20130074151A1 (en) * | 2010-06-10 | 2013-03-21 | Alibaba Group Holding Limited | Online Business Method, System and Apparatus Based on Open Application Programming Interface |
US20190266232A1 (en) * | 2018-02-27 | 2019-08-29 | Elasticsearch B.V. | Data Visualization Using Client-Server Independent Expressions |
CN108600311A (en) * | 2018-03-21 | 2018-09-28 | 浙江口碑网络技术有限公司 | The method and device of client simulation interface data |
CN110196733A (en) * | 2019-06-06 | 2019-09-03 | 深圳市伊欧乐科技有限公司 | A kind of default API document structure tree method, apparatus, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
LAZYTAI: "markdown写出api系统", 《HTTPS://WWW.JIANSHU.COM/P/21900836B18E》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860356A (en) * | 2021-02-10 | 2021-05-28 | 北京百度网讯科技有限公司 | API call control method and device, electronic equipment and storage medium |
CN112860356B (en) * | 2021-02-10 | 2023-08-15 | 北京百度网讯科技有限公司 | API call control method and device, electronic equipment and storage medium |
CN115509514A (en) * | 2022-11-23 | 2022-12-23 | 济南浪潮数据技术有限公司 | Front-end data simulation method, device, equipment and medium |
CN115509514B (en) * | 2022-11-23 | 2023-03-10 | 济南浪潮数据技术有限公司 | Front-end data simulation method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN111124924B (en) | 2023-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101697139B (en) | Method, device and registry for remote procedure call | |
US7870482B2 (en) | Web browser extension for simplified utilization of web services | |
US8640104B2 (en) | Computer method and apparatus for debugging in a dynamic computer language | |
CN111782330B (en) | Page data acquisition method, device and equipment based on Web application | |
KR20080053293A (en) | Initial server-side content rendering for client-script web pages | |
CN109902247B (en) | Page rendering method and device and electronic equipment | |
CN113010827B (en) | Page rendering method and device, electronic equipment and storage medium | |
CN110221848A (en) | APP method for updating pages, device, electronic equipment and storage medium | |
CN110389755B (en) | Code processing method and device, electronic equipment and computer readable storage medium | |
CN112631590B (en) | Component library generation method, device, electronic equipment and computer readable medium | |
KR20130017337A (en) | Hybrid app development platform architecture and test method of the same, and computer-readable recording medium with program for the same | |
CN111124924B (en) | API deployment method and device, electronic equipment and storage medium | |
CN114138372A (en) | Front-end component loading method and device | |
CN117093316B (en) | Cross-platform page rendering system, electronic equipment and storage medium | |
CN101876998A (en) | Method and system for editing data | |
CN113094138A (en) | Interface display method and device, electronic equipment and storage medium | |
CN113050921A (en) | Webpage conversion method, device, storage medium and computer equipment | |
CN112947900A (en) | Web application development method and device, server and development terminal | |
CN106776285A (en) | Webpage front-end adjustment method and device | |
CN116521552A (en) | Method, device and equipment for acquiring test defects and readable storage medium | |
CN115809056A (en) | Component multiplexing implementation method and device, terminal equipment and readable storage medium | |
CN115357319A (en) | User interface rendering method and device | |
CN115474074A (en) | Video background replacing method and device, computing equipment and storage medium | |
CN113626392A (en) | Method and device for updating document data, electronic equipment and storage medium | |
CN112650492A (en) | Rendering method, system and related device of Web page |
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 |