Information display method and device, electronic equipment and storage medium

By responding to verification service requests in the page design, obtaining and querying field information, performing verification, and associating the display fields and verification results in the page display area when the verification fails, the problem that the verification result information may appear in non-visual areas is solved, and information processing efficiency is improved.

CN119537723APending Publication Date: 2025-02-28BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311092722.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In page design, when multiple verification error fields appear, the error message may appear in the non-visible area, causing the user to miss the message message and affect the information processing efficiency.

Method used

By responding to the verification service request of the target field, obtain the field name and content information, query configuration rules and rendering information, check according to the rules, and when the verification fails, use the rendering position and action parameters to associate the display field and verification results in the current page display area.

Benefits of technology

Ensure that the verification result information is displayed in the visual area of ​​the page, improve the user's perception of the verification result, and enhance the efficiency of information processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537723A_ABST
    Figure CN119537723A_ABST
Patent Text Reader

Abstract

The invention provides an information display method and device, electronic equipment and a storage medium, and can be applied to the technical field of front ends. The information display method comprises the steps of obtaining name information and content information of a target field in response to a received verification service request of the target field; according to the name information of the target field, configuration rule information of the target field and rendering information of the target field are obtained by querying field configuration rule information, and the rendering information comprises rendering position parameters and rendering action parameters; verifying the target field according to the configuration rule information to generate verification result information; under the condition that the verification result information is determined to be failed in verification, the target field and the verification result information are displayed in an associated mode by calling rendering position parameters and rendering action parameters, and the rendering position parameters represent parameters, located in the current page display area, of the rendering position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of front-end technology, and more specifically, to an information display method, device, electronic device and storage medium. Background Art

[0002] In page design, the form is usually designed in an Html (Hypertext Markup Language) document. The form is usually used to collect various data entered by users. After the specified fields pass the verification, the qualified fields are sent to the server. When verification errors occur in some fields, developers need to manually write codes for the fields with verification errors and generate error prompts.

[0003] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: when there are many fields with verification errors, some error prompt information will appear in the non-visible area, resulting in missing the prompt information and affecting the efficiency of information processing. Summary of the invention

[0004] In view of this, the present disclosure provides an information display method, device, electronic device and storage medium.

[0005] One aspect of the present disclosure provides an information display method, including: in response to a received verification service request for a target field, obtaining name information of the target field and content information of the target field; according to the name information of the target field, obtaining configuration rule information of the target field and rendering information of the target field by querying field configuration rule information, wherein the rendering information includes rendering position parameters and rendering action parameters; verifying the target field according to the configuration rule information to generate verification result information; and in the case where it is determined that the verification result information is a verification failure, the target field and the verification result information are displayed in association with each other by calling the rendering position parameters and the rendering action parameters, wherein the rendering position parameters represent parameters in which the rendering position is within the display area of ​​the current page.

[0006] According to an embodiment of the present disclosure, the target field includes M, where M is an integer greater than 1. When it is determined that the verification result information is a verification failure, the target field and the verification result information are associated and displayed by calling the rendering position parameter and the rendering action parameter, including:

[0007] The name information of M target fields is displayed through a pop-up window; in response to a selection operation on the name information of the mth target field in the pop-up window, the verification result information of the mth target field and the rendering information of the mth target field are obtained, wherein m is an integer greater than or equal to 1 and less than or equal to M; and by calling the rendering information of the mth target field, the verification result information of the mth target field and the mth target field are displayed in association with each other.

[0008] According to an embodiment of the present disclosure, by calling the rendering information of the mth target field, the mth target field and the verification result information of the mth target field are associated and displayed, including: determining the rendering position information and rendering action information of the mth field according to the rendering information of the mth target field; rendering the mth field and the verification result information of the mth field according to the rendering action information and the rendering position information, and generating an associated display page for the verification result information of the mth target field and the mth target field.

[0009] According to an embodiment of the present disclosure, the above method also includes: obtaining a predicted display position of the verification result information of the target field according to a display position of the target field on the current page and a predetermined display rule; and obtaining a target display position of the verification result information of the target field according to the predicted display position and a display area of ​​the current page.

[0010] According to an embodiment of the present disclosure, obtaining a target display position of verification result information of a target field according to a predicted display position and a display area of ​​a current page includes:

