[go: up one dir, main page]

CN111736811A - Form data verification method, system, server and user terminal - Google Patents

Form data verification method, system, server and user terminal Download PDF

Info

Publication number
CN111736811A
CN111736811A CN202010523593.5A CN202010523593A CN111736811A CN 111736811 A CN111736811 A CN 111736811A CN 202010523593 A CN202010523593 A CN 202010523593A CN 111736811 A CN111736811 A CN 111736811A
Authority
CN
China
Prior art keywords
form data
data
page
verification
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010523593.5A
Other languages
Chinese (zh)
Inventor
徐伟伟
李雄杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suning Cloud Computing Co Ltd
Original Assignee
Suning Cloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suning Cloud Computing Co Ltd filed Critical Suning Cloud Computing Co Ltd
Priority to CN202010523593.5A priority Critical patent/CN111736811A/en
Publication of CN111736811A publication Critical patent/CN111736811A/en
Priority to PCT/CN2021/098730 priority patent/WO2021249356A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3604Analysis of software for verifying properties of programs
    • G06F11/3608Analysis of software for verifying properties of programs using formal methods, e.g. model checking, abstract interpretation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of software development, in particular to a form data verification method, a server, a user terminal and a system. The method comprises the following steps: the method comprises the steps that after a form acquisition request of a user terminal is received by a server, a form page corresponding to the request is generated, a form data check rule corresponding to the form page is determined, a form data check file is generated according to the check rule, the form page and the check file are sent to the user terminal, the user terminal displays the form page and checks form data related to a submission instruction through the check file when the form data submission instruction issued by a user through the form page is detected; after receiving a form data submission request which is sent by a user terminal and is associated with the form data which passes the verification, the server acquires the verification rule and verifies the form data according to the verification rule, so that the code amount which needs to be written when developers need to realize the function of verifying the form data is reduced.

Description

