CN-121979608-A - Input guiding method and computing device
Abstract
The embodiment of the specification provides an input guiding method and computing equipment. In the input guiding method, in response to a user operation, the computing device displays first guiding information guiding a user to input a service request text in an input area of an interactive interface, determines second guiding information guiding the user to supplement input if the input area is detected to have text content of a target type, and displays the second guiding information in the input area.
Inventors
- WU MINGJUN
Assignees
- 支付宝(杭州)数字服务技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260128
Claims (12)
- 1. An input guidance method, comprising: in response to a user operation, displaying first guide information for guiding a user to input a service request text in an input area of an interactive interface; Determining second guidance information for guiding the user to supplement the input in case that the text content of the target type appears in the input area is detected, and And displaying the second guide information in the input area.
- 2. The method of claim 1, wherein the current cursor is immediately adjacent to a last character of the text content, displaying the second guidance information in the input area, comprising: determining the current display position of the current cursor in the input area; determining a target display position of the second guidance information in the input area based on the current display position, the target display position being adjacent to and not overlapping the current display position, and And displaying the second guide information at the target display position.
- 3. The method of claim 2, wherein the determining the current display position of the current cursor within the input region comprises: determining first position information of the current cursor on the interactive interface and second position information of the input area on the interactive interface, and The current display position is determined based on the first position information and the second position information.
- 4. The method of claim 3, wherein the interactive interface is a browser interface comprising a rich text editor built based on a slave.js framework, determining either the first location information or the second location information, comprising: obtaining a corresponding slave range of a target object, which is the current cursor or the input area, and converting the slave range into a DOM range, and And determining the position information corresponding to the target object based on the DOM range.
- 5. The method of claim 1, wherein the second boot information is configured to disable pointer events.
- 6. The method of claim 1 or 5, wherein the interactive interface supports a plurality of display levels, displaying the second guidance information at the input area, comprising: Determining a preconfiguration level of the second guide information, the preconfiguration level being an intermediate level of the plurality of display levels, and And displaying the second guiding information at the input area position of the preconfigured level.
- 7. The method of claim 1, wherein the input area includes an add control, the target type is an automatically generated type, and the text content is derived based on: responsive to detecting the user triggering the add control, presenting a plurality of sub-service tags to the user, and And automatically generating text content corresponding to the target sub-service tag in the input area based on the selection operation of the user on the target sub-service tag.
- 8. The method of claim 7, wherein different sub-service tags correspond to different preset guidance information, and the second guidance information is determined based on the preset guidance information corresponding to the target sub-service tag.
- 9. The method of claim 7, wherein the method further comprises: And in the input area, updating the second guide information under the condition that the text content corresponding to the target sub-service label is changed.
- 10. The method of claim 1, wherein the first guide information and the second guide information are different, the second guide information being displayed if a preset display condition is satisfied, the preset display condition including at least one of: The input guidance function is turned on; currently no text is selected; the target type is an automatic generation type, or The second guidance information is non-null.
- 11. The method of claim 1, wherein the target type is a non-automatically generated type, the first guidance information and the second guidance information are the same, displaying the second guidance information in the input area, comprising: and in the process of user input, continuously and dynamically displaying the second guiding information at the adjacent position of the cursor in the input area.
- 12. A computing device, comprising: At least one storage medium storing at least one instruction set, and At least one processor in communication with the at least one storage medium, wherein the at least one processor, when executed, reads the at least one instruction set and performs the method of any of claims 1-11 as directed by the at least one instruction set.
Description
Input guiding method and computing device Technical Field The present disclosure relates to the field of internet technologies, and in particular, to an input guiding method and a computing device. Background In the field of man-machine interaction, related platforms (such as a content creation platform, an artificial intelligence assistant, a work order submitting platform, a development platform and the like) can provide corresponding services for users according to the input of the users on an interaction interface. In this process, the accuracy and integrity of the user input content determines the platform service efficiency and quality. The statements in this background section merely provide information to the inventors and may not represent prior art to the present disclosure nor may they represent prior art to the filing date of the present disclosure. Disclosure of Invention The input guiding method and the computing device can provide continuous guiding for the user, assist the user to input more accurate and complete description text which accords with the expected platform, improve user experience and improve service efficiency and quality of the platform. In a first aspect, the specification provides an input guiding method, which comprises the steps of responding to user operation, displaying first guiding information for guiding a user to input a service request text in an input area of an interactive interface, determining second guiding information for guiding the user to supplement input under the condition that a target type text content appears in the input area is detected, and displaying the second guiding information in the input area. In some embodiments, displaying the second guidance information in the input area with a current cursor immediately adjacent to a last character of the text content includes determining a current display position of the current cursor within the input area, determining a target display position of the second guidance information within the input area based on the current display position, the target display position being adjacent to and non-overlapping with the current display position, and displaying the second guidance information in the target display position. In some embodiments, the determining the current display position of the current cursor in the input area comprises determining first position information of the current cursor in the interactive interface and determining second position information of the input area in the interactive interface, and determining the current display position based on the first position information and the second position information. In some embodiments, the interactive interface is a browser interface, which includes a rich text editor constructed based on a template. Js frame, and determines any one of the first position information or the second position information, including obtaining a template range corresponding to a target object, and converting the target object into a DOM range, where the target object is the current cursor or the input area, and determining position information corresponding to the target object based on the DOM range. In some embodiments, the second boot information is configured to disable pointer events. In some embodiments, the interactive interface supports a plurality of display levels, displaying the second guidance information at the input area includes determining a preconfigured level of the second guidance information, the preconfigured level being an intermediate level of the plurality of display levels, and displaying the second guidance information at the input area location of the preconfigured level. In some embodiments, the input area comprises an adding control, the target type is an automatic generation type, and the text content is obtained based on the mode that a plurality of sub-service labels are displayed for the user in response to detecting that the user triggers the adding control, and the text content corresponding to the target sub-service label is automatically generated in the input area based on the selection operation of the user on the target sub-service label. In some embodiments, different sub-service tags correspond to different preset guidance information, and the second guidance information is determined based on the preset guidance information corresponding to the target sub-service tag. In some embodiments, the method further comprises updating the second guide information in the event that text content corresponding to the target sub-service tag is changed within the input area. In some embodiments, the first guide information and the second guide information are different, and the second guide information is displayed when a preset display condition is met, wherein the preset display condition comprises at least one of that an input guide function is started, no text is selected currently, the target type is an automatic generation type,