Browser end interface document automation type generation method and system
A browser and type technology, applied in the field of computer gateways, can solve the problems of interface document type generation, writing errors, and low accuracy of interface documents, and achieve the effect of accurate and high-efficiency generated results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] This embodiment discloses a browser-side interface document automatic type generation method, such as figure 1 , 2 , 3, including the following steps:
[0024] S1 inputs the server-side language interface type document, parses different servers, and outputs a type scalar, which is used to map and convert the basic types of the client and the server, where the basic type includes: the scalar unit name and its corresponding client The client type, the client type field, the client field and the unknown type not represented by the server, identify the mapping type and conversion value through the scalar unit name. Among them, the value of unknown type is identified by "any". Basic type fields include but not limited to string (character string), number (value), bigint (large value), boolean (Boolean value) and null (empty value).
[0025] S2 judges whether the input client language is a basic type, if it is a basic type of the client, then it is scalar type, and the typ...
Embodiment 2
[0028] Based on the same inventive concept, this embodiment discloses a browser-side interface document automation type generation system, including:
[0029] The language conversion module is used to input the language interface type document of the server, analyze different servers, and output the type scalar;
[0030] The type judgment module is used to judge whether the input client language is a basic type, if so, add its type scalar to the type queue to be output, and add its type name and type value to the type queue to be output, otherwise enter Next step;
[0031] The new type generation module is used to generate a new type, count all new types, and add the attribute of the upward connection type. The key name of the new type is the field name, and the value is the original basic type inherited by the backend interface;
[0032] The statistical merging module is used to merge all types in the type queue to be output, and add them to the output type queue, add non-em...
Embodiment 3
[0035] Based on the same inventive concept, this embodiment discloses a computer-readable storage medium storing one or more programs, one or more programs include instructions, and the instructions, when executed by a computing device, cause the computing device to execute any one of the above-mentioned The browser-side interface document automation type generation method for the item.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com