WO2017118305A1 - 一种针对错误输入信息的页面定位方法及装置 - Google Patents

一种针对错误输入信息的页面定位方法及装置 Download PDF

Info

Publication number
WO2017118305A1
WO2017118305A1 PCT/CN2016/112021 CN2016112021W WO2017118305A1 WO 2017118305 A1 WO2017118305 A1 WO 2017118305A1 CN 2016112021 W CN2016112021 W CN 2016112021W WO 2017118305 A1 WO2017118305 A1 WO 2017118305A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
error
input information
information
prompt
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.)
Ceased
Application number
PCT/CN2016/112021
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to JP2018553287A priority Critical patent/JP6797209B2/ja
Priority to MYPI2018702331A priority patent/MY199156A/en
Priority to EP16883430.7A priority patent/EP3401778B1/en
Priority to KR1020187022650A priority patent/KR102150779B1/ko
Priority to SG11201805741VA priority patent/SG11201805741VA/en
Publication of WO2017118305A1 publication Critical patent/WO2017118305A1/zh
Priority to US16/027,030 priority patent/US10831344B2/en
Priority to PH12018501425A priority patent/PH12018501425A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0775Content or structure details of the error report, e.g. specific table structure, specific error fields
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/226Validation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present application relates to the field of page location technologies, and in particular, to a page location method and apparatus for erroneous input information.
  • a common interaction between the front end and the background is: the front end generates and displays a page for the user, and the page may include one or more page input areas, and each page input area corresponds to one field; the user may prompt according to the field In the corresponding page input area, the input operation is performed.
  • the input control information on the page can be submitted to the background for error verification, and the error check result is returned to the front end after the background verification.
  • the front end can determine the error input information in the page according to the error check result, and then prompt the user to modify.
  • the front end prompts the erroneous input information in the page by displaying a text comment or a symbol remark next to the page input area where each erroneous input information is located, and the user can see the remark next to the remark.
  • the input information is incorrect and needs to be modified.
  • the embodiment of the present invention provides a page positioning method and device for erroneous input information, which is used to solve the problem that the user needs to manually scroll up and down a long page to find and modify various error input information on the long page. It is cumbersome and it is easy to miss the problem of incorrect input.
  • the page is positioned according to an anchor point corresponding to the page input area where each of the error input information is located.
  • a submitting module for submitting each input information in the page to the background for error checking
  • a determining module configured to determine an error input information in the page according to an error check result returned by the background
  • a floating layer module configured to generate and display an error prompt floating layer including prompt information for each of the error input information according to the determined each error input information
  • a positioning module configured to locate the page according to an anchor point corresponding to the page input area where each of the error input information is located.
  • the embodiment of the present application can enable the user to obtain the error input information existing on the page through the error prompting floating layer, and can locate the page to the page input area where the error input information is located according to the anchor point.
  • the user operation can be simplified, and the user can not easily miss the wrong input information.
  • FIG. 2 is a schematic diagram of an error prompt floating layer displayed on a page in an actual application according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a page after modifying and saving the first erroneous input information in FIG. 2 according to an embodiment of the present application;
  • FIG. 4 is a schematic diagram of a page after modifying and saving the second erroneous input information in FIG. 2 according to an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a page after modifying and saving all the error input information in FIG. 2 according to an embodiment of the present application;
  • FIG. 6 is a schematic structural diagram of a page positioning apparatus for erroneous input information according to an embodiment of the present application.
  • the front end mentioned in the embodiment of the present application may refer to a front end of a browser, or a front end of an application client, and the backend may refer to a server end of the browser, or a background of the client of the application, or an application service. Wait.
  • the input information when the user inputs, the input information can be directly verified by the front end, so that when the current end check determines that the user inputs the wrong input information, the user can prompt in real time when the user inputs.
  • the user modifies so that the user does not have to find the wrong input information by himself, and it is not easy to miss.
  • the front end cannot be verified by the front end, and the front end submits the other input information to the background, and is verified by the background, and then returns the verification result to the front end, so that the front end can be based on
  • the verification result returned in the background determines the erroneous input information, and prompts the user to input the erroneous input information by using the above-mentioned prior art method, so that the user needs to find the erroneous input information of the prompt on the page, especially when the page is long, the page When there are many incorrect input information, the user needs to scroll up and down to find the wrong input information, which is cumbersome and easy to miss.
  • the problems mentioned in the background art are mainly generated in the second scenario or in a mixed scenario of two scenarios.
  • the page positioning method for the erroneous input information provided by the embodiment of the present application can solve the problem.
  • the method is specifically described based on the second scenario.
  • FIG. 1 is a process of a method for locating a page for erroneous input information according to an embodiment of the present application.
  • the page may be generated and displayed by a front end, and the execution body of the process may be a front end or a device where the front end is located, such as a terminal.
  • the terminal includes, but is not limited to, a personal computer, a mobile phone, a tablet computer, a smart watch, a car mobile station, and the like.
  • the executor of the present invention is not limited to the present application. For the convenience of description, the embodiments of the present application are described by taking the front end of the execution subject as an example.
  • the process in FIG. 1 may specifically include the following steps:
  • the page may be a page of a webpage, or may be an application page or the like.
  • the page can contain one or more inputtable controls, including but not limited to: input text box, input drop-down box, checkable control, and the like.
  • the area provided by the input control on the page for user input can be called: page input area.
  • Each of the input controls can provide one or more page input areas.
  • each page input area may correspond to one field, and the field may be used to prompt the user to input what information in the page input area corresponding to the field.
  • the background may perform error checking on each input information submitted by the front end according to the set verification rule.
  • the error check may be to check whether the input information is input according to a specified format. For example, if a number should be input for a certain field, if the input information corresponding to the field actually contains a letter, the background may determine that the input information has an error. The verification fails.
  • the error check may also be based on the preset service logic, and check whether the input information conflicts with other input information that has passed the verification. For example, it is assumed that the input information corresponding to the field A and the field B has been verified. Passed the test, According to the preset business logic, the input information input for the field C should fall within the value interval formed by the input information corresponding to the field A and the field B, if the input information corresponding to the field C does not fall within the value interval. Inside, the background can determine that there is an error in the input information corresponding to the field C, the verification fails; and so on.
  • S102 Determine error input information in the page according to an error check result returned by the background.
  • the input information submitted by the front end and the background check fails may be referred to as: error input information.
  • the front end can determine the error input information in the page.
  • the field corresponding to the error input information can be referred to as an error report field.
  • the error input information in the page is determined, and the error field in the page may also be determined.
  • the background can directly return each error field, and the front end can directly determine each error input information in the page according to each error field.
  • the background may also return information that records the reason why the input information corresponding to each error field does not pass the verification, so that the front end gives the user more prompt information.
  • S103 Generate and display an error prompt floating layer including prompt information for each of the error input information according to the determined each error input information.
  • the error prompting floating layer may be displayed on the page in a floating manner, and the error prompting the position of the floating layer may be fixed with respect to the display screen, and may not move as the page scrolls up and down. In this case, as long as the display screen is still displaying the page, the user can always see the error prompt floating layer on the display screen, thereby improving the convenience of the user to view and modify the erroneous input information.
  • the display position on the floating layer redisplay display screen is not limited.
  • the error prompt floating layer may be displayed in a more conspicuous position, thereby facilitating the user to see the error prompt floating layer; It also allows the error prompting layer to occlude the original content on the page as little as possible, so that the user can view the original content on the page.
  • the error indicates that the floating layer can have at least one of the following two uses.
  • the two uses are described below.
  • the error prompt floating layer can be used to prompt the error input information on the page
  • the specific prompt method can display the error input information in the error prompt floating layer, or display the field corresponding to the error input information (that is, the error message The name of the field).
  • the content of the hint may be included in the name of the anchor link, or may be included in the error prompt floating layer independently of the anchor link.
  • the error prompting floating layer can be used to display the anchor link of the anchor point corresponding to the page input area where each error input information is located, and the user can click the anchor link to make the front end locate the page to the wrong input information. At the page area, the user can conveniently view the incorrect input information and modify it.
  • the error prompting the floating layer may be a static floating layer or a dynamic floating layer that may change according to a page change.
  • the front end can save the action according to the user's modification of the error input information.
  • Corresponding changes are made to the contents of the error prompt floating layer, so that the utility and effectiveness of the error prompt floating layer in the present application can be improved.
  • positioning the page to an area on the page may be an action of determining whether the area is displayed at a set position of the current display area (the set position may generally be a comparison in the current display area)
  • a conspicuous position such as the top or middle of the current display area, if not, the page is not scrolled, otherwise, the page is scrolled until the area is displayed at the set position of the current display area, and the scrolling of the page is stopped.
  • S104 Locating the page according to an anchor point corresponding to the page input area where each of the erroneous input information is located.
  • the order of execution of the two steps of steps S103 and S104 is not limited. S103 may be performed prior to S104, S104 may be performed prior to S103, S104 and S103 may also be performed in parallel, and so on.
  • each of the anchor points may be set in advance before the step S101 is performed, or may be set in the process of performing the steps S101 to S104. The moment is not limited.
  • the front end can automatically locate the page to the page input area corresponding to any anchor point and contains the wrong input information, so that the user can conveniently see and modify the error input on the page. Information without having to manually find it on the page.
  • the front end may sequentially and separately position the page according to each of the anchor points to a page input area corresponding to each anchor point and containing the incorrect input information, and correspondingly, the user may sequentially Each erroneous input information is modified so that it is not easy for the user to miss the erroneous input information.
  • the user can obtain the error input information existing on the page through the error prompt floating layer, and can locate the page to the page input area where the error input information is located according to the anchor point, so that the user can modify the incorrect input information. Therefore, the user operation can be simplified, and the user is not likely to miss the erroneous input information, thereby solving the problems mentioned in the background art.
  • the prompt information indicating that the floating layer includes the error input information may be the field name corresponding to the incorrect input information (that is, an error is reported. Field Name).
  • generating an error prompt floating layer including prompt information for each of the error input information may specifically include: determining a field name corresponding to each of the error input information (that is, an error field name) Generating an error prompt floating layer including each of the field names, wherein each of the field names is spliced according to a setting The way, after splicing, is displayed in the floating layer of the error prompt.
  • the embodiment of the present application does not limit the splicing manner, and may be in the order in which the error field names appear in the page, and the error field names will be spliced from top to bottom or from left to right.
  • the prompt information in the floating layer may include other information, such as the total number of error fields, and the error reason description information corresponding to the error field, in addition to the error field name. For ease of understanding, an example will be described using FIG.
  • FIG. 2 is a schematic diagram of an error prompt floating layer displayed on a page in an actual application according to an embodiment of the present application.
  • the error message included in the floating layer in FIG. 2 prompts: the total number of error fields on the page, and the name of each error field.
  • the error prompts that "there are three places to be modified" in the floating layer, that is, a total of three error reporting fields are prompted, and further, the error prompting that the floating layer also displays "field A" and "field B" from top to bottom.
  • the page currently displays only a part of the display screen, and the input area corresponding to the field E is not visible. In practical applications, when the page is a long page such as that in FIG. 2, a larger number of error fields may not be displayed in the current display screen at the same time, which also causes the user in the prior art to find the wrong input information. Change, one of the reasons for easy omission.
  • the erroneous input information may be prompted to the user through the error prompting floating layer, but also the anchor point positioning manner may be used to automatically locate the page to the page input area where the erroneous input information is located.
  • the positioning of the page according to the anchor point corresponding to the page input area where the erroneous input information is located may specifically include: according to each of the erroneous input information, predetermined An anchor point corresponding to a page input area in which the erroneous input information is located, the page is positioned to the page input area; and each time a save instruction for the erroneous input information modified on the page is received, saving the The modified error input information, and according to the anchor point corresponding to the page input area where the predetermined one of the error input information has not been modified, locates the page to the page input area, Until all the erroneous input information on the page has been modified and saved.
  • the embodiment of the present application does not limit the positioning order of the page input area where each page is located to each error input information.
  • the page may be automatically positioned to a page input area where a certain error input information is located (this application assumes that the positioning operation may cause the page input area to be displayed at the top of the display screen), waiting After the user modifies and saves the error input information of the page area, the page is automatically positioned to the page input area where another error input information is located, so that the user does not need to manually find the wrong input information on the page, and the user can follow Automatic positioning of the page, in turn modify the error input information on the page.
  • the step S104 since the user inputs the information from the top of the page, the input area of each page in the page is input sequentially. Therefore, when the step S104 is performed, the information may be input according to each error. In the order on the page, the pages are sequentially positioned to the page area where each error input information is located. In this case, compare It is in line with the habit of inputting or modifying information on the page by the average user.
  • the user can also prompt the user through the error prompt floating layer, which is currently the page area where the error input information corresponding to the error field is located.
  • the page is located to the page area where the error input information corresponding to the field A is located.
  • the error indicates that the side of the field A in the floating layer has one more mark (black rectangle) than the other fields. This flag is used to indicate that the page is currently positioned to the page area where the error input information corresponding to the field A is located.
  • the identifier is only an example of the prompt, and may be implemented as the prompt in other manners, which is not limited by the embodiment of the present application.
  • the save instruction may be sent by the save control provided on the operation page when the user wants to save the modified error input information after modifying the error input information. It should be noted that, just saving the modified input information does not trigger the background to verify the modified input information. Therefore, the user can modify the error input information after saving the entire part. After the front end is submitted, the station will perform error checking.
  • step S104 the page effect diagram in the process of implementing step S104 is illustrated below using the example in FIG. 2.
  • the front end has generated and displayed the generated error prompt floating layer, and the front end has positioned the page to the page area where the error input information corresponding to the field A is located. Further, after the user modifies the error input information corresponding to the field A, the page may be located to the page area where the error input information of the second error field (field B) is located, as shown in FIG. 3 .
  • the page has been located to the page area where the error input information corresponding to the field B is located. Further, after the user modifies the error input information corresponding to the field B, the page can be positioned to the third error reporting field.
  • Field E corresponds to the page area where the error input information is located, as shown in FIG.
  • the error prompt floating layer can be destroyed, as shown in FIG. 5.
  • the user can instruct the foreground to submit each modified input information in the page in FIG. 5 to the background and perform error checking.
  • the front end may perform a corresponding change according to the user's modification and save operation of the error input information, and the content of the error prompt floating layer.
  • the following steps may be further performed: including the error prompt in the floating layer
  • the prompt information corresponding to the modified error input information is hidden or destroyed.
  • the error prompts that only the erroneous input information that the user has not modified and saved may be displayed in the floating layer in real time, and the erroneous input information that the user has modified and saved is no longer displayed.
  • the error prompting the floating layer has completed the mission, in order to make the error prompting the floating layer does not hinder the user. Subsequent operations can destroy the error layer floating layer.
  • the actions of the page positioning mentioned above may be automatically performed by the front end.
  • the user may also want to specify a page input area where one of the error prompt information located on the page is located.
  • the prompt information included in the error prompting layer for the error input information may further include: the error Enter the anchor link of the anchor point corresponding to the page input area where the information is located.
  • the user can click on any anchor link in the error layer floating layer.
  • the front end may position the page to the page input area corresponding to the anchor link, so that the user modifies the erroneous input information in the page input area.
  • the name of the error field may be used as the name of the anchor link corresponding to the error field, and thus, each anchor link named by the name of the error report field may prompt the user to report the error field. The user can click on the anchor link to locate the page, and there is no need to use additional information in the error prompt floating layer to prompt the error field.
  • the page positioning method for the erroneous input information provided by the embodiment of the present application is applicable to both a short page and a long page, and the long page may refer to a page whose length is longer than the length of the display area for displaying the long page. This method is particularly useful for long pages when compared to the advantages of the prior art.
  • the embodiment of the present application further provides a corresponding page locating device for erroneous input information, as shown in FIG. 6 .
  • FIG. 6 is a schematic structural diagram of a page locating device for erroneous input information according to an embodiment of the present disclosure, which specifically includes:
  • a submitting module 601 configured to submit each input information in the page to the background for error checking
  • a determining module 602 configured to determine, according to an error check result returned by the background, error input information in the page;
  • the floating layer module 603 is configured to generate and display an error prompt floating layer including prompt information for each of the error input information according to the determined each error input information;
  • the positioning module 604 is configured to locate the page according to an anchor point corresponding to the page input area where each of the error input information is located.
  • the prompt information of the erroneous input information includes a field name corresponding to the erroneous input information
  • the floating layer module 603 is specifically configured to: determine a field name corresponding to each of the erroneous input information; generate an error prompt floating layer including each of the field names, where each of the field names is spliced according to the setting Way, stitching It is then displayed in the floating layer of the error prompt.
  • the positioning module 604 is specifically configured to: according to an anchor point corresponding to a page input area where a predetermined one of the error input information is located in each of the error input information, locate the page to the page input area; and And when the save instruction for the modified error input information on the page is received, saving the modified error input information, and according to each of the error input information, a predetermined one of the error input information that has not been modified is The anchor point corresponding to the page input area is located, and the page is positioned to the page input area until all the error input information on the page has been modified and saved.
  • the device may further include:
  • the floating layer changing module 605 is configured to hide, after the positioning module 604 saves the modified error input information, the prompt information corresponding to the modified error input information included in the error prompt floating layer or destroy.
  • the device may further include:
  • the floating layer destruction module 606 is configured to: when it is determined that the prompt information contained in the error prompt floating layer for each of the error input information has been hidden or destroyed, destroy the error prompt floating layer.
  • the prompt information of the erroneous input information further includes an anchor link of an anchor point corresponding to the page input area where the erroneous input information is located, and the device may further include:
  • the link module 607 is configured to: when detecting a click operation for the anchor link included in the error layer of the error prompt, locate the page to a page input area corresponding to the anchor link.
  • the page may be a long page, the length of the long page being greater than the length of the display area for displaying the long page.
  • the specific device shown in FIG. 6 above may be located on any device where the front end or the front end is located.
  • the user can obtain the error input information existing on the page through the error prompting floating layer, and can locate the page to the page input area where the error input information is located according to the anchor point, so that the user can modify the wrong input information. Therefore, the user operation can be simplified, and the user is not likely to miss the erroneous input information.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种针对错误输入信息的页面定位方法及装置,该方法包括:将页面内的各输入信息提交至后台进行错误校验(S101);根据后台返回的错误校验结果,确定所述页面内的错误输入信息(S102);根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信息的错误提示浮层(S103);根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位(S104)。所述方法及装置可以使用户通过错误提示浮层获知页面上存在的各错误输入信息,而且可以根据锚点,将页面定位至错误输入信息所处的页面输入区域,以便于用户修改错误输入信息,因此,可以简化用户操作,也使得用户不容易遗漏错误输入信息。