[0011] When it is determined that the predicted display position does not exceed the display area of ​​the current page, the target field and verification result information are displayed in association with each other according to the predicted display position; when it is determined that the display position of the verification result information of the target field exceeds the display area of ​​the current page, the target field and verification result information are displayed in association with each other by calling the rendering position parameters and the rendering action parameters.

[0012] According to an embodiment of the present disclosure, the target fields include multiple ones, and the above method also includes: extracting the verification result failed fields from the verification result information of the multiple target fields; counting the quantity information of the verification result failed fields; and displaying the quantity information through a visual interface.

[0013] Another aspect of the present disclosure provides an information display device, including: an acquisition module, a query module, a generation module and a rendering module. The acquisition module is used to obtain the name information of the target field and the content information of the target field in response to the received verification service request of the target field. The query module is used to obtain the configuration rule information of the target field and the rendering information of the target field by querying the field configuration rule information according to the name information of the target field, wherein the rendering information includes a rendering position parameter and a rendering action parameter. The generation module is used to verify the target field according to the configuration rule information and generate verification result information. The rendering module, when determining that the verification result information is a verification failure, associates and displays the target field and the verification result information by calling the rendering position parameter and the rendering action parameter, wherein the rendering position parameter represents the parameter that the rendering position is within the display area of ​​the current page.

[0014] According to an embodiment of the present disclosure, the rendering module includes: a first display unit, an acquisition unit, and a second display unit. The first display unit is used to display the name information of M target fields through a pop-up window. The acquisition unit is used to obtain the verification result information of the mth target field and the rendering information of the mth target field in response to a selection operation on the name information of the mth target field in the pop-up window, wherein m is an integer greater than or equal to 1 and less than or equal to M. The second display unit is used to associate and display the mth target field and the verification result information of the mth target field by calling the rendering information of the mth target field.

[0015] According to an embodiment of the present disclosure, the second display unit includes a first determining subunit and a rendering subunit. The first determining subunit is used to determine the rendering position information and rendering action information of the mth field according to the rendering information of the mth target field. The rendering subunit is used to render the mth field and the verification result information of the mth field according to the rendering action information and the rendering position information, and generate an associated display page of the verification result information of the mth target field and the mth target field.

[0016] According to an embodiment of the present disclosure, the above-mentioned device further includes a first obtaining module and a second obtaining module. The first obtaining module is used to obtain the predicted display position of the verification result information of the target field according to the display position of the target field on the current page and the predetermined display rule. The second obtaining module is used to obtain the target display position of the verification result information of the target field according to the predicted display position and the display area of ​​the current page.

[0017] According to an embodiment of the present disclosure, the second obtaining module includes a third display unit and a fourth display unit. The third display unit is used to display the target field and the verification result information in association with each other according to the predicted display position when it is determined that the predicted display position does not exceed the display area of ​​the current page. The fourth display unit is used to display the target field and the verification result information in association with each other by calling the rendering position parameter and the rendering action parameter when it is determined that the display position of the verification result information of the target field exceeds the display area of ​​the current page.

[0018] According to an embodiment of the present disclosure, the above-mentioned device further includes: an extraction module, a statistics module and a display module. Among them, the extraction module is used to extract the verification result failure fields from the verification result information of multiple target fields. The statistics module is used to count the quantity information of the verification result failure fields. The display module is used to display the quantity information through a visual interface.

[0019] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed.

[0020] Another aspect of the present disclosure provides a computer program product, the computer program product comprising computer executable instructions, and the instructions are used to implement the above method when executed.

[0021] According to the embodiments of the present disclosure, the configuration rule information of the target field and the rendering information of the target field are obtained by querying the field configuration rule information according to the name information of the target field. The target field is verified according to the configuration rule information to generate verification result information, and when it is determined that the verification result information is a verification failure, the target field and the verification result information are associated and displayed by calling the rendering position parameter and the rendering action parameter. Since the rendering position parameter in the rendering information of the target field represents the parameter that the rendering position is within the display area of ​​the current page, the technical problem of displaying the verification result information in the non-visible area of ​​the page in the related technology is at least partially overcome, thereby achieving the technical effect of improving the user's perception of the verification result information and improving the efficiency of information processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0023] Figure 1 An exemplary system architecture to which the information display method or device disclosed herein can be applied is schematically shown;

[0024] Figure 2 A flowchart of an information display method according to an embodiment of the present disclosure is schematically shown;

