Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parameter format detection method and device based on interface framework, equipment and medium

An interface framework and detection method technology, applied in the computer field, can solve problems such as front-end compilation errors, inconsistent parameter formats, and reduced software development efficiency, and achieve the effect of reducing error checking, reducing time costs, and improving software development efficiency.

Active Publication Date: 2020-04-28
贵阳货车帮科技有限公司
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the front-end sends back-end request parameters to the simulated back-end, there may be inconsistencies between the format of the back-end request parameters and the parameters provided by the simulated back-end, or, the simulated back-end provides the corresponding back-end to the front-end according to the back-end request parameters sent by the front-end When parameterizing, there is an inconsistency between the back-end parameter format and the parameter format used in front-end development, which leads to errors in the front-end compilation phase, which requires a lot of time and cost to troubleshoot errors, reducing the efficiency of software development

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Parameter format detection method and device based on interface framework, equipment and medium
  • Parameter format detection method and device based on interface framework, equipment and medium
  • Parameter format detection method and device based on interface framework, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a schematic flowchart of a parameter format detection method based on the interface framework provided by Embodiment 1 of the present invention. This embodiment is applicable to the scene of static detection of the custom parameter format in the front-end development process. The method can be based on the interface framework The parameter format detection device based on the interface framework can be composed of hardware and / or software, and can generally be integrated in a computer device, which can be any device with data processing functions. The parameter format detection method based on the interface framework specifically includes the following:

[0032] S101. During the front-end development process, a static format detection is performed on a back-end request parameter by using an initiating request data model, where the type of the back-end request parameter is consistent with the type of the parameter in the initiating request data model.

[...

Embodiment 2

[0084] In another implementation scenario of the present invention, in the embodiment of the present invention, during the front-end development process, using the request data model to perform static format detection on the back-end request parameters further includes: if the detection fails, displaying the failed End request parameters. Combine below figure 2 , the above-mentioned situation of the parameter format detection method based on the interface framework of the present invention will be described.

[0085] figure 2 It is a schematic flowchart of a parameter format detection method based on an interface framework provided by Embodiment 2 of the present invention. This embodiment provides a specific implementation based on the above embodiments, such as figure 2 As shown, the method can include the following:

[0086] S201. During the front-end development process, use the initiation request data model to perform static format detection on the back-end request ...

Embodiment 3

[0097] In order to achieve the above object, an embodiment of the present invention also proposes a parameter format detection device based on an interface framework. image 3 It is a schematic structural diagram of a parameter format detection device based on an interface framework provided by Embodiment 3 of the present invention. like image 3 As shown, the parameter format detection device 300 based on the interface framework in the embodiment of the present invention includes: a first detection module 310 , a first control module 312 , a second detection module 314 and a second control module 316 .

[0098] Wherein, the first detection module 310 is used for performing static format detection on the back-end request parameters by using the data model of the initiation request during the front-end development process, and the type of the parameters of the back-end request is consistent with the type of the parameters in the data model of the initiation request. consistent...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a parameter format detection method and a device based on an interface framework, equipment and a medium. The method comprises the steps of in the front-end development process, adopting an initiating request data model for conducting static format detection on rear-end request parameters, and the types of the rear-end request parameters are consistent with the types of parameters in the initiating request data model; if the detection is passed, sending the back-end request parameters to the simulation back end through an interface of the request datamodel; performing static format detection on the rear-end parameters received from the simulation rear end by adopting a return request data model to obtain a detection result, the types of the rear-end parameters being consistent with the types of the parameters in the return request model; and if the detection result is not passed, displaying the unpassed rear-end parameters. The parameter formats of the front end and the simulation rear end are standardized and unified, so that error checking in the operation stage is reduced, the time cost is reduced, and the software development efficiency is improved.

Description

technical field [0001] The embodiment of the present invention relates to the field of computer technology, and in particular to a parameter format detection method, device, device and medium based on an interface framework. Background technique [0002] With the popularization of software front-end and back-end separation development frameworks, many advantages of the software front-end and back-end development process have been recognized by the industry. For example, the front-end and back-end are developed in parallel during the development process, which can shorten the development cycle. [0003] In the actual application process, when the front-end and back-end are developed in parallel, the front-end usually interacts with the simulation back-end for data development, and the data parameters provided by the simulation back-end are the data simulated by the front-end developers themselves according to their needs. However, when the front-end sends back-end request pa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3608
Inventor 钱龙
Owner 贵阳货车帮科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products