CN113760277A - Form verification method and device - Google Patents

Form verification method and device Download PDF

Info

Publication number
CN113760277A
CN113760277A CN202011241798.0A CN202011241798A CN113760277A CN 113760277 A CN113760277 A CN 113760277A CN 202011241798 A CN202011241798 A CN 202011241798A CN 113760277 A CN113760277 A CN 113760277A
Authority
CN
China
Prior art keywords
verified
verification
target
rule corresponding
data
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
CN202011241798.0A
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.)
Beijing Jingdong Shangke Information Technology Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Shangke Information Technology Co Ltd
Beijing Wodong Tianjun Information Technology 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 Beijing Jingdong Shangke Information Technology Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Shangke Information Technology Co Ltd
Priority to CN202011241798.0A priority Critical patent/CN113760277A/en
Publication of CN113760277A publication Critical patent/CN113760277A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a form verification method and a form verification device, and relates to the technical field of computers. One embodiment of the method comprises: receiving a verification request of a target form, and acquiring one or more forms to be verified according to the verification request; updating the basic form verification rule corresponding to the target form according to the dependency relationship between the form items contained in the target form to obtain the target form verification rule corresponding to the target form; and verifying one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request. According to the implementation method, the dependency relationship can be verified through the target form verification rule, the code reusability is improved, and the user experience is good.

Description

