CN108491199A - A kind of method and terminal automatically generating interface - Google Patents
A kind of method and terminal automatically generating interface Download PDFInfo
- Publication number
- CN108491199A CN108491199A CN201810182733.XA CN201810182733A CN108491199A CN 108491199 A CN108491199 A CN 108491199A CN 201810182733 A CN201810182733 A CN 201810182733A CN 108491199 A CN108491199 A CN 108491199A
- Authority
- CN
- China
- Prior art keywords
- interface
- platform
- parameter list
- automatically generating
- parameter
- 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
Classifications
-
- 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/33—Intelligent 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
A kind of method and terminal automatically generating interface provided by the invention by obtaining interface document, and extracts the property parameters of the interface document;Corresponding data structure is generated according to the property parameters;Receiving platform identifies, according to platform identification dynamic load generator template corresponding with the platform identification;According to the property parameters, data structure and the corresponding interface of generator template generation, it realizes automation and generates interface, original each version development interface needs at least 12 day time, using automatically generating interface, it is only necessary to run program, a few minutes can generate interface, a large amount of development times for saving programmer, the maintenance of interface become fairly simple, it is only necessary to change interface document, can be cross-platform, it can support the generation of IOS/Android/JAVA different editions interfaces.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of method and terminal automatically generating interface.
Background technology
Development interface needs are gone to write service logic by each end programmer oneself at present, and each version has the interface of a pile
It needs to develop, the work of the work of this block interface exploitation and joint debugging can consume programmer's a large amount of development time, and this work
All it is some repetitive works, the change and modification of interface, which are also required to consume a large amount of time, goes to safeguard, and the prior art
The interface of middle generation cannot achieve cross-platform.
Therefore, it is necessary to a kind of methods that automation generates interface, can Interface design document be converted into interface SDK generations automatically
Code, the exploitation and maintenance of interface only need to change interface document, save a large amount of time, and can be cross-platform,
Support IOS/Android/JAVA etc..
Invention content
The technical problem to be solved by the present invention is to:A kind of method for automatically generating interface and end that can be cross-platform is provided
End.
In order to solve the above-mentioned technical problem, a kind of technical solution that the present invention uses for:
A method of automatically generating interface, including step:
S1, interface document is obtained, and extracts the property parameters of the interface document;
S2, corresponding data structure is generated according to the property parameters;
S3, receiving platform mark, according to platform identification dynamic load generator mould corresponding with the platform identification
Plate;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation.
In order to solve the above-mentioned technical problem, the another technical solution that the present invention uses for:
A kind of terminal automatically generating interface, including memory, processor and storage are on a memory and can be in processor
The computer program of upper operation, the processor realize following steps when executing described program:
S1, interface document is obtained, and extracts the property parameters of the interface document;
S2, corresponding data structure is generated according to the property parameters;
S3, receiving platform mark, according to platform identification dynamic load generator mould corresponding with the platform identification
Plate;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation.
The beneficial effects of the present invention are:By obtaining interface document, and extract the property parameters of the interface document;Root
Corresponding data structure is generated according to the property parameters;Receiving platform identify, according to the platform identification dynamic load with it is described
The corresponding generator template of platform identification;According to the property parameters, data structure and the corresponding interface of generator template generation,
It realizing automation and generates interface, original each version development interface needs at least 1-2 days time, using automatically generating interface,
It only needs to run program, a few minutes can generate interface, largely save the development time of programmer, and the maintenance of interface becomes
It is fairly simple, it is only necessary to interface document is changed, can be cross-platform, it can support the life of IOS/Android/JAVA different editions interfaces
At.
Description of the drawings
Fig. 1 is the method flow diagram for automatically generating interface of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the terminal for automatically generating interface of the embodiment of the present invention;
Label declaration:
1, the terminal of interface is automatically generated;2, memory;3, processor.
Specific implementation mode
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and coordinate attached
Figure is explained.
The design of most critical of the present invention is:By obtaining interface document, and extract the property parameters of the interface document;
Corresponding data structure is generated according to the property parameters;Receiving platform identifies, according to the platform identification dynamic load and institute
The corresponding generator template of platform identification is stated, the interface for automatically generating IOS/Android/JAVA different editions is realized.
Fig. 1 is please referred to, a method of automatically generating interface, including step:
S1, interface document is obtained, and extracts the property parameters of the interface document;
S2, corresponding data structure is generated according to the property parameters;
S3, receiving platform mark, according to platform identification dynamic load generator mould corresponding with the platform identification
Plate;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation.
As can be seen from the above description, the beneficial effects of the present invention are:By obtaining interface document, and extract the interface text
The property parameters of shelves;Corresponding data structure is generated according to the property parameters;Receiving platform identifies, according to the platform identification
Dynamic load generator template corresponding with the platform identification;According to the property parameters, data structure and generator template
Corresponding interface is generated, automation is realized and generates interface, original each version development interface needs at least 1-2 days time, makes
With automatically generating interface, it is only necessary to run program, a few minutes can generate interface, when largely saving the exploitation of programmer
Between, the maintenance of interface becomes fairly simple, it is only necessary to interface document is changed, can be cross-platform, and it can support IOS/Android/JAVA
The generation of different editions interface.
Further, step S1 is specifically included:
S11, the interface document for obtaining html format, and generate the text message of interface;
Label is separated in S12, the acquisition text message, the label that separates includes parameter tags and responsive tags;
S13, address and method name that label extracts interface by regular expression are separated according to, from the parameter mark
The parameter list that interface is extracted in label, extracts response parameter list from the responsive tags.
Seen from the above description, the label that separates in text message is obtained, and extracts the ground of interface by regular expression
The property parameters such as location, method name, parameter list and Response List, it is convenient subsequently to generate data structure according to property parameters.
Further, step S2 is specifically included:
The form tag of S21, the form tag for traversing the parameter list respectively and the Response List, and parse conversion
For module class;
Address, method name, parameter list, response parameter list and the module class of S22, the identification interface, and judgement is
No there are Chinese characters, if so, the Chinese character is resolved to corresponding English field;
S23, according to the address of the interface, method name and response parameter list generation method class;
S24, parameter class is generated according to the parameter list.
Seen from the above description, by judging whether Chinese character, if so, the Chinese character is resolved to phase
The English field answered, can prevent due to interface document define it is lack of standardization cause interface generation there is Chinese character.
Further, step S4 is specifically included:
S41, start generator, obtain the prefix title of project;
S42, template file is loaded according to the generator template;
S43, the prefix name that the prefix title of the addresses host and MOCK tests in configuration file is replaced with to the project
Claim;
S44, the address in DAO files is replaced with into the address in the method class;
S45, the attribute of performance in MODEL files is replaced with into the parameter list in the parameter class;
S46, that the method in SERVICE files replaced with the method name according to the DAO files and MODEL files is right
The interface call method answered.
Seen from the above description, by loading template file, respectively to the performance in the address of DAO files, MODEL files
Method in attribute and SERVICE files is replaced, and realizes automatically generating for interface, saves a large amount of time.
Further, the platform identification is ios platform mark, Android platform mark or JAVA platform identifications.
Seen from the above description, ios platform, Android platform and JAVA platforms are distinguished by different platform identifications,
Facilitate and corresponding interface is generated according to different platform identifications.
It please refers to Fig. 2, a kind of terminal automatically generating interface, including memory, processor and stores on a memory simultaneously
The computer program that can be run on a processor, the processor realize following steps when executing described program:
S1, interface document is obtained, and extracts the property parameters of the interface document;
S2, corresponding data structure is generated according to the property parameters;
S3, receiving platform mark, according to platform identification dynamic load generator mould corresponding with the platform identification
Plate;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation.
As can be seen from the above description, the beneficial effects of the present invention are:By obtaining interface document, and extract the interface text
The property parameters of shelves;Corresponding data structure is generated according to the property parameters;Receiving platform identifies, according to the platform identification
Dynamic load generator template corresponding with the platform identification;According to the property parameters, data structure and generator template
Corresponding interface is generated, automation is realized and generates interface, original each version development interface needs at least 1-2 days time, makes
With automatically generating interface, it is only necessary to run program, a few minutes can generate interface, when largely saving the exploitation of programmer
Between, the maintenance of interface becomes fairly simple, it is only necessary to interface document is changed, can be cross-platform, and it can support IOS/Android/JAVA
The generation of different editions interface.
Further, step S1 is specifically included:
S11, the interface document for obtaining html format, and generate the text message of interface;
Label is separated in S12, the acquisition text message, the label that separates includes parameter tags and responsive tags;
S13, address and method name that label extracts interface by regular expression are separated according to, from the parameter mark
The parameter list that interface is extracted in label, extracts response parameter list from the responsive tags.
Seen from the above description, the label that separates in text message is obtained, and extracts the ground of interface by regular expression
The property parameters such as location, method name, parameter list and Response List, it is convenient subsequently to generate data structure according to property parameters.
Further, step S2 is specifically included:
The form tag of S21, the form tag for traversing the parameter list respectively and the Response List, and parse conversion
For module class;
Address, method name, parameter list, response parameter list and the module class of S22, the identification interface, and judgement is
No there are Chinese characters, if so, the Chinese character is resolved to corresponding English field;
S23, according to the address of the interface, method name and response parameter list generation method class;
S24, parameter class is generated according to the parameter list.
Seen from the above description, by judging whether Chinese character, if so, the Chinese character is resolved to phase
The English field answered, can prevent due to interface document define it is lack of standardization cause interface generation there is Chinese character.
Further, step S4 is specifically included:
S41, start generator, obtain the prefix title of project;
S42, template file is loaded according to the generator template;
S43, the prefix name that the prefix title of the addresses host and MOCK tests in configuration file is replaced with to the project
Claim;
S44, the address in DAO files is replaced with into the address in the method class;
S45, the attribute of performance in MODEL files is replaced with into the parameter list in the parameter class;
S46, that the method in SERVICE files replaced with the method name according to the DAO files and MODEL files is right
The interface call method answered.
Seen from the above description, by loading template file, respectively to the performance in the address of DAO files, MODEL files
Method in attribute and SERVICE files is replaced, and realizes automatically generating for interface, saves a large amount of time.
Further, the platform identification is ios platform mark, Android platform mark or JAVA platform identifications.
Seen from the above description, ios platform, Android platform and JAVA platforms are distinguished by different platform identifications,
Facilitate and corresponding interface is generated according to different platform identifications.
Embodiment one
A method of automatically generating interface, which is characterized in that including step:
S1, interface document is obtained, and extracts the property parameters of the interface document;
Step S1 is specifically included:
S11, the interface document for obtaining html format, and generate the text message of interface;
Label is separated in S12, the acquisition text message, the label that separates includes parameter tags and responsive tags;
S13, address and method name that label extracts interface by regular expression are separated according to, from the parameter mark
The parameter list that interface is extracted in label, extracts response parameter list from the responsive tags;
S2, corresponding data structure is generated according to the property parameters;
Step S2 is specifically included:
The form tag of S21, the form tag for traversing the parameter list respectively and the Response List, and parse conversion
For module class;
Address, method name, parameter list, response parameter list and the module class of S22, the identification interface, and judgement is
No there are Chinese characters, if so, the Chinese character is resolved to corresponding English field;
S23, according to the address of the interface, method name and response parameter list generation method class;
S24, parameter class is generated according to the parameter list.
S3, receiving platform mark, according to platform identification dynamic load generator mould corresponding with the platform identification
Plate;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation;
Step S4 is specifically included:
S41, start generator, obtain the prefix title of project;
S42, template file is loaded according to the generator template;
S43, the prefix name that the prefix title of the addresses host and MOCK tests in configuration file is replaced with to the project
Claim, the configuration file is project profile, addresses host for configuring interface and be to read data also from server
It is directly to read data from local MOCK tests;
S44, the address in DAO files is replaced with into the address in the method class;
S45, the attribute of performance in MODEL files is replaced with into the parameter list in the parameter class;
S46, that the method in SERVICE files replaced with the method name according to the DAO files and MODEL files is right
The interface call method answered;
The platform identification is ios platform mark, Android platform mark or JAVA platform identifications.
Embodiment two
1, the interface document defined in WIKI is loaded;
2, start resolver by regular expression, extract the property parameters of the interface document, be as follows:
2.1, the interface document of html format is obtained, and generates the text message of interface;
2.2, the DIV labels (separating label) in the text message are searched for, the DIV labels (separating label) include ginseng
Number label and responsive tags;
2.3, url (address) and method name of the label by regular expression extraction interface are separated according to, from described
The parameter list that interface is extracted in parameter tags extracts response parameter list 3, translation module identification respectively from the responsive tags
The Chinese character is resolved to English field by a property parameters if recognizing Chinese character, by each ginseng after the completion of translation
Number passes resolver back, data structure is generated after being parsed by resolver, detailed process is as follows:
3.1, the form tag of the form tag and the Response List of the parameter list is traversed respectively, and parses conversion
For module class;
3.2, according to the url (address) of the interface, method name and response parameter list generation method class;
3.3, parameter class is generated according to the parameter list;
4, start generator according to the platform identification received, load the generator masterplate of different platform;
5, generator executes file generated operation, is locally generated DAO files, MODEL files and SERVICE files, DAO
File refers to that individual interface calls, and specified interface, SERVICE texts are generated by transmitting url and input parameter (parameter list)
What part referred to is exactly operation layer file, and each module generates a SERVICE file and passes through transmission for connecting DAO and MODEL
Input parameter (parameter list) returns to MODEL, and a SERVICE file corresponds to the module total interface, and peripheral system calls only
It needs to interact with SERVICE, steps are as follows for file generated:
5.1, start generator, obtain the prefix title of project;
5.2, it determines and corresponding platform is determined according to platform identification, template file is loaded according to the generator template;
5.3, the prefix title of the addresses host and MOCK tests in configuration file is replaced with to the prefix name of the project
Claim;
5.4, url in DAO files is replaced with to the url in the method class;
5.5, attribute of performance in MODEL files is replaced with to the parameter list in the parameter class;
5.6, that the method in SERVICE files is replaced with the method name according to the DAO files and MODEL files is right
The interface call method answered;
It is realized by way of alternate file, each platform corresponds to different generation templates, is mould as IOS is corresponding
Plate .h files and .m files, Android corresponding is java files, and text is realized by each character string inside alternate file
The generation of part.
Embodiment three
It please refers to Fig. 2, a kind of terminal 1 automatically generating interface, including memory 2, processor 3 and is stored in memory 2
Computer program that is upper and being run on processor 3, the processor 3 are realized each in embodiment one when executing described program
A step.
In conclusion a kind of method and terminal automatically generating interface provided by the invention, by obtaining interface document, and
Extract the property parameters of the interface document;Corresponding data structure is generated according to the property parameters;Receiving platform identifies, root
According to platform identification dynamic load generator template corresponding with the platform identification;According to the property parameters, data knot
Structure and the corresponding interface of generator template generation realize automation and generate interface, original each version development interface need to
Few 1-2 days time, using automatically generating interface, it is only necessary to run program, a few minutes can generate interface, largely save journey
The maintenance of the development time of sequence person, interface become fairly simple, it is only necessary to interface document is changed, can be cross-platform, and it can support IOS/
The generation of Android/JAVA different editions interfaces, by judging whether Chinese character, if so, by the Chinese character
Corresponding English field is resolved to, can prevent from lack of standardization interface generation being caused Chinese character occur since interface document defines.
Example the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, include similarly
In the scope of patent protection of the present invention.
Claims (10)
1. a kind of method automatically generating interface, which is characterized in that including step:
S1, interface document is obtained, and extracts the property parameters of the interface document;
S2, corresponding data structure is generated according to the property parameters;
S3, receiving platform mark, according to platform identification dynamic load generator template corresponding with the platform identification;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation.
2. the method according to claim 1 for automatically generating interface, which is characterized in that step S1 is specifically included:
S11, the interface document for obtaining html format, and generate the text message of interface;
Label is separated in S12, the acquisition text message, the label that separates includes parameter tags and responsive tags;
S13, address and method name that label extracts interface by regular expression are separated according to, from the parameter tags
The parameter list for extracting interface extracts response parameter list from the responsive tags.
3. the method according to claim 2 for automatically generating interface, which is characterized in that step S2 is specifically included:
The form tag of S21, the form tag for traversing the parameter list respectively and the Response List, and parse and be converted into mould
Block class;
Address, method name, parameter list, response parameter list and the module class of S22, the identification interface, and judge whether to deposit
In Chinese character, if so, the Chinese character is resolved to corresponding English field;
S23, according to the address of the interface, method name and response parameter list generation method class;
S24, parameter class is generated according to the parameter list.
4. the method according to claim 3 for automatically generating interface, which is characterized in that step S4 is specifically included:
S41, start generator, obtain the prefix title of project;
S42, template file is loaded according to the generator template;
S43, the prefix title that the prefix title of the addresses host and MOCK tests in configuration file is replaced with to the project;
S44, the address in DAO files is replaced with into the address in the method class;
S45, the attribute of performance in MODEL files is replaced with into the parameter list in the parameter class;
S46, that the method in SERVICE files replaced with the method name according to the DAO files and MODEL files is corresponding
Interface call method.
5. the method according to claim 1 for automatically generating interface, which is characterized in that the platform identification is ios platform
Mark, Android platform mark or JAVA platform identifications.
6. a kind of terminal automatically generating interface, including memory, processor and storage are on a memory and can be on a processor
The computer program of operation, which is characterized in that the processor realizes following steps when executing described program:
S1, interface document is obtained, and extracts the property parameters of the interface document;
S2, corresponding data structure is generated according to the property parameters;
S3, receiving platform mark, according to platform identification dynamic load generator template corresponding with the platform identification;
S4, according to the property parameters, data structure and the corresponding interface of generator template generation.
7. the terminal according to claim 6 for automatically generating interface, which is characterized in that step S1 is specifically included:
S11, the interface document for obtaining html format, and generate the text message of interface;
Label is separated in S12, the acquisition text message, the label that separates includes parameter tags and responsive tags;
S13, address and method name that label extracts interface by regular expression are separated according to, from the parameter tags
The parameter list for extracting interface extracts response parameter list from the responsive tags.
8. the terminal according to claim 7 for automatically generating interface, which is characterized in that step S2 is specifically included:
The form tag of S21, the form tag for traversing the parameter list respectively and the Response List, and parse and be converted into mould
Block class;
Address, method name, parameter list, response parameter list and the module class of S22, the identification interface, and judge whether to deposit
In Chinese character, if so, the Chinese character is resolved to corresponding English field;
S23, according to the address of the interface, method name and response parameter list generation method class;
S24, parameter class is generated according to the parameter list.
9. the terminal according to claim 8 for automatically generating interface, which is characterized in that step S4 is specifically included:
S41, start generator, obtain the prefix title of project;
S42, template file is loaded according to the generator template;
S43, the prefix title that the prefix title of the addresses host and MOCK tests in configuration file is replaced with to the project;
S44, the address in DAO files is replaced with into the address in the method class;
S45, the attribute of performance in MODEL files is replaced with into the parameter list in the parameter class;
S46, that the method in SERVICE files replaced with the method name according to the DAO files and MODEL files is corresponding
Interface call method.
10. the terminal according to claim 6 for automatically generating interface, which is characterized in that the platform identification is ios platform
Mark, Android platform mark or JAVA platform identifications.
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 true CN108491199A (en) | 2018-09-04 |
CN108491199B 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) |
Cited By (16)
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 |
CN109889587A (en) * | 2019-02-12 | 2019-06-14 | 青岛海尔科技有限公司 | Internet of things system automated construction method, device, equipment and storage medium |
CN111324342A (en) * | 2020-02-10 | 2020-06-23 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for generating interface layer code |
CN111382051A (en) * | 2018-12-29 | 2020-07-07 | 北京数聚鑫云信息技术有限公司 | API automatic test method and test device |
CN111414162A (en) * | 2019-01-07 | 2020-07-14 | 阿里巴巴集团控股有限公司 | Data processing method, device and equipment |
CN111506365A (en) * | 2019-01-31 | 2020-08-07 | 北京数聚鑫云信息技术有限公司 | Method and device for automatically constructing API |
CN111628956A (en) * | 2019-02-28 | 2020-09-04 | 阿里巴巴集团控股有限公司 | Format conversion method, device and system for network request transmission data |
CN112115103A (en) * | 2020-09-02 | 2020-12-22 | 北京奇艺世纪科技有限公司 | File address display method and device, electronic equipment and readable storage medium |
CN112463261A (en) * | 2020-11-20 | 2021-03-09 | 北京达佳互联信息技术有限公司 | Interface calling method and device |
CN113485746A (en) * | 2021-07-28 | 2021-10-08 | 山石网科通信技术股份有限公司 | Method and device for generating application program interface document |
WO2021218063A1 (en) * | 2020-04-27 | 2021-11-04 | 平安科技(深圳)有限公司 | Method and apparatus for assigning parameter with value on the basis of name mapping, and computer device |
CN114035864A (en) * | 2021-11-11 | 2022-02-11 | 中国建设银行股份有限公司 | Interface processing method, interface processing device, electronic device, and storage medium |
CN114356786A (en) * | 2022-03-11 | 2022-04-15 | 中电云数智科技有限公司 | IAM interface authority verification method and device based on automatic interface generation |
CN115964028A (en) * | 2021-10-12 | 2023-04-14 | 讯联数据(无锡)有限公司 | Quick access method and system for third-party payment interface |
CN117370242A (en) * | 2023-10-09 | 2024-01-09 | 汇付天下有限公司 | Adapter and method for generating multilingual SDK client by parsing interface document |
CN117435177A (en) * | 2023-12-20 | 2024-01-23 | 浙江寰福科技有限公司 | Application program interface construction method, system, equipment and storage medium |
Citations (3)
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 |
-
2018
- 2018-03-06 CN CN201810182733.XA patent/CN108491199B/en active Active
Patent Citations (3)
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 |
Cited By (25)
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 |
CN111382051A (en) * | 2018-12-29 | 2020-07-07 | 北京数聚鑫云信息技术有限公司 | API automatic test method and test device |
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 |
CN111414162A (en) * | 2019-01-07 | 2020-07-14 | 阿里巴巴集团控股有限公司 | Data processing method, device and equipment |
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 |
CN111628956A (en) * | 2019-02-28 | 2020-09-04 | 阿里巴巴集团控股有限公司 | 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 |
CN111324342A (en) * | 2020-02-10 | 2020-06-23 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for generating interface layer code |
WO2021218063A1 (en) * | 2020-04-27 | 2021-11-04 | 平安科技(深圳)有限公司 | Method and apparatus for assigning parameter with value on the basis of name mapping, and computer device |
CN112115103A (en) * | 2020-09-02 | 2020-12-22 | 北京奇艺世纪科技有限公司 | File address display method and device, electronic equipment and readable storage medium |
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 |
CN112463261A (en) * | 2020-11-20 | 2021-03-09 | 北京达佳互联信息技术有限公司 | Interface calling method and device |
CN113485746B (en) * | 2021-07-28 | 2024-02-06 | 山石网科通信技术股份有限公司 | Method and device for generating application program interface document |
CN113485746A (en) * | 2021-07-28 | 2021-10-08 | 山石网科通信技术股份有限公司 | 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 |
CN115964028A (en) * | 2021-10-12 | 2023-04-14 | 讯联数据(无锡)有限公司 | Quick 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 |
CN114356786A (en) * | 2022-03-11 | 2022-04-15 | 中电云数智科技有限公司 | 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 |
CN117435177A (en) * | 2023-12-20 | 2024-01-23 | 浙江寰福科技有限公司 | Application program interface construction method, system, equipment and storage medium |
CN117435177B (en) * | 2023-12-20 | 2024-03-26 | 浙江寰福科技有限公司 | Application program interface construction method, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108491199B (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491199A (en) | A kind of method and terminal automatically generating interface | |
CN101609399B (en) | Intelligent website development system based on modeling and method thereof | |
CN106250178A (en) | The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud | |
CN106293808A (en) | The compiling of multilingual cloud realizes the method and system of systemic-function dynamic interception extension | |
CN109657215A (en) | Document structure tree method, equipment, storage medium and device based on template | |
CN103853806A (en) | Method and device for converting table | |
CN103714290B (en) | A kind of software action obtains, monitors and verification method | |
CN102163233A (en) | Method and system for converting webpage markup language format | |
CN106293863A (en) | The compiling of multilingual cloud realizes the method and system that systemic-function dynamic expansion is replaced | |
CN102262684A (en) | Method and device for generating webpage page of mobile terminal | |
CN102385527A (en) | Device and method for improving execution efficiency of service scripts | |
US10474482B2 (en) | Software application dynamic linguistic translation system and methods | |
CN106250179A (en) | The method that system dynamics function intercepts extension is realized by the compiling of multilingual cloud | |
CN110362312A (en) | A kind of syntax conversion compiling system and method suitable for a variety of frames | |
CN111290996A (en) | Document format conversion method, device, equipment and readable storage medium | |
CN113419729A (en) | Front-end page building method, device, equipment and storage medium based on modularization | |
CN102779030A (en) | Execution method and device for registry operation | |
CN103309989A (en) | Intelligent browser for human resource and social security field | |
CN109491884A (en) | Code method for testing performance, device, computer equipment and medium | |
CN107479866A (en) | The method that open terminal applies data and function are realized based on reconfiguration technique | |
CN107070679A (en) | A kind of method uniformly released news in different platform | |
CN114398138A (en) | Interface generation method and device, computer equipment and storage medium | |
CN111488731B (en) | File generation method, device, computer equipment and storage medium | |
CN111159028B (en) | Webpage testing method and device | |
CN111158777B (en) | Component calling method, device and computer readable 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 |