CN-121979609-A - Data processing method, device, electronic equipment, storage medium and program product
Abstract
The present disclosure provides a data processing method, apparatus, electronic device, storage medium, and program product. The method comprises the steps of responding to receiving data input aiming at a first document, obtaining a content item corresponding to the data input through a model, determining an input item matched with the content item in the first document, wherein the input item is preconfigured content in the first document, and inputting first content corresponding to the content item in an association area of the input item. According to the method and the device, the user does not need to input the data one by one according to the structure of each input item in the first document, after the user only needs to input the data according to the habit mode, the model can automatically process the data input of the user and automatically realize the content input of each input item, the user can conveniently input the data, the data input efficiency can be effectively improved, and the user experience is improved.
Inventors
- SHI KAIWEN
- CHEN LU
Assignees
- 北京字跳网络技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260205
Claims (17)
- 1. A data processing method, comprising: In response to receiving a data input for a first document, obtaining, by a model, a content item corresponding to the data input; determining an entry matched with the content item in the first document, wherein the entry is preconfigured content in the first document; First content corresponding to the content item is entered in an associated region of the entry.
- 2. The method of claim 1, the determining an entry in the first document that matches the content item comprising: an entry matching the content item is located and displayed in the first document.
- 3. The method of claim 1, wherein the determining an entry in the first document that matches the content item comprises: acquiring first intention information corresponding to the content item and second intention information corresponding to at least part of the input item through the model; matching the content item, at least part of the entry, by the model based on the first intent information, the second intent information; and determining the entry matched with the content item according to the matching result.
- 4. The method of claim 1, when a plurality of entries are preconfigured in the first document, the method further comprising: acquiring a plurality of content items corresponding to the data input through the model, wherein the plurality of content items correspond to a first input sequence; and based on the first input sequence, respectively inputting the first content corresponding to the content items in the input items corresponding to the plurality of content items one by one.
- 5. The method of claim 1, further comprising: in response to entering the first content corresponding to the content item in an associated region of the entry, the associated region is displayed in a first display state and/or a second display state, the first display state characterizes highlighting the associated region, the second display state characterizes adding an entry identification in the associated region.
- 6. The method of claim 1, wherein, in response to the first document comprising a plurality of entry pages and each of the entry pages comprising one of the entries, the method further comprises: and displaying first prompt information in response to the completion of the input item, wherein the first prompt information is used for prompting switching to a previous input page or a next input page.
- 7. The method of claim 1, wherein the entering of the first content corresponding to the content item in the association region of the entry item comprises: Acquiring type information of the input item; Inputting the content item, the content of the entry item, the type information into the model; And carrying out structured input on the input item according to the output information of the model to obtain the first content.
- 8. The method of claim 7, further comprising at least one of: Responding to the first content to comprise a numerical value, converting the numerical value in the content item based on the numerical value precision requirement of the input item and preset numerical value conversion logic, and obtaining the first content according to a conversion result; Responding to the first content including date, converting the date in the content item based on the date precision requirement of the input item and preset date conversion logic, and obtaining the first content according to a conversion result; in response to the first content including a score, converting a text description score in the content item to a numerical score based on preset score conversion logic, determining the numerical score as the first content.
- 9. The method of claim 1, further comprising: Responding to at least one instruction intention information in modification and deletion in the data input, and processing the first content according to the at least one instruction intention information in modification and deletion and preset data processing logic; wherein the data processing logic includes at least one of modifying, flushing, appending, overwriting.
- 10. The method of any of claims 1-9, wherein the data input comprises at least one of text, image, audio, video, and the obtaining, by a model, a content item corresponding to the data input comprises: acquiring text content corresponding to the data input through the model; the content item in the text content is obtained through the model.
- 11. The method of claim 10, further comprising: And displaying a first window on the input page of the first document, and synchronously displaying the text content in the first window.
- 12. The method of claim 10, further comprising: displaying an input control on an input page of the first document; Receiving the data input in response to a first operation on the enter control, and Responsive to a second operation on the entry control, ceasing to receive the data input.
- 13. The method of claim 12, further comprising: Displaying the entry control on the entry page of the second type user in response to receiving a first configuration operation of the first document by the first type user, or In response to receiving a second configuration operation of the first document by the first type user, hiding the input control on the input page of the second type user.
- 14. A data processing apparatus comprising: a data input module configured to obtain, by a model, a content item corresponding to a data input for a first document in response to receiving the data input; A determining module configured to determine an entry in the first document that matches the content item, the entry being preconfigured content in the first document; an entry module is configured to enter content corresponding to the content item in an associated region of the entry item.
- 15. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the data processing method according to any one of claims 1 to 13 when the computer program is executed.
- 16. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the data processing method of any one of claims 1 to 13.
- 17. A computer program product comprising computer program instructions which, when run on a computer, cause the computer to perform the data processing method of any of claims 1 to 13.
Description
Data processing method, device, electronic equipment, storage medium and program product Technical Field The present disclosure relates to the field of computer technologies, and in particular, to a data processing method, an apparatus, an electronic device, a storage medium, and a program product. Background Forms and forms are widely used in business scenarios such as inspection, interview, sales follow-up, and the like. These scenarios often occur in non-offices, such as in some factory shops, warehouses, etc., where it is often difficult for a user to draw time to fill in one-to-one according to the topic structure set in the form. Disclosure of Invention In view of the foregoing, an object of the present disclosure is to provide a data processing method, apparatus, electronic device, storage medium, and program product. Based on the above object, a first aspect of the present disclosure provides a data processing method, including: In response to receiving a data input for a first document, obtaining, by a model, a content item corresponding to the data input; determining an entry matched with the content item in the first document, wherein the entry is preconfigured content in the first document; First content corresponding to the content item is entered in an associated region of the entry. In some embodiments, the determining an entry in the first document that matches the content item comprises: an entry matching the content item is located and displayed in the first document. In some embodiments, the determining an entry in the first document that matches the content item includes: acquiring first intention information corresponding to the content item and second intention information corresponding to at least part of the input item through the model; matching the content item, at least part of the entry, by the model based on the first intent information, the second intent information; and determining the entry matched with the content item according to the matching result. In some embodiments, when a plurality of entries are preconfigured in the first document, the method further comprises: acquiring a plurality of content items corresponding to the data input through the model, wherein the plurality of content items correspond to a first input sequence; and based on the first input sequence, respectively inputting the first content corresponding to the content items in the input items corresponding to the plurality of content items one by one. In some embodiments, the method further comprises: in response to entering the first content corresponding to the content item in an associated region of the entry, the associated region is displayed in a first display state and/or a second display state, the first display state characterizes highlighting the associated region, the second display state characterizes adding an entry identification in the associated region. In some embodiments, in response to the first document comprising a plurality of entry pages and each of the entry pages comprising one of the entries, the method further comprises: and displaying first prompt information in response to the completion of the input item, wherein the first prompt information is used for prompting switching to a previous input page or a next input page. In some embodiments, the entering the first content corresponding to the content item in the association area of the entry item includes: Acquiring type information of the input item; Inputting the content item, the content of the entry item, the type information into the model; And carrying out structured input on the input item according to the output information of the model to obtain the first content. In some embodiments, the method further comprises at least one of: Responding to the first content to comprise a numerical value, converting the numerical value in the content item based on the numerical value precision requirement of the input item and preset numerical value conversion logic, and obtaining the first content according to a conversion result; Responding to the first content including date, converting the date in the content item based on the date precision requirement of the input item and preset date conversion logic, and obtaining the first content according to a conversion result; in response to the first content including a score, converting a text description score in the content item to a numerical score based on preset score conversion logic, determining the numerical score as the first content. In some embodiments, the method further comprises: Responding to at least one instruction intention information in modification and deletion in the data input, and processing the first content according to the at least one instruction intention information in modification and deletion and preset data processing logic; wherein the data processing logic includes at least one of modifying, flushing, appending, overwriting. In some embodiments, t