[0025] Figure 3A Schematic diagram schematically showing an information display page in the related art

[0026] Figure 3B A schematic diagram schematically shows an information display page according to an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram schematically shows a method of displaying the field names that failed verification through a pop-up window according to an embodiment of the present disclosure;

[0028] Figure 5 A schematic diagram schematically shows an information display page after selecting the field name that failed verification in the pop-up window according to an embodiment of the present disclosure;

[0029] Figure 6 A schematic diagram schematically shows an information display page containing verification result summary information according to an embodiment of the present disclosure;

[0030] Figure 7 A block diagram schematically shows an information display device according to an embodiment of the present disclosure; and

[0031] Figure 8 A block diagram of an electronic device 800 suitable for implementing the information presentation method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0033] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0034] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0035] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0036] In the embodiments of the present disclosure, the collection, updating, analysis, processing, use, transmission, provision, disclosure, storage, etc. of the data involved (for example, including but not limited to user personal information) are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security, and national security.

[0037] In the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.

[0038] In the related art, error prompts for verification fields are usually performed based on manually written codes. When there are many fields with verification errors, some error prompts will appear in the non-visible area, resulting in missed prompts and affecting information processing efficiency.

[0039] In view of this, an embodiment of the present disclosure provides an information display method, including: in response to a received verification service request for a target field, obtaining name information of the target field and content information of the target field; according to the name information of the target field, obtaining configuration rule information of the target field and rendering information of the target field by querying field configuration rule information, wherein the rendering information includes rendering position parameters and rendering action parameters; verifying the target field according to the configuration rule information to generate verification result information; and in a case where it is determined that the verification result information is a verification failure, displaying the target field and the verification result information in association with each other by calling the rendering position parameters and the rendering action parameters, wherein the rendering position parameters represent parameters that the rendering position is within the current page display area.

[0040] Figure 1 The exemplary system architecture 100 to which the information display method or device according to the embodiment of the present disclosure can be applied is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0041] like Figure 1As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.

[0042] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software, etc. (only for example).

[0043] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0044] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0045] It should be noted that the information display method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the information display device provided in the embodiment of the present disclosure can generally be set in the server 105. The information display method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the first terminal device 101, the second terminal device 102, and the third terminal device 103 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the information display provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0046] The information display method provided in the embodiment of the present disclosure may also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or may also be executed by other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Accordingly, the information display device provided in the embodiment of the present disclosure may also be provided in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or may be provided in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.

[0047] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0048] Figure 2 The flowchart of the information display method according to the embodiment of the present disclosure is schematically shown.

[0049] like Figure 2 As shown, the method includes operations S210 to S240.

[0050] In operation S210, in response to the received verification service request of the target field, name information of the target field and content information of the target field are acquired.

[0051] In operation S220 , configuration rule information of the target field and rendering information of the target field are obtained by querying field configuration rule information according to the name information of the target field.

[0052] In operation S230, the target field is verified according to the configuration rule information to generate verification result information.

[0053] In operation S240 , when it is determined that the verification result information is a verification failure, the target field and the verification result information are associated and displayed by calling the rendering position parameter and the rendering action parameter.

[0054] According to an embodiment of the present disclosure, the target field may be a field in a user input form in a page design, and the field configuration rule may be an attribute rule for configuring the field type, field format, field voice, etc. in the input form.

[0055] For example, the configuration rule for field A can be "lowercase English characters". The configuration rule for field B can be "no identifiers can appear between fields". The configuration rule for field C can be "field cannot be empty".

[0056] According to an embodiment of the present disclosure, the target field is verified according to the configuration rule information to generate verification result information.

[0057] For example, the field configuration rule can be "the value of the email field cannot be empty". The name of the target field can be "email". You can trigger a validation event (onChange or onBlur event) by calling the validation method (onCollectValidate). By obtaining the value of the "email field", according to the field configuration rule, by calling the validation internal field method (validateFieldsInternal), an asynchronous validation instance is created to validate the value of the "email field" and obtain the validation result information.

[0058] According to an embodiment of the present disclosure, the verification result information may include verification success or verification failure. Verification success indicates that the content of the target field complies with the field configuration rule, and verification failure indicates that the content of the target field does not comply with the field configuration rule information.

[0059] For example, when the "email field" is empty, the target field and validation result information are displayed in association by calling the rendering position parameter and rendering action parameter.