Form data verification method, system, server and user terminal
Technical Field
The present application relates to the field of software development technologies, and in particular, to a form data verification method, system, server, and user terminal.
Background
In a scene of submitting form data, the submitted form data generally needs to be verified, and the verification of the form data comprises foreground JavaScript verification and background Java layer verification, namely, when the form data is submitted, the foreground verifies the form data once, and after the form data passes the foreground verification, the background verifies the form data once again.
In the current Java Web software development process, in order to realize the function of verifying form data, one mode is that developers write a form, write JavaScript verification codes for verifying the form data, and receive form data from a foreground and Java verification codes for verifying the form data; another way is for the developer to write a form, perform a simple data check using a JavaScript framework, and add annotations to the background bean file, describing the check rules of the form fields by the annotations.
The first mode has the defects that developers need to separately write foreground and background check codes, so that the problem of inconsistent check results of the foreground and the background is easy to occur, the hard code writing has no reusability, and the writing workload of two check codes is large; the second method also needs a developer to separately write foreground and background check codes, so that the problem of inconsistent check results of the foreground and the background is easily caused, although the developer can annotate the check rules for describing the fields to reduce the code amount to be written, when the second method is used for development, the background can only simply check the form data, but cannot perform complex checks on the form data, such as service data check or logic check and other check methods.
Disclosure of Invention
The invention provides a form data verification method, a system, a server and a user terminal aiming at the defects of the prior art, the embodiment of the invention can reduce the code amount required to be written by developers, the developers can realize the function of verifying the form data by coding a small amount of codes, the backstage, namely the server, can also verify the form data by using a complex verification mode, and the condition that the verification results of the backstage and the backstage are inconsistent can not occur.
The present invention provides a form data verification method according to a first aspect, and in one embodiment, the method includes:
receiving a form acquisition request of a user terminal, and generating a form page corresponding to the form acquisition request;
determining a form data check rule corresponding to the form page, and generating a form data check file according to the form data check rule;
sending the form page and the form data verification file to a user terminal so that the user terminal can display the form page, and verifying form data associated with the form data submission instruction through the form data verification file when detecting a form data submission instruction issued by a user through the form page;
receiving a form data submission request which is sent by a user terminal after the form data passes the verification and is associated with the form data, acquiring a form data verification rule, and verifying the form data according to the form data verification rule.
In one embodiment, the form page includes at least one form field;
determining a form data verification rule corresponding to the form page, including:
analyzing the form page through a self-defined template tag in the form page to obtain a form data check rule corresponding to the form page, wherein the form data check rule comprises a check rule corresponding to each form field in the form page;
in one embodiment, the check rule corresponding to each form field is embedded in the page tag attribute of each form field in advance;
analyzing the form page through the self-defined template tag in the form page to obtain a form data check rule corresponding to the form page, wherein the method comprises the following steps:
analyzing the page tag of each form field in the form page through the self-defined template tag in the form page to obtain a check rule pre-embedded in the attribute of the page tag corresponding to the page tag of each form field;
in one embodiment, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
In one embodiment, the form data includes at least one form field data, the form field data being data entered by a user for a form field in the form page;
the receiving of the form data submission request related to the form data sent by the user terminal after the form data passes the verification includes:
and receiving a form data submission request sent by the user terminal, wherein the form data submission request is sent after the form data is verified by the form data verification file.
In one embodiment, the form data submission request is sent after the form data is verified, wherein the form data is associated with the form data submission instruction and acquired by the user terminal, a verification rule corresponding to each form field data in the form data is extracted from the form data verification file, and the extracted verification rule corresponding to each form field data is used for verifying each form field data;
in one embodiment, the form data is verified according to the form data verification rule, including:
extracting a check rule corresponding to each form field data in the form data from the form data check rule;
checking each form field data by using the extracted checking rule corresponding to each form field data;
in one embodiment, the form data validation rules include the same validation rules as the form data validation file.
In one embodiment, after determining the form data check rule corresponding to the form page, the method includes:
storing the form data verification rule into a cache;
obtaining the form data verification rule includes:
and obtaining the form data verification rule from the cache.
In one embodiment, generating the form data verification file according to the form data verification rule includes:
and generating a form data check file according to the check rule corresponding to each form field in the form page, wherein the form data check file is a JavaScript file.
The invention provides another form data verification method according to a second aspect, which in one embodiment comprises:
sending a form acquisition request to a server to obtain a form page and a form data verification file, wherein the form page is generated after the server receives the form acquisition request, and the form data verification file is generated according to a form data verification rule corresponding to the form page determined by the server;
displaying the form page;
when a form data submission instruction issued by a user through the form page is detected, form data related to the form data submission instruction is verified through the form data verification file;
and after the form data passes the verification, sending a form data submission request associated with the form data to the server, wherein the form data submission request is used for indicating the server to acquire the form data verification rule and verifying the form data according to the form data verification rule.
In one embodiment, the form data associated with the form data submission instruction is verified through the form data verification file, including:
obtaining form data associated with the form data submission instruction, wherein the form data comprises at least one form field data, and the form field data is data input by a user aiming at a form field in a form page;
checking all form field data in the form data through the form data checking file;
in one embodiment, the checking of all form field data in the form data by the form data check file includes:
extracting a verification rule corresponding to each form field data in the form data from the form data verification file;
and checking each extracted form field data by using a check rule corresponding to each form field data.
In one embodiment, the form page includes at least one form field, and the form data verification rule includes a verification rule corresponding to each form field in the form page, which is obtained by the server parsing the form page through a custom template tag in the form page.
In an embodiment, the form data check rule includes a check rule corresponding to each form field that is embedded in the page tag attribute of each form field in advance, and the check rule is obtained by the server analyzing the page tag of each form field in the form page through a custom template tag in the form page.
In one embodiment, the form data submission request is used to instruct the server to obtain the form data check rule, extract the check rule corresponding to each form field data in the form data from the form data check rule, and check each form field data by using the extracted check rule corresponding to each form field data;
in one embodiment, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
In one embodiment, the form data validation rules include the same validation rules as the form data validation file.
In one embodiment, the form data check file is a JavaScript file.
The present invention provides according to a third aspect a server, which in one embodiment comprises:
the form page generation module is used for receiving a form acquisition request of a user terminal and generating a form page corresponding to the form acquisition request;
the verification file generation module is used for determining a form data verification rule corresponding to the form page and generating a form data verification file according to the form data verification rule;
the sending module is used for sending the form page and the form data verification file to a user terminal so that the user terminal can display the form page, and when a form data submission instruction issued by a user through the form page is detected, the form data related to the form data submission instruction is verified through the form data verification file;
and the verification module is used for receiving a form data submission request which is sent by the user terminal after the form data passes the verification and is associated with the form data, acquiring the form data verification rule, and verifying the form data according to the form data verification rule.
The present invention provides, in accordance with a fourth aspect, a user terminal, which in one embodiment comprises:
the system comprises an acquisition request sending module, a form data verification module and a form data verification module, wherein the acquisition request sending module is used for sending a form acquisition request to a server to acquire a form page and a form data verification file, the form page is generated after the server receives the form acquisition request, and the form data verification file is generated according to a form data verification rule corresponding to the form page determined by the server;
the display module is used for displaying the form page;
the verification module is used for verifying the form data related to the form data submission instruction through the form data verification file when the form data submission instruction issued by the user through the form page is detected;
and the submission request sending module is used for sending a form data submission request associated with the form data to the server after the form data passes the verification, wherein the form data submission request is used for indicating the server to acquire the form data verification rule and verifying the form data according to the form data verification rule.
The present invention provides, according to a fifth aspect, a form data verification system, which, in one embodiment, includes: a user terminal and a server; wherein,
a user terminal sends a form acquisition request to a server;
the server receives the form acquisition request, generates a form page corresponding to the form acquisition request, determines a form data verification rule corresponding to the form page, generates a form data verification file according to the form data verification rule, and sends the form page and the form data verification file to the user terminal;
the method comprises the steps that after a user terminal obtains a form page and a form data verification file, the form page is displayed, when a form data submission instruction issued by a user through the form page is detected, the form data verification file is used for verifying form data related to the form data submission instruction, and after the form data passes verification, a form data submission request related to the form data is sent to a server;
and the server receives the form data submission request, acquires the form data verification rule, and verifies the form data associated with the form data submission request according to the form data verification rule.
In the embodiment of the present invention, after receiving a form acquisition request from a user terminal, a server generates a form page corresponding to the form acquisition request, determines a form data check rule corresponding to the form page, generates a form data check file according to the form data check rule, and sends the form page and the form data check file to the user terminal, so that the user terminal displays the form page and checks form data associated with the form data check file when detecting a form data submission instruction issued by a user through the form page; after receiving a form data submission request which is sent by a user terminal after the form data passes the verification and is associated with the form data, the server acquires the form data verification rule and verifies the form data according to the form data verification rule, so that the code amount required to be written by a developer when the function of verifying the form data is realized can be reduced, and a background, namely the server, can verify the form data by using a complex verification mode. In addition, because the form data verification file is generated according to the form data verification rule, the verification rules adopted by the foreground and the background for verifying the form data are consistent, and the condition that the verification results of the foreground and the background are inconsistent can not occur.
Drawings
FIG. 1 is a diagram illustrating associated devices in a form data verification system, in accordance with an embodiment;
FIG. 2 is a diagram illustrating an interaction flow between a server and a user terminal in the form data verification system in one embodiment;
FIG. 3 is a flowchart illustrating a method for verifying form data according to an embodiment;
FIG. 4 is a flowchart illustrating another method for verifying form data according to an embodiment;
FIG. 5 is a block diagram of a server in one embodiment;
FIG. 6 is a block diagram of a user terminal in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Example one
An embodiment of the present invention provides a form data verification system, as shown in fig. 1, the system includes a server 10 and a user terminal 20, where the server 10 may be implemented by an independent server or a cluster formed by multiple servers, and the user terminal 20 may be a computing device such as a smart phone, a notebook computer, a tablet computer, and an intelligent wearable device. Further, the server 10 is installed with a server program, and the user terminal 20 is installed with a client program corresponding to the server program.
As shown in FIG. 2, the interactive process between the server 10 and the user terminal 20 includes steps S10-S40.
Step S10: the user terminal sends a form acquisition request to the server.
In this embodiment, the user terminal may receive an instruction of a user and send a form acquisition request to the server in response to the instruction. The form acquisition request is a page acquisition request for acquiring a page (i.e., a web page) from a server, such as an http (HyperText Transfer Protocol) request and an https (HyperText Transfer Protocol over secure session Layer) request, and for convenience of description, the page acquisition request including the form in the page to be acquired is described as the form acquisition request. Wherein the form is used in a web page for receiving input from a user.
Step S20: the server receives the form acquisition request, generates a form page corresponding to the form acquisition request, determines a form data verification rule corresponding to the form page, generates a form data verification file according to the form data verification rule, and sends the form page and the form data verification file to the user terminal.
In this embodiment, after receiving the form obtaining request, the server may parse the form obtaining request to generate a form page, and specifically, the server may generate the form page through freeMark (a template engine, which may generate text output based on a template), where the form page is an HTML file. Because the generated page belongs to the form page, namely the page containing the form, the server can determine the form data check rule corresponding to the form page again. The form page may include at least one form field, such as a plain text box, a text block, a radio box, a check box, and the like, where different form fields correspond to different fields to obtain different field information, such as a user name field corresponding to one form field and a password field corresponding to another form field.
In one embodiment, when the server determines the form data check rule corresponding to the form page, the form page is analyzed through the custom template tag in the form page, so that the form data check rule corresponding to the form page is obtained, and therefore, developers only need to write the code of the form in early development, add the check rule in the attribute of each form field in the form, and add the relevant annotation identifier at a background receiving interface, so that the verification of the form data between the server and the user terminal can be realized, and the JavaScript check code for verifying the form data and the java check code for verifying the form data do not need to be written. Further, the check rule may be specific rule description information. The verification rule can also be a rule identifier having a mapping relation with the rule description information, and the mapping relation between the rule description information and the rule identifier can be configured in a configuration file, so that when a developer adds the verification rule, the developer only needs to add the corresponding rule identifier without writing specific rule description information, and the code writing amount of the developer is further reduced.
Illustratively, the configuration contents of the configuration file may be those shown below.
Figure BDA0002532919610000091
Figure BDA0002532919610000101
Specifically, the form data check rule includes a check rule corresponding to each form field in the form page, for example, there are two form fields in the form page, a form field a for obtaining a user name and a form field B for obtaining a password, and the form data check rule includes a check rule _ a for checking the form field data corresponding to the form field a and a check rule _ B for checking the form field data corresponding to the form field B. And the checking rule corresponding to the form field is used for checking the form field data corresponding to the form field. Further, the check rule corresponding to the form field may include at least one of a regular check rule, a logic check rule, and a service data check rule, and the check rules corresponding to different form fields may be the same or partially the same.
Illustratively, in a user login scenario, the code segments corresponding to the form in the form page are as follows:
< form >
< custom template tag >
< text field username rule1>
< text field past rule2>
</custom template tag >
[ form ]
In the code fragment, a form page comprises two fields, namely a user name 'username' and a password ', when a developer develops in the prior period, verification rules corresponding to the two fields are embedded into the code fragment through a custom template tag, so that a server can obtain the rule corresponding to the user name' username 'as rule1 through the custom template tag analysis, and the verification rule corresponding to the password' as rule 2.
In one embodiment, the verification rule corresponding to each form field is embedded into the page tag attribute of each form field, namely the attribute of the page tag corresponding to each form field, in advance by a developer during previous development. The page tag is a dom tag or an HTML tag. The page tags corresponding to the form fields may include, but are not limited to, < input >, < select >.
The method comprises the steps that a server analyzes a form page through a custom template tag in the form page to obtain a form data check rule corresponding to the form page, and specifically, the server analyzes a page tag of each form field in the form page through the custom template tag in the form page to obtain a check rule pre-embedded in a page tag attribute corresponding to the page tag of each form field.
After the form data check rule is determined, the server generates a form data check file according to the form data check rule, wherein the check rule included by the form data check rule is the same as the check rule included by the form data check file, so that the check rules adopted by the server and the user terminal for checking the form data can be unified, and the condition that the check results of the foreground and the background are different is avoided.
In one embodiment, the step of generating the form data check file by the server according to the form data check rule is specifically that the server generates the form data check file according to the check rule corresponding to each form field in the form page. Specifically, the form data check file is a JavaScript file and is embedded in the form page.
Step S30: the method comprises the steps that a user terminal displays a form page after obtaining the form page and a form data verification file, when a form data submission instruction issued by a user through the form page is detected, the form data verification file is used for verifying form data related to the form data submission instruction, and after the form data passes the verification, a form data submission request related to the form data is sent to a server.
In this embodiment, after the user terminal obtains the form page from the server, the HTML code in the form page is loaded, and the form page is displayed to the user. The user may enter form field data in a form field on the form page, such as entering username information in a text box (form field) in the username field.
When the user finishes inputting the form field data and issues a form data submission instruction to the user terminal (for example, the user may issue the instruction through a submission button in a page), the form data associated with the form data submission instruction is obtained, and then the form data is verified through the form data verification file. The form data includes at least one form field data, and the form field data is data input by a user for a form field in the form page, namely data input by the user on the form field. It should be noted that, in some scenarios, a user needs to fill all form fields in a form page to submit, and in other scenarios, the user is allowed to fill only a part of form fields in the form page (for example, the user only fills in form fields that need to be filled, but not form fields that need not be filled), so that the form field data included in the form data may be form field data corresponding to all form fields on the form page, or form field data corresponding to a part of form fields on the form page.
The step that the user terminal verifies the form data associated with the form data submission instruction through the form data verification file comprises the following steps:
the user terminal obtains form data associated with the form data submission instruction;
and checking all form field data in the form data through the form data check file.
When the user terminal verifies all the form field data in the form data through the form data verification file, specifically, a verification rule corresponding to each form field data in the form data is extracted from the form data verification file, and then the extracted verification rule corresponding to each form field data is used for verifying each form field data.
Step S40: and the server receives the form data submission request, acquires the form data verification rule, and verifies the form data associated with the form data submission request according to the form data verification rule.
In this embodiment, when the form data is verified by the user terminal and the verification is passed, the form data is submitted to the server, and the server verifies the form data again after receiving the form data. The server acquires a form data verification rule corresponding to the form data, and then verifies the form data according to the form data verification rule. Specifically, the server extracts a check rule corresponding to each form field data in the form data from the form data check rule, and then checks each form field data by using the check rule corresponding to each extracted form field data.
In one embodiment, after determining the form data check rule corresponding to the form page, the server may store the form data check rule in a cache. Accordingly, when the server needs to obtain the form data check rule after receiving the form data submission request, the server may obtain the form data check rule from the cache.
Example two
Based on the same inventive concept as the first embodiment, an embodiment of the present invention provides a form data verification method, and the following description will take an example in which the method is applied to a server in the form data verification system. As shown in fig. 3, the method comprises the steps of:
step S110: and receiving a form acquisition request of the user terminal, and generating a form page corresponding to the form acquisition request.
Step S120: and determining a form data check rule corresponding to the form page, and generating a form data check file according to the form data check rule.
Step S130: and sending the form page and the form data verification file to a user terminal so that the user terminal can display the form page, and verifying form data associated with the form data submission instruction through the form data verification file when detecting the form data submission instruction issued by the user through the form page.
Step S140: receiving a form data submission request which is sent by a user terminal after the form data passes the verification and is associated with the form data, acquiring a form data verification rule, and verifying the form data according to the form data verification rule.
According to the method and the device for verifying the form data, the code amount required to be written by a developer when the function of verifying the form data is realized can be reduced, and a background, namely a server, can verify the form data in a complex verification mode. In addition, because the form data verification file is generated according to the form data verification rule, the verification rules adopted by the foreground and the background for verifying the form data are consistent, and the condition that the verification results of the foreground and the background are inconsistent can not occur.
In one embodiment, the form page includes at least one form field;
determining a form data verification rule corresponding to the form page, including:
analyzing the form page through a self-defined template tag in the form page to obtain a form data check rule corresponding to the form page, wherein the form data check rule comprises a check rule corresponding to each form field in the form page;
in one embodiment, the check rule corresponding to each form field is embedded in the page tag attribute of each form field in advance;
analyzing the form page through the self-defined template tag in the form page to obtain a form data check rule corresponding to the form page, wherein the method comprises the following steps:
analyzing the page tag of each form field in the form page through the self-defined template tag in the form page to obtain a check rule pre-embedded in the attribute of the page tag corresponding to the page tag of each form field;
in one embodiment, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
In one embodiment, the form data includes at least one form field data, the form field data being data entered by a user for a form field in the form page;
the receiving of the form data submission request related to the form data sent by the user terminal after the form data passes the verification includes:
and receiving a form data submission request sent by the user terminal, wherein the form data submission request is sent after the form data is verified by the form data verification file.
In one embodiment, the form data submission request is that the user terminal acquires form data associated with the form data submission instruction, extracts a verification rule corresponding to each form field data in the form data from the form data verification file, verifies each form field data by using the extracted verification rule corresponding to each form field data, and sends the verified form data;
in one embodiment, the form data is verified according to the form data verification rule, including:
extracting a check rule corresponding to each form field data in the form data from the form data check rule;
checking each form field data by using the extracted checking rule corresponding to each form field data;
in one embodiment, the form data validation rules include the same validation rules as the form data validation file.
In one embodiment, after determining the form data check rule corresponding to the form page, the method includes:
storing the form data verification rule into a cache;
obtaining the form data verification rule includes:
and obtaining the form data verification rule from the cache.
In one embodiment, generating the form data check file according to the form data check rule includes:
and generating a form data check file according to the check rule corresponding to each form field in the form page, wherein the form data check file is a JavaScript file.
The present embodiment is provided based on the same inventive concept as the first embodiment, and therefore, for specific limitations of the form data verification method provided in the present embodiment, reference may be made to limitations of an interaction process between a server and a user terminal in the first embodiment, which is not described herein again.
EXAMPLE III
An embodiment of the present invention provides a form data verification method, and the following description takes an example in which the method is applied to a user terminal in the form data verification system. As shown in fig. 4, the method comprises the steps of:
step S210: sending a form acquisition request to a server to acquire a form page and a form data verification file, wherein the form page is generated after the server receives the form acquisition request, and the form data verification file is generated according to a form data verification rule corresponding to the form page and determined by the server.
Step S220: and displaying the form page.
Step S230: and when detecting that a user submits a form data submitting instruction issued by the form page, verifying the form data associated with the form data submitting instruction through the form data verification file.
Step S240: and after the form data passes the verification, sending a form data submission request associated with the form data to the server, wherein the form data submission request is used for indicating the server to acquire the form data verification rule and verifying the form data according to the form data verification rule.
According to the method and the device for verifying the form data, the code amount required to be written by a developer when the function of verifying the form data is realized can be reduced, and a background, namely a server, can verify the form data in a complex verification mode. In addition, because the form data verification file is generated according to the form data verification rule, the verification rules adopted by the foreground and the background for verifying the form data are consistent, and the condition that the verification results of the foreground and the background are inconsistent can not occur.
In one embodiment, the checking the form data associated with the form data submission instruction through the form data check file includes:
obtaining form data associated with the form data submission instruction, wherein the form data comprises at least one form field data, and the form field data is data input by a user aiming at a form field in a form page;
checking all form field data in the form data through the form data checking file;
in one embodiment, the checking of all form field data in the form data by the form data check file includes:
extracting a verification rule corresponding to each form field data in the form data from the form data verification file;
and checking each extracted form field data by using a check rule corresponding to each form field data.
In one embodiment, the form page includes at least one form field, and the form data verification rule includes a verification rule corresponding to each form field in the form page, which is obtained by the server parsing the form page through a custom template tag in the form page.
In one embodiment, the form data check rule includes a check rule corresponding to each form field that is embedded in the page tag attribute of each form field in advance, and the check rule is obtained by the server analyzing the page tag of each form field in the form page through a custom template tag in the form page.
In one embodiment, the form data submission request is used to instruct the server to obtain the form data verification rules, extract the verification rules corresponding to each form field data in the form data from the form data verification rules, and verify each form field data by using the extracted verification rules corresponding to each form field data;
in one embodiment, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
In one embodiment, the form data check rule includes the same check rule as the form data check file.
In one embodiment, the form data check file is a JavaScript file.
The present embodiment is provided based on the same inventive concept as the first embodiment, and therefore, for specific limitations of the form data verification method provided in the present embodiment, reference may be made to limitations of an interaction process between a server and a user terminal in the first embodiment, which is not described herein again.
Example four
Based on the same inventive concept as the embodiment, an embodiment of the present invention provides a server, as shown in fig. 5, including the following modules:
the form page generating module 110 is configured to receive a form obtaining request of a user terminal, and generate a form page corresponding to the form obtaining request;
the verification file generation module 120 is configured to determine a form data verification rule corresponding to the form page, and generate a form data verification file according to the form data verification rule;
a sending module 130, configured to send the form page and the form data check file to the user terminal, so that the user terminal displays the form page, and when a form data submission instruction issued by a user through the form page is detected, check, through the form data check file, form data associated with the form data submission instruction;
the verification module 140 is configured to receive a form data submission request associated with the form data and sent by the user terminal after the form data passes verification, obtain the form data verification rule, and verify the form data according to the form data verification rule.
In one embodiment, the form page includes at least one form field;
the verification file generation module comprises:
and the analysis submodule is used for analyzing the form page through a self-defined template tag in the form page to obtain a form data check rule corresponding to the form page, and the form data check rule comprises a check rule corresponding to each form field in the form page.
In one embodiment, the check rule corresponding to each form field is embedded in the page tag attribute of each form field in advance;
the analysis submodule is further configured to analyze the page tag of each form field in the form page through the custom template tag in the form page, so as to obtain a check rule pre-embedded in the page tag attribute corresponding to the page tag of each form field.
In one embodiment, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
In one embodiment, the form data includes at least one form field data, the form field data being data entered by a user for a form field in the form page;
a verification module comprising:
and the submission request receiving submodule is used for receiving a form data submission request sent by the user terminal, wherein the form data submission request is sent after the form data is verified by the form data verification file after the form data is obtained by the user terminal and is associated with the form data submission instruction.
In one embodiment, the form data submission request is sent after the user terminal obtains form data associated with the form data submission instruction, extracts a verification rule corresponding to each form field data in the form data from the form data verification file, verifies each form field data using the extracted verification rule corresponding to each form field data, and verifies the form data after the form data passes verification.
In one embodiment, a verification module, comprising:
the rule extraction submodule is used for extracting a verification rule corresponding to each form field data in the form data from the form data verification rule;
the checking submodule is used for checking the form field data by using the extracted checking rule corresponding to the form field data;
in one embodiment, the form data verification rule includes the same verification rule as the form data verification file.
In one embodiment, the server further comprises a storage module;
the storage module is used for storing the form data check rule into a cache after the form data check rule corresponding to the form page is determined.
Correspondingly, the verification module is specifically configured to obtain the form data verification rule from the cache when the verification module is used to obtain the form data verification rule.
In one embodiment, the check file generating module is further configured to generate a form data check file according to a check rule corresponding to each form field in the form page, where the form data check file is a JavaScript file.
For specific limitations of the server, reference may be made to the above limitations of the form data checking method applied to the server, and details are not described here. The various modules in the server described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
EXAMPLE five
Based on the same inventive concept as the embodiment, an embodiment of the present invention provides a user terminal, as shown in fig. 6, including the following modules:
an obtaining request sending module 210, configured to send a form obtaining request to a server to obtain a form page and a form data verification file, where the form page is a page generated after the server receives the form obtaining request, and the form data verification file is a file generated by the server according to a form data verification rule that the server determines the form page corresponds to;
a display module 220, configured to display the form page;
the verification module 230 is configured to, when detecting that a form data submission instruction issued by a user through the form page is issued, verify, through the form data verification file, form data associated with the form data submission instruction;
a submission request sending module 240, configured to send a form data submission request associated with the form data to the server after the form data passes verification, where the form data submission request is used to instruct the server to obtain the form data verification rule, and verify the form data according to the form data verification rule.
In one embodiment, a verification module, comprising:
the form data acquisition sub-module is used for acquiring form data related to the form data submission instruction, wherein the form data comprises at least one form field data, and the form field data is data input by a user aiming at a form field in the form page;
the checking submodule is used for checking all form field data in the form data through the form data checking file;
in one embodiment, a check submodule includes:
the rule extraction unit is used for extracting a verification rule corresponding to each form field data in the form data from the form data verification file;
and the checking unit is used for checking the form field data by using the extracted checking rule corresponding to the form field data.
In one embodiment, the form page includes at least one form field, and the form data verification rule includes a verification rule corresponding to each form field in the form page, which is obtained by the server parsing the form page through a custom template tag in the form page.
In an embodiment, the form data check rule includes a check rule corresponding to each form field that is embedded in the page tag attribute of each form field in advance, and the check rule is obtained by the server analyzing the page tag of each form field in the form page through a custom template tag in the form page.
In one embodiment, the form data submission request is used to instruct the server to obtain the form data check rule, extract the check rule corresponding to each form field data in the form data from the form data check rule, and check each form field data using the extracted check rule corresponding to each form field data.
In one embodiment, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
In one embodiment, the form data verification rule includes the same verification rule as the form data verification file.
In one embodiment, the form data check file is a JavaScript file.
For specific limitations of the user terminal, reference may be made to the above limitations on the form data verification method applied to the user terminal, and details are not described herein again. The modules in the user terminal can be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
EXAMPLE six
One embodiment of the present invention provides a computer device, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as form data check rules and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection.
In one embodiment, the processor, when executing the computer program, performs the steps of the form data verification method described in example two.
In another embodiment, the processor, when executing the computer program, performs the steps of the form data verification method described in example three.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
EXAMPLE seven
One embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon.
In one embodiment, the computer program, when executed by a processor, performs the steps of the form data verification method described in example two.
In another embodiment, the computer program, when executed by a processor, performs the steps of the form data verification method described in example three.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A form data verification method, the method comprising:
receiving a form acquisition request of a user terminal, and generating a form page corresponding to the form acquisition request;
determining a form data verification rule corresponding to the form page, and generating a form data verification file according to the form data verification rule;
sending the form page and the form data verification file to the user terminal so that the user terminal can display the form page, and verifying form data associated with the form data submission instruction through the form data verification file when detecting a form data submission instruction issued by a user through the form page;
receiving a form data submission request which is sent by the user terminal after the form data passes the verification and is associated with the form data, acquiring a form data verification rule, and verifying the form data according to the form data verification rule.
2. The form data verification method of claim 1,
the form page includes at least one form field;
the determining of the form data verification rule corresponding to the form page includes:
analyzing the form page through a self-defined template tag in the form page to obtain a form data check rule corresponding to the form page, wherein the form data check rule comprises a check rule corresponding to each form field in the form page;
preferably, the check rule corresponding to each form field is embedded in the page tag attribute of each form field in advance;
analyzing the form page through the custom template tag in the form page to obtain a form data check rule corresponding to the form page, including:
analyzing the page tag of each form field in the form page through the self-defined template tag in the form page to obtain a check rule pre-embedded in the attribute of the page tag corresponding to the page tag of each form field;
preferably, the check rule corresponding to the form field is used to check the form field data corresponding to the form field.
3. The form data verification method of any of claims 1-2,
the form data comprises at least one form field data, the form field data being data entered by a user for a form field in the form page;
the receiving a form data submission request which is sent by the user terminal after the form data passes the verification and is associated with the form data includes:
receiving a form data submission request sent by the user terminal, wherein the form data submission request is sent after the form data is verified, and the form data submission request is sent after the form data is obtained by the user terminal and is associated with the form data submission instruction;
preferably, the form data submission request is sent after the user terminal obtains form data associated with the form data submission instruction, extracts a verification rule corresponding to each form field data in the form data from the form data verification file, verifies each form field data by using the extracted verification rule corresponding to each form field data, and verifies the form data after the form data passes the verification;
preferably, the checking the form data according to the form data checking rule includes:
extracting a check rule corresponding to each form field data in the form data from the form data check rule;
checking each form field data by using the extracted checking rule corresponding to each form field data;
preferably, the form data check rule includes the same check rule as the check rule included in the form data check file;
preferably, after determining the form data check rule corresponding to the form page, the method includes:
storing the form data verification rule into a cache;
the obtaining of the form data verification rule includes:
and obtaining the form data verification rule from a cache.
4. The form data verification method of any of claims 1-3,
the generating of the form data verification file according to the form data verification rule includes:
and generating a form data check file according to the check rule corresponding to each form field in the form page, wherein the form data check file is a JavaScript file.
5. A form data verification method, the method comprising:
sending a form acquisition request to a server to obtain a form page and a form data verification file, wherein the form page is generated after the server receives the form acquisition request, and the form data verification file is generated according to a form data verification rule corresponding to the form page determined by the server;
displaying the form page;
when a form data submission instruction issued by a user through the form page is detected, form data related to the form data submission instruction is verified through the form data verification file;
and after the form data passes the verification, sending a form data submission request associated with the form data to the server, wherein the form data submission request is used for indicating the server to acquire the form data verification rule and verifying the form data according to the form data verification rule.
6. The form data verification method of claim 5,
the checking the form data associated with the form data submission instruction through the form data checking file includes:
obtaining form data associated with the form data submission instruction, wherein the form data comprises at least one form field data, and the form field data is data input by a user aiming at a form field in the form page;
checking all form field data in the form data through the form data checking file;
preferably, the checking all form field data in the form data by the form data check file includes:
extracting a verification rule corresponding to each form field data in the form data from the form data verification file;
and checking each form field data by using the extracted checking rule corresponding to each form field data.
7. The form data verification method of claim 5 or 6,
the form page comprises at least one form field, and the form data check rule comprises a check rule corresponding to each form field in the form page, which is obtained by the server analyzing the form page through a self-defined template tag in the form page;
preferably, the form data check rule includes a check rule corresponding to each form field, which is embedded in the page tag attribute of each form field in advance, and the check rule is obtained by the server analyzing the page tag of each form field in the form page through a self-defined template tag in the form page;
preferably, the form data submission request is used to instruct the server to obtain the form data verification rules, extract the verification rules corresponding to each form field data in the form data from the form data verification rules, and verify each form field data by using the extracted verification rules corresponding to each form field data;
preferably, the check rule corresponding to the form field is used for checking the form field data corresponding to the form field;
preferably, the form data check rule includes the same check rule as the check rule included in the form data check file;
preferably, the form data check file is a JavaScript file.
8. A server, characterized in that the server comprises:
the form page generation module is used for receiving a form acquisition request of a user terminal and generating a form page corresponding to the form acquisition request;
the verification file generation module is used for determining a form data verification rule corresponding to the form page and generating a form data verification file according to the form data verification rule;
the sending module is used for sending the form page and the form data verification file to the user terminal so that the user terminal can display the form page, and when a form data submission instruction issued by a user through the form page is detected, the form data related to the form data submission instruction is verified through the form data verification file;
and the verification module is used for receiving a form data submission request which is sent by the user terminal after the form data passes the verification and is associated with the form data, acquiring the form data verification rule, and verifying the form data according to the form data verification rule.
9. A user terminal, characterized in that the user terminal comprises:
the system comprises an acquisition request sending module, a form data verification module and a form data verification module, wherein the acquisition request sending module is used for sending a form acquisition request to a server to acquire a form page and a form data verification file, the form page is generated after the server receives the form acquisition request, and the form data verification file is generated according to a form data verification rule corresponding to the form page determined by the server;
the display module is used for displaying the form page;
the verification module is used for verifying the form data related to the form data submission instruction through the form data verification file when the form data submission instruction issued by the user through the form page is detected;
and the submission request sending module is used for sending a form data submission request associated with the form data to the server after the form data passes the verification, wherein the form data submission request is used for indicating the server to acquire the form data verification rule and verifying the form data according to the form data verification rule.
10. The form data verification system is characterized by comprising a user terminal and a server;
the user terminal sends a form acquisition request to the server;
the server receives the form acquisition request, generates a form page corresponding to the form acquisition request, determines a form data verification rule corresponding to the form page, generates a form data verification file according to the form data verification rule, and sends the form page and the form data verification file to the user terminal;
the user terminal displays the form page after obtaining the form page and the form data check file, checks form data associated with the form data submission instruction by using the form data check file when detecting the form data submission instruction issued by a user through the form page, and sends a form data submission request associated with the form data to the server after the form data passes the check;
and the server receives the form data submission request, acquires the form data verification rule, and verifies the form data associated with the form data submission request according to the form data verification rule.
CN202010523593.5A 2020-06-10 2020-06-10 Form data verification method, system, server and user terminal Pending CN111736811A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010523593.5A CN111736811A (en) 2020-06-10 2020-06-10 Form data verification method, system, server and user terminal
PCT/CN2021/098730 WO2021249356A1 (en) 2020-06-10 2021-06-07 Form data verification method, system, server, and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010523593.5A CN111736811A (en) 2020-06-10 2020-06-10 Form data verification method, system, server and user terminal

