Unlock instant, AI-driven research and patent intelligence for your innovation.

Verification method for front-end receiving server-side data

A receiving server and server-side technology, applied in the direction of creating/generating source code, hardware monitoring, program loading/starting, etc., can solve problems such as inability to return data, and achieve the effects of easy maintenance, concise data structure, and concise code

Active Publication Date: 2022-07-08
AISPEECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that only the global verification result can be returned, and the data after type fault tolerance cannot be returned. Fault tolerance needs to be processed in each business

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
  • Verification method for front-end receiving server-side data
  • Verification method for front-end receiving server-side data
  • Verification method for front-end receiving server-side data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0023] It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.

[0024] The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generall...

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 invention discloses a verification method for front-end receiving server-side data, comprising: configuring an interface document between the front-end and the server-side and requesting an interface address; configuring model data according to the interface document; When the front-end data requests the returned real data, verify the real data and the corresponding model data; when the real data and the corresponding model data do not match, correct the real data and record the error log. The embodiment of the present invention uses non-descriptive model data, and the data structure is concise. And it can not only verify but also record error logs, and realize type fault tolerance through correction, so that developers no longer consider the existence of error types, making the code more concise and easy to maintain.

Description

technical field [0001] The invention relates to the technical field of front-end data processing, and in particular, to a verification method for front-end receiving server-side data, an electronic device and a computer-readable storage medium. Background technique [0002] After the front-end and back-end development are separated, interface documents are usually agreed. Although the interface document is agreed, in rigorous development, neither the data sent by the front end to the back end nor the data sent by the back end to the front end are trustworthy. Therefore, it is necessary to check the data structure and type to ensure the correctness of the subsequent business logic. [0003] With the frequent communication between the front and back ends, more and more such checks will be written, and very similar judgment logic will be written, which not only increases the amount of code, but also makes the code more obscure and difficult to maintain. [0004] The data type...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F11/34G06F8/30
Inventor 张大柱
Owner AISPEECH CO LTD