CN108804399A - The method of calibration and device of list - Google Patents

The method of calibration and device of list Download PDF

Info

Publication number
CN108804399A
CN108804399A CN201710310143.6A CN201710310143A CN108804399A CN 108804399 A CN108804399 A CN 108804399A CN 201710310143 A CN201710310143 A CN 201710310143A CN 108804399 A CN108804399 A CN 108804399A
Authority
CN
China
Prior art keywords
list
component
target
information
result
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.)
Granted
Application number
CN201710310143.6A
Other languages
Chinese (zh)
Other versions
CN108804399B (en
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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201710310143.6A priority Critical patent/CN108804399B/en
Publication of CN108804399A publication Critical patent/CN108804399A/en
Application granted granted Critical
Publication of CN108804399B publication Critical patent/CN108804399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method of calibration of list and devices.Wherein, this method includes:Target pages displayed on the terminals, wherein target pages include target list, and target list includes the component being packaged to data item, and component is used to obtain the information of input and is verified to the information of input;The information of input is got in the component of target list;The information that function pair input is verified by component call is verified, and the check results verified are recorded in result list;The object identifier result subscribed in advance for target list is obtained in result list.The present invention is solved completes the poor technical problem of the caused verification flexibility of list verification by the prior art using independent control.

Description

The method of calibration and device of list
Technical field
The present invention relates to computer realms, specifically, being related to a kind of method of calibration and device of list.
Background technology
Many certification pages shown by terminal can all provide certification list, and to certification list in currently available technology When carrying out verification certification, independent control is typically used to complete.Specifically, in the certification page development phase, just by the certification Verification table individual palpation in the page carries out establishment packaging according to the requirement of above-mentioned independent control, wherein independent control can be certification list Add many additional attribute fields and event.
However, in the list in verifying the page using existing verification mode, if data item to be verified in list It changes, then the list after needing as change develops an independent control again, and need to come according to the independent control developed again List to be verified is repacked, can realize that the information of the list input after opposite change is verified.
That is, using provide in the prior art by independent control come to the list in the page carry out verification recognize When card, exists and be difficult to be verified for the list after change, the poor problem of the flexibility that caused list verifies.
For above-mentioned problem, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of method of calibration of list and devices, at least to solve to use by the prior art Independent control completes the poor technical problem of the verification flexibility caused by list verification.
One side according to the ... of the embodiment of the present invention provides a kind of method of calibration of list, including:It is displayed on the terminals Target pages, wherein above-mentioned target pages include target list, and above-mentioned target list includes being packaged to obtain to data item Component, said modules be used for obtains input information and the information of above-mentioned input is verified;In the above-mentioned of above-mentioned list The information of above-mentioned input is got in component;The information of the verification above-mentioned input of function pair is called to be verified by said modules, And it is recorded in the check results that above-mentioned verification obtains are carried out in result list;Obtained in the above results list is above-mentioned target in advance The object identifier result that list is subscribed to.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of calibration equipment of list, including:Display unit, For target pages displayed on the terminals, wherein above-mentioned target pages include target list, and above-mentioned target list includes logarithm The component being packaged according to item, said modules are used to obtain the information of input and are verified to the information of above-mentioned input; First acquisition unit, the information for getting above-mentioned input in the said modules of above-mentioned list;Verification unit, for passing through Said modules call the information of the verification above-mentioned input of function pair to be verified;First recording unit, for above-mentioned verification will to be carried out Obtained check results are recorded in result list;Second acquisition unit is above-mentioned mesh in advance for being obtained in the above results list Mark the object identifier result that list is subscribed to.
In embodiments of the present invention, by being packaged respectively for each data item of the target list in target pages The component arrived to obtain the information of input corresponding with data item, and verifies function by calling and completes to each data item institute The information of the input got is verified respectively, completes to verify by the repeatable component utilized to realize, without weight The additional separate space of configuration newly developed simplifies verification step without the page to be verified is repacked to realize, into And improve flexibility and the verification efficiency of verification.Further, by the way that the check results of various components are recorded in result list, The object identifier subscribed in advance for target list is obtained with subscribing manner as a result, will also realize unified management to check results, And no longer high-ranking officers test result dispersion storage, while saving memory space, also improve the efficiency of management to check results.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of application environment schematic diagram of the method for calibration of optional list according to the ... of the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for calibration of optional list according to the ... of the embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the method for calibration of optional list according to the ... of the embodiment of the present invention;
Fig. 4 is the flow chart of the method for calibration of another optional list according to the ... of the embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of the calibration equipment of optional list according to the ... of the embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of the verification terminal of optional list according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
Embodiment 1
In embodiments of the present invention, a kind of embodiment of the method for calibration of above-mentioned list is provided.As a kind of optional Embodiment, the method for calibration of the list can be, but not limited to be applied in application environment as shown in Figure 1, on the terminal 102 Shows target pages, wherein the target pages include target list, which includes being packaged to obtain to data item Component, the component be used for obtains input information and the information of input is verified, in the component of above-mentioned target list The information of above-mentioned input is got, and calls the information of the verification above-mentioned input of function pair to be verified by said modules, it will Obtained check results are verified to be recorded in result list, wherein the above results list can be, but not limited to be located at as shown in Figure 1, with It stores in the result list of server 106, terminal 102 can obtain result by network 104 to realize from server 106 It is single;In addition, the above results list can also but be not limited to be located in terminal 102, then terminal 102 can directly deposit above-mentioned check results In the result list for storing up terminal 102.Any restriction is not done in the present embodiment to this.Further, it is obtained from result list and is in advance The object identifier result that above-mentioned target order is subscribed to.
In the present embodiment, the target pages displayed on the terminals for including target list, wherein wrapped in above-mentioned target list The component being packaged to data item is included, the information inputted to target list is got by said modules, calls verification The information of the above-mentioned input of function pair is verified, and the check results that verification obtains are recorded in result list, then by ordering The mode read obtains the object identifier result subscribed in advance for target list in list from the above.That is, by for mesh The component that each data item of target list in the mark page is packaged respectively, to obtain input corresponding with data item Information, and by calling verify function completion the information of the input accessed by each data item is verified respectively, with It realizes and completes to verify by the repeatable component utilized, additional separate space is configured without developing again, without weight The new packing page to be verified simplifies verification step to realize, and then improves flexibility and the verification efficiency of verification.Into One step is obtained with subscribing manner and is subscribed in advance for target list by the way that the check results of various components are recorded in result list Object identifier as a result, will also realize unified management to check results, and no longer high-ranking officers test result dispersion storage, are deposited in saving While storing up space, the efficiency of management to check results is also improved.
Optionally, in the present embodiment, above-mentioned terminal can include but is not limited at least one of:Mobile phone, tablet electricity Brain, laptop, desktop PC, DTV and other hardware devices for needing to verify page table list.Above-mentioned network can be with Including but not limited at least one of:Wide area network, Metropolitan Area Network (MAN), LAN.It is above-mentioned only a kind of example, the present embodiment to this not Do any restriction.
According to embodiments of the present invention, a kind of method of calibration of list is provided, as shown in Fig. 2, this method includes:
S202, target pages displayed on the terminals, wherein target pages include target list, and target list includes pair The component that data item is packaged, component are used to obtain the information of input and are verified to the information of input;
S204 gets the information of input in the component of target list;
S206 verifies the verification that the information of function pair input is verified, and will be verified by component call As a result it is recorded in result list;
S208 obtains the object identifier result subscribed in advance for target list in result list.
Optionally, in the present embodiment, the method for calibration of above-mentioned list can be, but not limited to be applied to in WEB page Dynamic list carries out automatic Verification, wherein automatic Verification can be, but not limited to refer to without using poll during verification, fixed When the addition methods such as device to determine whether complete verification is completed.In addition, in the present embodiment, above-mentioned data item can be, but not limited to Refer to list in text box, pull down choice box, radio box, the needs such as check box verification item, above-mentioned dynamic list can with but not It is limited to:It is for static list, referring to the component in list can change in program operation process, in dynamic list Data item increase and decrease can occur.That is, to dynamic list using the utilization and data item pair provided in the present embodiment The component answered carries out automatic Verification, to ensure flexibility and the verification efficiency of verification.It is above-mentioned be only it is a kind of apply example, this implementation Any restriction is not done to this in example.
It should be noted that in the present embodiment, passing through each data item difference for the target list in target pages The component being packaged to obtain the information of input corresponding with data item, and verifies function by calling and completes to each The information of input accessed by a data item is verified respectively, and school is completed by the repeatable component utilized to realize It tests, additional separate space is configured without developing again, without the page to be verified is repacked, simplified to realize Verification step, and then improve flexibility and the verification efficiency of verification.Further, by recording the check results of various components In result list, the object identifier subscribed in advance for target list is obtained with subscribing manner as a result, will also realize to check results Unified management, and no longer high-ranking officers test result dispersion storage, while saving memory space, also improve to check results The efficiency of management.
Optionally, in the present embodiment, the above-mentioned verification mode verified to the information inputted in list may include But it is not limited at least one of:
1) simple verification:Refer to relatively simple for the rule of a certain individual event component in verification object list;
2) multiple check:Referring to for the rule of a certain individual event component in verification object list is combined by multiple collection, And between multiple set, there are intersections;
3) compound verification:Refer to for the interdependence between different components in verification object list.
Optionally, in the present embodiment, carrying out verification above by the information of component call verification function pair input includes: Function information is transmitted to verification function by component, and the information of verification function pair input is called to be verified, obtains verification knot Fruit, wherein function information includes:The information of input, the permitted value range of the information of input, the mark of target list, group Whether the mark of part, the information that check results are used to indicate input meet value range.
Optionally, in the present embodiment, said modules can be, but not limited to carry out data item according to the type of data item Encapsulation, to obtain component corresponding from the type of different data item, to realize that the data item to same type uses phase Same component, flexibly reuses component with reaching.
For example, it is assumed that target pages include list B1 for carrying out login authentication and for carrying out identity as shown in Figure 3 The list B2 of certification, wherein list B1 include the component D1 being packaged to data item " account ", and to data item " verification Code " is packaged the component D2 waited until, and list B2 includes the component D3 being packaged to data item " assets ", to data item The component D4 that " work " is packaged, and to component D5 that data item " whether having experience " is packaged.Wherein, number Belong to homogeneous data item, the i.e. data item of final election box form input information according to item " work " and data item " whether having experience ", That is component D4 and component D5 can be, but not limited to as identical component.Above-mentioned is only a kind of example, to this in the present embodiment Any restriction is not done.
Optionally, in the present embodiment, the verification function that said modules are called can be, but not limited to as shared verification Function, that is to say, that for different components, when check logic is identical, the same verification function can be called, change speech It, could be provided as variable in each component about the verification function called, will by directly invoking existing verification function Further increase the flexibility of verification.Wherein, said modules can be, but not limited to, for verifying an individual data item, also may be used With but the compositive relation that is not limited to use between one group of data item of verification, do not do any restriction to this in the present embodiment.
In addition, in the present embodiment, being illustrated so that component verifies individual data item as an example, by function information Input validation function can be, but not limited to:It will be got by the target pages shown by terminal and said one number in list According to the information of the corresponding input of item, and the permitted value range of information of input corresponding with the data item, target list The mark input validation function of mark, component.To realize by whether being allowed in the data item the information for comparing input Value range, whether the information to verify input hold water.
Optionally, in the present embodiment, the check results verified are recorded in result list includes:It will verification As a result with the mark of corresponding target list, component identification record in result list.That is, in the present embodiment, After completion verification obtains check results, it can be, but not limited to by check results synchronous recording in result list, in order to complete After verification, the target list that is identified as of the mark, component that can utilize target list subscribes to the corresponding object identifier result of acquisition.
Wherein, in the present embodiment, the object identifier result subscribed in advance for target list is obtained in result list includes:
1) it after the information of the input got in completing to all components verifies, is obtained in result list advance The object identifier result subscribed to for target list, wherein object identifier result is corresponding with component;
That is, in the present embodiment, can be, but not limited to that all components in list get fully enters Information checking after the completion of, disposably obtain the complete verification result of the list to realize.
2) after the information of the input got during every completion is to a component verifies, one is obtained in result list The check results of a component.
That is, in the present embodiment, can be, but not limited to the verification to the information of input in one component of every completion Later, the corresponding check results of information for directly acquiring the input improve the display efficiency that check results are presented to reach, make end End can determine the need for the information of adjustment input according to the check results of presentation as early as possible.
Optionally, in the present embodiment, before target pages displayed on the terminals, the obtained component construction mesh of encapsulation is used Mark list;And the mark of the mark and component of target list is recorded in result list.That is, in the same of structure target list When, the correspondence in result list between the mark of synchronous recording target list and the mark of component, in order to follow-up direct Check results after the completion of record verification, to realize the effect for improving record efficiency.
Optionally, in the present embodiment, the component in target list can be, but not limited to according to operational order into Mobile state Adjustment, wherein above-mentioned dynamic adjustment includes at least one of:Increase new component, deletes existing component, replaces existing group Part.Wherein, illustrated for deleting existing target element, respond operational order for deleting component, can with but not It is limited to unload mounted target element in target list, and deletes the component mark of the target element from result list.
Optionally, in the present embodiment, in result list obtain in advance for target list subscribe to object identifier result it Afterwards, in the case where the instruction verification of each object identifier result passes through, compound verification is carried out to the component in target list, In, the relationship between the information of input of the compound verification for being got at least two components in component verifies;? The check results of compound verification indicate that the relationship between the information for the input that at least two components are got meets predetermined condition In the case of, determine that target list verification passes through.
It specifically combines and is illustrated shown in Fig. 4, build the component in target list for target pages, such as attach components to Form lists execute the operations such as registration, registration, and obtain initial parameter.Specifically, such as in result list record list mark and Component identifies, for example, propsChange () judges initialization, then didMount (), didMount () is called to do at parameter After reason, the processing function of call result list is needed, as a result single processing function will determine that according to above-mentioned initial parameter in result list The component mark of list mark and included component with the presence or absence of target list, if being not present, creates the target list List mark and included component component mark, with establish for for target list obtain check results subscription thing Part.
Further, above-mentioned target pages displayed on the terminals get input in the component of the target list of target pages Information after, which will verify function by calling and verify the information of above-mentioned input, such as obtain the checksum set of verification function (can also claim verification rule or check logic), and after completing to verify, check results are recorded in result list, in order to pass through It subscribes to and obtains object identifier result corresponding with target list.In addition, during executing verification, it can also be to verifying content Counted, in order in judging target list target complete check results instruction verification pass through in the case of, to this Target list executes compound verification.
By embodiment provided by the present application, by being carried out respectively for each data item of the target list in target pages Obtained component is encapsulated, to obtain the information of input corresponding with data item, and function is verified by calling and is completed to each number It is verified respectively according to the information of the input accessed by item, completes to verify by the repeatable component utilized to realize, and Additional separate space is configured without developing again, without the page to be verified is repacked, verification is simplified to realize Step, and then improve flexibility and the verification efficiency of verification.Further, by the way that the check results of various components are recorded in knot In fruit list, with the advance object identifier subscribed to for target list of subscribing manner acquisition as a result, also by realization to the system of check results One management, and no longer high-ranking officers test result dispersion storage, while saving memory space, also improve the management to check results Efficiency.
As a kind of optional scheme,
S1, carrying out verification by the information of component call verification function pair input includes:Function information is passed by component Verification function is given, and the information of verification function pair input is called to be verified, obtains check results, wherein function information includes: The information of input, the permitted value range of the information of input, the mark of target list, the mark of component, check results are used for Indicate whether the information of input meets value range;
S2, the check results verified, which are recorded in result list, includes:By check results and corresponding target The mark of list, the identification record of component are in result list.
Specifically example shown in Fig. 3 is combined to illustrate, it is assumed that with the component D4 being packaged to data item " work " For being verified to the information of input, function information includes:The information x of the input got is A ', and the information of input permits Perhaps value range y is A1-A5, the mark z of target list is list B2, the mark q of component is component D4.
Further, above-mentioned function information is transmitted to verification function F (x, y, z, q), utilizes the verification above-mentioned input of function pair Information is verified, and whether the information that input is used to indicate with acquisition meets the check results of value range.And by check results It is recorded in result list, wherein result list includes the correspondence for identifying D4 of the mark B2 of target list, component, will be upper It states check results to be recorded in result list, to establish the subscription event that succeeding target list obtains check results.
By embodiment provided by the present application, function information is transmitted to by verification function by component, to realize automatic Verification, To ensure quickly to obtain check results, achieve the effect that improve verification efficiency.Wherein, function information include input information, The permitted value range of information, the mark of target list, the mark of component of input, by the mark of above-mentioned target list, The check results that obtained after verification can be recorded in result list for the mark of component, in order to by subscribing to acquisition and target The corresponding object identifier result of order.
As a kind of optional scheme, the object identifier result packet subscribed in advance for target list is obtained in result list It includes:
1) it after the information of the input got in completing to all components verifies, is obtained in result list advance The object identifier result subscribed to for target list, wherein object identifier result is corresponding with component;Or
It is specifically illustrated in conjunction with following example, it is assumed that said for being used for the list B2 of login authentication shown in Fig. 3 It is bright, it can be, but not limited in list after all components get the information of input, in the school for completing the information to whole inputs After testing, determine that verification passes through, then obtain the object identifier result subscribed in advance for list B2.
2) after the information of the input got during every completion is to a component verifies, one is obtained in result list The check results of a component.
It is specifically illustrated in conjunction with following example, it is assumed that said for being used for the list B1 of login authentication shown in Fig. 3 It is bright, in order to the time to be verified such as save, component D1 is can be, but not limited in the information for getting input, and is completed verification and obtained After check results, the check results of securing component D1 are directly subscribed to from result list, and are directly in the target pages of display The now check results consequently facilitating determining whether the information of adjustment input in time according to check results, and then reach raising verification The effect of efficiency.
As a kind of optional scheme, before target pages displayed on the terminals, further include:
S1, the component construction target list obtained using encapsulation;
S2 records the mark of the mark and component of target list, wherein the mark and component of target list in result list The verification that is verified for subscribing to the information of input to being got in component in result list for target list of mark As a result.
Optionally, in the present embodiment, include using the obtained component construction target list of encapsulation:Determine target list institute The data item needed;Obtain the component being packaged to data item;Component is mounted in target list.
Optionally, in the present embodiment, it during building target list, can be, but not limited to simultaneously in result list Record the mark of the mark and component of target list.The mark of the target list recorded in result list is directly utilized in order to follow-up The subscription event of object identifier result is completed with the mark of component.
It is specifically illustrated in conjunction with following example, can be, but not limited to search the object table to be built during creating Single list mark records above-mentioned list mark, and record and will hold if not finding above-mentioned list mark in result list The component mark of the component of row verification;If finding list mark, and component mark is not found, then identifying tool with the list Relevant position record component mark.
By embodiment provided by the present application, by using the component construction target list that encapsulation obtains, and tying simultaneously The mark that the mark and component of target list are recorded in fruit list, to can not only pass through the repeatable component construction utilized of calling Target list, to reach the flexibility and the verification efficiency that improve verification;In addition, in the mark of result list synchronous recording target list With the mark of component, the acquisition efficiency for obtaining check results will be also improved.
As a kind of optional scheme, obtained in result list the object identifier result subscribed in advance for target list it Afterwards, method further includes:
S1, receiving unit operational order, wherein component operational order is used for from the target in unloading assembly in target list Component;
S2, target element of the response assemblies operational order in target list in unloading assembly;
S3, the mark of delete target component in result list.
Optionally, in the present embodiment, the component in target list can be, but not limited to according to operational order into Mobile state Adjustment, wherein above-mentioned dynamic adjustment includes at least one of:Increase new component, deletes existing component, replaces existing group Part.Above-mentioned is only a kind of example, and any restriction is not done to this in the present embodiment.
It specifically illustrates, increase new target element in the instruction of component operational order or replaces existing in conjunction with following example Target element in the case of, then can with the embodiment recorded in above-mentioned building mode, obtain data item is packaged to obtain Component, and component is mounted in target list, the synchronous component mark for increasing new target element in record.This reality Apply in example that details are not described herein.
It specifically illustrates in conjunction with following example, is indicated from the mesh in unloading assembly in target list in component operational order In the case of marking component, then above-mentioned self-existent target element can be directly unloaded from target list, and from result list The mark of delete target component, to realize the effect of the quickly component of adjustment target list.
By embodiment provided by the present application, by the way that the component in target list is adjusted flexibly according to component operational order, And corresponding component mark in record is adjusted flexibly, in order to the target list of adaptive dynamic change, reach raising list The flexibility of verification without developing new control again, and then realizes the effect improved to the verification efficiency of list.
As a kind of optional scheme, obtained in result list the object identifier result subscribed in advance for target list it Afterwards, the above method includes:
S1 carries out the component in target list compound in the case where the instruction verification of each object identifier result passes through Verification, wherein the relationship between the information of input of the compound verification for being got at least two components in component carries out Verification;
S2 indicates that the relationship between the information of input that at least two components are got is full in the check results of compound verification In the case of sufficient predetermined condition, determine that target list verification passes through.
Optionally, in the present embodiment, it can be, but not limited to that the counter to each object identifier result is arranged, to realize In the case where the instruction verification of target complete check results passes through, compound verification is carried out to the component in target list, that is, Relationship between the information of the input got at least two components in component verifies, to realize to target list Further verification, to ensure the accuracy of check results.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be expressed in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of verification dress for implementing the list of the method for calibration of above-mentioned list is additionally provided It sets, as shown in figure 5, the device includes:
1) display unit 502 are used for target pages displayed on the terminals, wherein target pages include target list, mesh Mark list includes the component being packaged to data item, and component is used to obtain the information of input and is carried out to the information of input Verification;
2) first acquisition unit 504, the information for getting input in the component of target list;
3) verification unit 506, the information for verifying function pair input by component call are verified;
4) the first recording unit 508, for the check results verified to be recorded in result list;
5) second acquisition unit 510, for obtaining the object identifier result subscribed in advance for target list in result list.
Optionally, in the present embodiment, the calibration equipment of above-mentioned list can be, but not limited to be applied to in WEB page Dynamic list carries out automatic Verification, wherein automatic Verification can be, but not limited to refer to without using poll during verification, fixed When the addition methods such as device to determine whether complete verification is completed.In addition, in the present embodiment, above-mentioned data item can be, but not limited to Refer to list in text box, pull down choice box, radio box, the needs such as check box verification item, above-mentioned dynamic list can with but not It is limited to:It is for static list, referring to the component in list can change in program operation process, in dynamic list Data item increase and decrease can occur.That is, to dynamic list using the utilization and data item pair provided in the present embodiment The component answered carries out automatic Verification, to ensure flexibility and the verification efficiency of verification.It is above-mentioned be only it is a kind of apply example, this implementation Any restriction is not done to this in example.
It should be noted that in the present embodiment, passing through each data item difference for the target list in target pages The component being packaged to obtain the information of input corresponding with data item, and verifies function by calling and completes to each The information of input accessed by a data item is verified respectively, and school is completed by the repeatable component utilized to realize It tests, additional separate space is configured without developing again, without the page to be verified is repacked, simplified to realize Verification step, and then improve flexibility and the verification efficiency of verification.Further, by recording the check results of various components In result list, the object identifier subscribed in advance for target list is obtained with subscribing manner as a result, will also realize to check results Unified management, and no longer high-ranking officers test result dispersion storage, while saving memory space, also improve to check results The efficiency of management.
Optionally, in the present embodiment, the above-mentioned verification mode verified to the information inputted in list may include But it is not limited at least one of:
1) simple verification:Refer to relatively simple for the rule of a certain individual event component in verification object list;
2) multiple check:Referring to for the rule of a certain individual event component in verification object list is combined by multiple collection, And between multiple set, there are intersections;
3) compound verification:Refer to for the interdependence between different components in verification object list.
Optionally, in the present embodiment, carrying out verification above by the information of component call verification function pair input includes: Function information is transmitted to verification function by component, and the information of verification function pair input is called to be verified, obtains verification knot Fruit, wherein function information includes:The information of input, the permitted value range of the information of input, the mark of target list, group Whether the mark of part, the information that check results are used to indicate input meet value range.
Optionally, in the present embodiment, said modules can be, but not limited to carry out data item according to the type of data item Encapsulation, to obtain component corresponding from the type of different data item, to realize that the data item to same type uses phase Same component, flexibly reuses component with reaching.
For example, it is assumed that target pages include list B1 for carrying out login authentication and for carrying out identity as shown in Figure 3 The list B2 of certification, wherein list B1 include the component D1 being packaged to data item " account ", and to data item " verification Code " is packaged the component D2 waited until, and list B2 includes the component D3 being packaged to data item " assets ", to data item The component D4 that " work " is packaged, and to component D5 that data item " whether having experience " is packaged.Wherein, number Belong to homogeneous data item, the i.e. data item of final election box form input information according to item " work " and data item " whether having experience ", That is component D4 and component D5 can be, but not limited to as identical component.Above-mentioned is only a kind of example, to this in the present embodiment Any restriction is not done.
Optionally, in the present embodiment, the verification function that said modules are called can be, but not limited to as shared verification Function, that is to say, that for different components, when check logic is identical, the same verification function can be called, change speech It, could be provided as variable in each component about the verification function called, will by directly invoking existing verification function Further increase the flexibility of verification.Wherein, said modules can be, but not limited to, for verifying an individual data item, also may be used With but the compositive relation that is not limited to use between one group of data item of verification, do not do any restriction to this in the present embodiment.
In addition, in the present embodiment, being illustrated so that component verifies individual data item as an example, by function information Input validation function can be, but not limited to:It will be got by the target pages shown by terminal and said one number in list According to the information of the corresponding input of item, and the permitted value range of information of input corresponding with the data item, target list The mark input validation function of mark, component.To realize by whether being allowed in the data item the information for comparing input Value range, whether the information to verify input hold water.
Optionally, in the present embodiment, the check results verified are recorded in result list includes:It will verification As a result with the mark of corresponding target list, component identification record in result list.That is, in the present embodiment, After completion verification obtains check results, it can be, but not limited to by check results synchronous recording in result list, in order to complete After verification, the target list that is identified as of the mark, component that can utilize target list subscribes to the corresponding object identifier result of acquisition.
Wherein, in the present embodiment, the object identifier result subscribed in advance for target list is obtained in result list includes:
1) it after the information of the input got in completing to all components verifies, is obtained in result list advance The object identifier result subscribed to for target list, wherein object identifier result is corresponding with component;
That is, in the present embodiment, can be, but not limited to that all components in list get fully enters Information checking after the completion of, disposably obtain the complete verification result of the list to realize.
2) after the information of the input got during every completion is to a component verifies, one is obtained in result list The check results of a component.
That is, in the present embodiment, can be, but not limited to the verification to the information of input in one component of every completion Later, the corresponding check results of information for directly acquiring the input improve the display efficiency that check results are presented to reach, make end End can determine the need for the information of adjustment input according to the check results of presentation as early as possible.
Optionally, in the present embodiment, before target pages displayed on the terminals, the obtained component construction mesh of encapsulation is used Mark list;And the mark of the mark and component of target list is recorded in result list.That is, in the same of structure target list When, the correspondence in result list between the mark of synchronous recording target list and the mark of component, in order to follow-up direct Check results after the completion of record verification, to realize the effect for improving record efficiency.
Optionally, in the present embodiment, the component in target list can be, but not limited to according to operational order into Mobile state Adjustment, wherein above-mentioned dynamic adjustment includes at least one of:Increase new component, deletes existing component, replaces existing group Part.Wherein, illustrated for deleting existing target element, respond operational order for deleting component, can with but not It is limited to unload mounted target element in target list, and deletes the component mark of the target element from result list.
Optionally, in the present embodiment, in result list obtain in advance for target list subscribe to object identifier result it Afterwards, in the case where the instruction verification of each object identifier result passes through, compound verification is carried out to the component in target list, In, the relationship between the information of input of the compound verification for being got at least two components in component verifies;? The check results of compound verification indicate that the relationship between the information for the input that at least two components are got meets predetermined condition In the case of, determine that target list verification passes through.
It specifically combines and is illustrated shown in Fig. 4, build the component in target list for target pages, such as attach components to Form lists execute the operations such as registration, registration, and obtain initial parameter.Specifically, such as in result list record list mark and Component identifies, for example, propsChange () judges initialization, then didMount (), didMount () is called to do at parameter After reason, the processing function of call result list is needed, as a result single processing function will determine that according to above-mentioned initial parameter in result list The component mark of list mark and included component with the presence or absence of target list, if being not present, creates the target list List mark and included component component mark, with establish for for target list obtain check results subscription thing Part.
Further, above-mentioned target pages displayed on the terminals get input in the component of the target list of target pages Information after, which will verify function by calling and verify the information of above-mentioned input, such as obtain the checksum set of verification function (can also claim verification rule or check logic), and after completing to verify, check results are recorded in result list, in order to pass through It subscribes to and obtains object identifier result corresponding with target list.In addition, during executing verification, it can also be to verifying content Counted, in order in judging target list target complete check results instruction verification pass through in the case of, to this Target list executes compound verification.
By embodiment provided by the present application, by being carried out respectively for each data item of the target list in target pages Obtained component is encapsulated, to obtain the information of input corresponding with data item, and function is verified by calling and is completed to each number It is verified respectively according to the information of the input accessed by item, completes to verify by the repeatable component utilized to realize, and Additional separate space is configured without developing again, without the page to be verified is repacked, verification is simplified to realize Step, and then improve flexibility and the verification efficiency of verification.Further, by the way that the check results of various components are recorded in knot In fruit list, with the advance object identifier subscribed to for target list of subscribing manner acquisition as a result, also by realization to the system of check results One management, and no longer high-ranking officers test result dispersion storage, while saving memory space, also improve the management to check results Efficiency.
As a kind of optional scheme,
1) verification unit 506 includes:(1) function information is transmitted to verification function for passing through component, and adjusted by correction verification module It is verified with the information of verification function pair input, obtains check results, wherein function information includes:The information of input, input The permitted value range of information, the mark of target list, the mark of component, the information that check results are used to indicate input is It is no to meet value range;
2) the first recording unit 508 includes:(1) logging modle is used for the mark of check results and corresponding target list Know, the identification record of component is in result list.
Specifically example shown in Fig. 3 is combined to illustrate, it is assumed that with the component D4 being packaged to data item " work " For being verified to the information of input, function information includes:The information x of the input got is A ', and the information of input permits Perhaps value range y is A1-A5, the mark z of target list is list B2, the mark q of component is component D4.
Further, above-mentioned function information is transmitted to verification function F (x, y, z, q), utilizes the verification above-mentioned input of function pair Information is verified, and whether the information that input is used to indicate with acquisition meets the check results of value range.And by check results It is recorded in result list, wherein result list includes the correspondence for identifying D4 of the mark B2 of target list, component, will be upper It states check results to be recorded in result list, to establish the subscription event that succeeding target list obtains check results.
By embodiment provided by the present application, function information is transmitted to by verification function by component, to realize automatic Verification, To ensure quickly to obtain check results, achieve the effect that improve verification efficiency.Wherein, function information include input information, The permitted value range of information, the mark of target list, the mark of component of input, by the mark of above-mentioned target list, The check results that obtained after verification can be recorded in result list for the mark of component, in order to by subscribing to acquisition and target The corresponding object identifier result of order.
As a kind of optional scheme, second acquisition unit 510 includes:
1) the first acquisition module, after being verified in the information of the input got in completing to all components, The object identifier result subscribed in advance for target list is obtained in result list, wherein object identifier result is corresponding with component; Or
It is specifically illustrated in conjunction with following example, it is assumed that said for being used for the list B2 of login authentication shown in Fig. 3 It is bright, it can be, but not limited in list after all components get the information of input, in the school for completing the information to whole inputs After testing, determine that verification passes through, then obtain the object identifier result subscribed in advance for list B2.
2) the second acquisition module, in every completion to a component in the information of input that gets carry out verifying it Afterwards, the check results of a component are obtained in result list.
It is specifically illustrated in conjunction with following example, it is assumed that said for being used for the list B1 of login authentication shown in Fig. 3 It is bright, in order to the time to be verified such as save, component D1 is can be, but not limited in the information for getting input, and is completed verification and obtained After check results, the check results of securing component D1 are directly subscribed to from result list, and are directly in the target pages of display The now check results consequently facilitating determining whether the information of adjustment input in time according to check results, and then reach raising verification The effect of efficiency.
As a kind of optional scheme, further include:
1) construction unit, the component construction object table for before target pages displayed on the terminals, being obtained using encapsulation It is single;
2) the second recording unit, the mark of mark and component for recording target list in result list, wherein target The mark of list and the mark of component for subscribed to for target list the information in result list to the input got in component into The check results that row verification obtains.
Optionally, in the present embodiment, construction unit includes:(1) determining module, for determining the number needed for target list According to item;(2) third acquisition module, for obtaining the component being packaged to data item;(3) module is installed, is used for group Part is mounted in target list.
Optionally, in the present embodiment, it during building target list, can be, but not limited to simultaneously in result list Record the mark of the mark and component of target list.The mark of the target list recorded in result list is directly utilized in order to follow-up The subscription event of object identifier result is completed with the mark of component.
It is specifically illustrated in conjunction with following example, can be, but not limited to search the object table to be built during creating Single list mark records above-mentioned list mark, and record and will hold if not finding above-mentioned list mark in result list The component mark of the component of row verification;If finding list mark, and component mark is not found, then identifying tool with the list Relevant position record component mark.
By embodiment provided by the present application, by using the component construction target list that encapsulation obtains, and tying simultaneously The mark that the mark and component of target list are recorded in fruit list, to can not only pass through the repeatable component construction utilized of calling Target list, to reach the flexibility and the verification efficiency that improve verification;In addition, in the mark of result list synchronous recording target list With the mark of component, the acquisition efficiency for obtaining check results will be also improved.
As a kind of optional scheme, above-mentioned apparatus further includes:
1) receiving unit connects after obtaining the object identifier result subscribed in advance for target list in result list Receive component operational order, wherein component operational order is used for from the target element in unloading assembly in target list;
2) unloading unit is used for target element of the response assemblies operational order in target list in unloading assembly;
3) deleting unit, the mark for the delete target component in result list.
Optionally, in the present embodiment, the component in target list can be, but not limited to according to operational order into Mobile state Adjustment, wherein above-mentioned dynamic adjustment includes at least one of:Increase new component, deletes existing component, replaces existing group Part.Above-mentioned is only a kind of example, and any restriction is not done to this in the present embodiment.
It specifically illustrates, increase new target element in the instruction of component operational order or replaces existing in conjunction with following example Target element in the case of, then can with the embodiment recorded in above-mentioned building mode, obtain data item is packaged to obtain Component, and component is mounted in target list, the synchronous component mark for increasing new target element in record.This reality Apply in example that details are not described herein.
It specifically illustrates in conjunction with following example, is indicated from the mesh in unloading assembly in target list in component operational order In the case of marking component, then above-mentioned self-existent target element can be directly unloaded from target list, and from result list The mark of delete target component, to realize the effect of the quickly component of adjustment target list.
By embodiment provided by the present application, by the way that the component in target list is adjusted flexibly according to component operational order, And corresponding component mark in record is adjusted flexibly, in order to the target list of adaptive dynamic change, reach raising list The flexibility of verification without developing new control again, and then realizes the effect improved to the verification efficiency of list.
As a kind of optional scheme, above-mentioned apparatus includes:
1) compound verification unit, in result list obtain in advance for target list subscribe to object identifier result it Afterwards, in the case where the instruction verification of each object identifier result passes through, compound verification is carried out to the component in target list, In, the relationship between the information of input of the compound verification for being got at least two components in component verifies;
2) determination unit, the information for indicating the input that at least two components are got in the check results of compound verification Between relationship meet predetermined condition in the case of, determine target list verification pass through.
Optionally, in the present embodiment, it can be, but not limited to that the counter to each object identifier result is arranged, to realize In the case where the instruction verification of target complete check results passes through, compound verification is carried out to the component in target list, that is, Relationship between the information of the input got at least two components in component verifies, to realize to target list Further verification, to ensure the accuracy of check results.
Embodiment 3
The application environment of the embodiment of the present invention can be, but not limited to reference to the application environment in embodiment 1, in the present embodiment This is repeated no more.
Optionally, in the present embodiment, the method for calibration of above-mentioned list can be, but not limited to applied to dynamic list from Checking procedure, detailed process can be as follows:
S1, by HTML<form>In list<input>,<textarea>,<select>,<option>,<optgroup >,<checkbox>,<radio>It is packaged, is packaged on the basis of retaining original function, have and receive parameter, independently step on Remember the function of registration.
S2, the component after encapsulation replace<input>,<textarea>,<select>,<option>,<optgroup>,< checkbox>,<radio>These primitive data items construct form lists.Since component has durability, only pass through specified ginseng Form=" xxx " are counted to distinguish affiliated list, xxx is the mark of different lists.Other parameters can be specified voluntarily, including but not It is limited to the type (type) of component, initial value (defaultValue), checksum set (placeholder), miscue (remind), mark (name) etc..
S3 subscribes to the relevant result list of the list in the component where list, and as a result single includes construction form lists The state of each data item.
S4 triggers the verification of list, wherein including two ways:One is real-time verification, user is inputted every time with regard to carrying out Verification, the mechanism of triggering are triggered using the onChange event bubblings of data item<form>OnChange. one is users It has inputted all information and has clicked some button (completion or next step) after the completion to be verified.The verification of two ways is in addition to making The difference used, essential triggering is identical, when triggering onchange events or clicking button, changes xxx in result list The verification operation state of list is to start to verify.After the component being registered under xxx lists receives Parameters variation, self-test is carried out.
S5, when self-test, can call the common component for verification, and each component can be the current value (value) of oneself, school Collection (placeholder) is tested, miscue (remind) identifies (name), and affiliated list (from) is sent to verification component.School Test component the result of simple verification and multiple check according to reference record in result list, such as:Username numbers under xxx lists Value according to item is " user name ";error:[username];errormessage:{username:" correct user please be input Name " }.
S6 often verifies one, and as a result the monitor counter of list xxx lists can add 1, until identical as number of components, expression Component complete verification is completed, and result single-shot is given to the component of subscription.
S7 when component is unloaded, passes uninstall parms to the component, component notice result list removes the record of oneself, group Part counter subtracts 1.
S8 subscribes to the component of result list after receiving result list, whether checks error fields array length>0, it is more than 0 Illustrate to have and does not pass through item.Otherwise the compound verification of this list is carried out.Compound verification can be accomplished in several ways, and one is in table It is single to create data item correspondence when creating, multinomial value comparison is carried out according to correspondence when result Dan Wuwei passes through.Separately A kind of realize is exactly not create data item correspondence initially, is directly compared after obtaining result list.It is improved with reaching Verify the purpose of flexibility.
Embodiment 4
According to embodiments of the present invention, it is whole to additionally provide a kind of verification for implementing the list of the method for calibration of above-mentioned list End, as shown in fig. 6, the terminal includes:
1) display 602 are set as target pages displayed on the terminals, wherein target pages include target list, mesh Mark list includes the component being packaged to data item, and component is used to obtain the information of input and is carried out to the information of input Verification;
2) communication interface 604 are connect with display 602, are set as getting the letter of input in the component of target list Breath;
3) processor 606 are connect with communication interface 604, are set as verifying the information of function pair input by component call It is verified, and the check results verified is recorded in result list;
Above-mentioned communication interface 604 is also configured to obtain the object identifier knot subscribed to for target list in advance in result list Fruit;
4) memory 608 are connect with display 602, communication interface 604 and processor 606, are set as storage target list Component, input information and result list.
Optionally, the specific example in the present embodiment can refer to showing described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Embodiment 5
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With at least one of multiple network equipments in network network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1, target pages displayed on the terminals, wherein target pages include target list, and target list includes logarithm The component being packaged according to item, component are used to obtain the information of input and are verified to the information of input;
S2 gets the information of input in the component of target list;
S3 verifies the verification knot that the information of function pair input is verified, and will be verified by component call Fruit is recorded in result list;
S4 obtains the object identifier result subscribed in advance for target list in result list.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.
Optionally, the specific example in the present embodiment can refer to showing described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product Sale in use, can be stored in the storage medium that above computer can be read.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of step of method.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, only one Kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of method of calibration of list, which is characterized in that including:
Target pages displayed on the terminals, wherein the target pages include target list, and the target list includes logarithm The component being packaged according to item, the component are used to obtain the information of input and are verified to the information of the input;
The information of the input is got in the component of the target list;
The information inputted described in function pair is verified by the component call to be verified, and will carry out the school for verifying and obtaining Result is tested to be recorded in result list;
The object identifier result subscribed in advance for the target list is obtained in the result list.
2. according to the method described in claim 1, it is characterized in that,
It is described the information that inputs described in function pair verified by the component call carry out verification include:By the component by letter Number information is transmitted to the verification function, and the information inputted described in the verification function pair is called to be verified, and obtains the school Test result, wherein the function information includes:The information of the input, the permitted value range of information of the input, institute The identifying of target list, the mark of the component are stated, whether the information that the check results are used to indicate the input meets institute State value range;
It is described will carry out it is described verify obtained check results and be recorded in result list include:By the check results with it is corresponding The identifying of the target list, the identification record of the component is in the result list.
3. according to the method described in claim 1, it is characterized in that, described obtained in the result list is the target in advance List subscribe to object identifier result include:
After the information of the input got in completing to all components verifies, obtained in the result list Take the object identifier result subscribed in advance for the target list, wherein the object identifier result is corresponding with the component; Or
After the information of the input got during every completion is to a component verifies, obtained in the result list The check results of one component.
4. according to the method described in claim 1, it is characterized in that, before target pages displayed on the terminals, further include:
Target list described in the component construction obtained using encapsulation;
The mark of the target list and the mark of the component are recorded in the result list, wherein the target list Mark and the mark of the component are defeated to being got in the component in the result list for being subscribed to for the target list The check results that the information entered is verified.
5. according to the method described in claim 4, it is characterized in that, object table described in the component construction obtained using encapsulation Include singly:
Determine the data item needed for the target list;
Obtain the component being packaged to the data item;
The component is mounted in the target list.
6. according to the method described in claim 5, it is characterized in that, it is the target list in advance to be obtained in the result list After the object identifier result of subscription, the method further includes:
Receiving unit operational order, wherein the component operational order from the target list for unloading in the component Target element;
It responds the component operational order and unloads the target element in the component in the target list;
The mark of the target element is deleted in the result list.
7. method according to any one of claim 1 to 6, which is characterized in that in the result list obtain be in advance After the object identifier result that the target list is subscribed to, the method includes:
In the case where each object identifier result instruction verification passes through, the component in the target list is carried out Compound verification, wherein the letter of the input of the compound verification for being got at least two components in the component Relationship between breath is verified;
Between the check results of the compound verification indicate the information of the input that at least two component is got In the case that relationship meets predetermined condition, determine that the target list verification passes through.
8. a kind of calibration equipment of list, which is characterized in that including:
Display unit is used for target pages displayed on the terminals, wherein the target pages include target list, the mesh Mark list includes the component being packaged to data item, and the component is used to obtain the information of input and to the input Information is verified;
First acquisition unit, the information for getting the input in the component of the target list;
Verification unit is verified for verifying the information inputted described in function pair by the component call;
First recording unit is recorded in for will carry out the obtained check results that verify in result list;
Second acquisition unit, for obtaining the object identifier result subscribed in advance for the target list in the result list.
9. device according to claim 8, which is characterized in that
The verification unit includes:Correction verification module for function information to be transmitted to the verification function by the component, and is adjusted The information inputted described in the verification function pair is verified, and obtains the check results, wherein the function information packet It includes:The information of the input, the permitted value range of information of the input, the identifying of the target list, the component Mark, whether the information that the check results are used to indicate the input meet the value range;
First recording unit includes:Logging modle is used for the mark of the check results and the corresponding target list Know, the identification record of the component is in the result list.
10. device according to claim 8, which is characterized in that the second acquisition unit includes:
The information of first acquisition module, the input for being got in completing to all components carries out verifying it Afterwards, the object identifier result subscribed in advance for the target list is obtained in the result list, wherein the object identifier knot Fruit is corresponding with the component;Or second acquisition module, in every completion to a component in the input that gets Information verified after, the check results of one component are obtained in the result list.
11. device according to claim 8, which is characterized in that further include:
Construction unit is used for before target pages displayed on the terminals, target list described in the component construction obtained using encapsulation;
Second recording unit, for recording the mark of the target list and the mark of the component in the result list, In, the mark of the target list and the mark of the component are used to subscribe in the result list to described for the target list The check results that the information of the input got in component is verified.
12. according to the devices described in claim 11, which is characterized in that the construction unit includes:
Determining module, for determining the data item needed for the target list;
Third acquisition module, for obtaining the component being packaged to the data item;
Module is installed, for the component to be mounted in the target list.
13. device according to claim 12, which is characterized in that described device further includes:
Receiving unit, after obtaining the object identifier result subscribed in advance for the target list in the result list, Receiving unit operational order, wherein the component operational order is used for from the mesh unloaded in the target list in the component Mark component;
Unloading unit unloads the target in the component for responding the component operational order in the target list Component;
Deleting unit, the mark for deleting the target element in the result list.
14. the device according to any one of claim 8 to 13, which is characterized in that described device includes:
Compound verification unit, for obtained in the result list in advance be the target list subscribe to object identifier result it Afterwards, in the case where each object identifier result instruction verification passes through, the component in the target list is carried out Compound verification, wherein the letter of the input of the compound verification for being got at least two components in the component Relationship between breath is verified;
Determination unit, for indicating the input that at least two component is got in the check results of the compound verification Information between relationship meet predetermined condition in the case of, determine that target list verification passes through.
CN201710310143.6A 2017-05-04 2017-05-04 Form verification method and device Active CN108804399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710310143.6A CN108804399B (en) 2017-05-04 2017-05-04 Form verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710310143.6A CN108804399B (en) 2017-05-04 2017-05-04 Form verification method and device