Publications (1)

Publication Number Publication Date
CN111736811A true CN111736811A (en) 2020-10-02

Family

ID=72648694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010523593.5A Pending CN111736811A (en) 2020-06-10 2020-06-10 Form data verification method, system, server and user terminal

Country Status (2)

Country Link
CN (1) CN111736811A (en)
WO (1) WO2021249356A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241370A (en) * 2020-10-21 2021-01-19 网易(杭州)网络有限公司 Verification method, system and device for API (application program interface) interface class
CN112631695A (en) * 2020-12-22 2021-04-09 北京达佳互联信息技术有限公司 Data verification method and device, electronic equipment and storage medium
CN113377417A (en) * 2021-06-29 2021-09-10 中国平安财产保险股份有限公司 Form data checking method, device, equipment and storage medium
WO2021249356A1 (en) * 2020-06-10 2021-12-16 苏宁易购集团股份有限公司 Form data verification method, system, server, and user terminal
CN114185541A (en) * 2021-11-02 2022-03-15 浙江惠瀜网络科技有限公司 Verification rule generation method and device, electronic equipment and storage medium
CN114266233A (en) * 2021-11-29 2022-04-01 中国联合网络通信集团有限公司 Form generation method, device, equipment and medium
CN114564353A (en) * 2022-02-25 2022-05-31 中国农业银行股份有限公司 A data verification method, device, electronic device and storage medium
CN114676366A (en) * 2022-02-18 2022-06-28 珠海紫讯信息科技有限公司 A method and system for dynamically updating web front-end form validation rules
CN114970476A (en) * 2022-06-07 2022-08-30 携程商旅信息服务(上海)有限公司 Data processing method, system, electronic device and storage medium
CN115016978A (en) * 2022-04-12 2022-09-06 京东科技控股股份有限公司 Data verification method and device, computer storage medium, electronic equipment
CN115357235A (en) * 2022-08-16 2022-11-18 上海交宅科技有限公司 Form-based business rule configuration method and device
CN115544417A (en) * 2022-10-10 2022-12-30 中电金信软件有限公司 Webpage form verification method and device, electronic equipment and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780086A (en) * 2022-04-21 2022-07-22 中国农业银行股份有限公司 Check function generation method and device
CN115328479A (en) * 2022-08-16 2022-11-11 中国银行股份有限公司 Webpage generating method and system
CN115146322B (en) * 2022-09-01 2022-11-22 杭州安恒信息技术股份有限公司 Data verification method, device and equipment and storage medium
CN115640283A (en) * 2022-09-29 2023-01-24 中国建设银行股份有限公司 Data verification method, device, equipment, system, storage medium and product
CN116048511A (en) * 2022-12-30 2023-05-02 南京控维通信科技有限公司 Encapsulation form method, device, computer equipment and storage medium
CN116244286A (en) * 2023-02-01 2023-06-09 福建亿能达信息技术股份有限公司 Data quality checking method
CN116633698B (en) * 2023-07-25 2023-10-31 中国电信股份有限公司 Data transmission method, apparatus, computer device, storage medium, and program product
CN119966642A (en) * 2023-11-07 2025-05-09 上海汽车集团股份有限公司 A data processing method, device, equipment and storage medium
CN118377557B (en) * 2024-06-24 2024-08-30 浙江网盛数新软件股份有限公司 Self-defined form verification system based on asynchronous verification library and control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111727A1 (en) * 2002-12-05 2004-06-10 Gunter Schwarzbauer Automatic context management for web applications with client side code execution
CN110569036A (en) * 2019-08-20 2019-12-13 广州华资软件技术有限公司 data verification system and method under front-end and back-end separation architecture

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819766A (en) * 2011-06-09 2012-12-12 金蝶软件(中国)有限公司 Method, device and enterprise system for checking forms
CN105404620A (en) * 2015-11-20 2016-03-16 华为技术有限公司 Form verification method and apparatus
CN111736811A (en) * 2020-06-10 2020-10-02 苏宁云计算有限公司 Form data verification method, system, server and user terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111727A1 (en) * 2002-12-05 2004-06-10 Gunter Schwarzbauer Automatic context management for web applications with client side code execution
CN110569036A (en) * 2019-08-20 2019-12-13 广州华资软件技术有限公司 data verification system and method under front-end and back-end separation architecture

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021249356A1 (en) * 2020-06-10 2021-12-16 苏宁易购集团股份有限公司 Form data verification method, system, server, and user terminal
CN112241370B (en) * 2020-10-21 2023-06-16 网易(杭州)网络有限公司 API interface class checking method, system and device
CN112241370A (en) * 2020-10-21 2021-01-19 网易(杭州)网络有限公司 Verification method, system and device for API (application program interface) interface class
CN112631695A (en) * 2020-12-22 2021-04-09 北京达佳互联信息技术有限公司 Data verification method and device, electronic equipment and storage medium
CN112631695B (en) * 2020-12-22 2024-06-11 北京达佳互联信息技术有限公司 Data verification method and device, electronic equipment and storage medium
CN113377417A (en) * 2021-06-29 2021-09-10 中国平安财产保险股份有限公司 Form data checking method, device, equipment and storage medium
CN114185541A (en) * 2021-11-02 2022-03-15 浙江惠瀜网络科技有限公司 Verification rule generation method and device, electronic equipment and storage medium
CN114266233A (en) * 2021-11-29 2022-04-01 中国联合网络通信集团有限公司 Form generation method, device, equipment and medium
CN114676366A (en) * 2022-02-18 2022-06-28 珠海紫讯信息科技有限公司 A method and system for dynamically updating web front-end form validation rules
CN114564353A (en) * 2022-02-25 2022-05-31 中国农业银行股份有限公司 A data verification method, device, electronic device and storage medium
CN115016978A (en) * 2022-04-12 2022-09-06 京东科技控股股份有限公司 Data verification method and device, computer storage medium, electronic equipment
CN114970476A (en) * 2022-06-07 2022-08-30 携程商旅信息服务(上海)有限公司 Data processing method, system, electronic device and storage medium
CN115357235A (en) * 2022-08-16 2022-11-18 上海交宅科技有限公司 Form-based business rule configuration method and device
CN115544417A (en) * 2022-10-10 2022-12-30 中电金信软件有限公司 Webpage form verification method and device, electronic equipment and storage medium
CN115544417B (en) * 2022-10-10 2024-05-31 中电金信软件有限公司 Method and device for verifying web form, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021249356A1 (en) 2021-12-16