[0060] According to an embodiment of the present disclosure, the rendering position parameter may represent the parameter that the rendering position is within the current page display area. The rendering action parameter may represent the parameter of the rendering mode. The rendering mode may include: smooth rendering, straight line rendering, gradient rendering according to a certain curve, etc.

[0061] For example, the rendering action parameters may include the following attributes: area attribute (block), line attribute (inline), scroll model attribute (scrollModel), boundary attribute (boundary), skip overflow hidden elements attribute (skipOverflowHiddenElements), etc.

[0062] For example, by calling the scrollToField method, the input parameters of the scrollToField method may include the name information and rendering information of the target field, obtaining the document object model (dom) according to the name information of the target field, and inputting the rendering position parameters and the rendering action parameters into the document object model, setting the attribute value of scrollModel to if-needed and the attribute value of block to nearest, the target field and the verification result information may be associated and displayed in the display area of ​​the current page.

[0063] Figure 3A A schematic diagram of an information display page in the related art is schematically shown.

[0064] like Figure 3AAs shown, in the information display page of embodiment 300A, when the user triggers the submit button at the top, field 3 that fails the verification is in the non-visible area (dashed area) of the current page.

[0065] Figure 3B A schematic diagram of an information display page according to an embodiment of the present disclosure is schematically shown.

[0066] like Figure 3B As shown, in the information display page of embodiment 300B, since field 3 that failed verification is in the non-visible area of ​​the current page, by calling the rendering information of field 3, field 3 and the verification result of field 3 are associated and displayed in the visible area of ​​the current page.

[0067] According to the embodiments of the present disclosure, the configuration rule information of the target field and the rendering information of the target field are obtained by querying the field configuration rule information according to the name information of the target field. The target field is verified according to the configuration rule information to generate verification result information, and when it is determined that the verification result information is a verification failure, the target field and the verification result information are associated and displayed by calling the rendering position parameter and the rendering action parameter. Since the rendering position parameter in the rendering information of the target field represents the parameter that the rendering position is within the display area of ​​the current page, the technical problem of displaying the verification result information in the non-visible area of ​​the page in the related technology is at least partially overcome, thereby achieving the technical effect of improving the user's perception of the verification result information and improving the efficiency of information processing.

[0068] Reference below Figures 4 to 6 , combined with specific embodiments Figure 2 The method shown is further explained.

[0069] According to an embodiment of the present disclosure, the target fields include M, where M is an integer greater than 1. When it is determined that the verification result information is a verification failure, the target fields and the verification result information are displayed in association by calling the rendering position parameter and the rendering action parameter, which may include the following operations: displaying the name information of the M target fields through a pop-up window. In response to a selection operation on the name information of the mth target field in the pop-up window, the verification result information of the mth target field and the rendering information of the mth target field are obtained, where m is an integer greater than or equal to 1 and less than or equal to M. By calling the rendering information of the mth target field, the mth target field and the verification result information of the mth target field are displayed in association.

[0070] According to an embodiment of the present disclosure, the name information of the target field that failed verification can be obtained through a call, and the name information of M target fields can be displayed through a pop-up window.

[0071] For example, by obtaining an array of failed validation objects, the array of failed validation objects may include two attributes: the name attribute of the failed validation field and the location attribute of the failed validation field on the current page. The failed validation object array may be stored as a file, and each time the file is updated, the pop-up component is opened by calling the getErrorInfo method to display the name information of all failed validation fields in the pop-up window.

[0072] Figure 4 The diagram schematically shows a schematic diagram of displaying the field names that failed verification through a pop-up window according to an embodiment of the present disclosure.

[0073] like Figure 4 As shown, in embodiment 400, there are 12 fields that failed verification on the current page, and a list of the names of the 12 failed verification fields is displayed through a pop-up window: field 1 failed verification, field 2 failed verification, ..., field 12 failed verification. Among them, the result information of the failed verification of fields 1 to 10 is displayed in the display area of ​​the current page, and the result information of the failed verification of fields 11 to 12 is located in the non-display area of ​​the current page (non-visible area, dotted area), that is, the result information of the failed verification of fields 11 to 12 is invisible to the user.