Publications (2)

Publication Number Publication Date
CN108804399A true CN108804399A (en) 2018-11-13
CN108804399B CN108804399B (en) 2023-07-18

Family

ID=64054418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710310143.6A Active CN108804399B (en) 2017-05-04 2017-05-04 Form verification method and device

Country Status (1)

Country Link
CN (1) CN108804399B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427949A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 The method, apparatus of list verification calculates equipment and medium
CN110597712A (en) * 2019-08-27 2019-12-20 北京奇艺世纪科技有限公司 Component attribute checking method and device, terminal and storage medium
CN112800751A (en) * 2021-02-19 2021-05-14 上海中通吉网络技术有限公司 Method, device, equipment and storage medium for configuring and checking mobile terminal webpage form
CN112905163A (en) * 2021-03-15 2021-06-04 上海悦易网络信息技术有限公司 Form submitting method and equipment
CN113377417A (en) * 2021-06-29 2021-09-10 中国平安财产保险股份有限公司 Form data checking method, device, equipment and storage medium
CN117873600A (en) * 2024-01-18 2024-04-12 北京庭宇科技有限公司 Method for automatically generating customized Web form based on data specification

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272506B1 (en) * 1997-09-12 2001-08-07 Doxis, Llc Computerized verification form processing system and method
US20070044041A1 (en) * 2004-12-31 2007-02-22 International Business Machines Corporation Methods, apparatus, and computer program products for dynamic generation of forms
CN102221999A (en) * 2011-06-17 2011-10-19 大唐软件技术股份有限公司 Method and system for packaging flex form component
CN103440198A (en) * 2013-08-27 2013-12-11 星云融创(北京)信息技术有限公司 Method for calibrating form
JP2014026504A (en) * 2012-07-27 2014-02-06 Jfe Steel Corp Data verification support device
CN104360937A (en) * 2014-10-21 2015-02-18 福建富士通信息软件有限公司 Intelligent parameter checking device
CN105404620A (en) * 2015-11-20 2016-03-16 华为技术有限公司 Form verification method and apparatus
CN106156081A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 A kind of list verifying method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272506B1 (en) * 1997-09-12 2001-08-07 Doxis, Llc Computerized verification form processing system and method
US20070044041A1 (en) * 2004-12-31 2007-02-22 International Business Machines Corporation Methods, apparatus, and computer program products for dynamic generation of forms
CN102221999A (en) * 2011-06-17 2011-10-19 大唐软件技术股份有限公司 Method and system for packaging flex form component
JP2014026504A (en) * 2012-07-27 2014-02-06 Jfe Steel Corp Data verification support device
CN103440198A (en) * 2013-08-27 2013-12-11 星云融创(北京)信息技术有限公司 Method for calibrating form
CN104360937A (en) * 2014-10-21 2015-02-18 福建富士通信息软件有限公司 Intelligent parameter checking device
CN106156081A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 A kind of list verifying method and equipment
CN105404620A (en) * 2015-11-20 2016-03-16 华为技术有限公司 Form verification method and apparatus

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
DINGSHI7798: "使用HTML5约束API进行表单验", 《HTTPS://BLOG.CSDN.NET/DINGSHI7798/ARTICLE/DETAILS/105825091》 *
DINGSHI7798: "使用HTML5约束API进行表单验", 《HTTPS://BLOG.CSDN.NET/DINGSHI7798/ARTICLE/DETAILS/105825091》, 22 August 2013 (2013-08-22), pages 1 *
孙涵: "HTML表单和验证事件", 《HTTPS://WWW.CNBLOGS.COM/SUNHAN1012/P/5064840.HTML》 *
孙涵: "HTML表单和验证事件", 《HTTPS://WWW.CNBLOGS.COM/SUNHAN1012/P/5064840.HTML》, 21 December 2015 (2015-12-21), pages 1 *
芮红,温浩宇,徐国华: "XForms的特性及其结构分析", 情报杂志, no. 11, pages 80 - 81 *
金色年华III: "HTML5表单及其验证", 《HTTPS://BLOG.CSDN.NET/OJINSENIANHUA1/ARTICLE/DETAILS/54016054》 *
金色年华III: "HTML5表单及其验证", 《HTTPS://BLOG.CSDN.NET/OJINSENIANHUA1/ARTICLE/DETAILS/54016054》, 4 January 2017 (2017-01-04), pages 1 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427949A (en) * 2019-07-31 2019-11-08 中国工商银行股份有限公司 The method, apparatus of list verification calculates equipment and medium
CN110597712A (en) * 2019-08-27 2019-12-20 北京奇艺世纪科技有限公司 Component attribute checking method and device, terminal and storage medium
CN112800751A (en) * 2021-02-19 2021-05-14 上海中通吉网络技术有限公司 Method, device, equipment and storage medium for configuring and checking mobile terminal webpage form
CN112905163A (en) * 2021-03-15 2021-06-04 上海悦易网络信息技术有限公司 Form submitting method and equipment
CN112905163B (en) * 2021-03-15 2024-04-16 上海万物新生环保科技集团有限公司 Form submitting method and device
CN113377417A (en) * 2021-06-29 2021-09-10 中国平安财产保险股份有限公司 Form data checking method, device, equipment and storage medium
CN117873600A (en) * 2024-01-18 2024-04-12 北京庭宇科技有限公司 Method for automatically generating customized Web form based on data specification

