Form generation method and device
By extracting and correcting business logos in the dialogue content in retail advertising business, the problem of poor efficiency and effectiveness of recording form generation in the prior art is solved, and more efficient and accurate form generation is achieved.
Patent Information
- Application Number
- CN202411747528.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-25
AI Technical Summary
In retail advertising business, the efficiency and effectiveness of the existing technology in generating record forms is poor, mainly due to the problems of mistransmitting and mistransmitting information caused by differences in merchant feedback forms.
By extracting the first service identifier from the dialogue between the requesting party and the responding party, and determining whether the identifier is included in the second service identifier associated with the requesting party. If the target service identifier exists and the similarity meets the preset conditions, the dialogue content will be corrected, and a record form will be presented.
Real-time correction and improvement of dialogue content is achieved, the efficiency and effectiveness of form generation is improved, and the risk of mistransmitting information and mistransmitting information is reduced.
Smart Images

Figure CN119692317A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a form generation method and device. Background Art
[0002] In the retail advertising business, there are approximately 1 million customer complaints each year. There are three main ways to generate record forms for customer complaints: 1) Customer service answers the merchant’s questions and generates a record form; 2) The merchant or customer service fills out a standardized form to generate a record form; 3) The record form is automatically generated based on the content of the conversation.
[0003] However, for method 1), since there are large differences in the forms of merchant feedback and the communication content is arbitrary, the record forms generated by this method have problems such as mistransmission and omission of information; for method 2), this method requires providing more types of forms, and the selection of form types is complex; for method 3), this method is a post-conversation summary and cannot generate value for the content of the conversation, and the efficiency and effectiveness of generating record forms are poor. Summary of the invention
[0004] Embodiments of the present application provide a form generation method, apparatus, device, and storage medium.
[0005] According to the first aspect, an embodiment of the present application provides a form generation method, which includes: extracting a first business identifier from the conversation content between a requester and a responder, and determining whether the first business identifier is included in a second business identifier associated with the requester; in response to no, and if a target business identifier exists in the second business identifier, modifying the conversation content according to the target business identifier, and the similarity between the target business identifier and the first business identifier meets a preset condition; and generating and presenting a record form based on the modified conversation content.
[0006] According to the second aspect, an embodiment of the present application provides a form generation device, which includes: a judgment module, a correction module and a presentation module, wherein the judgment module is configured to extract a first business identifier from the conversation content between the requester and the responder, and determine whether the second business identifier associated with the requester includes the first business identifier; the correction module is configured to respond to no, and if there is a target business identifier in the second business identifier, modify the conversation content according to the target business identifier, and the similarity between the target business identifier and the first business identifier meets a preset condition; the presentation module is configured to generate and present a record form based on the corrected conversation content.
[0007] According to the third aspect, an embodiment of the present application provides an electronic device, which includes one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement a form generation method as in any embodiment of the first aspect.
[0008] According to a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements a form generation method as in any embodiment of the first aspect.
[0009] According to a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements a form generation method as in any embodiment of the first aspect.
[0010] The present application extracts a first business identifier from the conversation content between the requester and the responder, and determines whether the first business identifier is included in the second business identifier associated with the requester; in response to no, and if the target business identifier exists in the second business identifier, the conversation content is corrected according to the target business identifier, and the similarity between the target business identifier and the first business identifier meets a preset condition; based on the corrected conversation content, a record form is generated and presented, thereby achieving real-time generation of a form according to the conversation content between the requester and the responder, and real-time correction and improvement of erroneous content in the form can be performed, effectively improving the efficiency of form generation and the effectiveness of generated forms.
[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0013] Figure 2 is a flow chart of an embodiment of a form generation method according to the present application;
[0014] Figure 3 is a flow chart of another embodiment of the form generation method according to the present application;
[0015] Figure 4 is a schematic diagram of an application scenario of the form generation method according to the present application;
[0016] Figure 5 is a schematic diagram of an embodiment of a form generating device according to the present application;
[0017] Figure 6 It is a structural diagram of a computer system suitable for implementing a server in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0019] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0020] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the form generation method of the present application can be applied.
[0021] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 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, wireless communication links or optical fiber cables, etc.
[0022] The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications, such as form generation applications, communication applications, etc., may be installed on the terminal devices 101, 102, 103.
[0023] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to mobile phones and laptops. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide form generation services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0024] Server 105 can be a server that provides various services, for example, extracting a first business identifier from the conversation content between the requester and the responder, and determining whether the second business identifier associated with the requester includes the first business identifier; responding if no, and the second business identifier contains a target business identifier, modifying the conversation content according to the target business identifier, and the similarity between the target business identifier and the first business identifier meets a preset condition; and generating and presenting a record form based on the modified conversation content.
[0025] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, for providing form generation services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0026] It should be noted that the form generation method provided in the embodiment of the present disclosure can be executed by the server 105, or by the terminal devices 101, 102, 103, or by the server 105 and the terminal devices 101, 102, 103 cooperating with each other. Accordingly, the various parts (such as various units, sub-units, modules, sub-modules) included in the form generation device can be all set in the server 105, or all set in the terminal devices 101, 102, 103, or respectively set in the server 105 and the terminal devices 101, 102, 103.
[0027] 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.
[0028] Figure 2 A flowchart 200 of an embodiment of a form generation method applicable to the present application is shown. In this embodiment, the form generation method includes the following steps:
[0029] Step 201: extract a first service identifier from the conversation content between the requester and the responder, and determine whether the second service identifier associated with the requester includes the first service identifier.
[0030] In this embodiment, the execution subject (such as Figure 1 The server 105 or terminal devices 101, 102, 103 shown in the figure may first obtain authorization from the requester and / or responder to allow the collection of conversation data, for example, by presenting information to the requester and / or responder through registration guidance or the like to obtain the authority to collect conversation data.
[0031] For the conversation data, the executing entity may adopt the permission management mode in the existing technology or future development technology, such as the user permission management mode, the role permission management mode, etc., to manage the conversation data.
[0032] Furthermore, after obtaining authorization from the requester and / or responder, the execution entity may obtain the conversation content between the requester and the responder in real time or periodically using a long connection or a short connection, and may use natural language processing models in existing technologies or future development technologies, such as BERT (Bidirectional Encoder Representations from Transformers), large models, etc., to extract the first business identifier from the conversation content.
[0033] Furthermore, the execution entity may adopt a variety of acquisition methods, such as service call, storage data query, log query, etc., to obtain one or more second business identifiers associated with the requester and the business data corresponding to the second business identifier, that is, complete and accurate business data.
[0034] Among them, service call refers to requesting service from server B through RPC (Remote Procedure Call) and HTTP (Remote Procedure Call, Hypertext Transfer Protocol) and obtaining return results. Storage data query refers to the way of querying data from storage services. Common storage services include MySQL, Hive, Redis, etc. Log query refers to identifying logs generated during the service process by reading file patterns.
[0035] Specifically, if the acquisition method is service call, the user identifier can be used as the input parameter of the called service, and other parameters can be used to extract the service return result. For example, by entering the user PIN (Personal identification number) to obtain all the user's advertising plans; if the acquisition method is stored data query, the user identifier can be used as the query condition, and the corresponding query format can be used to extract the stored results, for example, select auth_score from x_table where pin='xxx'; if the acquisition method is log query, the user identifier can be used as a file filtering condition to filter the data related to the user identifier and load it into the service.
[0036] After acquiring one or more second service identifiers associated with the requester and the service data corresponding to the second service identifiers, the execution entity may determine whether the second service identifier includes the first service identifier.
[0037] Step 202: In response to "no", and the second service identifier contains a target service identifier, the conversation content is modified according to the target service identifier.
[0038] In this embodiment, if one or more second service identifiers associated with the requester do not include the first service identifier, the execution entity may calculate the similarity between the first service identifier and each second service identifier, and determine whether the target service identifier exists in the second service identifier based on the calculation result.
[0039] Among them, the similarity between the target business identifier and the first business identifier meets the preset conditions.
[0040] Here, the execution entity may calculate the similarity between the first business identifier and each second business identifier in a variety of ways, for example, determining a first vector corresponding to the first business identifier and a second vector corresponding to the second business identifier, and using a similarity algorithm in existing technology or future development technology, such as Euclidean distance, Jaccard similarity, cosine similarity, etc., to calculate the similarity between the first vector and the second vector; for another example, comparing the characters corresponding to the first business identifier and the characters corresponding to the second business identifier one by one according to characters (numbers, letters, symbols, text, etc.), and determining the similarity between the first business identifier and the second business identifier based on the number of different characters.
[0041] Among them, the preset conditions can be set according to experience and actual needs, for example, the similarity is greater than a preset threshold, greater than or equal to a preset threshold (such as one or two characters do not match), etc. This application does not limit this.
[0042] Specifically, the executing entity may compare the first business identifier and the second business identifier character by character. If there is a mismatch, and the mismatched characters are in adjacent positions in the horizontal keyboard or the nine-square keyboard, it can be determined that the similarity between the first business identifier and the second business identifier meets the preset conditions, and the second business identifier can be determined as the target business identifier, that is, the first business identifier and the second business identifier are a correctable mismatch.
[0043] Furthermore, if the second service identifier contains a target service identifier, the execution subject may modify the first service identifier in the conversation content according to the target service identifier to obtain modified conversation content.
[0044] In some optional manners, the conversation content is modified according to the target service identifier, including: modifying the conversation content according to the target service identifier and the service data corresponding to the target service identifier.
[0045] In this implementation, the execution subject can modify the first business identifier in the conversation content according to the target business identifier, and modify the business data corresponding to the first business identifier in the conversation content according to the business data corresponding to the target business identifier, that is, supplement and improve it to obtain the modified conversation content.
[0046] The degree of correction of the service data corresponding to the first service identifier in the conversation content according to the service data corresponding to the target service identifier can be set according to actual needs.
[0047] This implementation improves the correction effect of the conversation content by correcting the conversation content according to the target business identifier and the business data corresponding to the target business identifier, thereby improving the accuracy and reliability of the generated record form.
[0048] In some optional embodiments, the method further includes: in response to no, and the target service identifier does not exist in the second service identifier, outputting prompt information indicating that the first service identifier is incorrect.
[0049] In this implementation, if one or more second service identifiers associated with the requester do not include the first service identifier, the execution entity may calculate the similarity between the first service identifier and each second service identifier, and determine whether the target service identifier exists in the second service identifier based on the calculation result.
[0050] If not, that is, the target service identifier does not exist in the second service identifier, that is, the first service identifier cannot be modified, then the execution entity may output prompt information indicating that the first service identifier is incorrect.
[0051] This implementation method responds to "no" and the target business identifier does not exist in the second business identifier, and outputs a prompt message indicating that the first business identifier is incorrect. This achieves that when the target business identifier does not exist in the second business identifier, prompt information is output in a timely manner so that the requesting party can correct the first business identifier in a timely manner, thereby improving the accuracy of the generated record form.
[0052] In some optional embodiments, the method further includes, in response to which, modifying the conversation content according to the business data corresponding to the first business identifier.
[0053] In this implementation, if one or more second business identifiers associated with the requesting party include the first business identifier, the conversation content can be modified, supplemented, etc. based on the business data corresponding to the first business identifier, that is, accurate and complete business data, to obtain corrected conversation content.
[0054] Furthermore, the execution entity may generate a record form based on the revised conversation content.
[0055] Specifically, the requesting party is the user and the responding party is the customer service. If the content of the conversation is "Customer service: Hello, I am happy to serve you. Do you have any questions? User: How is the effect of my advertising plan ID1231234?" The first business identifier is 1231234, and the business data corresponding to the first business identifier is 4000 exposures, 300 clicks, 15 conversions, and 5000 consumption. The executing entity can modify the content of the conversation based on the business data corresponding to the first business identifier, namely 4000 exposures, 300 clicks, 15 conversions, and 5000 consumption.
[0056] This implementation method corrects the conversation content according to the business data corresponding to the first business identifier in response to the conversation, thereby effectively improving the conversation content and enhancing the reliability and accuracy of the record form generated based on the conversation content.
[0057] Step 203: Generate and present a record form based on the corrected conversation content.
[0058] In this embodiment, the execution entity can use natural language processing models in existing technologies or future development technologies, such as BERT, large models, etc. to extract content from the corrected conversation content according to preset form items, and generate and present a record form based on the extracted content and front-end components.
[0059] Specifically, the execution entity can determine the component type based on the data structure of the extracted content, the correspondence between the preset data structure and the component type, query the component code in the front-end component library according to the component type, extract the component from the front-end component library according to the component code, fill in the extracted component according to the extracted content, generate a record form and present it.
[0060] Among them, the correspondence between the preset data structure and the component type can be set according to actual needs.
[0061] Specifically, for the extracted content (i.e., the content to be displayed), the execution subject may preferentially select the input component and fill the extracted content in the selected component. Furthermore, if the extracted content contains a date format, the date component may be selected; if there are multiple lists, the checkbox component may be selected and the extracted content may be filled in the selected component.
[0062] Here, different components may generally correspond to different form items, and the form items may include multiple types, for example, a problem form item, a form identification form item, a problem processing result form item, a solution form item, a business identification form item, and the like.
[0063] In some optional manners, generating and presenting a record form based on the revised conversation content includes: generating and presenting a record form based on the revised conversation content and revised prompt information for the first service identifier.
[0064] In this implementation, the execution entity can use natural language processing models in existing technologies or future development technologies, such as BERT, large models, etc. to extract the corrected conversation content and the correction prompt information for the first business identifier according to the preset form items, and generate and present a record form based on the extracted content.
[0065] Specifically, the requester is the user, the responder is the customer service, and the conversation content is "Customer service: Hello, I am happy to serve you. What questions do you have? User: How is the delivery effect of my advertising plan ID 1231234?" If the second business identifier associated with the user does not include the first business identifier, it is further determined whether the second business identifier contains the target business identifier. If it does, such as 1231235, the conversation content is modified according to the target business identifier and the business data corresponding to the target business identifier to obtain the modified conversation content. Furthermore, the execution subject can extract the content according to the modified conversation content and the modified prompt information for the first business identifier to obtain the extracted content, for example, "Original first business identifier: 1231234, modified first business identifier: 1231235, exposure 4000, click 300, conversion 15, consumption 5000", and generate and present the record form according to the extracted content.
[0066] This implementation method generates and presents a record form based on the corrected conversation content and the correction prompt information for the first business identifier, which helps to correct and prompt the conversation content in a timely manner when there are errors in the conversation content, thereby ensuring the accuracy of the generated record form.
[0067] Further references Figure 3 , which shows a process 300 of another embodiment of a form generation method. In this embodiment, the process 300 of the form generation method may include the following steps:
[0068] Step 301: extract a first service identifier from the conversation content between the requester and the responder, and determine whether the second service identifier associated with the requester includes the first service identifier.
[0069] In this embodiment, the implementation details and technical effects of step 301 can refer to the description of step 201 and will not be repeated here.
[0070] Step 302: In response to "no", and the second service identifier contains the target service identifier, the conversation content is modified according to the target service identifier.
[0071] In this embodiment, the implementation details and technical effects of step 302 can refer to the description of step 202 and will not be repeated here.
[0072] Step 303: Generate and present a record form based on the corrected conversation content.
[0073] In this embodiment, the implementation details and technical effects of step 303 may refer to the description of step 203 and will not be repeated here.
[0074] Step 304, in response to obtaining new conversation content corresponding to the conversation identifier, the record form is updated based on the new conversation content and the historical conversation content corresponding to the conversation identifier.
[0075] In this embodiment, the conversation content also includes a conversation identifier. The execution entity can monitor the new conversation content corresponding to the conversation identifier in real time or periodically. In response to detecting the new conversation content corresponding to the conversation identifier, the execution entity can extract content based on the new conversation content and the historical conversation content corresponding to the conversation identifier, and update the presented record form according to the extracted content.
[0076] In some optional methods, the record form is updated based on the new conversation content and the historical conversation content corresponding to the conversation identifier, including: determining the form item identifier corresponding to the new conversation content; based on the new conversation content and the historical conversation content corresponding to the conversation identifier, updating the content indicated by the form item identifier.
[0077] In this implementation, the record form may include multiple form items. After the execution subject obtains the new conversation content, it can first determine the form item identifier corresponding to the new conversation content, and then update the content indicated by the form item identifier in the record form based on the new conversation content and the historical conversation content corresponding to the conversation identifier.
[0078] Specifically, the current record form includes a problem form item, and the content indicated by the problem form item is "The accounts are not interoperable, and it is unclear whether it is a main account promotion." If new conversation content is obtained, and it is determined that the form item corresponding to the new conversation content is identified as a problem form item, the problem form item in the record form can be updated according to the new conversation content and historical conversation content. For example, the content indicated by the updated problem form item may be "The new merchant is unclear about how to view the data of the main and sub-accounts."
[0079] This implementation method determines the form item identifier corresponding to the new conversation content; based on the new conversation content and the historical conversation content corresponding to the conversation identifier, the content indicated by the form item identifier is updated, thereby updating the record form according to the form item identifier and improving the accuracy of the generated record form.
[0080] In some optional embodiments, the method further includes: in response to detecting a conversation end instruction, stopping updating the record form to obtain a target record form; in response to detecting a confirmation instruction from the requesting party for the target record form, performing subsequent processing on the target record form.
[0081] In this implementation, the execution subject may detect the conversation end instruction in real time or periodically, and in response to detecting the conversation end instruction, stop updating the record form to obtain the target record form.
[0082] Among them, the generation method of the conversation end instruction may include multiple methods, for example, no new conversation content is obtained within a preset time period, in response to detecting the end instruction input by the requesting party and / or the responding party, detecting keywords indicating the end of the conversation in the conversation content, etc., and this application does not limit this.
[0083] Furthermore, the execution entity may monitor the confirmation instruction for the target record form, and perform subsequent processing on the target record form in response to detecting the confirmation instruction for the target record form from the requesting party.
[0084] Here, the requesting party may generate a confirmation instruction for the target record form in a variety of ways, such as the requesting party selecting a confirmation control, the requesting party not performing any operation on the target record form within a preset time period, the responding party distributing and processing the form, etc. This application does not limit this.
[0085] There are many ways to subsequently process the target record form, such as directly storing the target record form for subsequent query, forwarding the target record form to a problem handling party for processing, and the like.
[0086] This implementation method stops updating the record form in response to detecting a conversation end instruction to obtain a target record form; in response to detecting a confirmation instruction from the requesting party for the target record form, performs subsequent processing on the target record form, thereby improving the reliability of generating the record form.
[0087] In some optional methods, subsequent processing of the target record form includes: in response to determining that the content indicated by the problem processing result form item is unresolved, sending the target record form to the problem processing party for processing; in response to detecting a query request for the target record form, presenting the processing progress of the problem indicated by the problem form item in the target record form.
[0088] In this implementation, the target record form may include a problem form item and a problem handling result form item. If the problem handling result form item in the target record form indicates that the problem is not solved, the execution entity may send the target record form to the problem handling party for processing.
[0089] Furthermore, the execution entity may detect a query request for the target record form in real time or periodically, and in response to detecting the query request for the target record form, may present the processing progress of the problem indicated by the problem form item in the target record form.
[0090] This implementation method sends the target record form to the problem handler for processing in response to determining that the content indicated by the problem processing result form item is unresolved; in response to detecting a query request for the target record form, presents the processing progress of the problem indicated by the problem form item in the target record form, thereby realizing subsequent processing of the record form.
[0091] from Figure 3 It can be seen that Figure 2 Compared with the corresponding embodiments, the process 300 of the form generation method in this embodiment reflects that when new conversation content corresponding to the conversation identifier is obtained, the record form is updated based on the new conversation content and the historical conversation content corresponding to the conversation identifier. This method realizes the timely and effective update of the record form. At the same time, the updated record form can guide and correct the conversation content, thereby further improving the reliability and effectiveness of the generated record form.
[0092] Continue to see Figure 4 , Figure 4 It is a schematic diagram of an application scenario of the form generation method according to this embodiment.
[0093] exist Figure 4 In the application scenario, the responder is customer service 401, the requester is user 402, the execution subject obtains the conversation content 403 between the user and customer service, and extracts the first business identifier in the conversation content. If the first business identifier is not included in the multiple second business identifiers associated with the user, it is further determined whether there is a target business identifier in the second business identifiers. If so, the conversation content is modified according to the target business identifier and the business data corresponding to the target business identifier to obtain the modified conversation content, and a record form 404 is generated and presented based on the modified conversation content.
[0094] Among them, the record form may include a dialogue identification form item, indicating the content is "123"; a problem form item, indicating the content is "business data cannot be displayed"; a problem processing result form item, indicating the content is "unresolved" and a business identification form item, indicating the content is "333".
[0095] Furthermore, the execution entity obtains the new conversation content 405, and determines that the form item corresponding to the new conversation content 405 is identified as a problem form item. The problem form item in the record form can be updated according to the new conversation content 405 and the historical conversation content. For example, the content indicated by the updated problem form item may be "Increasing the bid business data cannot be displayed", and an updated record form 406 is obtained.
[0096] Furthermore, in response to detecting a conversation end instruction, updating of the record form is stopped to obtain a target record form, and in response to detecting confirmation instructions from the user and customer service regarding the target record form, such as detecting a confirmation instruction from the requesting party regarding the target record form (such as the user clicking a "Submit" button) and a distribution instruction from the customer service regarding the target record form, the target record form can be sent to the problem handler for subsequent processing.
[0097] Further, in response to detecting a query request for the target record form, the processing progress of the problem indicated by the problem form item in the target record form may be presented.
[0098] The form generation method disclosed in the present invention extracts a first business identifier from the conversation content between a requester and a responder, and determines whether a second business identifier associated with the requester includes the first business identifier; responds to a no, and if a target business identifier exists in the second business identifier, and the similarity between the target business identifier and the first business identifier meets a preset condition, the conversation content is modified according to the target business identifier and the business data corresponding to the target business identifier; generates and presents a record form based on the modified conversation content, thereby effectively improving the efficiency of generating forms and the validity of forms.
[0099] Further references Figure 5 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a form generation device, which is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0100] like Figure 5 As shown, the form generating device 500 of this embodiment includes: a determination module 501 , a correction module 502 and a presentation module 503 .
[0101] The determination module 501 may be configured to extract the first service identifier from the conversation content between the requester and the responder, and determine whether the second service identifier associated with the requester includes the first service identifier.
[0102] The correction module 502 may be configured to respond to no, and if the second service identifier contains a target service identifier, correct the conversation content according to the target service identifier, and the similarity between the target service identifier and the first service identifier meets a preset condition.
[0103] The presentation module 503 may be configured to generate and present a record form based on the revised conversation content.
[0104] In some optional aspects of this embodiment, the correction module is further configured to correct the conversation content according to the target service identifier and the service data corresponding to the target service identifier.
[0105] In some optional aspects of this embodiment, the presentation module is further configured to generate and present a record form based on the revised conversation content and the revised prompt information for the first service identifier.
[0106] In some optional aspects of this embodiment, the device further includes a prompt module, and the prompt module is configured to output prompt information indicating that the first service identifier is incorrect in response to no and the target service identifier does not exist in the second service identifier.
[0107] In some optional aspects of this embodiment, the device further includes a modification module, and the modification module is configured to, in response to the first service identifier, modify the conversation content according to the service data corresponding to the first service identifier.
[0108] In some optional aspects of this embodiment, the device further includes an update module, which is configured to update the record form in response to obtaining new conversation content corresponding to the conversation identifier, based on the new conversation content and historical conversation content corresponding to the conversation identifier.
[0109] In some optional aspects of this embodiment, the update module is further configured to determine a form item identifier corresponding to the new conversation content; and update the content indicated by the form item identifier based on the new conversation content and the historical conversation content corresponding to the conversation identifier.
[0110] In some optional modes of this embodiment, the device also includes: a processing module, which is configured to stop updating the record form in response to detecting a conversation end instruction to obtain a target record form; and perform subsequent processing on the target record form in response to detecting a confirmation instruction from the requesting party for the target record form.
[0111] In some optional modes of this embodiment, the processing module is further configured to, in response to determining that the content indicated by the problem processing result form item is unresolved, send the target record form to the problem processing party for processing; in response to detecting a query request for the target record form, present the processing progress of the problem indicated by the problem form item in the target record form.
[0112] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure 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. Necessary measures are taken for user personal information to prevent illegal access to user personal information identifiers and maintain the security of user personal information, network security and national security.
[0113] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0114] like Figure 6 , is a block diagram of an electronic device according to the form generation method of an embodiment of the present application.
[0115] 600 is a block diagram of an electronic device according to a form generation method of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described herein and / or required.
[0116] like Figure 6 As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.
[0117] The memory 602 is a non-transitory computer-readable storage medium provided by the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the form generation method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the form generation method provided by the present application.
[0118] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the form generation method in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes various functional applications and identification processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, the form generation method in the above method embodiment is implemented.
[0119] The memory 602 may include a program storage area and a storage identification area, wherein the program storage area may store an operating system, an application required for at least one function; the storage identification area may store an identification created by the use of the electronic device for form generation, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the electronic device for form generation via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0120] The electronic device of the form generation method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0121] The input device 603 can receive input digital or character information, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a track ball, a joystick, and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.
[0122] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive identification and instructions from a storage system, at least one input device, and at least one output device, and transmit identification and instructions to the storage system, the at least one input device, and the at least one output device.
[0123] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or identification to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or identification to a programmable processor.
[0124] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0125] The systems and techniques described herein may be implemented in a computing system that includes a backend component (e.g., as an identity server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a frontend component (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital identity communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0126] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0127] According to the technical solution of the embodiment of the present application, the efficiency of form generation and the effectiveness of generated forms are effectively improved.
[0128] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0129] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A form generation method, the method comprising: Extracting a first service identifier from the conversation content between the requester and the responder, and determining whether a second service identifier associated with the requester includes the first service identifier; In response to no, and the target service identifier exists in the second service identifier, the conversation content is modified according to the target service identifier, and the similarity between the target service identifier and the first service identifier meets a preset condition; A record form is generated and presented based on the corrected conversation content.
2. The method according to claim 1, wherein: The modifying the conversation content according to the target service identifier includes: The conversation content is modified according to the target service identifier and the service data corresponding to the target service identifier.
3. The method according to claim 1, wherein: The step of generating and presenting a record form based on the corrected conversation content includes: Based on the revised conversation content and the revised prompt information for the first service identifier, a record form is generated and presented.
4. The method according to claim 1, further comprising: In response to a no, and the target service identifier does not exist in the second service identifier, a prompt message indicating that the first service identifier is incorrect is output.
5. The method according to claim 1, further comprising: In response, the conversation content is modified according to the business data corresponding to the first business identifier.
6. The method according to claim 1, wherein the conversation content includes a conversation identifier, and the method further comprises: In response to acquiring new conversation content corresponding to the conversation identifier, the record form is updated based on the new conversation content and the historical conversation content corresponding to the conversation identifier.
7. The method according to claim 6, wherein: The record form includes a plurality of form items, and the updating of the record form based on the new conversation content and the historical conversation content corresponding to the conversation identifier includes: Determine the form item identifier corresponding to the new conversation content; Based on the new conversation content and the historical conversation content corresponding to the conversation identifier, the content indicated by the form item identifier is updated.
8. The method according to claim 7, further comprising: In response to detecting a conversation end instruction, stopping updating the record form to obtain a target record form; In response to detecting a confirmation instruction from the requesting party for the target record form, the target record form is subsequently processed.
9. The method according to claim 8, wherein the target record form includes a question form item and a question processing result form item, and the subsequent processing of the target record form includes: In response to determining that the content indicated by the problem handling result form item is unresolved, sending the target record form to the problem handling party for processing; In response to detecting a query request for the target record form, presenting a processing progress of the problem indicated by the problem form item in the target record form.
10. A form generating device, comprising: A judgment module, configured to extract a first service identifier from the conversation content between the requester and the responder, and judge whether the second service identifier associated with the requester includes the first service identifier; a correction module configured to, in response to no, and if a target service identifier exists in the second service identifier, correct the conversation content according to the target service identifier, and the similarity between the target service identifier and the first service identifier meets a preset condition; The presenting module is configured to generate and present a record form based on the revised conversation content.
11. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 9.
13. 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 9.