[0074] For the verification failure result information of fields 11 and 12 that are currently only visible in the pop-up window, the verification result information and rendering information of the 11th target field, as well as the verification result information and rendering information of the 12th target field can be obtained in response to the selection operation of the name information of the 11th target field (field 11) and the name information of the 12th target field (field 12) in the pop-up window.

[0075] According to an embodiment of the present disclosure, the names of all fields that have failed verification are displayed through a pop-up window, so that the user can preview the verification results of the target fields in time.

[0076] According to an embodiment of the present disclosure, by calling the rendering information of the mth target field, the mth target field and the verification result information of the mth target field are displayed in association, which may include the following operations: according to the rendering information of the mth target field, the rendering position information and the rendering action information of the mth field are determined. According to the rendering action information and the rendering position information, the mth field and the verification result information of the mth field are rendered to generate an association display page of the verification result information of the mth target field and the mth target field.

[0077] For example: by calling the getErrorInfo method, loop through the array of all validation failed field information. Generate a list component (ErrorList) consisting of all validation failed field objects. The ErrorList component can be set to the value of the field content (content) attribute of the Popover component. When looping through each validation failed result information, a file object model (dom) is created. The content of the dom is the value of the error message (errorMessage) attribute of the validation failed result information of the current loop, and the onClick event is bound to a function on the dom. The input parameter of the function is the display area (errField) of the error information of the current loop. The file query method (document.querySelector) is called inside the function. The parameter can be `label[for=${errField}]`. ​​The errfield in the parameter is a variable, and the value is the value of the validation failed field (errFile). The dom object of the passed field is obtained through this parameter. This dom object is the field with validation error in the view, and then the rendering (scrollIntoView) method of the dom object is called with the parameter true. The validation result information of field 11 and field 12 can be scrolled into the view range.

[0078] Figure 5 The schematic diagram schematically shows an information display page after selecting the field name that failed verification in the pop-up window according to an embodiment of the present disclosure.

[0079] like Figure 5 As shown, in embodiment 500, the verification failed field 11 and the verification failed field 12 are displayed in the display area of ​​the current page, while the verification failed field 1 and the verification failed field 1 are scrolled to the non-display area (dashed line area) of the current page.

[0080] According to an embodiment of the present disclosure, by selecting the field name information in the pop-up window and re-rendering the information of the field that failed the verification, it can effectively prevent the user from missing the field that needs to be modified, thereby improving the efficiency of information processing.

[0081] According to an embodiment of the present disclosure, the method further includes: obtaining a predicted display position of the verification result information of the target field according to a display position of the target field on the current page and a predetermined display rule. Obtaining a target display position of the verification result information of the target field according to the predicted display position and the display area of ​​the current page.

[0082] According to an embodiment of the present disclosure, the predetermined display rule may be that the verification result information of the target field is displayed below the target field.

[0083] For example, the current page can display verification result information of 10 fields, which are verification results of fields 1 to 10. Among them, the display position of field 1 and field 2 on the current page is located at the top area of ​​the current page. According to the predetermined display rule, the predicted display position of the verification result information of field 1 and field 2 is below field 1 and field 2.

[0084] According to an embodiment of the present disclosure, when it is determined that the predicted display position does not exceed the display area of ​​the current page, the target field and the verification result information are displayed in association with each other according to the predicted display position.

[0085] Since the display position of field 1 and field 2 on the current page is located in the top area of ​​the current page, the predicted display position of the verification result information of field 1 and field 2 does not exceed the display area of ​​the current page even if it is below field 1 and field 2. Therefore, the verification result information of field 1 and field 2 can be displayed below field 1 and field 2 according to the predicted display position.

[0086] For example, the display position of field 9 and field 10 on the current page is located at the bottom area of ​​the current page. According to the predetermined display rule, the predicted display position of the verification result information of field 9 and field 10 is below field 9 and field 10.

[0087] According to an embodiment of the present disclosure, when it is determined that the display position of the verification result information of the target field exceeds the display area of ​​the current page, the target field and the verification result information are associated and displayed by calling rendering position parameters and rendering action parameters.

[0088] Since the display position of field 9 and field 10 on the current page is located at the bottom area of ​​the current page, the predicted display position of the verification result information of field 9 and field 10 is below field 9 and field 10, which has exceeded the display area of ​​the current page. Therefore, it is necessary to display the verification result information of field 9 and field 10 in the display area of ​​the current page by calling the rendering position parameter and the rendering action parameter.