Form verification method and device
Technical Field
The invention relates to the technical field of computers, in particular to a form verification method and a form verification device.
Background
The form is mainly responsible for the data acquisition function in the webpage; form verification refers to verifying the input data in the form (i.e., the data collected through the form) before the data is sent to the server. At present, a configured form verification method is mainly adopted, and specifically, a configuration file or configuration data is used for describing a form verification rule, and then a verifier verifies input data according to the form verification rule.
However, in the existing configured form verification method, the form verification rule only describes the fields corresponding to the form items, cannot describe the dependency relationship between the form items, cannot describe the verification conditions between the form items, and needs to verify the dependency relationship and the verification conditions between the form items through coding, which results in low code reuse degree and poor user experience.
Disclosure of Invention
In view of this, embodiments of the present invention provide a form verification method and apparatus, which can verify a dependency relationship through a target form verification rule, so as to improve code reusability and provide better user experience.
To achieve the above object, according to an aspect of an embodiment of the present invention, a form verification method is provided.
The form verification method of the embodiment of the invention comprises the following steps: receiving a verification request of a target form, and acquiring one or more forms to be verified according to the verification request; updating a basic form verification rule corresponding to the target form according to the dependency relationship between form items contained in the target form to obtain a target form verification rule corresponding to the target form; and verifying the one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
Optionally, the updating, according to the dependency relationship between the form items included in the target form, the basic form validation rule corresponding to the target form to obtain the target form validation rule corresponding to the target form includes: acquiring one or more form items contained in the target form; acquiring a basic form verification rule corresponding to each form item, and updating the basic form verification rule corresponding to the form item according to the dependency relationship; and obtaining a target form verification rule corresponding to the target form according to the updated basic form verification rule corresponding to each form item.
Optionally, the updating, according to the dependency relationship, the basic form verification rule corresponding to the form item includes: judging whether the form item has one or more dependent items according to the dependency relationship; if yes, adding a dependent field in a basic form verification rule corresponding to the form item, and setting a field value of the dependent field as a queue formed by the one or more dependent items; and if not, determining that the basic form verification rule corresponding to the form item does not need to be updated.
Optionally, if the form entry has one or more dependent entries, the method further includes: judging whether one or more dependent items have dependent items with conditional relations with the form items; if yes, adding condition fields in the basic form verification rule corresponding to the form item, and setting the field values of the condition fields according to the condition relation.
Optionally, the verifying the one or more to-be-verified form data by using the target form verification rule corresponding to the target form includes: and aiming at each form data to be verified, acquiring a target form verification rule corresponding to the form data to be verified according to a form item corresponding to the form data to be verified, and then verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified.
Optionally, the verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified includes: under the condition that a target form verification rule corresponding to the form data to be verified contains a dependent field, judging whether input data corresponding to the dependent field is verified; if yes, judging whether a target form verification rule corresponding to the form data to be verified contains a condition field, and if yes, verifying the form data to be verified according to the field value of the condition field; and if not, verifying the input data corresponding to the dependent field.
Optionally, before the form data to be verified is verified, the method further includes: judging whether the form data to be verified is in a verification state; if so, confirming that the verification of the form data to be verified is not needed; if not, marking the form data to be verified as a verification state, and verifying the form data to be verified.
Optionally, the method further comprises: according to the verification sequence of the one or more forms to be verified, sequentially verifying the one or more forms to be verified according to a target form verification rule corresponding to the one or more forms to be verified; wherein the verification sequence is: the input sequence of the one or more forms to be verified, and/or the determined dependency sequence of the one or more forms to be verified according to the dependency field in the target form verification rule corresponding to the target form.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided a form verification apparatus.
The form verification device of the embodiment of the invention comprises: the acquisition module is used for receiving a verification request of a target form and acquiring one or more forms to be verified according to the verification request; the updating module is used for updating the basic form verification rule corresponding to the target form according to the dependency relationship among the form items contained in the target form to obtain the target form verification rule corresponding to the target form; and the verification module is used for verifying the one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
Optionally, the update module is further configured to: acquiring one or more form items contained in the target form; acquiring a basic form verification rule corresponding to each form item, and updating the basic form verification rule corresponding to the form item according to the dependency relationship; and obtaining a target form verification rule corresponding to the target form according to the updated basic form verification rule corresponding to each form item.
Optionally, the update module is further configured to: judging whether the form item has one or more dependent items according to the dependency relationship; if yes, adding a dependent field in a basic form verification rule corresponding to the form item, and setting a field value of the dependent field as a queue formed by the one or more dependent items; and if not, determining that the basic form verification rule corresponding to the form item does not need to be updated.
Optionally, the update module is further configured to: judging whether one or more dependent items have dependent items with conditional relations with the form items; if yes, adding condition fields in the basic form verification rule corresponding to the form item, and setting the field values of the condition fields according to the condition relation.
Optionally, the verification module is further configured to: and aiming at each form data to be verified, acquiring a target form verification rule corresponding to the form data to be verified according to a form item corresponding to the form data to be verified, and then verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified.
Optionally, the verification module is further configured to: under the condition that a target form verification rule corresponding to the form data to be verified contains a dependent field, judging whether input data corresponding to the dependent field is verified; if yes, judging whether a target form verification rule corresponding to the form data to be verified contains a condition field, and if yes, verifying the form data to be verified according to the field value of the condition field; and if not, verifying the input data corresponding to the dependent field.
Optionally, the verification module is further configured to: judging whether the form data to be verified is in a verification state; if so, confirming that the verification of the form data to be verified is not needed; if not, marking the form data to be verified as a verification state, and verifying the form data to be verified.
Optionally, the verification module is further configured to: according to the verification sequence of the one or more forms to be verified, sequentially verifying the one or more forms to be verified according to a target form verification rule corresponding to the one or more forms to be verified; wherein the verification sequence is: the input sequence of the one or more forms to be verified, and/or the determined dependency sequence of the one or more forms to be verified according to the dependency field in the target form verification rule corresponding to the target form.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device of an embodiment of the present invention includes: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by one or more processors, the one or more processors realize the form verification method of the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer-readable medium.
A computer-readable medium of an embodiment of the present invention has a computer program stored thereon, and when the program is executed by a processor, the program implements a form verification method of an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: the method has the advantages that the basic form verification rule can be supplemented and updated according to the dependency relationship among the form items contained in the target form, the target form verification rule is obtained, the problem that the existing form verification rule cannot describe the dependency relationship among the form items is solved, then the target form verification rule is used for verifying the data of the form to be verified, the problem that the dependency relationship is verified through coding is avoided, the dependency relationship is verified through the target form verification rule, the code reuse degree is improved, and the user experience is good.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a form verification method according to an embodiment of the invention;
FIG. 2 is a diagram illustrating basic form validation rules for a target form;
FIG. 3 is a diagram illustrating the main steps of updating the basic form validation rules corresponding to form items, according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating target form validation rules for a target form according to an embodiment of the invention;
FIG. 5 is a diagram illustrating the primary process of updating the underlying form validation rules corresponding to a form item, according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating target form validation rules for a target form according to another embodiment of the invention;
FIG. 7 is a schematic diagram of the main process of validating form data to be validated, according to an embodiment of the invention;
FIG. 8 is a schematic diagram of the main modules of a form verification apparatus according to an embodiment of the present invention;
FIG. 9 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 10 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
FIG. 1 is a schematic diagram of the main steps of a form verification method according to an embodiment of the present invention. As shown in fig. 1, the main steps of the form verification method may include steps S101 to S103.
Step S101: and receiving a verification request of the target form, and acquiring one or more forms to be verified according to the verification request.
The form is mainly responsible for data acquisition functions in the web page, such as a leave-asking form, data of leave-asking time, vacation types and the like can be input in the leave-asking form, and data of articles to be ordered, unit prices of the ordered articles, order quantity and the like can be input in the order form. The verification request of the target form refers to a request for verifying the input data in the target form. After receiving a verification request of a target form, one or more pieces of form data to be verified input in the target form may be acquired, and then the form data to be verified may be verified.
In the embodiment of the invention, after a piece of data is input into the target form, the input data can be directly verified, for example, after a certain employee inputs a vacation type of annual vacation in a leave-asking form, the employee can be directly verified to judge whether the employee still has annual vacation; after the target form inputs a plurality of data, the plurality of data can be verified, for example, a purchasing person inputs a plurality of item data such as an item to be ordered, unit price of the ordered item, and order quantity in an order form, and then the purchasing person clicks and submits, so that the input plurality of item data can be verified.
Step S102: and updating the basic form verification rule corresponding to the target form according to the dependency relationship between the form items contained in the target form to obtain the target form verification rule corresponding to the target form.
The form items may be text boxes in the form for collecting data, and one form may contain one or more form items. The dependency relationship is also called a logical relationship, and indicates that the data verification result corresponding to one form item affects the data verification result corresponding to another form item. In the existing configured form verification method, the form verification rule cannot describe the dependency relationship among form items. For example, when two form items included in a form are verified, input data corresponding to a first form item needs to be verified first, and then input data corresponding to a second form item needs to be verified. The existing configured form verification method cannot directly verify the first form item and the second form item through a form verification rule and needs to be realized through coding, so that the code reuse degree is low.
In order to solve the problem, in the form verification method provided by the embodiment of the present invention, the basic form verification rule corresponding to the target form may be updated according to the dependency relationship between the form items included in the target form, so as to obtain the target form verification rule corresponding to the target form. That is, the dependency relationship between the form items is supplemented in the existing basic form validation rule to update the basic form validation rule, so as to obtain the updated basic form validation rule, i.e. the target form validation rule corresponding to the target form. On the other hand, the relationship between the form items can be configured in the process of designing the form, so that after the target form is determined, each form item included in the target form can be directly acquired, and the dependency relationship between each form item can be acquired.
It should be noted that the basic form verification rule refers to an existing form verification rule, and the basic form verification rule may verify basic attributes of the form item, such as verifying a data variable type of the form item and verifying a data description of the form item. The verification of the data variable type of the form item refers to verifying the type which the input data corresponding to the form item needs to meet; validating the data description of the form item may include: and verifying whether the input data corresponding to the form item is necessary to be filled and verifying the value range of the input data corresponding to the form item. FIG. 2 is a diagram illustrating the basic form validation rules corresponding to the target form, which, as shown in FIG. 2, contains form items A, B and C. The basic form verification rule corresponding to the form item A is as follows: (1) string, namely verifying that the input data corresponding to the A can be of any type; (2) true, i.e. verifying that the input data corresponding to A is necessary to be filled. The basic form verification rule corresponding to the form item B is as follows: (1) int is type, namely input data corresponding to the verification B can be an integer type; (2) range is [0,100], namely the value range of the input data corresponding to the verification B is [0,100 ]. The basic form verification rule corresponding to the form item C is as follows: (1) type, float, verifying that the input data corresponding to C can be floating point type; (2) false, verifying that the input data corresponding to the C is unnecessary.
Step S103: and verifying one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
After the target form verification rule corresponding to the target form is obtained, the target form verification rule can be utilized to verify one or more forms to be verified, and a verification result is obtained. It should be noted that the target form verification rule includes verifying the dependency relationship between the form items, and if the data verification result corresponding to a form item fails, the data verification result depending on the form item will be affected. For example, when two form items included in a form are verified, input data corresponding to a first form item needs to be verified first, and then input data corresponding to a second form item needs to be verified. That is, when verifying the input data corresponding to the second form item, the data verification result corresponding to the first form item needs to be relied on. And if the input data corresponding to the first form item fails to verify, losing the meaning of verifying the input data corresponding to the second form item. Thus, the verification results obtained are: (1) input data corresponding to the first form item fails to verify; (2) since the input data corresponding to the first form item fails to verify, the input data corresponding to the second form item is not verified.
In the form verification method provided by the embodiment of the invention, the basic form verification rule can be supplemented and updated according to the dependency relationship among the form items contained in the target form to obtain the target form verification rule, so that the problem that the existing form verification rule cannot describe the dependency relationship among the form items is solved, and then the data of the form to be verified is verified by using the target form verification rule, so that the problem of verifying the dependency relationship through coding is avoided, the dependency relationship is verified through the target form verification rule, the code reuse degree is improved, and the user experience is better.
The target form verification rule corresponding to the target form is a main part of the form verification method and is a basic condition for ensuring the data verification efficiency of the form to be verified. Next, a process of obtaining a target form validation rule corresponding to the target form is described. In the embodiment of the present invention, updating the basic form validation rule corresponding to the target form according to the dependency relationship between the form items included in the target form to obtain the target form validation rule corresponding to the target form, may include: acquiring one or more form items contained in a target form; acquiring a basic form verification rule corresponding to each form item, and updating the basic form verification rule corresponding to the form item according to the dependency relationship; and obtaining a target form verification rule corresponding to the target form according to the updated basic form verification rule corresponding to each form item.
Firstly, all form items contained in the target form are obtained, namely, if the target form only contains one form item, the form item is obtained, and if the target form contains a plurality of form items, the form items are obtained. Each form entry is then analyzed as follows: (1) acquiring a basic form verification rule corresponding to the form item; (2) and updating the basic form verification rule corresponding to the form item according to the dependency relationship between the form items contained in the target form. And finally, determining the basic form verification rule corresponding to each updated form item to form a target form verification rule corresponding to the target form.
FIG. 3 is a diagram illustrating the main steps of updating the basic form validation rules corresponding to form items, according to an embodiment of the present invention. As shown in fig. 3, the main steps of updating the basic form validation rules corresponding to the form items may include:
step S301, judging whether the form item has one or more dependent items according to the dependency relationship, if so, executing step S302, and if not, executing step S303;
step S302, adding a dependent field in a basic form verification rule corresponding to a form item, and setting the field value of the dependent field as a queue formed by one or more dependent items;
step S303, it is determined that the basic form verification rule corresponding to the form item does not need to be updated.
It should be noted that, in steps S301 to S303, the basic form verification rule corresponding to one form item is updated, and in the embodiment of the present invention, the basic form verification rules corresponding to all the form items included in the target form need to be updated, so as to finally obtain the target form verification rule corresponding to the target form.
FIG. 4 is a diagram illustrating target form validation rules for a target form according to an embodiment of the present invention. As shown in fig. 4, the target form includes form items A, B and C, and form item B needs to be verified after form item a and form item C are verified, that is, form item a and form item C are dependent items corresponding to form item B. Therefore, a dependent field is added in the basic form verification rule corresponding to the form item B, and the field value of the dependent field is set to be a queue formed by the form item A and the form item C. In the target form validation rules corresponding to the target form shown in fig. 4, in addition to the basic form validation rules corresponding to the form items A, B and C, the form validation rules corresponding to the form item B further include: the dependency is [ A, C ], i.e. after verifying the input data corresponding to the form items A and C, the input data corresponding to the form item B can be verified. It should be noted that, since the input data corresponding to the form item C is not padding, if the input data corresponding to the form item C is empty, after the data corresponding to the form item a is verified, the input data corresponding to the form item B may be verified.
In the existing configured form verification method, the form verification rule cannot describe the dependency relationship between the form items and cannot describe the verification conditions between the form items. For example, when two form items included in a form are verified, if input data corresponding to a first form item is a comment number, input data corresponding to a second form item needs to be verified by adopting a verification rule Y1; if the input data corresponding to the first form item is a good rating, the input data corresponding to the second form item needs to be verified by adopting a verification rule Y2. In the existing configured form verification method, the form verification rule cannot describe the verification condition between the first form item and the second form item, and the verification condition needs to be realized through coding, so that the code reuse degree is low.
In order to solve the above problem, in the form verification method provided in the embodiment of the present invention, if a form item has one or more dependent items, it may be determined whether there is a dependent item having a conditional relationship with the form item in the one or more dependent items; if yes, adding condition fields in the basic form verification rule corresponding to the form items, and setting the field values of the condition fields according to the condition relation. The conditional relation refers to a condition presented in the former part, and a result generated under the condition is described in the latter part. If a conditional relationship exists between the form item and the dependent item, the input data corresponding to the dependent item affects the validation rule of the input data corresponding to the form item.
Specifically, if a form item has one or more dependencies, each dependency that the form item has can be analyzed as follows: (1) judging whether the dependency item and the form item have a conditional relationship, namely judging whether a verification rule corresponding to the form item needs to be dynamically configured according to input data corresponding to the dependency item; (2) if yes, a condition field needs to be added in the basic form verification rule corresponding to the form item, a field value of the condition field is set according to the condition relation between the dependency item and the form item, namely, the field value of the condition field is set according to the verification rule corresponding to the form item, and the verification rule is related to the input data corresponding to the dependency item. For example, if the input data corresponding to the first form item is the number of comments, it is verified whether the input data corresponding to the second form item is a positive integer; and if the input data corresponding to the first form item is a good evaluation rate, verifying whether the input data corresponding to the second form item is in a value range [0,100 ].
FIG. 5 is a diagram illustrating the main process of updating the basic form validation rules corresponding to form items according to an embodiment of the present invention. As shown in fig. 5, the main process of updating the basic form validation rule corresponding to the form item may include:
step S501, judging whether the form item has one or more dependency items according to the dependency relationship, if so, executing step S502, and if not, executing step S505;
step S502, adding a dependent field in a basic form verification rule corresponding to a form item, and setting the field value of the dependent field as a queue formed by one or more dependent items;
step S503, judging whether one or more dependent items have dependent items with conditional relation with the form item, if yes, executing step S504;
step S504, adding condition fields in the basic form verification rules corresponding to the form items, and setting the field values of the condition fields according to the condition relation;
step S505, it is determined that the basic form verification rule corresponding to the form item does not need to be updated.
It should be noted that, in steps S501 to S505, the basic form verification rule corresponding to one form item is updated, and in the embodiment of the present invention, the basic form verification rules corresponding to all form items included in the target form need to be updated, and finally, the target form verification rule corresponding to the target form is obtained. In addition, the execution sequence of steps S502 to S503 may be adjusted, for example, step S502 and step S503 are executed simultaneously, and the embodiment of the present invention may be adjusted according to the actual situation.
FIG. 6 is a diagram illustrating target form validation rules for a target form according to another embodiment of the invention. As shown in FIG. 6, the target form contains form items A, B and C, and form item A and form item C are the corresponding dependent items of form item B. Therefore, a dependent field is added in the basic form verification rule corresponding to the form item B, and the field value of the dependent field is set to be a queue formed by the form item A and the form item C. In the target form validation rules corresponding to the target form shown in fig. 6, in addition to the basic form validation rules corresponding to the form items A, B and C, the form validation rules corresponding to the form item B further include: the dependency is [ A, C ], i.e. after verifying the input data corresponding to the form items A and C, the input data corresponding to the form item B can be verified. In addition, the form item B and the form item C have a conditional relationship therebetween, so that a condition field needs to be added to the basic form validation rule corresponding to the form item B, and a field value of the condition field is set to be the conditional relationship between the form item B and the form item C. In fig. 6, the form verification rule corresponding to the form item B further includes: judge: { if C <10, then range: [0,100], else range: [100,200 }. That is, if the input data corresponding to C is less than 10, the value range of the input data corresponding to B is verified as [0,100], otherwise, the value range of the input data corresponding to B is verified as [100,200 ]. It should be noted that, since the input data corresponding to the form item C is not padding, if the input data corresponding to the form item C is empty, the value range of the input data corresponding to the verification B is [0,100 ].
In the form verification method provided by the embodiment of the invention, the basic form verification rule can be updated additionally according to the dependency relationship between the form items contained in the target form and the condition relationship between the form items and the dependency items, the problems that the dependency relationship between the form items and the verification condition between the form items cannot be described by the existing form verification rule are solved, and the target form verification rule corresponding to the target form is obtained, so that the dependency relationship can be prevented from being verified through coding, the dependency relationship can be verified through the target form verification rule, the code reusability is improved, and the user experience is better.
In the embodiment of the present invention, verifying one or more forms to be verified by using a target form verification rule corresponding to a target form may include: and aiming at each form data to be verified, acquiring a target form verification rule corresponding to the form data to be verified according to the form item corresponding to the form data to be verified, and then verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified. After receiving a verification request of a target form, one or more forms to be verified data input in the target form may be obtained, and then the one or more forms to be verified data are sequentially verified. Specifically, for each form data to be verified, a form item corresponding to the form data to be verified is determined first, so that a target form verification rule corresponding to the form data to be verified can be obtained according to the determined form item, and finally verification can be performed according to the target form verification rule corresponding to the form data to be verified.
Considering that the target form validation rule of the embodiment of the present invention describes the dependency between the form items and the conditional relationship between the form items and the dependency, correspondingly, in the validation process using the target form validation rule, the dependency and the conditional relationship need to be validated. Therefore, in the embodiment of the present invention, verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified may include: under the condition that a target form verification rule corresponding to the form data to be verified contains a dependent field, judging whether input data corresponding to the dependent field is verified; if yes, judging whether a target form verification rule corresponding to the form data to be verified contains a condition field, and if yes, verifying the form data to be verified according to the field value of the condition field; and if not, verifying the input data corresponding to the dependent field.
For example, the form data Db to be verified is data entered in the form entry B of the target form shown in fig. 6. Since the target form validation rule corresponding to the form entry B contains a dependency field, that is, the form entry a and the form entry C are dependencies of the form entry B, when Db is validated, it is first determined whether the data Da entered in the form entry a and the data Dc entered in the form entry C have already been validated. If Da and Dc have not been verified, Da and Dc need to be verified first. If Da and Dc have already been verified, Db may be verified.
In the process of verifying the Db, if the target form verification rule corresponding to the form item B is known to contain a condition field judge, verifying the Db according to the field value { if C <10, the then range [0,100], else range [100,200] } of the condition field judge. And if Dc is smaller than 10, verifying whether Db is in the value range [0,100], if so, passing the verification of Db, and otherwise, failing to pass the verification of Db. And under the condition that Dc is not less than 10, verifying whether Db is within a value range of [100,200], if so, passing the verification of Db, otherwise, failing to pass the verification of Db. Note that, since the input data corresponding to the form entry C is not padding, there is a case where the input data Dc corresponding to the form entry C is empty. If Dc is empty, after verifying Da, Db can be verified, specifically, whether Db is within the value range [0,100] is verified, if yes, Db is verified to be passed, otherwise, Db is verified not to be passed.
In addition, in the embodiment of the present invention, before verifying the form data to be verified, the form verification method may further include: judging whether the form data to be verified is in a verification state; if so, confirming that the form data to be verified does not need to be verified; if not, the form data to be verified is marked as being verified, and the form data to be verified is verified.
Considering that there may be a problem of cyclic dependency between form items, for example, when two form items included in a certain form are verified, a first form item depends on a second form item, and the second form item depends on the first form item, then the cyclic dependency between the first form item and the second form item may cause that the form verification falls into a dead cycle. To avoid the loop dependency situation, before some form data to be verified is verified, the form data to be verified is marked as being verified. When the form data to be verified is being verified, verification is skipped, that is, the form data to be verified is not verified, so that the situation of circular dependence is avoided. It is to be noted that, if some form data to be verified is in the verification state, it is determined that the form data to be verified does not need to be verified, and then the verification result corresponding to the form data to be verified can be obtained. And if the verification result corresponding to the form data to be verified cannot be obtained within the preset time, obtaining that the verification result is empty.
In order to improve the verification efficiency of the form, the verification order of the form data to be verified can be set, and then the data to be verified is verified according to the set verification order. Therefore, in the embodiment of the present invention, the form verification method may further include: and according to the verification sequence of the one or more forms to be verified, sequentially verifying the one or more forms to be verified according to the target form verification rule corresponding to the one or more forms to be verified.
Wherein, the verification sequence is as follows: the input sequence of the form data to be verified and/or the determined dependent sequence of the form data to be verified according to the dependent field in the target form verification rule corresponding to the target form. For example, in the target form, the input order of the data to be verified is Da, Db, and Dc, and the verification of Db needs to depend on the verification of Da and Dc. Thus, the verification order is determined based only on the input order as: da to Db to Dc; the verification order determined only from the dependency order is: da to Dc to Db, or Dc to Da to Db; if the verification order determined in combination with the input order and the dependency order is: da to Dc to Db.
FIG. 7 is a diagram illustrating the main process of validating form data to be validated, according to an embodiment of the present invention. As shown in fig. 7, the main process of verifying the form data to be verified may include:
step S701, selecting form data to be verified according to a verification sequence;
step S702, determining whether the form data to be verified is in a verification status, if so, performing step S703, and if not, performing step S704;
step S703, confirming that the form data to be verified does not need to be verified, and obtaining a verification result corresponding to the form data to be verified;
step S704, determining the form item corresponding to the form data to be verified, and searching the target form verification rule corresponding to the form item from the target form verification rule corresponding to the target form;
step S705, determining whether the searched target form validation rule includes a dependency field, if yes, performing step S706, and if no, performing step S711;
step S706, determining whether the input data corresponding to the dependency field has been verified, if yes, performing step S707, and if no, performing step S710;
step S707, determining whether the searched target form verification rule includes a condition field, if yes, executing step S708, and if no, executing step S709;
step S708, verifying the verification form data by using the searched target form verification rule to obtain a verification result corresponding to the to-be-verified form data, where the searched target form verification rule includes a field value of a condition field, that is, the searched target form verification rule includes a condition verification rule;
step S709, verifying the verification form data by using the searched target form verification rule to obtain a verification result corresponding to the form data to be verified, where the searched target form verification rule does not include a field value of a condition field, that is, the searched target form verification rule does not include a condition verification rule;
step S710, verifying the input data corresponding to the dependency field, namely verifying the input data of the dependency item corresponding to the verification form data;
step 711, the searched target form verification rule is directly utilized to verify the verification form data, and a verification result corresponding to the form data to be verified is obtained.
It should be noted that steps S701 to S711 are processes of verifying a form data to be verified, and the form verification method provided in the embodiment of the present invention needs to verify all form data to be verified included in the verification request of the target form. Moreover, the verification sequence of all the form data to be verified can be determined first, and then the form data to be verified can be verified in sequence according to the verification sequence. In addition, in the process of verifying some form data to be verified according to the verification sequence, if the verification rule corresponding to the form data to be verified includes the dependent field and the input data corresponding to the dependent field is not yet verified, the input data corresponding to the dependent field needs to be inserted before the form data to be verified. On the other hand, the target form validation rule corresponding to the target form is composed of the target form validation rules corresponding to each form item, and the target form validation rule corresponding to one form item can be regarded as being composed of sub-validation rules. And (4) verifying the form data to be verified by using the target form verification rule corresponding to the form item, namely verifying the form data to be verified by using the sub-verification rule.
FIG. 8 is a schematic diagram of the main modules of a form verification apparatus according to an embodiment of the present invention. As shown in fig. 8, the main modules of the form verification apparatus 800 according to the embodiment of the present invention may include: an acquisition module 801, an update module 802, and a verification module 803.
The obtaining module 801 may be configured to: receiving a verification request of a target form, and acquiring one or more forms to be verified according to the verification request; the update module 802 may be configured to: updating the basic form verification rule corresponding to the target form according to the dependency relationship between the form items contained in the target form to obtain the target form verification rule corresponding to the target form; the verification module 803 may be used to: and verifying one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
In this embodiment of the present invention, the update module 802 may further be configured to: acquiring one or more form items contained in a target form; acquiring a basic form verification rule corresponding to each form item, and updating the basic form verification rule corresponding to the form item according to the dependency relationship; and obtaining a target form verification rule corresponding to the target form according to the updated basic form verification rule corresponding to each form item.
In this embodiment of the present invention, the update module 802 may further be configured to: judging whether the form item has one or more dependent items according to the dependency relationship; if so, adding a dependent field in a basic form verification rule corresponding to the form item, and setting the field value of the dependent field as a queue consisting of one or more dependent items; if not, determining that the basic form verification rule corresponding to the form item does not need to be updated.
In this embodiment of the present invention, the update module 802 may further be configured to: judging whether one or more dependent items have dependent items with conditional relations with the form items; if yes, adding condition fields in the basic form verification rule corresponding to the form items, and setting the field values of the condition fields according to the condition relation.
In this embodiment of the present invention, the verification module 803 may further be configured to: and aiming at each form data to be verified, acquiring a target form verification rule corresponding to the form data to be verified according to the form item corresponding to the form data to be verified, and then verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified.
In this embodiment of the present invention, the verification module 803 may further be configured to: under the condition that a target form verification rule corresponding to the form data to be verified contains a dependent field, judging whether input data corresponding to the dependent field is verified; if yes, judging whether a target form verification rule corresponding to the form data to be verified contains a condition field, and if yes, verifying the form data to be verified according to the field value of the condition field; and if not, verifying the input data corresponding to the dependent field.
In this embodiment of the present invention, the verification module 803 may further be configured to: judging whether the form data to be verified is in a verification state; if so, confirming that the form data to be verified does not need to be verified; if not, the form data to be verified is marked as being verified, and the form data to be verified is verified.
In this embodiment of the present invention, the verification module 803 may further be configured to: sequentially verifying the one or more forms to be verified according to the verification sequence of the one or more forms to be verified and the target form verification rule corresponding to the one or more forms to be verified; the verification sequence is an input sequence of one or more forms to be verified, or the verification sequence is a dependent sequence of one or more forms to be verified, which is determined according to a dependent field in a target form verification rule corresponding to a target form.
The form verification device provided by the embodiment of the invention can supplement and update the basic form verification rule according to the dependency relationship among the form items contained in the target form to obtain the target form verification rule, solves the problem that the existing form verification rule cannot describe the dependency relationship among the form items, and then verifies the data of the form to be verified by using the target form verification rule, so that the problem of verifying the dependency relationship through coding is avoided, the dependency relationship is verified through the target form verification rule, the code reuse degree is improved, and the user experience is better.
Fig. 9 illustrates an exemplary system architecture 900 of a form verification method or form verification apparatus to which embodiments of the invention may be applied.
As shown in fig. 9, the system architecture 900 may include end devices 901, 902, 903, a network 904, and a server 905. Network 904 is the medium used to provide communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 901, 902, 903 to interact with a server 905 over a network 904 to receive or send messages and the like. For example, the terminal devices 901, 902, 903 may be used to verify the to-be-verified form data corresponding to the target form. The terminal devices 901, 902, 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 905 may be a server providing various services, for example, a background management server (for example only) providing support for a user to perform a verification process of form data to be verified corresponding to a target form by using the terminal devices 901, 902, 903.
It should be noted that the form verification method provided by the embodiment of the present invention is generally executed by the server 905, and accordingly, the form verification apparatus is generally disposed in the server 905. It should be understood that the number of terminal devices, networks, and servers in fig. 9 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 10, a block diagram of a computer system 1000 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the system 1000 are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module, an update module, and a verification module. The names of these modules do not form a limitation on the modules themselves in some cases, for example, the obtaining module may also be described as a "module that receives a verification request of a target form and obtains one or more forms to be verified according to the verification request".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving a verification request of a target form, and acquiring one or more forms to be verified according to the verification request; updating the basic form verification rule corresponding to the target form according to the dependency relationship between the form items contained in the target form to obtain the target form verification rule corresponding to the target form; and verifying one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
According to the technical scheme of the embodiment of the invention, the basic form verification rule can be supplemented and updated according to the dependency relationship among the form items contained in the target form to obtain the target form verification rule, so that the problem that the existing form verification rule cannot describe the dependency relationship among the form items is solved, and then the data of the form to be verified is verified by using the target form verification rule, so that the problem of verifying the dependency relationship through coding is avoided, the dependency relationship is verified through the target form verification rule, the code reuse degree is improved, and the user experience is better.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method of form verification, comprising:
receiving a verification request of a target form, and acquiring one or more forms to be verified according to the verification request;
updating a basic form verification rule corresponding to the target form according to the dependency relationship between form items contained in the target form to obtain a target form verification rule corresponding to the target form;
and verifying the one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
2. The method according to claim 1, wherein the updating, according to the dependency relationship between the form items included in the target form, the basic form validation rule corresponding to the target form to obtain the target form validation rule corresponding to the target form includes:
acquiring one or more form items contained in the target form;
acquiring a basic form verification rule corresponding to each form item, and updating the basic form verification rule corresponding to the form item according to the dependency relationship;
and obtaining a target form verification rule corresponding to the target form according to the updated basic form verification rule corresponding to each form item.
3. The method according to claim 2, wherein the updating the basic form validation rule corresponding to the form item according to the dependency relationship comprises:
judging whether the form item has one or more dependent items according to the dependency relationship;
if yes, adding a dependent field in a basic form verification rule corresponding to the form item, and setting a field value of the dependent field as a queue formed by the one or more dependent items;
and if not, determining that the basic form verification rule corresponding to the form item does not need to be updated.
4. The method of claim 3, wherein if the form entry has one or more dependencies, the method further comprises:
judging whether one or more dependent items have dependent items with conditional relations with the form items;
if yes, adding condition fields in the basic form verification rule corresponding to the form item, and setting the field values of the condition fields according to the condition relation.
5. The method of claim 1, wherein the verifying the one or more forms to be verified using the target form verification rule corresponding to the target form comprises:
and aiming at each form data to be verified, acquiring a target form verification rule corresponding to the form data to be verified according to a form item corresponding to the form data to be verified, and then verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified.
6. The method according to claim 5, wherein the verifying the form data to be verified according to the target form verification rule corresponding to the form data to be verified comprises:
under the condition that a target form verification rule corresponding to the form data to be verified contains a dependent field, judging whether input data corresponding to the dependent field is verified;
if yes, judging whether a target form verification rule corresponding to the form data to be verified contains a condition field, and if yes, verifying the form data to be verified according to the field value of the condition field;
and if not, verifying the input data corresponding to the dependent field.
7. The method of claim 6, wherein prior to validating the form data to be validated, the method further comprises:
judging whether the form data to be verified is in a verification state;
if so, confirming that the verification of the form data to be verified is not needed;
if not, marking the form data to be verified as a verification state, and verifying the form data to be verified.
8. The method according to any one of claims 5-7, further comprising:
according to the verification sequence of the one or more forms to be verified, sequentially verifying the one or more forms to be verified according to a target form verification rule corresponding to the one or more forms to be verified; wherein the content of the first and second substances,
the verification sequence is as follows: the input sequence of the one or more forms to be verified, and/or the determined dependency sequence of the one or more forms to be verified according to the dependency field in the target form verification rule corresponding to the target form.
9. A form verification apparatus, comprising:
the acquisition module is used for receiving a verification request of a target form and acquiring one or more forms to be verified according to the verification request;
the updating module is used for updating the basic form verification rule corresponding to the target form according to the dependency relationship among the form items contained in the target form to obtain the target form verification rule corresponding to the target form;
and the verification module is used for verifying the one or more forms to be verified by using a target form verification rule corresponding to the target form to obtain a verification result of the verification request.
10. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
11. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202011241798.0A 2020-11-09 2020-11-09 Form verification method and device Pending CN113760277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011241798.0A CN113760277A (en) 2020-11-09 2020-11-09 Form verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011241798.0A CN113760277A (en) 2020-11-09 2020-11-09 Form verification method and device

Publications (1)

Publication Number Publication Date
CN113760277A true CN113760277A (en) 2021-12-07

Family

ID=78786016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011241798.0A Pending CN113760277A (en) 2020-11-09 2020-11-09 Form verification method and device

Country Status (1)

Country Link
CN (1) CN113760277A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106186A (en) * 2013-01-22 2013-05-15 百度在线网络技术(北京)有限公司 Form verification method and form verification system
CN103888254A (en) * 2012-12-21 2014-06-25 阿里巴巴集团控股有限公司 Network information verification method and apparatus
CN109783751A (en) * 2018-12-14 2019-05-21 平安普惠企业管理有限公司 Form validation method and terminal device
CN110866381A (en) * 2019-09-29 2020-03-06 京东数字科技控股有限公司 Form verification method and device, storage medium and equipment
CN111355709A (en) * 2020-02-19 2020-06-30 望海康信(北京)科技股份公司 Data verification method and device, electronic equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888254A (en) * 2012-12-21 2014-06-25 阿里巴巴集团控股有限公司 Network information verification method and apparatus
CN103106186A (en) * 2013-01-22 2013-05-15 百度在线网络技术(北京)有限公司 Form verification method and form verification system
CN109783751A (en) * 2018-12-14 2019-05-21 平安普惠企业管理有限公司 Form validation method and terminal device
CN110866381A (en) * 2019-09-29 2020-03-06 京东数字科技控股有限公司 Form verification method and device, storage medium and equipment
CN111355709A (en) * 2020-02-19 2020-06-30 望海康信(北京)科技股份公司 Data verification method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109344154B (en) Data processing method, device, electronic equipment and storage medium
CN109697641A (en) The method and apparatus for calculating commodity similarity
CN110597888B (en) Virtual resource acquisition method and device based on block chain, medium and equipment
CN109901987A (en) A kind of method and apparatus generating test data
CN109766127A (en) Method for updating application version information
CN114297475A (en) Object recommendation method and device, electronic equipment and storage medium
CN107291835B (en) Search term recommendation method and device
CN116560661A (en) Code optimization method, device, equipment and storage medium
CN113869042A (en) Text title generation method and device, electronic equipment and storage medium
CN113779004A (en) Data verification method and device
CN111787041B (en) Method and device for processing data
CN113760277A (en) Form verification method and device
CN109933727A (en) User&#39;s portrait generation method and system, user&#39;s portrait application method and system
CN114492370B (en) Webpage identification method, webpage identification device, electronic equipment and medium
CN115526587A (en) Method and device for generating customs message
CN110019531A (en) A kind of method and apparatus obtaining analogical object set
CN114357180A (en) Knowledge graph updating method and electronic equipment
CN113961797A (en) Resource recommendation method and device, electronic equipment and readable storage medium
CN113190730A (en) Method and device for classifying block chain addresses
CN113312053A (en) Data processing method and device
CN113760695A (en) Method and device for positioning problem code
CN111858917A (en) Text classification method and device
CN110880059A (en) Batch number generation method and device
CN110851438A (en) Database index optimization suggestion and verification method and device
CN113626665B (en) Data display method 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