CN108491199B - Method and terminal for automatically generating interface - Google Patents

Method and terminal for automatically generating interface Download PDF

Info

Publication number
CN108491199B
CN108491199B CN201810182733.XA CN201810182733A CN108491199B CN 108491199 B CN108491199 B CN 108491199B CN 201810182733 A CN201810182733 A CN 201810182733A CN 108491199 B CN108491199 B CN 108491199B
Authority
CN
China
Prior art keywords
interface
generating
parameter
file
parameter list
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
CN201810182733.XA
Other languages
Chinese (zh)
Other versions
CN108491199A (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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201810182733.XA priority Critical patent/CN108491199B/en
Publication of CN108491199A publication Critical patent/CN108491199A/en
Application granted granted Critical
Publication of CN108491199B publication Critical patent/CN108491199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a terminal for automatically generating an interface, which are characterized in that an interface document is obtained, and attribute parameters of the interface document are extracted; generating a corresponding data structure according to the attribute parameters; receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification; generating corresponding interfaces according to the attribute parameters, the data structure and the generator template, realizing automatic generation of the interfaces, wherein each original version development interface needs at least 1-2 days, using the automatic generation interface, the interfaces can be generated only by running a program for several minutes, greatly saving the development time of programmers, simplifying the maintenance of the interfaces, only changing interface documents, being capable of spanning platforms and supporting the generation of the interfaces of different versions of IOS/Android/JAVA.

Description

Method and terminal for automatically generating interface
Technical Field
The present invention relates to the field of computers, and in particular, to a method and a terminal for automatically generating an interface.
Background
At present, each end programmer needs to write business logic, each version has a stack of interfaces to be developed, the development work and joint debugging work of the interfaces consume a large amount of development time of the programmers, the work is repetitive work, the change and modification of the interfaces also need to consume a large amount of time for maintenance, and the interfaces generated in the prior art cannot realize cross-platform.
Therefore, a method for automatically generating an interface is needed, which can automatically convert an interface design document into an interface SDK code, and the development and maintenance of the interface only need to change the interface document, thereby saving a lot of time, and being capable of supporting IOS/Android/JAVA and the like in a cross-platform manner.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a method and a terminal for automatically generating an interface capable of crossing platforms are provided.
In order to solve the technical problems, the invention adopts a technical scheme that:
a method of automatically generating an interface, comprising the steps of:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
s2, generating a corresponding data structure according to the attribute parameters;
s3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
and S4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a terminal for automatically generating an interface, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
s2, generating a corresponding data structure according to the attribute parameters;
s3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
and S4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template.
The invention has the beneficial effects that: obtaining an interface document and extracting attribute parameters of the interface document; generating a corresponding data structure according to the attribute parameters; receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification; generating corresponding interfaces according to the attribute parameters, the data structure and the generator template, realizing automatic generation of the interfaces, wherein each original version development interface needs at least 1-2 days, using the automatic generation interface, the interfaces can be generated only by running a program for several minutes, greatly saving the development time of programmers, simplifying the maintenance of the interfaces, only changing interface documents, being capable of spanning platforms and supporting the generation of the interfaces of different versions of IOS/Android/JAVA.
Drawings
FIG. 1 is a flow chart of a method for automatically generating an interface according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal for automatically generating an interface according to an embodiment of the present invention;
description of reference numerals:
1. a terminal for automatically generating an interface; 2. a memory; 3. a processor.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key concept of the invention is that the method comprises the steps of obtaining an interface document and extracting attribute parameters of the interface document; generating a corresponding data structure according to the attribute parameters; and receiving a platform identifier, and dynamically loading a generator template corresponding to the platform identifier according to the platform identifier, thereby realizing the automatic generation of interfaces of different versions of IOS/Android/JAVA.
Referring to fig. 1, a method for automatically generating an interface includes the steps of:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
s2, generating a corresponding data structure according to the attribute parameters;
s3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
and S4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template.
From the above description, the beneficial effects of the present invention are: obtaining an interface document and extracting attribute parameters of the interface document; generating a corresponding data structure according to the attribute parameters; receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification; generating corresponding interfaces according to the attribute parameters, the data structure and the generator template, realizing automatic generation of the interfaces, wherein each original version development interface needs at least 1-2 days, using the automatic generation interface, the interfaces can be generated only by running a program for several minutes, greatly saving the development time of programmers, simplifying the maintenance of the interfaces, only changing interface documents, being capable of spanning platforms and supporting the generation of the interfaces of different versions of IOS/Android/JAVA.
Further, step S1 specifically includes:
s11, acquiring an interface document in an HTML format and generating text information of an interface;
s12, acquiring a separation mark in the text message, wherein the separation mark comprises a parameter label and a response label;
s13, extracting the address and the method name of the interface through the regular expression according to the partition mark, extracting the parameter list of the interface from the parameter label, and extracting the response parameter list from the response label.
According to the description, the partition marks in the text information are obtained, the address, the method name, the parameter list, the response list and other attribute parameters of the interface are extracted through the regular expression, and the data structure can be conveniently generated according to the attribute parameters.
Further, step S2 specifically includes:
s21, respectively traversing the table labels of the parameter list and the table labels of the response list, and analyzing and converting the table labels into module classes;
s22, identifying the address, method name, parameter list, response parameter list and module class of the interface, and judging whether Chinese characters exist, if so, analyzing the Chinese characters into corresponding English fields;
s23, generating a method class according to the address, the method name and the response parameter list of the interface;
and S24, generating a parameter class according to the parameter list.
According to the description, whether the Chinese character exists or not is judged, and if the Chinese character exists, the Chinese character is analyzed into the corresponding English field, so that the Chinese character generated by the interface due to the fact that the definition of the interface document is not standard can be prevented.
Further, step S4 specifically includes:
s41, starting a generator to obtain the prefix name of the project;
s42, loading a template file according to the generator template;
s43, replacing the host address in the configuration file and the prefix name of the MOCK test with the prefix name of the item;
s44, replacing the address in the DAO file with the address in the method class;
s45, replacing the performance attribute in the MODEL file with a parameter list in the parameter class;
and S46, replacing the method in the SERVICE file with the interface calling method corresponding to the method name according to the DAO file and the MODEL file.
As can be seen from the above description, by loading the template file, the address of the DAO file, the performance attribute in the MODEL file, and the method in the SERVICE file are replaced, respectively, so that the automatic generation of the interface is realized, and a large amount of time is saved.
Further, the platform identifier is an IOS platform identifier, an Android platform identifier, or a JAVA platform identifier.
According to the description, the IOS platform, the Android platform and the JAVA platform are distinguished through different platform identifications, and corresponding interfaces are conveniently generated according to the different platform identifications.
Referring to fig. 2, a terminal for automatically generating an interface includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
s2, generating a corresponding data structure according to the attribute parameters;
s3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
and S4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template.
From the above description, the beneficial effects of the present invention are: obtaining an interface document and extracting attribute parameters of the interface document; generating a corresponding data structure according to the attribute parameters; receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification; generating corresponding interfaces according to the attribute parameters, the data structure and the generator template, realizing automatic generation of the interfaces, wherein each original version development interface needs at least 1-2 days, using the automatic generation interface, the interfaces can be generated only by running a program for several minutes, greatly saving the development time of programmers, simplifying the maintenance of the interfaces, only changing interface documents, being capable of spanning platforms and supporting the generation of the interfaces of different versions of IOS/Android/JAVA.
Further, step S1 specifically includes:
s11, acquiring an interface document in an HTML format and generating text information of an interface;
s12, acquiring a separation mark in the text message, wherein the separation mark comprises a parameter label and a response label;
s13, extracting the address and the method name of the interface through the regular expression according to the partition mark, extracting the parameter list of the interface from the parameter label, and extracting the response parameter list from the response label.
According to the description, the partition marks in the text information are obtained, the address, the method name, the parameter list, the response list and other attribute parameters of the interface are extracted through the regular expression, and the data structure can be conveniently generated according to the attribute parameters.
Further, step S2 specifically includes:
s21, respectively traversing the table labels of the parameter list and the table labels of the response list, and analyzing and converting the table labels into module classes;
s22, identifying the address, method name, parameter list, response parameter list and module class of the interface, and judging whether Chinese characters exist, if so, analyzing the Chinese characters into corresponding English fields;
s23, generating a method class according to the address, the method name and the response parameter list of the interface;
and S24, generating a parameter class according to the parameter list.
According to the description, whether the Chinese character exists or not is judged, and if the Chinese character exists, the Chinese character is analyzed into the corresponding English field, so that the Chinese character generated by the interface due to the fact that the definition of the interface document is not standard can be prevented.
Further, step S4 specifically includes:
s41, starting a generator to obtain the prefix name of the project;
s42, loading a template file according to the generator template;
s43, replacing the host address in the configuration file and the prefix name of the MOCK test with the prefix name of the item;
s44, replacing the address in the DAO file with the address in the method class;
s45, replacing the performance attribute in the MODEL file with a parameter list in the parameter class;
and S46, replacing the method in the SERVICE file with the interface calling method corresponding to the method name according to the DAO file and the MODEL file.
As can be seen from the above description, by loading the template file, the address of the DAO file, the performance attribute in the MODEL file, and the method in the SERVICE file are replaced, respectively, so that the automatic generation of the interface is realized, and a large amount of time is saved.
Further, the platform identifier is an IOS platform identifier, an Android platform identifier, or a JAVA platform identifier.
According to the description, the IOS platform, the Android platform and the JAVA platform are distinguished through different platform identifications, and corresponding interfaces are conveniently generated according to the different platform identifications.
Example one
A method for automatically generating an interface, comprising the steps of:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
step S1 specifically includes:
s11, acquiring an interface document in an HTML format and generating text information of an interface;
s12, acquiring a separation mark in the text message, wherein the separation mark comprises a parameter label and a response label;
s13, extracting addresses and method names of interfaces through regular expressions according to the partition marks, extracting parameter lists of the interfaces from the parameter labels, and extracting response parameter lists from the response labels;
s2, generating a corresponding data structure according to the attribute parameters;
step S2 specifically includes:
s21, respectively traversing the table labels of the parameter list and the table labels of the response list, and analyzing and converting the table labels into module classes;
s22, identifying the address, method name, parameter list, response parameter list and module class of the interface, and judging whether Chinese characters exist, if so, analyzing the Chinese characters into corresponding English fields;
s23, generating a method class according to the address, the method name and the response parameter list of the interface;
and S24, generating a parameter class according to the parameter list.
S3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
s4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template;
step S4 specifically includes:
s41, starting a generator to obtain the prefix name of the project;
s42, loading a template file according to the generator template;
s43, replacing the host address in the configuration file and the prefix name of the MOCK test with the prefix name of the project, wherein the configuration file is a project configuration file and is used for configuring the host address of the interface and reading data from the server or directly reading data from the local MOCK test;
s44, replacing the address in the DAO file with the address in the method class;
s45, replacing the performance attribute in the MODEL file with a parameter list in the parameter class;
s46, replacing the method in the SERVICE file with the interface calling method corresponding to the method name according to the DAO file and the MODEL file;
the platform identification is IOS platform identification, Android platform identification or JAVA platform identification.
Example two
1. Loading an interface document defined in the WIKI;
2. and starting a resolver to extract the attribute parameters of the interface document through a regular expression, and specifically comprising the following steps:
2.1, acquiring an interface document in an HTML format and generating text information of an interface;
2.2, searching for DIV labels (partition marks) in the text information, wherein the DIV labels (partition marks) comprise parameter labels and response labels;
2.3, extracting a url (address) and a method name of an interface through a regular expression according to the interval mark, extracting a parameter list of the interface from the parameter tag, extracting a response parameter list 3 from the response tag, identifying each attribute parameter by a translation module, resolving the Chinese character into an English field if the Chinese character is identified, returning each parameter to a resolver after translation is finished, and generating a data structure after resolving by the resolver, wherein the specific process comprises the following steps:
3.1, respectively traversing the table labels of the parameter list and the table labels of the response list, and analyzing and converting the table labels into module classes;
3.2, generating a method class according to the url (address), the method name and the response parameter list of the interface;
3.3, generating a parameter class according to the parameter list;
4. starting a generator and loading generator templates of different platforms according to the received platform identification;
5. the generator executes file generation operation, and locally generates a DAO file, a MODEL file and a SERVICE file, wherein the DAO file refers to single interface calling, a specified interface is generated by transmitting url and input parameters (parameter lists), the SERVICE file refers to a SERVICE layer file, each module generates an SERVICE file which is used for connecting the DAO and the MODEL and returning to the MODEL by transmitting the input parameters (parameter lists), one SERVICE file corresponds to all the interfaces of the module, the peripheral system calling only needs to interact with the SERVICE, and the file generation step is as follows:
5.1, starting a generator to obtain the prefix name of the project;
5.2, determining a corresponding platform according to the platform identification, and loading a template file according to the generator template;
5.3, replacing the host address in the configuration file and the prefix name of the MOCK test with the prefix name of the item;
5.4, replacing the url in the DAO file with the url in the method class;
5.5, replacing the performance attribute in the MODEL file with a parameter list in the parameter class;
5.6, replacing the method in the SERVICE file with an interface calling method corresponding to the method name according to the DAO file and the MODEL file;
the method is realized by replacing the files, each platform corresponds to different generation templates, for example, IOS corresponds to a template, an h file and an m file, Android corresponds to a java file, and the generation of the files is realized by replacing each character string in the files.
EXAMPLE III
Referring to fig. 2, a terminal 1 for automatically generating an interface includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3, where the processor 3 implements the steps in the first embodiment when executing the computer program.
In summary, according to the method and the terminal for automatically generating an interface provided by the present invention, an interface document is obtained, and attribute parameters of the interface document are extracted; generating a corresponding data structure according to the attribute parameters; receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification; generating a corresponding interface according to the attribute parameters, the data structure and the generator template, realizing automatic generation of the interface, wherein each original version development interface needs at least 1-2 days, using the automatic generation interface, only needing to run a program, generating the interface in minutes, greatly saving development time of programmers, simplifying interface maintenance, only needing to change an interface document, being capable of spanning platforms, supporting generation of IOS/Android/JAVA interfaces of different versions, and preventing the interface from generating Chinese characters due to non-standard interface document definition by judging whether the Chinese characters exist or not and resolving the Chinese characters into corresponding English fields if the Chinese characters exist.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (6)

1. A method for automatically generating an interface, comprising the steps of:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
s2, generating a corresponding data structure according to the attribute parameters;
s3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
s4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template;
wherein, step S1 specifically includes:
s11, acquiring an interface document in an HTML format and generating text information of an interface;
s12, acquiring a separation mark in the text message, wherein the separation mark comprises a parameter label and a response label;
s13, extracting addresses and method names of interfaces through regular expressions according to the partition marks, extracting parameter lists of the interfaces from the parameter labels, and extracting response parameter lists from the response labels;
wherein, step S2 specifically includes:
s21, respectively traversing the table labels of the parameter list and the table labels of the response parameter list, and analyzing and converting the table labels into module classes;
s22, identifying the address, method name, parameter list, response parameter list and module class of the interface, and judging whether Chinese characters exist, if so, analyzing the Chinese characters into corresponding English fields;
s23, generating a method class according to the address, the method name and the response parameter list of the interface;
and S24, generating a parameter class according to the parameter list.
2. The method for automatically generating an interface according to claim 1, wherein step S4 specifically includes:
s41, starting a generator to obtain the prefix name of the project;
s42, loading a template file according to the generator template;
s43, replacing the host address in the configuration file and the prefix name of the MOCK test with the prefix name of the item;
s44, replacing the address in the DAO file with the address in the method class;
s45, replacing the performance attribute in the MODEL file with a parameter list in the parameter class;
and S46, replacing the method in the SERVICE file with the interface calling method corresponding to the method name according to the DAO file and the MODEL file.
3. The method of automatically generating an interface of claim 1, wherein the platform identifier is an IOS platform identifier, an Android platform identifier, or a JAVA platform identifier.
4. A terminal for automatically generating an interface, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of:
s1, acquiring an interface document, and extracting attribute parameters of the interface document;
s2, generating a corresponding data structure according to the attribute parameters;
s3, receiving a platform identification, and dynamically loading a generator template corresponding to the platform identification according to the platform identification;
s4, generating a corresponding interface according to the attribute parameters, the data structure and the generator template;
wherein, step S1 specifically includes:
s11, acquiring an interface document in an HTML format and generating text information of an interface;
s12, acquiring a separation mark in the text message, wherein the separation mark comprises a parameter label and a response label;
s13, extracting addresses and method names of interfaces through regular expressions according to the partition marks, extracting parameter lists of the interfaces from the parameter labels, and extracting response parameter lists from the response labels;
wherein, step S2 specifically includes:
s21, respectively traversing the table labels of the parameter list and the table labels of the response parameter list, and analyzing and converting the table labels into module classes;
s22, identifying the address, method name, parameter list, response parameter list and module class of the interface, and judging whether Chinese characters exist, if so, analyzing the Chinese characters into corresponding English fields;
s23, generating a method class according to the address, the method name and the response parameter list of the interface;
and S24, generating a parameter class according to the parameter list.
5. The terminal for automatically generating an interface according to claim 4, wherein the step S4 specifically comprises:
s41, starting a generator to obtain the prefix name of the project;
s42, loading a template file according to the generator template;
s43, replacing the host address in the configuration file and the prefix name of the MOCK test with the prefix name of the item;
s44, replacing the address in the DAO file with the address in the method class;
s45, replacing the performance attribute in the MODEL file with a parameter list in the parameter class;
and S46, replacing the method in the SERVICE file with the interface calling method corresponding to the method name according to the DAO file and the MODEL file.
6. The terminal for automatically generating an interface of claim 4, wherein the platform identifier is IOS platform identifier, Android platform identifier or JAVA platform identifier.
CN201810182733.XA 2018-03-06 2018-03-06 Method and terminal for automatically generating interface Active CN108491199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810182733.XA CN108491199B (en) 2018-03-06 2018-03-06 Method and terminal for automatically generating interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810182733.XA CN108491199B (en) 2018-03-06 2018-03-06 Method and terminal for automatically generating interface

Publications (2)

Publication Number Publication Date
CN108491199A CN108491199A (en) 2018-09-04
CN108491199B true CN108491199B (en) 2021-04-27

Family

ID=63341441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810182733.XA Active CN108491199B (en) 2018-03-06 2018-03-06 Method and terminal for automatically generating interface

Country Status (1)

Country Link
CN (1) CN108491199B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614102A (en) * 2018-10-09 2019-04-12 平安科技(深圳)有限公司 Code automatic generation method, device, electronic equipment and storage medium
CN111382051B (en) * 2018-12-29 2023-04-18 北京数聚鑫云信息技术有限公司 API automatic test method and test device
CN111414162B (en) * 2019-01-07 2024-04-09 阿里巴巴集团控股有限公司 Data processing method, device and equipment thereof
CN111506365A (en) * 2019-01-31 2020-08-07 北京数聚鑫云信息技术有限公司 Method and device for automatically constructing API
CN109889587A (en) * 2019-02-12 2019-06-14 青岛海尔科技有限公司 Internet of things system automated construction method, device, equipment and storage medium
CN111628956B (en) * 2019-02-28 2022-11-25 阿里巴巴集团控股有限公司 Format conversion method, device and system for network request transmission data
CN111324342B (en) * 2020-02-10 2023-04-07 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for generating interface layer code
CN111694923B (en) * 2020-04-27 2024-09-17 平安科技(深圳)有限公司 Parameter assignment method and device based on name mapping and computer equipment
CN112115103B (en) * 2020-09-02 2023-08-01 北京奇艺世纪科技有限公司 File address display method and device, electronic equipment and readable storage medium
CN112463261B (en) * 2020-11-20 2024-06-11 北京达佳互联信息技术有限公司 Interface calling method, device, electronic equipment, medium and product
CN113485746B (en) * 2021-07-28 2024-02-06 山石网科通信技术股份有限公司 Method and device for generating application program interface document
CN115964028B (en) * 2021-10-12 2023-11-03 讯联数据(无锡)有限公司 Rapid access method and system for third party payment interface
CN114035864A (en) * 2021-11-11 2022-02-11 中国建设银行股份有限公司 Interface processing method, interface processing device, electronic device, and storage medium
CN114356786B (en) * 2022-03-11 2022-06-07 中电云数智科技有限公司 IAM interface authority verification method and device based on automatic interface generation
CN117370242A (en) * 2023-10-09 2024-01-09 汇付天下有限公司 Adapter and method for generating multilingual SDK client by parsing interface document
CN117435177B (en) * 2023-12-20 2024-03-26 浙江寰福科技有限公司 Application program interface construction method, system, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750152A (en) * 2012-06-21 2012-10-24 新浪网技术(中国)有限公司 Method and device of application for generating a plurality of programming languages based on descriptive language
US8516508B1 (en) * 2012-08-02 2013-08-20 Cisco Technology, Inc. Automated application programming interface (API) generation
CN106484421A (en) * 2016-10-11 2017-03-08 武汉斗鱼网络科技有限公司 A kind of method and system quickly generating api interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750152A (en) * 2012-06-21 2012-10-24 新浪网技术(中国)有限公司 Method and device of application for generating a plurality of programming languages based on descriptive language
US8516508B1 (en) * 2012-08-02 2013-08-20 Cisco Technology, Inc. Automated application programming interface (API) generation
CN106484421A (en) * 2016-10-11 2017-03-08 武汉斗鱼网络科技有限公司 A kind of method and system quickly generating api interface

Also Published As

Publication number Publication date
CN108491199A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108491199B (en) Method and terminal for automatically generating interface
CN107171825B (en) Repeated log filtering method for terminal
CN102073490B (en) Method and device for translating database language
CN108595389B (en) Method for converting Word document into txt plain text document
CN106293675B (en) System static resource loading method and device
CN109240661B (en) Code generation method and device
CN102467497B (en) Method and system for text translation in verification program
CN102043626B (en) Method and device for encapsulating extjs component, and method and system for generating user interface
CN101667118A (en) Method and device for multi-language version development and replacement
CN104866512A (en) Method, device and system for extracting webpage content
CN102346780B (en) The acquisition methods of web page address and acquisition device
CN112540862A (en) Interface document data generation method, device, equipment and storage medium
CN102385527A (en) Device and method for improving execution efficiency of service scripts
CN111158687B (en) Interface generation method and device of JAVA plugin, computer equipment and storage medium
CN102750152A (en) Method and device of application for generating a plurality of programming languages based on descriptive language
CN110109671B (en) Webpack label size and style conversion method and device
CN117033249B (en) Test case generation method and device, computer equipment and storage medium
CN113419729A (en) Front-end page building method, device, equipment and storage medium based on modularization
CN102521008B (en) Program compiling device and method for compiling program
CN112395843A (en) PHP code-based service processing method, device, equipment and medium
CN104657274A (en) Method and device for testing software interface
CN102262684A (en) Method and device for generating webpage page of mobile terminal
CN111290996A (en) Document format conversion method, device, equipment and readable storage medium
CN118245050B (en) Front end frame assembly automatic conversion method, system, electronic device and storage medium
CN109491884A (en) Code method for testing performance, device, computer equipment and 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