[0089] According to an embodiment of the present disclosure, by predicting the display position of the verification result information of the target field and determining whether the predicted display position exceeds the display area of ​​the current page, the verification result information of the target field in the non-display area can be displayed in the display area in a targeted manner, and the verification failure information can be effectively prompted to improve the user experience.

[0090] In the related art, since the verification result information is prompted by manually writing codes, it is difficult for users to understand the overall situation of the fields that have failed verification among the input fields, and it is easy for users to miss modifying the fields that have failed verification.

[0091] According to an embodiment of the present disclosure, the target field includes multiple fields, and the method further includes: extracting the verification result failure fields from the verification result information of the multiple target fields, counting the number of verification result failure fields, and displaying the number information through a visual interface.

[0092] For example, by calling the getErrorInfo method, the number of fields that have failed verification results in multiple target fields is counted, and the summarized number is displayed in the visualization area of ​​the current page.

[0093] Figure 6 A schematic diagram of an information display page containing verification result summary information according to an embodiment of the present disclosure is schematically shown.

[0094] like Figure 6 As shown, in embodiment 600, the fields that failed verification can be displayed in the display area of ​​the current page. The total number of fields that failed verification can be displayed at the bottom of the current page as "12 fields failed verification".

[0095] According to an embodiment of the present disclosure, by counting and displaying the number of fields that have failed verification, it is possible to effectively prevent users from missing out on modifying fields that have failed verification.

[0096] Figure 7 A block diagram of an information display device according to an embodiment of the present disclosure is schematically shown.

[0097] like Figure 7 As shown, the information display device 700 may include an acquisition module 710 , a query module 720 , a generation module 730 and a rendering module 740 .

[0098] The acquisition module 710 is used to acquire the name information and content information of the target field in response to the received verification service request of the target field.

[0099] The query module 720 is used to obtain the configuration rule information of the target field and the rendering information of the target field by querying the field configuration rule information according to the name information of the target field, wherein the rendering information includes rendering position parameters and rendering action parameters.

[0100] The generation module 730 is used to verify the target field according to the configuration rule information and generate verification result information.

[0101] The rendering module 740 is used to associate and display the target field and the verification result information by calling the rendering position parameter and the rendering action parameter when the verification result information is determined to be a verification failure, wherein the rendering position parameter represents a parameter that the rendering position is within the current page display area.

[0102] According to an embodiment of the present disclosure, the rendering module includes: a first display unit, an acquisition unit, and a second display unit. The first display unit is used to display the name information of M target fields through a pop-up window. The acquisition unit is used to obtain the verification result information of the mth target field and the rendering information of the mth target field in response to a selection operation on the name information of the mth target field in the pop-up window, wherein m is an integer greater than or equal to 1 and less than or equal to M. The second display unit is used to associate and display the mth target field and the verification result information of the mth target field by calling the rendering information of the mth target field.

[0103] According to an embodiment of the present disclosure, the second display unit includes a first determining subunit and a rendering subunit. The first determining subunit is used to determine the rendering position information and rendering action information of the mth field according to the rendering information of the mth target field. The rendering subunit is used to render the mth field and the verification result information of the mth field according to the rendering action information and the rendering position information, and generate an associated display page of the verification result information of the mth target field and the mth target field.

[0104] According to an embodiment of the present disclosure, the above-mentioned device further includes a first obtaining module and a second obtaining module. The first obtaining module is used to obtain the predicted display position of the verification result information of the target field according to the display position of the target field on the current page and the predetermined display rule. The second obtaining module is used to obtain the target display position of the verification result information of the target field according to the predicted display position and the display area of ​​the current page.

[0105] According to an embodiment of the present disclosure, the second obtaining module includes a third display unit and a fourth display unit. The third display unit is used to display the target field and the verification result information in association with each other according to the predicted display position when it is determined that the predicted display position does not exceed the display area of ​​the current page. The fourth display unit is used to display the target field and the verification result information in association with each other by calling the rendering position parameter and the rendering action parameter when it is determined that the display position of the verification result information of the target field exceeds the display area of ​​the current page.

[0106] According to an embodiment of the present disclosure, the above-mentioned device further includes: an extraction module, a statistics module and a display module. Among them, the extraction module is used to extract the verification result failure fields from the verification result information of multiple target fields. The statistics module is used to count the number information of the verification result failure fields. The display module is used to display the number information through a visual interface.