Similar Documents

Publication Publication Date Title
CN111736811A (en) Form data verification method, system, server and user terminal
CN110069297B (en) SPRING MVC-based exception handling method, SPRING MVC-based exception handling device, computer equipment and storage medium
CN110008455B (en) Table editing method, apparatus, computer device and storage medium
CN110109656B (en) Interface simulation method, device, computer equipment and storage medium
CN108829485B (en) Application interface layout updating method and device, storage medium and computer equipment
CN110647320A (en) Project framework construction method and device, computer equipment and storage medium
CN111176996A (en) Test case generation method, device, computer equipment and storage medium
CN111859224A (en) Server-side rendering method, device and computer equipment based on node server
CN108108219B (en) Application running method, apparatus, computer equipment and storage medium
CN109787974B (en) Message data stream generation method and device, computer equipment and storage medium
CN115145674A (en) Page jump method, device, equipment and medium based on dynamic anchor point
CN112100078A (en) Method, device and equipment for generating interface test case
CN111767109A (en) H5 page display method, device and readable storage medium based on terminal application
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN108418797B (en) Webpage access method and device, computer equipment and storage medium
CN112015378A (en) Skeleton screen page generation method and device, computer equipment and storage medium
CN110516172B (en) Resource calling method and device, computer equipment and storage medium
CN109324958B (en) A REST unified verification method, device, device and readable storage medium
CN112433929B (en) Web page debugging method, device, computer equipment and storage medium
CN116361793A (en) Code detection method, device, electronic equipment and storage medium
CN113498512A (en) Optimization method and device for vehicle-mounted image display, computer equipment and storage medium
US20100057937A1 (en) Method and System for Facilitating Client Server Interaction
CN113434142A (en) Webpage output method, device, equipment and storage medium
CN115396483B (en) Interface calling method, device, computer equipment and storage medium
CN114528013B (en) Text generation method, device, electronic device, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201002