Description

一种针对错误输入信息的页面定位方法及装置
本申请要求2016年01月04日递交的申请号为201610004088.3、发明名称为“一种针对错误输入信息的页面定位方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及页面定位技术领域,尤其涉及一种针对错误输入信息的页面定位方法及装置。
背景技术
前端和后台的一种常用的交互方式是:前端为用户生成和显示页面,该页面中可以包含一个或多个页面输入区域,每个页面输入区域分别对应于一个字段;用户可以根据字段的提示,在对应的页面输入区域中进行输入操作,输入完毕后可以通过页面上的提交控件,将页面内的各输入信息提交至后台进行错误校验,后台校验后将错误校验结果返回给前端,前端根据错误校验结果可以确定页面内的错误输入信息,进而提示用户进行修改。
在现有技术中,前端对页面内的错误输入信息的提示方式是:在每个错误输入信息所处的页面输入区域旁边显示文字备注或符号备注,则用户看到备注就可以知道该备注旁边的输入信息有误,需要修改。
但是,在实际应用中,很多页面都是长页面,且长页面上的页面输入区域较多。这样的话,前端对长页面上的各错误输入信息进行提示后,由于用户的显示设备在同一时刻只能显示长页面的一部分,因此,用户需要手动地上下滚动长页面,以查找及修改长页面上提示的各错误输入信息,不仅操作繁琐,而且容易遗漏错误输入信息。
发明内容
本申请实施例提供一种针对错误输入信息的页面定位方法及装置,用以解决现有技术中用户需要手动地上下滚动长页面,以查找及修改长页面上提示的各错误输入信息,不仅操作繁琐,而且容易遗漏错误输入信息的问题。
本申请实施例提供的一种针对错误输入信息的页面定位方法,包括:
将页面内的各输入信息提交至后台进行错误校验;
根据后台返回的错误校验结果,确定所述页面内的错误输入信息;
根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信 息的错误提示浮层;以及
根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位。
本申请实施例提供的一种针对错误输入信息的页面定位装置,包括:
提交模块,用于将页面内的各输入信息提交至后台进行错误校验;
确定模块,用于根据后台返回的错误校验结果,确定所述页面内的错误输入信息;
浮层模块,用于根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信息的错误提示浮层;
定位模块,用于根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位。
本申请实施例通过上述至少一种技术方案,可以使用户通过错误提示浮层获知页面上存在的各错误输入信息,而且可以根据锚点,将页面定位至错误输入信息所处的页面输入区域,以便于用户修改错误输入信息,因此,可以简化用户操作,也使得用户不容易遗漏错误输入信息。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的针对错误输入信息的页面定位方法的过程;
图2为本申请实施例提供的一种在实际应用中,页面上显示的错误提示浮层示意图;
图3为本申请实施例提供的对图2中的第一个错误输入信息修改保存后的页面示意图;
图4为本申请实施例提供的对图2中的第二个错误输入信息修改保存后的页面示意图;
图5为本申请实施例提供的对图2中的全部错误输入信息修改保存后的页面示意图;
图6为本申请实施例提供的针对错误输入信息的页面定位装置结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
背景技术以及本申请实施例中提到的前端可以指浏览器的前端、或应用的客户端的前端等,提到的后台可以指浏览器的服务端、或应用的客户端的后台、或应用的服务端等。
在实际应用中,校验前端的页面上的输入信息时,存在两种场景。第一种场景,对于某些输入信息,在用户输入时,可以由前端直接对这些输入信息进行校验,从而当前端校验确定用户输入了错误输入信息时,可以在用户输入时实时地提示用户修改,从而用户不必自己查找错误输入信息,而且也不容易遗漏。第二种场景,对于另一些输入信息,无法由前端校验,则前端将所述另一些输入信息提交给后台,由后台进行校验,再向前端返回校验结果,这样的话,前端可以根据后台返回的校验结果,确定错误输入信息,并采用上述的现有技术中方法向用户提示错误输入信息,从而用户需要自己在页面上查找提示的错误输入信息,特别是当页面较长,页面内的错误输入信息较多时,用户需要上下滚动页面查找错误输入信息,操作繁琐,容易遗漏。
背景技术中提到的问题主要是在第二种场景下,或在两种场景的混合场景下产生的。本申请实施例提供的针对错误输入信息的页面定位方法可以解决该问题,为了便于描述,下面主要基于第二场景,对该方法进行具体说明。
图1为本申请实施例提供的针对错误输入信息的页面定位方法的过程,所述页面可以由前端生成及显示,则该过程的执行主体可以是前端,或前端所在的设备,如终端。所述终端包括但不限于:个人计算机、手机、平板电脑、智能手表、车载移动台等。执行主体并不构成对本申请的限定,为了便于描述,本申请实施例均以执行主体是前端为例进行说明。
图1中的过程具体可以包括以下步骤:
S101:将页面内的各输入信息提交至后台进行错误校验。
在本申请实施例中,所述页面可以是网页的页面,也可以是应用的页面等。页面内可以包含一个或多个可输入控件,可输入控件包括但不限定于:可输入文本框、可输入下拉框、可勾选控件等。页面上的可输入控件提供的、可供用户输入的区域可以称为:页面输入区域。每个可输入控件可以提供一个或多个页面输入区域。
一般的,每个页面输入区域可以分别对应于一个字段,字段可以用于提示用户应该在该字段对应的页面输入区域内输入何种信息。
在本申请实施例中,后台可以按照设定的校验规则,分别对前端提交的各输入信息进行错误校验。
所述错误校验可以是校验输入信息是否按照指定格式输入的,例如,假定针对某字段应当输入数字,则若实际上该字段对应的输入信息包含了字母,后台可以确定该输入信息存在错误,校验不通过;所述错误校验也可以是按照预设业务逻辑,校验输入信息是否与已校验通过的其它输入信息冲突,例如,假定字段A和字段B对应的输入信息已校验通过, 且按照预设业务逻辑,针对字段C输入的输入信息应当落在字段A和字段B对应的输入信息构成的取值区间内,则若实际上字段C对应的输入信息未落在该取值区间内,后台可以确定字段C对应的输入信息存在错误,校验不通过;等等。
S102:根据后台返回的错误校验结果,确定所述页面内的错误输入信息。
在本申请实施例中,可以将前端提交的、后台校验未通过的输入信息称为:错误输入信息。根据后台返回的错误校验结果,前端可以确定所述页面内的错误输入信息,为了便于描述,可以将错误输入信息对应的字段称为:报错字段。则确定所述页面内的错误输入信息,也可以是确定所述页面内的报错字段。需要说明的是,在实际应用中,后台可以直接返回各报错字段,则前端根据各报错字段即可以直接确定页面内的各错误输入信息。
另外,后台还可以将记录了各报错字段对应的输入信息未通过校验的原因的信息也返回给前端,以便于前端给予用户更多的提示信息。
S103:根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信息的错误提示浮层。
在本申请实施例中,错误提示浮层可以悬浮显示于页面上,错误提示浮层的位置相对于显示屏幕可以是固定的,进而可以不随着页面的上下滚动而移动。在这种情况下,只要显示屏幕仍在显示该页面,用户一直可以在显示屏幕上看到错误提示浮层,进而可以提高用户查看和修改错误输入信息的便利性。本申请实施例对错误提示浮层再显示屏幕上的显示位置并不做限定,在实际应用中,可以将错误提示浮层显示在比较显眼的位置,从而可以便于用户看到错误提示浮层;还可以让错误提示浮层尽量少地遮挡页面上原有的内容,从而便于用户查看页面上原有的内容。
在本申请实施例中,错误提示浮层可以具有以下两种用途中的至少一种用途。下面分别对这两种用途进行说明。
第一种用途:错误提示浮层可以用于提示页面上存在哪些错误输入信息,具体的提示方法可以在错误提示浮层内显示错误输入信息,或显示错误输入信息对应的字段(也即,报错字段)的名称。提示的内容可以包含在所述锚点链接的名称中,也可以独立于所述锚点链接包含在错误提示浮层中。
第二种用途:错误提示浮层可以用于显示各错误输入信息所处的页面输入区域对应的锚点的锚点链接,用户可以通过点击锚点链接,使前端将页面定位至错误输入信息所处的页面区域,则用户可以便利地查看到错误输入信息并修改。
进一步的,错误提示浮层可以是静态的浮层,也可以是可根据页面变化而变化的动态浮层。当错误提示浮层是动态浮层时,前端可以根据用户对错误输入信息的修改保存动作, 对错误提示浮层包含的内容进行相应的变更,从而可以提高错误提示浮层在本申请中的实用性和有效性。
在本申请实施例中,将页面定位至该页面上的某区域可以是这样一种动作:判断该区域是否显示在当前显示区域的设定位置处(该设置位置通常可以是当前显示区域中比较显眼的位置,如当前显示区域最上方或中间),若是,则不滚动页面,否则,滚动页面,直到该区域显示在当前显示区域的设定位置处时,停止滚动页面。由此可见,将页面定位至该页面上的某区域后,用户不用手动滚动页面,就可以很容易地看到该区域,以及该区域内的内容。
S104:根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位。
在本申请实施例中,对步骤S103和S104这两个步骤的执行顺序并不做限定。可以S103先于S104执行,可以S104先于S103执行,S104和S103也可以并行地执行,等等。
在本申请实施例中,各所述锚点可以是在执行步骤S101之前预先设置的,也可以是在执行步骤S101~S104的过程中设置的,本申请实施例对各所述锚点的设置时刻并不做限定。
前端在获取到各所述锚点后,可以自动地将页面定位至任一锚点对应的、包含错误输入信息的页面输入区域,则用户可以很便利地看到以及修改页面上的该错误输入信息,而无需手动在页面上查找。
类似的,前端可以按照预定规则,根据各所述锚点,依次地、分别将页面定位至每个锚点对应的、包含错误输入信息的页面输入区域,相应的,用户可以依次对页面上的每个错误输入信息进行修改,从而可以使得用户不容易遗漏错误输入信息。
通过上述方法,由于可以使用户通过错误提示浮层获知页面上存在的各错误输入信息,而且可以根据锚点,将页面定位至错误输入信息所处的页面输入区域,以便于用户修改错误输入信息,因此,可以简化用户操作,也使得用户不容易遗漏错误输入信息,进而解决了背景技术中提到的问题。
为了便于理解,下面对图1中的步骤进一步地进行说明。
在本申请实施例中,当错误提示浮层具有上述的第一种用途时,错误提示浮层包含的、针对错误输入信息的提示信息可以是该错误输入信息对应的字段名称(也即,报错字段名称)。
在这种情况下,对于步骤S103,生成包含对各所述错误输入信息的提示信息的错误提示浮层,具体可以包括:确定各所述错误输入信息对应的字段名称(也即,报错字段名称);生成包含各所述字段名称的错误提示浮层,其中,所述各所述字段名称是按照设定的拼接 方式,拼接后显示在所述错误提示浮层内的。本申请实施例对所述拼接方式并不做限定,可以是将按照各报错字段名称在页面中出现的顺序,各报错字段名称将各从上至下,或从左到右依次拼接等。当然,错误提示浮层内的提示信息除了包括报错字段名称以外,还可以包含其他信息,如报错字段的总数量、对于报错字段对应的错误原因描述信息等。为了便于理解,用图2举例进行说明。
图2为本申请实施例提供的一种在实际应用中,页面上显示的错误提示浮层示意图。
可以看到,图2中的错误提示浮层包含的提示信息提示了:页面上的报错字段的总数量、每个报错字段的名称。错误提示浮层内的“共计3处需修改”,也即,提示了共计3个报错字段,进一步地,错误提示浮层内还从上至下拼接显示了“字段A”、“字段B”、“字段E”的这3个报错字段的名称。其中,页面当前在显示屏幕上只显示了一部分,字段E对应的输入区域不可见。在实际应用中,当页面为诸如图2中的长页面时,可能会有更多数量的报错字段未能同时显示在当前显示屏幕内,这也是导致现有技术中用户对错误输入信息查找不变,容易遗漏的原因之一。
在本申请实施例中,不仅可以通过错误提示浮层向用户提示错误输入信息,还可以采用锚点定位的方式,将页面自动地定位到错误输入信息所处的页面输入区域。根据这样的思路,对于步骤S104,根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位,具体可以包括:根据在各所述错误输入信息中,预定的一个错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域;以及每当接收到针对所述页面上被修改的错误输入信息的保存指令时,保存所述被修改的错误输入信息,并根据在各所述错误输入信息中,预定的一个尚未被修改的错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域,直至所述页面上的全部错误输入信息均已被修改及保存为止。
本申请实施例对将页面分别定位至每个错误输入信息所处的页面输入区域的定位顺序并不做限定。总而言之,可以在执行步骤S102后,先将页面自动地定位至某一个错误输入信息所处的页面输入区域(本申请假定该定位操作可以使得该页面输入区域显示在显示屏幕的最上方),等待用户将该页面区域的错误输入信息修改并保存后,再将页面自动地定位至另一个错误输入信息所处的页面输入区域,这样的话,用户无需手动在页面上查找错误输入信息,用户可以随着页面的自动定位,依次修改页面上的各错误输入信息即可。
在实际应用中,由于用户在之前输入信息时一般是从页面的最上端开始,依次往下对页面中的各页面输入区域进行输入,因此,在执行步骤S104时,也可以按照各错误输入信息在页面上的顺序,将页面依次定位至各错误输入信息所处的页面区域。这样的话,比较 符合一般用户在页面上的输入或修改信息的习惯。
另外,前端每次定位页面后,还可以在通过错误提示浮层提示用户,当前是将页面定位到了哪个报错字段对应的错误输入信息所处的页面区域。在图2中,是将页面定位到了字段A对应的错误输入信息所处的页面区域,相应的,图2中错误提示浮层内字段A的旁边比其他字段多了一个标记(黑色长方形),该标记是用于提示当前是将页面定位到了字段A对应的错误输入信息所处的页面区域。当然,该标记只是所述提示的一种示例,还可以用其他方式实现作为所述提示,本申请实施例对此并不做限定。
在本申请实施例中,所述保存指令可以是用户在修改完任一个错误输入信息后,欲保存修改后的该错误输入信息时,通过操作页面上提供的保存控件发送的。需要说明的是,只是保存修改后的该错误输入信息的话,并不会触发后台对该修改后的该错误输入信息进行校验,因此,用户可以在修改保存完全部的错误输入信息后,让前端提交之后台再进行错误校验。
为了便于理解,根据上面对步骤S104的具体说明,下面沿用图2中的例子,对在实施步骤S104的过程中的页面效果图进行示意。
在图2中,前端已生成并显示生成的错误提示浮层,并且,前端已经将页面定位至字段A对应的错误输入信息所处的页面区域。进一步地,当用户对字段A对应的错误输入信息进行修改报错后,可以将页面定位至第二个报错字段(字段B)对的错误输入信息所处的页面区域,如图3所示。
在图3中,页面已经定位至字段B对应的错误输入信息所处的页面区域,进一步地,当用户对字段B对应的错误输入信息进行修改报错后,可以将页面定位至第三个报错字段(字段E)对应的错误输入信息所处的页面区域,如图4所示。
进一步地,当用户对字段E对应的错误输入信息进行修改报错后,页面上的全部错误输入信息均已被修改保存,因此,可以将错误提示浮层销毁,如图5所示。用户可以指示前台将图5中的页面中的各修改后的输入信息提交至后台再进行错误校验。
在本申请实施例中,前面已经提到,当错误提示浮层是动态浮层时,前端可以根据用户对错误输入信息的修改保存动作,对错误提示浮层包含的内容进行相应的变更。基于这样的思路,对于上面步骤S104的具体实施方式的步骤“保存所述被修改的错误输入信息”,在执行该步骤之后,还可以进一步地执行以下步骤:将所述错误提示浮层内包含的、所述被修改的错误输入信息对应的提示信息隐藏或销毁。这样的话,错误提示浮层内可以实时地只显示有用户尚未修改保存的错误输入信息,而不再显示用户已修改保存的错误输入信息。
进一步的,当确定所述错误提示浮层包含的对各所述错误输入信息的提示信息均已被隐藏或销毁时,可以认为错误提示浮层已经完成使命,为了使错误提示浮层不妨碍用户后续操作,可以将错误提示浮层销毁。
以上提及的页面定位的动作都可以是前端自动执行的,在实际应用中,用户也可能想要指定定位至页面上的某一个错误提示信息所在的页面输入区域。为了满足用户的这种需求,在本申请实施例中,对于步骤S102中生成的错误提示浮层,该错误提示浮层包含的、针对所述错误输入信息的提示信息还可以包括:所述错误输入信息所处的页面输入区域对应的锚点的锚点链接。
进一步的,在包含锚点链接的错误提示浮层生成并显示后,用户可以点击错误提示浮层内的任一锚点链接。相应的,前端当检测到针对该锚点链接的点击操作时,可以将页面定位至该锚点链接对应的页面输入区域,以便于用户修改该页面输入区域内的错误输入信息。这样的话,可以提高用户操作的主动性和灵活性,也可以提高本申请的实用性。另外,为了便于用户选择点击,可以将报错字段的名称作为该报错字段对应的锚点链接的名称,从而,用对应报错字段的名称命名的各锚点链接,即可以向用户提示报错字段,也可以供用户点击锚点链接以定位页面,而且,无需在错误提示浮层内使用额外的信息再提示报错字段。
本申请实施例提供的针对错误输入信息的页面定位方法既适用于短页面,也适用于长页面,长页面可以指:长度大于用于显示该长页面的显示区域的长度的页面。该方法用于长页面时尤其能体现出该方法相比于现有技术的优点。
以上为本申请实施例提供的针对错误输入信息的页面定位方法,基于同样的思路,本申请实施例还提供相应的针对错误输入信息的页面定位装置,如图6所示。
图6为本申请实施例提供的针对错误输入信息的页面定位装置结构示意图,具体包括:
提交模块601,用于将页面内的各输入信息提交至后台进行错误校验;
确定模块602,用于根据后台返回的错误校验结果,确定所述页面内的错误输入信息;
浮层模块603,用于根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信息的错误提示浮层;
定位模块604,用于根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位。
所述错误输入信息的提示信息包括所述错误输入信息对应的字段名称;
所述浮层模块603具体用于:确定各所述错误输入信息对应的字段名称;生成包含各所述字段名称的错误提示浮层,其中,所述各所述字段名称是按照设定的拼接方式,拼接 后显示在所述错误提示浮层内的。
所述定位模块604具体用于:根据在各所述错误输入信息中,预定的一个错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域;以及每当接收到针对所述页面上被修改的错误输入信息的保存指令时,保存所述被修改的错误输入信息,并根据在各所述错误输入信息中,预定的一个尚未被修改的错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域,直至所述页面上的全部错误输入信息均已被修改及保存为止。
所述装置还可以包括:
浮层变更模块605,用于在所述定位模块604保存所述被修改的错误输入信息后,将所述错误提示浮层内包含的、所述被修改的错误输入信息对应的提示信息隐藏或销毁。
所述装置还可以包括:
浮层销毁模块606,用于当确定所述错误提示浮层包含的对各所述错误输入信息的提示信息均已被隐藏或销毁时,将所述错误提示浮层销毁。
所述错误输入信息的提示信息还包括所述错误输入信息所处的页面输入区域对应的锚点的锚点链接,所述装置还可以包括:
链接模块607,用于当检测到针对所述错误提示浮层内包含的锚点链接的点击操作时,将所述页面定位至该锚点链接对应的页面输入区域。
所述页面可以是长页面,所述长页面的长度大于用于显示所述长页面的显示区域的长度。
具体的上述如图6所示的装置可以位于前端或前端所在的任一设备上。
通过上述装置,可以使用户通过错误提示浮层获知页面上存在的各错误输入信息,而且可以根据锚点,将页面定位至错误输入信息所处的页面输入区域,以便于用户修改错误输入信息,因此,可以简化用户操作,也使得用户不容易遗漏错误输入信息。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机 程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (14)

  1. 一种针对错误输入信息的页面定位方法,其特征在于,包括:
    将页面内的各输入信息提交至后台进行错误校验;
    根据后台返回的错误校验结果,确定所述页面内的错误输入信息;
    根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信息的错误提示浮层;以及
    根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位。
  2. 如权利要求1所述的方法,其特征在于,所述错误输入信息的提示信息包括所述错误输入信息对应的字段名称;
    生成包含对各所述错误输入信息的提示信息的错误提示浮层,具体包括:
    确定各所述错误输入信息对应的字段名称;
    生成包含各所述字段名称的错误提示浮层,其中,所述各所述字段名称是按照设定的拼接方式,拼接后显示在所述错误提示浮层内的。
  3. 如权利要求1所述的方法,根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位,具体包括:
    根据在各所述错误输入信息中,预定的一个错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域;以及
    每当接收到针对所述页面上被修改的错误输入信息的保存指令时,保存所述被修改的错误输入信息,并根据在各所述错误输入信息中,预定的一个尚未被修改的错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域,直至所述页面上的全部错误输入信息均已被修改及保存为止。
  4. 如权利要求3所述的方法,其特征在于,保存所述被修改的错误输入信息后,所述方法还包括:
    将所述错误提示浮层内包含的、所述被修改的错误输入信息对应的提示信息隐藏或销毁。
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:
    当确定所述错误提示浮层包含的对各所述错误输入信息的提示信息均已被隐藏或销毁时,将所述错误提示浮层销毁。
  6. 如权利要求2所述的方法,其特征在于,所述错误输入信息的提示信息还 包括所述错误输入信息所处的页面输入区域对应的锚点的锚点链接,所述方法还包括:
    当检测到针对所述错误提示浮层内包含的锚点链接的点击操作时,将所述页面定位至该锚点链接对应的页面输入区域。
  7. 如权利要求1、2、3、6任一项所述的方法,其特征在于,所述页面是长页面,所述长页面的长度大于用于显示所述长页面的显示区域的长度。
  8. 一种针对错误输入信息的页面定位装置,其特征在于,包括:
    提交模块,用于将页面内的各输入信息提交至后台进行错误校验;
    确定模块,用于根据后台返回的错误校验结果,确定所述页面内的错误输入信息;
    浮层模块,用于根据确定的各所述错误输入信息,生成并显示包含针对各所述错误输入信息的提示信息的错误提示浮层;
    定位模块,用于根据各所述错误输入信息所处的页面输入区域对应的锚点,对所述页面进行定位。
  9. 如权利要求8所述的装置,其特征在于,所述错误输入信息的提示信息包括所述错误输入信息对应的字段名称;
    所述浮层模块具体用于:确定各所述错误输入信息对应的字段名称;生成包含各所述字段名称的错误提示浮层,其中,所述各所述字段名称是按照设定的拼接方式,拼接后显示在所述错误提示浮层内的。
  10. 如权利要求8所述的装置,其特征在于,所述定位模块具体用于:根据在各所述错误输入信息中,预定的一个错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域;以及每当接收到针对所述页面上被修改的错误输入信息的保存指令时,保存所述被修改的错误输入信息,并根据在各所述错误输入信息中,预定的一个尚未被修改的错误输入信息所处的页面输入区域对应的锚点,将所述页面定位至该页面输入区域,直至所述页面上的全部错误输入信息均已被修改及保存为止。
  11. 如权利要求10所述的装置,其特征在于,所述装置还包括:
    浮层变更模块,用于在所述定位模块保存所述被修改的错误输入信息后,将所述错误提示浮层内包含的、所述被修改的错误输入信息对应的提示信息隐藏或销毁。
  12. 如权利要求11所述的装置,其特征在于,所述装置还包括:
    浮层销毁模块,用于当确定所述错误提示浮层包含的对各所述错误输入信息的提示信息均已被隐藏或销毁时,将所述错误提示浮层销毁。
  13. 如权利要求9所述的装置,其特征在于,所述错误输入信息的提示信息还包括所述错误输入信息所处的页面输入区域对应的锚点的锚点链接,所述装置还包括:
    链接模块,用于当检测到针对所述错误提示浮层内包含的锚点链接的点击操作时,将所述页面定位至该锚点链接对应的页面输入区域。
  14. 如权利要求8、9、10、13任一项所述的装置,其特征在于,所述页面是长页面,所述长页面的长度大于用于显示所述长页面的显示区域的长度。