[0107] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

[0108] For example, any multiple of the acquisition module 710, the query module 720, the generation module 730, and the rendering module 740 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the acquisition module 710, the query module 720, the generation module 730, and the rendering module 740 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the acquisition module 710 , the query module 720 , the generation module 730 , and the rendering module 740 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.

[0109] It should be noted that the information display device part in the embodiments of the present disclosure corresponds to the information display method part in the embodiments of the present disclosure. The description of the information display device part specifically refers to the information display method part, which will not be repeated here.

[0110] Figure 8A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0111] like Figure 8 As shown, the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0112] In RAM 803, various programs and data required for the operation of electronic device 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other via bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0113] According to an embodiment of the present disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The system 800 may further include one or more of the following components connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.

[0114] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0115] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0116] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0117] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 802 and / or the RAM 803 described above and / or one or more memories other than the ROM 802 and the RAM 803 .

[0118] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains a program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the information display method provided by the embodiment of the present disclosure.

[0119] When the computer program is executed by the processor 801, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0120] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0121] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0123] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. An information display method, comprising: In response to the received verification service request of the target field, obtaining the name information of the target field and the content information of the target field; According to the name information of the target field, by querying the field configuration rule information, the configuration rule information of the target field and the rendering information of the target field are obtained, wherein the rendering information includes a rendering position parameter and a rendering action parameter; Verify the target field according to the configuration rule information to generate verification result information; and When it is determined that the verification result information is a verification failure, the target field and the verification result information are associated and displayed by calling the rendering position parameter and the rendering action parameter, wherein the rendering position parameter represents a parameter that the rendering position is within the current page display area.

2. The method according to claim 1, wherein: The target fields include M, where M is a complex number greater than 1. When it is determined that the verification result information is a verification failure, the target fields and the verification result information are associated and displayed by calling the rendering position parameter and the rendering action parameter, including: Display the name information of M target fields through a pop-up window; In response to a selection operation on the name information of the mth target field in the pop-up window, obtaining verification result information of the mth target field and rendering information of the mth target field, where m is an integer greater than or equal to 1 and less than or equal to M; and By calling the rendering information of the mth target field, the mth target field and the verification result information of the mth target field are associated and displayed.

3. The method according to claim 2, wherein: The calling of the rendering information of the mth target field to display the mth target field and the verification result information of the mth target field in association with each other includes: Determining rendering position information and rendering action information of the mth field according to the rendering information of the mth target field; According to the rendering action information and the rendering position information, the mth field and the verification result information of the mth field are rendered to generate an associated display page of the mth target field and the verification result information of the mth target field.

4. The method according to claim 1, further comprising: According to the display position of the target field on the current page and in accordance with a predetermined display rule, a predicted display position of the verification result information of the target field is obtained; The target display position of the verification result information of the target field is obtained according to the predicted display position and the display area of ​​the current page.

5. The method according to claim 4, wherein: The obtaining, according to the predicted display position and the display area of ​​the current page, a target display position of the verification result information of the target field includes: In the case where it is determined that the predicted display position does not exceed the display area of ​​the current page, the target field and the verification result information are displayed in association with each other according to the predicted display position; When it is determined that the display position of the verification result information of the target field exceeds the display area of ​​the current page, the target field and the verification result information are displayed in association with each other by calling the rendering position parameter and the rendering action parameter.

6. The method according to claim 1, wherein the target field comprises a plurality of target fields, and the method further comprises: Extracting the verification result failure field from the verification result information of the plurality of target fields; Count the number of fields that failed the verification result; as well as The quantity information is displayed through a visual interface.

7. An information display device, comprising: An acquisition module, configured to acquire name information of the target field and content information of the target field in response to a received verification service request of the target field; A query module, configured to obtain the configuration rule information of the target field and the rendering information of the target field by querying the field configuration rule information according to the name information of the target field, wherein the rendering information includes a rendering position parameter and a rendering action parameter; A generating module, configured to verify the target field according to the configuration rule information and generate verification result information; and The rendering module, when determining that the verification result information is a verification failure, associates and displays the target field and the verification result information by calling the rendering position parameter and the rendering action parameter, wherein the rendering position parameter represents a parameter that the rendering position is within the current page display area.

8. An electronic device, comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 6.

10. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.