Also Published As

Publication number Publication date
CN108804399B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN108804399A (en) The method of calibration and device of list
CN107341109B (en) Test data generation method and system
CN107908659A (en) Data sheet collocation method, report platform and computer-readable recording medium
CN109408746A (en) Portrait information query method, device, computer equipment and storage medium
CN109598598A (en) Transaction processing method and device, electronic equipment based on block chain
CN107979525A (en) A kind of red packet distribution method, equipment and medium
CN107404481B (en) User information recognition methods and device
CN105991694B (en) A kind of method and apparatus realizing Distributed Services and calling
CN106897216A (en) The method and apparatus of test software
CN108073506A (en) Test method and device
CN104216698B (en) A kind of registration web page method and relevant apparatus
CN107329991A (en) A kind of list access to web page and methods of exhibiting and its system
CN107528718A (en) Obtain the methods, devices and systems of resource
CN109062807B (en) Method and device for testing application program, storage medium and electronic device
CN104320492A (en) Method and device for dispatching web servers
CN110471842A (en) A kind of test method, device and computer readable storage medium
CN109814863A (en) A kind of processing method, device, computer equipment and computer storage medium for requesting returned data
CN110457629A (en) Permission processing, authority control method and device
CN114240358A (en) Method, device, equipment and medium for realizing user-defined business process
CN111782524A (en) Application testing method and device, storage medium and electronic device
CN106998314B (en) Account interaction method and device
CN109446648A (en) Service of simulation method for building up and device
CN109255082B (en) Page label display method and device
CN106888446B (en) Methods, devices and systems for verification information recipient&#39;s property right identity
CN107526580A (en) Terminal applies recognition methods and device

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
GR01 Patent grant
GR01 Patent grant