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

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 on the server side is implemented by different objects, that is, the logic implementations of the two are separated, which may easily lead to inconsistencies between the verification logic on the client side and the server side, and the difference in verification logic is large, which will increase the probability of system errors and maintenance cost

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

Embodiment Construction

[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 and the verification of the client are associated through a mechanism. Specifically, the verification logic of the server and the client can be defined uniformly by associating the verifier and the verification domain, and the verification of the embodiment of the present invention The controller is not only responsible for data verification on the server side, but also responsible for outputting script codes for data verification on the client side, thereby reducing the inconsistency between the verification logic on the server side and the client side. Each will be described in detail below.

[0037] The communication system provided by the embodiment of the present invention includes a server end and a client end, wherein, the server end is used to receive a Web req...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products