PCT/CN2016/112021 2016-01-04 2016-12-26 一种针对错误输入信息的页面定位方法及装置 Ceased WO2017118305A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2018553287A JP6797209B2 (ja) 2016-01-04 2016-12-26 エラーのある入力情報に関するページ位置決め方法及び装置
MYPI2018702331A MY199156A (en) 2016-01-04 2016-12-26 Page positioning method and apparatus for erroneous input information
EP16883430.7A EP3401778B1 (en) 2016-01-04 2016-12-26 Method and device for positioning page with respect to incorrectly entered information
KR1020187022650A KR102150779B1 (ko) 2016-01-04 2016-12-26 부정확하게 입력된 정보에 관한 페이지를 위치 지정하기 위한 방법 및 디바이스
SG11201805741VA SG11201805741VA (en) 2016-01-04 2016-12-26 Page positioning method and apparatus for erroneous input information
US16/027,030 US10831344B2 (en) 2016-01-04 2018-07-03 Page positioning method and apparatus for erroneous input information
PH12018501425A PH12018501425A1 (en) 2016-01-04 2018-07-04 Method and device for positioning page with respect to incorrectly entered information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610004088.3A CN106940640A (zh) 2016-01-04 2016-01-04 一种针对错误输入信息的页面定位方法及装置
CN201610004088.3 2016-01-04

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/027,030 Continuation US10831344B2 (en) 2016-01-04 2018-07-03 Page positioning method and apparatus for erroneous input information

