Method and device for validating data on webpage form

A data verification and form data technology, applied in the field of network applications, can solve problems such as inconsistent verification logic, increased system error probability and maintenance costs, and large differences in verification logic

Inactive Publication Date: 2009-11-04
HUAWEI TECH CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The server-side validation logic is implemented in the validator, that is, the validation logic of the validator itself, while the logic code for data validation on the client side is generated by the script module through the template according to the validation ID. Since the validation logic code of the client side and The verification logic

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
  • Method and device for validating data on webpage form
  • Method and device for validating data on webpage form
  • Method and device for validating data on webpage form

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0036] The embodiment of the present invention provides a method for verifying webpage form data and a corresponding device. Among them, in the embodiment of the present invention, the verification of the server side and the verification of the client side are associated through a mechanism. Specifically, the verification logic of the server side and the client side can be defined uniformly by the associated verifier and the verification domain, and the verification in the embodiment of the present invention The server is responsible for both server-side data verification and script code output for client-side data verification, thereby reducing the inconsistency between server-side and client-side verification logic. Detailed descriptions are given below.

[0037] The communication system provided by the embodiment of the present invention includes a server and a client. The server is used to receive a Web request from the client for obtaining a form page, generate the page conte...

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 provides a device and a method for validating data on a webpage form. The device comprises a verifier management module and a script module, wherein the verifier management module is used for managing at least one verifier and maintaining the corresponding relation information between a verifier mark and the verifier; the script module is used for receiving a call request which generates a script code and comprises form domain information of the webpage form, acquiring the verifier relevant to the form domain of the webpage form in verifiers managed by the verifier management module according to the form domain information contained in the call request, obtaining the script code for data validation of a client through using the verifier and outputting the script code used for the client to validate the date in the form domain. By the device and the method, the variance between the validation logics of the client and a server terminal is reduced, thereby the error ratio of a system is reduced.

Description

technical field [0001] The invention relates to the field of network applications, in particular to a method and device for verifying web page form data. Background technique [0002] At present, there are more and more applications based on WEB (web pages). Among these applications, it is very common to use WEB forms to submit data from the client to the server. Submitting data to the server based on a web form generally requires verification of the data entered by the user. Only after the data is verified and valid can the data be further processed. [0003] For example, on a webpage of a registered user, it is required to enter user name, password and other information, where the user name must be a string of more than 6 characters, then when the user submits a registration request after entering 5 characters, the system will give a prompt, Note that the input field of user name must be a string of more than 6 characters. For other input fields, such as passwords, there...

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): H04L29/06H04L29/08H04L12/26G06F21/64
CPCG06F21/64
Inventor 刘建军
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products