Publications (1)

Publication Number Publication Date
WO2017118305A1 true WO2017118305A1 (zh) 2017-07-13

Family

ID=59273316

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112021 Ceased WO2017118305A1 (zh) 2016-01-04 2016-12-26 一种针对错误输入信息的页面定位方法及装置

Country Status (10)

Country Link
US (1) US10831344B2 (zh)
EP (1) EP3401778B1 (zh)
JP (1) JP6797209B2 (zh)
KR (1) KR102150779B1 (zh)
CN (1) CN106940640A (zh)
MY (1) MY199156A (zh)
PH (1) PH12018501425A1 (zh)
SG (1) SG11201805741VA (zh)
TW (1) TWI686715B (zh)
WO (1) WO2017118305A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930583A (zh) * 2020-08-17 2020-11-13 宁波Gqy视讯股份有限公司 一种拼接显示系统的维护管理方法、装置及系统

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108304117A (zh) * 2017-12-31 2018-07-20 广东智媒云图科技股份有限公司 一种表单填写浮动提醒方法、装置、电子设备及存储介质
CN109933742A (zh) * 2019-03-14 2019-06-25 重庆龙湖地产发展有限公司 一种流程中页面内容的重编辑方法及装置
CN110347565B (zh) * 2019-05-24 2022-06-03 平安科技(深圳)有限公司 一种应用程序的异常分析方法及装置、电子设备
CN110222281B (zh) * 2019-06-03 2022-04-29 贝壳技术有限公司 网页中目标内容定位方法及系统
CN111078677B (zh) * 2019-11-28 2023-05-05 中国银行股份有限公司 数据录入方法及装置
CN113448833A (zh) * 2020-08-11 2021-09-28 北京新氧万维科技咨询有限公司 页面数据处理方法、系统及相关设备
JP7484613B2 (ja) * 2020-09-23 2024-05-16 セイコーエプソン株式会社 表示制御装置および表示制御プログラム
CN113434328B (zh) * 2021-08-26 2021-11-30 西安热工研究院有限公司 一种分散控制系统逻辑组态编译纠错方法和系统
CN114549009A (zh) * 2022-02-25 2022-05-27 中国银行股份有限公司 银行客户信息维护方法及装置
CN114860361A (zh) * 2022-04-14 2022-08-05 北京奥星贝斯科技有限公司 用于对反馈信息进行显示的方法及装置
JP2023182169A (ja) * 2022-06-14 2023-12-26 富士フイルムビジネスイノベーション株式会社 情報処理装置及びプログラム
CN114816373B (zh) * 2022-06-30 2022-09-16 金现代信息产业股份有限公司 用于低代码开发平台的即时错误提示方法及系统
CN115562792A (zh) * 2022-11-09 2023-01-03 北京有竹居网络技术有限公司 一种页面展示方法、装置及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470867A (zh) * 2007-12-29 2009-07-01 一零四资讯科技股份有限公司 复杂性表单自动验证的求职系统
US20110214067A1 (en) * 2010-03-01 2011-09-01 Salesforce.Com, Inc. Method and system for providing an adaptive input user interface for data entry applications
CN102324004A (zh) * 2011-05-26 2012-01-18 重庆猪八戒网络有限公司 一种网页表单输入信息验证方法及装置
CN103472983A (zh) * 2013-08-08 2013-12-25 广州市动景计算机科技有限公司 定位页面内容的方法及装置
CN103873436A (zh) * 2012-12-11 2014-06-18 金蝶软件(中国)有限公司 一种信息验证的方法及终端

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002063186A (ja) * 2000-08-16 2002-02-28 Matsushita Electric Ind Co Ltd Webブラウジング装置及びWebブラウジング方法
JP2002297667A (ja) * 2001-03-29 2002-10-11 Sanyo Electric Co Ltd 文書閲覧装置
US7024626B2 (en) * 2001-11-30 2006-04-04 Apple Computer, Inc. System and method of producing user interface information messages
US20040210776A1 (en) * 2003-04-08 2004-10-21 Rachana Shah System and method for editing a profile
JP2005141408A (ja) * 2003-11-05 2005-06-02 Dainippon Printing Co Ltd サーバー装置および電子フォーム
JP4179553B2 (ja) 2004-03-15 2008-11-12 インターナショナル・ビジネス・マシーンズ・コーポレーション 表示制御情報生成方法、表示制御情報を生成するコンピュータ、およびプログラム
US7251782B1 (en) * 2004-06-22 2007-07-31 Sun Microsystems, Inc. Method and apparatus for validating user input fields in a graphical display
CN101192145A (zh) * 2006-11-20 2008-06-04 阿里巴巴公司 一种错误即时提示的方法及系统
US8234562B1 (en) * 2007-10-31 2012-07-31 Intuit Inc. Error checking for data entry
CN101706771A (zh) * 2009-11-06 2010-05-12 北京理工大学 一种基于模板的针对Word文档的智能格式检查方法
JP2011238167A (ja) * 2010-05-13 2011-11-24 Nippon Telegr & Teleph Corp <Ntt> ハイパーリンク再配置装置、ハイパーリンク再配置方法及びハイパーリンク再配置プログラム
TW201301067A (zh) * 2011-06-29 2013-01-01 Leo Systems Inc 保護資料安全的表單輸入方法及系統
US10007651B2 (en) * 2012-02-17 2018-06-26 Jens Straten Detect errors in intermediate electronic documents
US9317484B1 (en) 2012-12-19 2016-04-19 Emc Corporation Page-independent multi-field validation in document capture
CN103152365A (zh) * 2013-04-08 2013-06-12 北京奇虎科技有限公司 对数据进行验证的数据验证方法及服务器
CN103226488B (zh) * 2013-05-06 2016-08-24 中国农业银行股份有限公司 一种形式化代码生成中的效率控制方法及装置
CN103984547A (zh) * 2014-05-14 2014-08-13 上海上讯信息技术股份有限公司 一种表单验证方法及系统
CN104317580B (zh) * 2014-10-13 2017-09-29 中国运载火箭技术研究院 虚拟试验应用集成开发系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470867A (zh) * 2007-12-29 2009-07-01 一零四资讯科技股份有限公司 复杂性表单自动验证的求职系统
US20110214067A1 (en) * 2010-03-01 2011-09-01 Salesforce.Com, Inc. Method and system for providing an adaptive input user interface for data entry applications
CN102324004A (zh) * 2011-05-26 2012-01-18 重庆猪八戒网络有限公司 一种网页表单输入信息验证方法及装置
CN103873436A (zh) * 2012-12-11 2014-06-18 金蝶软件(中国)有限公司 一种信息验证的方法及终端
CN103472983A (zh) * 2013-08-08 2013-12-25 广州市动景计算机科技有限公司 定位页面内容的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3401778A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930583A (zh) * 2020-08-17 2020-11-13 宁波Gqy视讯股份有限公司 一种拼接显示系统的维护管理方法、装置及系统
CN111930583B (zh) * 2020-08-17 2023-03-28 宁波Gqy视讯股份有限公司 一种拼接显示系统的维护管理方法、装置及系统

Also Published As

Publication number Publication date
EP3401778B1 (en) 2022-08-10
JP6797209B2 (ja) 2020-12-09
EP3401778A1 (en) 2018-11-14
US10831344B2 (en) 2020-11-10
TWI686715B (zh) 2020-03-01
TW201732646A (zh) 2017-09-16
CN106940640A (zh) 2017-07-11
JP2019504427A (ja) 2019-02-14
PH12018501425A1 (en) 2019-01-28
KR20180105159A (ko) 2018-09-27
EP3401778A4 (en) 2019-08-14
KR102150779B1 (ko) 2020-09-02
US20180314397A1 (en) 2018-11-01
SG11201805741VA (en) 2018-08-30
MY199156A (en) 2023-10-18

Similar Documents

Publication Publication Date Title
WO2017118305A1 (zh) 一种针对错误输入信息的页面定位方法及装置
CN108595597A (zh) 数据导入方法、装置、计算机设备和存储介质
WO2013075612A1 (zh) 自动登录方法及装置
TWI605379B (zh) Form processing method and terminal
US9390399B2 (en) Integrating a web-based CRM system with a PIM client application
US20220374338A1 (en) Techniques for visual software test automation management
AU2018241159A1 (en) Contextual solicitation in a starter application
CN113496017B (zh) 验证方法、装置、设备和存储介质
CN111427760A (zh) 页面测试方法、装置、设备及存储介质
CN106991036A (zh) 一种信息输入异常的提示方法和系统
US20150339030A1 (en) Method, apparatus, and system for data transfer across applications
CN111967853A (zh) 一种报送监管数据的方法、装置、设备和可读介质
CN114546553A (zh) 一种信息显示的方法、装置、设备及介质
US12481820B2 (en) Syndication of associations relating data and metadata
US20170308285A1 (en) Smart terminal irregular screenshot method and device
CN113282285A (zh) 代码编写方法、装置、电子设备及存储介质
US8935343B2 (en) Instant messaging network resource validation
Chanda Usefulness of Android Application in the Library: A Case Study on Assam Don Bosco University Library
CN118607518A (zh) 输入框填充方法及相关装置
CN118886404A (zh) 分页表单校验方法、装置、设备及介质
CN107704484A (zh) 网页错误信息处理方法、装置、计算机设备和存储介质
CN109857476A (zh) 应用程序运行方法、装置及终端
CN117827767A (zh) 文件处理方法及相关设备
CN105893546A (zh) 一种bs软件系统中一次性异步校验并准确定位提示的模式
HK1255508A1 (zh) 一种doi展示和交易信息校验方法、装置及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16883430

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018553287

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 11201805741V

Country of ref document: SG

Ref document number: 12018501425

Country of ref document: PH

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20187022650

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2016883430

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016883430

Country of ref document: EP

Effective date: 20180806