WO2022095377A1 - Online self-service dialogue method and apparatus, computer device, and computer readable medium - Google Patents

Online self-service dialogue method and apparatus, computer device, and computer readable medium Download PDF

Info

Publication number
WO2022095377A1
WO2022095377A1 PCT/CN2021/091277 CN2021091277W WO2022095377A1 WO 2022095377 A1 WO2022095377 A1 WO 2022095377A1 CN 2021091277 W CN2021091277 W CN 2021091277W WO 2022095377 A1 WO2022095377 A1 WO 2022095377A1
Authority
WO
WIPO (PCT)
Prior art keywords
dialogue
page
module
target
preset
Prior art date
Application number
PCT/CN2021/091277
Other languages
French (fr)
Chinese (zh)
Inventor
赵凌燕
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2022095377A1 publication Critical patent/WO2022095377A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • G06F40/295Named entity recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Definitions

  • the present application relates to the technical field of artificial intelligence, in particular to the technical field of intelligent decision-making, and in particular to an online self-service dialogue method, device, computer equipment and computer-readable storage medium.
  • a self-help dialogue is conducted online through a robot
  • the robot makes a corresponding preset response according to the customer's question.
  • the general user does not know what kind of problem the robot can solve.
  • the robot can only answer according to the user's question, according to the preset response corresponding to the question.
  • the user and the inventor realized that such a dialogue method leads to low efficiency and poor effect of self-help dialogue.
  • the present application provides an online self-help dialogue method, device, computer equipment and computer-readable storage medium, which can solve the problem of low efficiency of online self-help dialogue in the traditional technology.
  • the present application provides an online self-service dialogue method, the method includes: in response to an online operation of a user, the page module is a page selected by a user from a plurality of page modules on the online operation page module, obtain the module information contained in the page module corresponding to the online operation; identify the dialogue scene corresponding to the online operation according to the module information; obtain the dialogue scene corresponding to the dialogue scene based on the dialogue scene the preset speech, and push the dialogue according to the preset speech.
  • the present application also provides an online self-service dialogue device, comprising: an acquisition unit, configured to respond to a user's online operation, wherein the page module is selected by the user among a plurality of page modules on the online operation page.
  • the selected page module obtains the module information contained in the page module corresponding to the online operation;
  • the identification unit is used for identifying the dialogue scene corresponding to the online operation according to the module information;
  • the push unit is used for based on For the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and the dialogue is pushed according to the preset dialogue.
  • the present application also provides a computer device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: in response to a user's online operation, and obtain the module information contained in the page module corresponding to the online operation, the page module is the page module selected by the user among the multiple page modules on the online operation page; according to the module information, identify the Dialogue scene corresponding to the online operation; based on the dialogue scene, obtain a preset speech corresponding to the dialogue scene, and push the dialogue according to the preset speech.
  • a computer device which includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: in response to a user's online operation, and obtain the module information contained in the page module corresponding to the online operation, the page module is the page module selected by the user among the multiple page modules on the online operation page; according to the module information, identify the Dialogue scene corresponding to the online operation; based on the dialogue
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps: in response to a user the online operation, obtain the module information contained in the page module corresponding to the online operation, the page module is the page module selected by the user among the multiple page modules on the online operation page; according to the module information, Identifying a dialogue scene corresponding to the online operation; obtaining a preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing a dialogue according to the preset dialogue.
  • the present application provides an online self-help dialogue method, device, computer equipment and computer-readable storage medium.
  • the module information contained in the page module corresponding to the online operation is obtained, and the module information contained in the page module corresponding to the online operation is obtained according to the
  • the module information is used to identify the dialogue scene corresponding to the online operation, based on the dialogue scene, obtain the preset dialogue corresponding to the dialogue scene, and push the dialogue according to the preset dialogue.
  • the module scene in which the user is located is used as an important parameter for the push of the dialogue corresponding to the dialogue.
  • the technique label to recall the most suitable words for this scene, to achieve different scenarios, the words have different purposes, and improve the accuracy of the dialogue and the efficiency of conversational communication.
  • FIG. 1 is a schematic flowchart of an online self-service dialogue method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a first sub-flow of an online self-help dialogue method provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a second sub-flow of the online self-service dialogue method provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a third sub-flow of the online self-service dialogue method provided by the embodiment of the present application.
  • FIG. 5 is a schematic diagram of a fourth sub-flow of the online self-service dialogue method provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a fifth sub-flow of the online self-help dialogue method provided by the embodiment of the present application.
  • FIG. 7 is a schematic block diagram of an online self-service dialogue device provided by an embodiment of the present application.
  • FIG. 8 is a schematic block diagram of a computer device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of an online self-service dialogue method provided by an embodiment of the present application. As shown in Figure 1, the method includes the following steps S11-S13:
  • the module information can be directly obtained, or the page information contained in the page corresponding to the online operation and the module information contained in the page module corresponding to the online operation can be obtained,
  • the page module is a module operated by a user in several modules included on the online operation page, the page information includes a page ID, and the module information includes a module ID, and then the page corresponding to the online operation is obtained. Module information contained in the module.
  • each page will have multiple modules
  • each page corresponds to a page ID and page theme
  • each module can also correspond to a module ID and module theme, that is, a
  • a page corresponds to a major theme
  • a module corresponds to a small theme contained in the major theme, that is, corresponds to a specific scene.
  • the dialog scene corresponding to the module can be determined according to the module to which the user slides.
  • a user When a user enters a web page and performs online operations on the web page, if the user performs online operations through input devices such as desktops or notebooks, including a mouse, or the user performs gesture actions on smart terminals such as smartphones, etc.
  • the user's online operation on the page can be monitored, and along with the user's online operation, the page information contained in the page corresponding to the online operation can be obtained, and the page information can include the page of the page. ID and the page module ID where the user's mouse is located, etc.
  • the self-service dialogue method based on scene recognition is applied to the marketing of insurance products through the intelligent robot on the webpage, for all insurance products on sale, after the user enters the page and before entering the robot dialogue interface, because the user enters the page and Before entering the robot dialogue interface, it will involve online operations on the page. After monitoring the user's online operations on the page, the front end of the page can display the page ID corresponding to the user's page and the module's theme of the module.
  • the page information such as the module ID is sent to the robot background, so that the robot background obtains the page information and module information of the page corresponding to the online operation, and according to the page information and module information, for example, according to the page ID and module ID, module Content and other module information, identify the dialogue scene corresponding to the module where the user is located.
  • the dialogue scene corresponding to the online operation can be identified according to the page information and module information corresponding to the online operation.
  • the dialogue scene corresponding to the online operation can be identified.
  • the insurance sales webpage for an insurance product, there will be scenarios such as benefit demonstration scenarios, scenarios of filling in the insured information, scenarios of insurance details, etc.
  • each module will correspond to a page ID and a module ID on the page, etc.
  • each scene corresponds to preset page information:
  • the scene is the dialogue scene in which the corresponding dialogue is located.
  • a preset vocabulary corresponding to the scene is set.
  • the words are also Different from each other, to achieve the accurate correspondence between the words and the scene, so as to improve the accuracy of the dialogue and the efficiency of communication.
  • the module information contained in the page module corresponding to the online operation is obtained, and the dialogue scene corresponding to the online operation is identified according to the module information, Based on the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and the dialogue is pushed according to the preset dialogue. Since the dialogue scene corresponding to the module where the user is located is identified, the module where the user is located is The scene is an important parameter for the push of the words corresponding to the dialogue scene. According to the recognized dialogue scene, the mapping relationship between the dialogue scene and the words is established, and the words that are most suitable for this scene are recalled according to the label of the words, so as to realize different scenarios. The words have different purposes.
  • the specific scene of the user entering the robot is not used as a parameter, which causes the user to enter different insurance product pages and different positions on the page (such as filling in the insurance applicant information module and insurance details module, etc.)
  • the questions the user wants to ask may be different) when entering the robot, the predicted questions (the robot "guess what you want to ask") are not different.
  • the embodiment of the present application improves the accuracy of the dialogue and the efficiency of conversational communication.
  • the priorities can be set according to the order of business logic of specific services, and the preset priority corresponding to the speeches can be set.
  • the module information includes module content
  • the module content includes content such as text, pictures, voice, and forms.
  • the information of the page module corresponding to the online operation is obtained.
  • the steps to include module information include:
  • S21 detect the sliding track of the online operation; S22, identify the target position where the sliding track currently stays; S23, identify the target page area to which the target position belongs according to the target position; S24, according to the target Page area, obtain the module ID to which the target page area belongs; S25 , obtain the module content corresponding to the module ID according to the module ID.
  • the online operation may be the sliding track of the mouse, or may be the sliding track of the gesture operation on the smart device.
  • the user can monitor the specific area of the page where the user is located to detect the sliding trajectory of the online operation, and identify the current target position of the sliding trajectory.
  • the target position identify the target page area to which the target position belongs, obtain the module ID to which the target page area belongs according to the target page area, and according to the module ID, based on the preset module ID and the module content
  • the association relationship can be obtained, the module content corresponding to the module ID can be obtained, and the module information contained in the page module corresponding to the online operation can be obtained in response to the user's online operation.
  • the step of identifying the target page area to which the target position belongs according to the target position includes: S31, according to the target position, identifying the target page to which the target position belongs; S32, according to the target position The target page is determined, and the target module included in the target page to which the target location belongs is determined; S33, the target module is used as a target page area.
  • different scenarios can be described by different modules.
  • identifying the target page area to which the target position belongs according to the target position first According to the target position, identify the target page to which the target position belongs, and then according to the target page, determine the target module included in the target page to which the target position belongs, and use the target module as the target page area .
  • the front end of the page will put the product ID corresponding to the user's page and the module corresponding to the page location (such as benefits).
  • the module corresponding to the demo scene, the module corresponding to the scene where the insured information is filled in, or the module corresponding to the guarantee details scene, etc.) are sent to the robot backend in the form of parameters, so that the robot backend can identify the specific scene of the module where the user is located.
  • the scene where the user is located can be accurately identified, thereby providing accurate words according to the scene.
  • the step of recognizing the target page to which the target position belongs according to the target position includes: S41 , obtaining a distance between a preset page and a preset page position range corresponding to the preset page. S42, according to the target position, determine whether the target position is included in the preset page position range; S43, if the target position is included in the preset page position range, determine the preset page is a target page; S44, if the target position is not included in the preset page position range, determine that the preset page is not a target page.
  • preset a corresponding preset page position range for each page that is, which page belongs to which position
  • the target position it is determined whether the target position is included in the preset page position range, and if the target position is included in the preset page position range, it is determined that the preset page is Target page, if the target position is not included in the preset page position range, it is determined that the preset page is not a target page until the target page corresponding to the target position is identified.
  • FIG. 5 is a schematic diagram of a fourth sub-flow of the online self-help dialogue method provided by the embodiment of the present application.
  • the step of obtaining the module content corresponding to the module ID according to the module ID includes: S51. Obtaining the text corresponding to the module ID according to the module ID; S52. Named entity recognition is performed on the text to identify the named entities contained in the text.
  • Named Entity Recognition (English for Named Entity Recognition, NER for short), also known as “proper name recognition”, refers to the identification of entities with specific meanings in the text, mainly including names of persons, places, institutions, proper nouns, etc.
  • the module where the user is located is determined according to the target page, and the module ID corresponding to the module is obtained, and according to the module ID, based on the mapping relationship between the module ID and the module content , obtain the text corresponding to the module ID, and perform named entity recognition on the text to identify the named entity contained in the text, and then identify the scene corresponding to the target page according to the named entity ( That is, the dialogue scene), and then based on the scene, obtain a preset speech corresponding to the scene, and push the dialogue according to the preset speech.
  • the named entity That is, the dialogue scene
  • the step of identifying the dialogue scene corresponding to the online operation according to the module information includes: according to the named entity, filtering out a target named entity that matches the theme corresponding to the page module; According to the target named entity, the dialogue scene corresponding to the page module is determined, so as to identify the dialogue scene corresponding to the online operation.
  • the module corresponding to the module ID is the target module where the user is located, then multiple named entities in the target module are obtained, and the subject of the target module can also be obtained, According to the named entity, a target named entity matching the theme corresponding to the page module is filtered out, and according to the target named entity, the session scene corresponding to the page module is determined, thereby identifying the online operation site. the corresponding dialogue scene. For example, monitor the area corresponding to the specific page module of the page where the user is located, identify the named entity on the page module, identify the named entity, obtain the part that the user is most interested in, and predict the most likely user based on the principle of collaborative recommendation.
  • collaborative recommendation also known as collaborative filtering
  • collaborative filtering is to use the preferences of a group with similar interests and common experience to recommend information that users are interested in.
  • Individuals respond to the information to a considerable extent (such as ratings) through a cooperative mechanism and record it.
  • the response is not necessarily limited to those of particular interest, and the record of information of particular interest is also very important.
  • FIG. 6 is a schematic diagram of a fifth sub-flow of the online self-service dialogue method provided by the embodiment of the present application.
  • the method before the step of acquiring a preset speech corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset speech, the method further includes: S61.
  • S62 determine whether the dwell time is greater than or equal to a preset time threshold; S63, if the dwell time is greater than or equal to a preset time threshold, execute the based on the scene , obtain the preset speech technique corresponding to the scene, and push the dialogue according to the preset speech technique; S64, if the stay time is less than the preset time threshold, do not perform the step of obtaining the scenario based on the The preset language corresponding to the scene, and the step of pushing the dialogue according to the preset language, can further count the stay time of the sliding track at the target position, until the stay time is greater than or equal to the preset time.
  • a time threshold is set, or the user leaves the target location.
  • the preset dialogue scene corresponding to the dialogue scene can be obtained, and the dialogue can be pushed to the user according to the preset dialogue method. It can actively push the preset speech corresponding to the dialogue scene to the user, so as to help the user to understand the content corresponding to the webpage module by actively pushing the speech, and the user can stay at the target location for more than the preset time.
  • the threshold it is judged that the user is interested in the content of the webpage at the target location.
  • the user is involved in the understanding of the content of the page, and based on the scene, the preset words corresponding to the dialogue scene are obtained, and according to the The preset conversation pushes the dialogue, and the user's stay time at the target position can be determined by counting the stay time of the sliding track at the target position, and whether the stay time is greater than or equal to the preset time threshold, if the The stay time is greater than or equal to a preset time threshold, and the step of obtaining a preset speech corresponding to the scene based on the scene, and pushing a dialogue according to the preset speech, if the stay time If less than the preset time threshold, the step of obtaining the preset speech corresponding to the scene based on the scene, and pushing the dialogue according to the preset speech is not performed, and the sliding track can be further counted at the location.
  • the stay time at the target position is determined until the stay time is greater than or equal to a preset time threshold, or the user leaves the target position.
  • a preset time threshold For example, when self-service is provided through an intelligent robot on a webpage, the user can be prompted to get help through active bubbling, so that not only can the user see scenario-based recommendations after clicking the robot, but also the user can click on a certain webpage on the page. Or when a module in the webpage stays for a certain period of time, it triggers bubbling to actively guide the customer, so that the user is not interested in a certain part of the page, but doubts whether the robot can understand its own problem, and does not ask questions actively, which can solve the problem when the user is not interested in a certain part of the page.
  • the step of acquiring a preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset dialogue includes: based on the dialogue scene , obtain the preset question options corresponding to the dialogue scene, and push the preset question options to the user for the user to select and conduct a dialogue.
  • the embodiment of the present application can improve the service efficiency of self-service dialogue through active guidance.
  • the method further includes: receiving dialogue information input by a user; Determine whether the dialogue information is clear; if the dialogue information is unclear, predict the complete dialogue information corresponding to the dialogue information based on the dialogue scene, and execute the based on the dialogue scene according to the complete dialogue information , obtain the preset speech technique corresponding to the dialogue scene, and push the dialogue steps according to the preset speech technique.
  • the dialogue information can be text information or voice information. If it is voice information, the voice information needs to be converted into text information through voice recognition, and then the text information is judged as follows, and then Determine whether the dialogue information is clear and complete, that is, determine whether the intention described by the user's information can be understood. If the dialogue information is clear and complete, directly according to the user's dialogue information and based on the dialogue scene, obtain the information related to the dialogue scene.
  • Corresponding preset words and push the dialogue according to the preset words, if the dialogue information is unclear, based on the dialogue scene, predict the complete dialogue information corresponding to the dialogue information, so as to convert the user's dialogue information. complete, and according to the complete dialogue information, perform the steps of obtaining the preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset dialogue, so as to update the dialogue scene. It is possible to understand users more accurately with a large probability, and by actively predicting the user's dialogue information intentions, it can improve the service efficiency of self-service dialogues. For example, on the display page of an insurance product, you can understand the user's intention by referring to the auto-completion entity.
  • the robot can automatically fill in the dialogue intention that the user asks which product can be insured according to the specific scene corresponding to the page the user is on. , so as to improve the response accuracy rate in the conversation and improve the service efficiency of self-service dialogue.
  • the active insight and entity automatic completion based on the dialogue scene can make the robot easier to understand the user's input and intention, and improve the robot's response. Accuracy and better user experience.
  • FIG. 7 is a schematic block diagram of an online self-service dialogue apparatus provided by an embodiment of the present application.
  • an embodiment of the present application further provides an online self-help dialogue device.
  • the online self-service dialogue apparatus includes a unit for executing the above-mentioned online self-service dialogue method, and the online self-service dialogue apparatus can be configured in a computer device.
  • the online self-service dialogue device 70 includes an acquisition unit 71 , an identification unit 72 and a push unit 73 .
  • the obtaining unit 71 is configured to, in response to the online operation of the user, obtain the module information contained in the page module corresponding to the online operation, where the page module is one of the multiple page modules on the online operation page that the user owns.
  • the selected page module is used to identify the dialogue scene corresponding to the online operation according to the module information
  • the push unit 73 is used to obtain the dialogue scene corresponding to the dialogue scene based on the Preset speeches, and push dialogues according to the preset speeches.
  • the acquisition unit 71 includes: a detection subunit for detecting the sliding track of the online operation; a first identification subunit for identifying the target position where the sliding track currently stays;
  • the second identification subunit is used to identify the target page area to which the target position belongs according to the target position; the first acquisition subunit is used to obtain the module ID to which the target page area belongs according to the target page area ; The second obtaining subunit is used for obtaining the module content corresponding to the module ID according to the module ID.
  • the second identification subunit includes: a third identification subunit for identifying the target page to which the target position belongs according to the target position; and a first determination subunit for identifying the target page to which the target position belongs according to the target position;
  • the target page is used to determine the target module included in the target page to which the target location belongs; the second determination subunit is used to use the target module as a target page area.
  • the third identifying subunit includes: a third obtaining subunit, configured to obtain a correspondence between a preset page and a preset page position range corresponding to the preset page; a judging subunit , for determining whether the target position is included in the preset page position range according to the target position; the determination subunit is used for determining whether the target position is included in the preset page position range if the target position is included in the preset page position range.
  • the page be the target page.
  • the second obtaining subunit includes: a fourth obtaining subunit, used for obtaining the text corresponding to the module ID according to the module ID; Named entity recognition to identify named entities contained in the text.
  • the online self-service dialogue device 70 further includes: a statistics unit for counting the stay time of the sliding track at the target position; a judgment unit for judging whether the stay time is greater than or equal to a preset time threshold; an execution unit, configured to execute the based on the scene, obtain the preset speech corresponding to the scene if the stay time is greater than or equal to the preset time threshold, and according to the preset Steps to push conversations with words.
  • the pushing unit 73 is specifically configured to obtain preset question options corresponding to the dialog scene based on the dialog scene, and push the preset question options to the user for the user to use. Make a selection to have a conversation.
  • each unit in the above-mentioned online self-service dialogue device is only used for illustration.
  • Each unit in the device adopts different connection sequences and methods to complete all or part of the functions of the above-mentioned online self-service dialogue device.
  • the above-mentioned online self-service dialogue apparatus can be implemented in the form of a computer program, and the computer program can be executed on a computer device as shown in FIG. 8 .
  • FIG. 8 is a schematic block diagram of a computer device provided by an embodiment of the present application.
  • the computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or component in other devices.
  • the computer device 500 includes a processor 502, a memory and a network interface 505 connected through a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be a volatile computer Readable storage medium.
  • the nonvolatile storage medium 503 can store an operating system 5031 and a computer program 5032 .
  • the computer program 5032 can cause the processor 502 to execute an online self-help dialogue method described above.
  • the processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
  • the internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503.
  • the processor 502 can execute an online self-help dialogue method.
  • the network interface 505 is used for network communication with other devices.
  • the structure shown in FIG. 8 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied.
  • the specific computer device 500 may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
  • the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are the same as those of the embodiment shown in FIG. 8 , which will not be repeated here.
  • the processor 502 is configured to run the computer program 5032 stored in the memory, so as to implement the online self-help dialogue method described in the embodiments of the present application.
  • the processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor can be a microprocessor or the processor can also be any conventional processor or the like.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium, or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor The processor is caused to execute the steps of the online self-help dialogue method described in the above embodiments.
  • the storage medium is a physical, non-transitory storage medium, such as a U disk, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk and other physical storage that can store computer programs. medium.
  • a physical, non-transitory storage medium such as a U disk, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk and other physical storage that can store computer programs. medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application relates to the technical field of intelligent decision making. The present application provides an online self-service dialogue method and apparatus, a computer device, and a computer readable storage medium. The method comprises: in response to an online operation of a user, obtaining module information contained in a page module corresponding to the online operation; according to the module information, identifying a dialogue scene corresponding to the online operation; and on the basis of the dialogue scene, obtaining a preset verbal skill corresponding to the dialogue scene, and pushing a dialogue according to the preset verbal skill.

Description

线上自助对话方法、装置、计算机设备及计算机可读介质Online self-help dialogue method, apparatus, computer equipment and computer readable medium
本申请要求于2020年11月03日提交中国专利局、申请号为202011209905.1、申请名称为“线上自助对话方法、装置、计算机设备及计算机可读介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011209905.1 and the application title "Online Self-Service Dialogue Method, Device, Computer Equipment and Computer-readable Media" filed with the China Patent Office on November 03, 2020, all of which are The contents are incorporated herein by reference.
技术领域technical field
本申请涉及人工智能技术领域,尤其涉及智能决策技术领域,具体涉及一种线上自助对话方法、装置、计算机设备及计算机可读存储介质。The present application relates to the technical field of artificial intelligence, in particular to the technical field of intelligent decision-making, and in particular to an online self-service dialogue method, device, computer equipment and computer-readable storage medium.
背景技术Background technique
目前线上通过机器人进行自助对话时,一般是用户主动点击机器人后,根据客户提问,机器人做出相应的预设反应。例如,在保险行业的机器人中,一般用户不知道机器人能解决什么样的问题,即使用户主动点击机器人,机器人也只能根据用户的问题,针对问题,根据所述问题所对应的预设反应回答用户,发明人意识到,这样的对话方式,导致自助对话的效率较低,效果不好。At present, when a self-help dialogue is conducted online through a robot, after the user takes the initiative to click the robot, the robot makes a corresponding preset response according to the customer's question. For example, in a robot in the insurance industry, the general user does not know what kind of problem the robot can solve. Even if the user actively clicks on the robot, the robot can only answer according to the user's question, according to the preset response corresponding to the question. The user and the inventor realized that such a dialogue method leads to low efficiency and poor effect of self-help dialogue.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种线上自助对话方法、装置、计算机设备及计算机可读存储介质,能够解决传统技术中线上自助对话效率较低的问题。The present application provides an online self-help dialogue method, device, computer equipment and computer-readable storage medium, which can solve the problem of low efficiency of online self-help dialogue in the traditional technology.
第一方面,本申请提供了一种线上自助对话方法,所述方法包括:响应于用户的线上操作,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块,获取所述线上操作所对应页面模块所包含的模块信息;根据所述模块信息,识别所述线上操作所对应的对话场景;基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。In a first aspect, the present application provides an online self-service dialogue method, the method includes: in response to an online operation of a user, the page module is a page selected by a user from a plurality of page modules on the online operation page module, obtain the module information contained in the page module corresponding to the online operation; identify the dialogue scene corresponding to the online operation according to the module information; obtain the dialogue scene corresponding to the dialogue scene based on the dialogue scene the preset speech, and push the dialogue according to the preset speech.
第二方面,本申请还提供了一种线上自助对话装置,包括:获取单元,用于响应于用户的线上操作,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块,获取所述线上操作所对应页面模块所包含的模块信息;识别单元,用于根据所述模块信息,识别所述线上操作所对应的对话场景;推送单元,用于基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。In a second aspect, the present application also provides an online self-service dialogue device, comprising: an acquisition unit, configured to respond to a user's online operation, wherein the page module is selected by the user among a plurality of page modules on the online operation page. The selected page module obtains the module information contained in the page module corresponding to the online operation; the identification unit is used for identifying the dialogue scene corresponding to the online operation according to the module information; the push unit is used for based on For the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and the dialogue is pushed according to the preset dialogue.
第三方面,本申请还提供了一种计算机设备,其包括存储器及处理器,所述存储器上存储有计算机程序,所述处理器执行所述计算机程序时实现如下步骤:响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块;根据所述模块信息,识别所述线上操作所对应的对话场景;基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。In a third aspect, the present application also provides a computer device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: in response to a user's online operation, and obtain the module information contained in the page module corresponding to the online operation, the page module is the page module selected by the user among the multiple page modules on the online operation page; according to the module information, identify the Dialogue scene corresponding to the online operation; based on the dialogue scene, obtain a preset speech corresponding to the dialogue scene, and push the dialogue according to the preset speech.
第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器执行如下步骤:响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块;根据所述模块信息,识别所述线上操作所对应的对话场景;基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。In a fourth aspect, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps: in response to a user the online operation, obtain the module information contained in the page module corresponding to the online operation, the page module is the page module selected by the user among the multiple page modules on the online operation page; according to the module information, Identifying a dialogue scene corresponding to the online operation; obtaining a preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing a dialogue according to the preset dialogue.
本申请提供了一种线上自助对话方法、装置、计算机设备及计算机可读存储介质,通过响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,根据所述模块信息,识别所述线上操作所对应的对话场景,基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话,由于识别了用户所处模块所对应的对话场景,将用户所处的模块场景作为对话所对应话术推送的重要参数,根据识别到的对话场景,建立起对话场景与话术之间的映射关系,根据话术标签去召回最适合此场景的话术,实现不同场景,话术也各自不同的目的,提高了对话的准确性和会话沟通的效率。The present application provides an online self-help dialogue method, device, computer equipment and computer-readable storage medium. By responding to a user's online operation, the module information contained in the page module corresponding to the online operation is obtained, and the module information contained in the page module corresponding to the online operation is obtained according to the The module information is used to identify the dialogue scene corresponding to the online operation, based on the dialogue scene, obtain the preset dialogue corresponding to the dialogue scene, and push the dialogue according to the preset dialogue. For the dialogue scene corresponding to the module where the user is located, the module scene in which the user is located is used as an important parameter for the push of the dialogue corresponding to the dialogue. Using the technique label to recall the most suitable words for this scene, to achieve different scenarios, the words have different purposes, and improve the accuracy of the dialogue and the efficiency of conversational communication.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1为本申请实施例提供的线上自助对话方法的一个流程示意图;1 is a schematic flowchart of an online self-service dialogue method provided by an embodiment of the present application;
图2为本申请实施例提供的线上自助对话方法的第一个子流程示意图;2 is a schematic diagram of a first sub-flow of an online self-help dialogue method provided by an embodiment of the present application;
图3为本申请实施例提供的线上自助对话方法的第二个子流程示意图;3 is a schematic diagram of a second sub-flow of the online self-service dialogue method provided by the embodiment of the present application;
图4为本申请实施例提供的线上自助对话方法的第三个子流程示意图;4 is a schematic diagram of a third sub-flow of the online self-service dialogue method provided by the embodiment of the present application;
图5为本申请实施例提供的线上自助对话方法的第四个子流程示意图;5 is a schematic diagram of a fourth sub-flow of the online self-service dialogue method provided by the embodiment of the present application;
图6为本申请实施例提供的线上自助对话方法的第五个子流程示意图;6 is a schematic diagram of a fifth sub-flow of the online self-help dialogue method provided by the embodiment of the present application;
图7为本申请实施例提供的线上自助对话装置的一个示意性框图;以及FIG. 7 is a schematic block diagram of an online self-service dialogue device provided by an embodiment of the present application; and
图8为本申请实施例提供的计算机设备的示意性框图。FIG. 8 is a schematic block diagram of a computer device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
请参阅图1,图1为本申请实施例提供的线上自助对话方法的一个流程示意图。如图1所示,该方法包括以下步骤S11-S13:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of an online self-service dialogue method provided by an embodiment of the present application. As shown in Figure 1, the method includes the following steps S11-S13:
S11、响应于用户线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块。S11. In response to the user's online operation, acquire module information contained in a page module corresponding to the online operation, where the page module is a page module selected by the user among multiple page modules on the online operation page.
具体地,响应于用户的线上操作,可以直接获取模块信息,也可以通过获取所述线上操作所对应页面所包含的页面信息及所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上所包含的若干个模块中用户所进行操作的模块,所述页面信息包括页面ID,所述模块信息包括模块ID,进而获取所述线上操作所对应页面模块所包含的模块信息。Specifically, in response to the user's online operation, the module information can be directly obtained, or the page information contained in the page corresponding to the online operation and the module information contained in the page module corresponding to the online operation can be obtained, The page module is a module operated by a user in several modules included on the online operation page, the page information includes a page ID, and the module information includes a module ID, and then the page corresponding to the online operation is obtained. Module information contained in the module.
一般情况下,由于一个网站会有多个网页页面,每个页面会有多个模块,每个页面对应一个页面ID和页面主题,每个模块也可以对应一个模块ID和模块主题,也即一个页面对应一个大主题,一个模块对应该大主题下所包含的一个小主题,即对应一个具体场景,针对该场景所包含的具体内容,会对应有具体的对话内容,从而一个模块对应一个会话场景。可以根据用户滑动到的模块判断该模块所对应的对话场景。用户进入网页页面并在网页页面上进行线上操作时,若用户通过台式机或者笔记本等包括鼠标在内的输入性设备进行线上操作时,或者用户在智能手机等智能终端上通过手势动作等进行线上操作时,可以监测用户在页面上的线上操作,并随着用户的线上操作,获取所述线上操作所对应页面所包含的页面信息,所述页面信息可以包括页面的页面ID及用户鼠标所在的页面模块ID等。例如,该基于场景识别的自助对话方法应用于通过网页中的智能机器人进行保险产品营销时,对于在售的所有保险产品,在用户进入页面后、进入机器人对话界面前,由于用户进入页面及在进入机器人对话界面前,均会涉及到在该页面上进行线上操作,监测到用户在页面上的线上操作后,页面前端即可把用户所在页面所对应的页面ID以及模块主题所在模块的模块ID等页面信息发送至机器人后台,以使机器人后台获取所述线上操作所对应页面的页面信息及模块信息,并根据所述页面信息及模块信息,例如,根据页面ID及模块ID、模块内容等模块信息,识别用户所在模块所对应的对话场景。In general, since a website will have multiple web pages, each page will have multiple modules, each page corresponds to a page ID and page theme, and each module can also correspond to a module ID and module theme, that is, a A page corresponds to a major theme, and a module corresponds to a small theme contained in the major theme, that is, corresponds to a specific scene. For the specific content contained in the scene, there will be specific dialogue content, so that a module corresponds to a conversation scene. . The dialog scene corresponding to the module can be determined according to the module to which the user slides. When a user enters a web page and performs online operations on the web page, if the user performs online operations through input devices such as desktops or notebooks, including a mouse, or the user performs gesture actions on smart terminals such as smartphones, etc. When performing an online operation, the user's online operation on the page can be monitored, and along with the user's online operation, the page information contained in the page corresponding to the online operation can be obtained, and the page information can include the page of the page. ID and the page module ID where the user's mouse is located, etc. For example, when the self-service dialogue method based on scene recognition is applied to the marketing of insurance products through the intelligent robot on the webpage, for all insurance products on sale, after the user enters the page and before entering the robot dialogue interface, because the user enters the page and Before entering the robot dialogue interface, it will involve online operations on the page. After monitoring the user's online operations on the page, the front end of the page can display the page ID corresponding to the user's page and the module's theme of the module. The page information such as the module ID is sent to the robot background, so that the robot background obtains the page information and module information of the page corresponding to the online operation, and according to the page information and module information, for example, according to the page ID and module ID, module Content and other module information, identify the dialogue scene corresponding to the module where the user is located.
S12、根据所述模块信息,识别所述线上操作所对应的对话场景。S12. Identify the dialogue scene corresponding to the online operation according to the module information.
具体地,可以根据所述线上操作所对应的页面信息及模块信息,识别所述线上操作所对应的对话场景。获取到用户线上操作所在的页面信息及模块信息后,例如,获取到所述页面ID及模块ID后,由于页面信息及模块信息与对话场景存在预设对应关系,根据所述页面信 息及模块信息,即可识别所述线上操作所对应的对话场景。例如,在保险销售的网页页面中,针对一款保险产品,会存在利益演示场景、投被保人信息填写场景、保障详情场景等场景,上述每一个场景均由页面中的一个单独模块进行显示,每个模块会对应有页面ID及页面上的模块ID等,每个模块所对应的页面信息及模块信息与该模块所对应的场景是存在预设对应关系的,根据所述页面信息及模块信息,即可得到该模块所对应的场景,该场景为利益演示场景、投被保人信息填写场景或者保障详情场景等,进而根据该模块所对应的场景确定对话所对应的对话场景。在一示例中,如下表格1所示,每个场景对应有预先设置的页面信息:Specifically, the dialogue scene corresponding to the online operation can be identified according to the page information and module information corresponding to the online operation. After obtaining the page information and module information where the user operates online, for example, after obtaining the page ID and module ID, since the page information and module information have a preset corresponding relationship with the dialogue scene, according to the page information and module information information, the dialogue scene corresponding to the online operation can be identified. For example, on the insurance sales webpage, for an insurance product, there will be scenarios such as benefit demonstration scenarios, scenarios of filling in the insured information, scenarios of insurance details, etc. Each of the above scenarios is displayed by a separate module on the page. , each module will correspond to a page ID and a module ID on the page, etc. There is a preset correspondence between the page information and module information corresponding to each module and the scene corresponding to the module. According to the page information and module Information, you can get the scene corresponding to the module, the scene is the benefit demonstration scene, the insured person information filling scene or the guarantee details scene, etc., and then determine the dialogue scene corresponding to the dialogue according to the scene corresponding to the module. In an example, as shown in Table 1 below, each scene corresponds to preset page information:
表格1Table 1
Figure PCTCN2021091277-appb-000001
Figure PCTCN2021091277-appb-000001
S13、基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。S13 . Based on the dialogue scene, obtain a preset dialogue corresponding to the dialogue scene, and push the dialogue according to the preset dialogue.
具体地,针对每一场景,所述场景即为相应的对话所在的对话场景,根据该场景所关联的主题及内容,设置与所述场景对应的预设话术,根据所述场景与所述预设话术之间的映射关系,在识别所述线上操作所对应的场景后,调取与所述场景所关联的预设话术,可以根据话术标签去召回最适合此场景的话术,例如,基于语义和热门程度等特征召回最适合此场景的话术,并根据所述预设话术推送对话,从而实现基于场景的推荐话术,针对不同页面所对应的不同场景,话术也各自不同,达到话术与场景的准确对应,从而提高对话的准确性和沟通的效率。Specifically, for each scene, the scene is the dialogue scene in which the corresponding dialogue is located. According to the theme and content associated with the scene, a preset vocabulary corresponding to the scene is set. The mapping relationship between the preset words, after identifying the scene corresponding to the online operation, the preset words associated with the scene are called, and the most suitable words for this scene can be recalled according to the words tags , for example, based on features such as semantics and popularity, the most suitable words are recalled for this scene, and the dialogue is pushed according to the preset words, so as to realize the recommended words based on the scene. For different scenarios corresponding to different pages, the words are also Different from each other, to achieve the accurate correspondence between the words and the scene, so as to improve the accuracy of the dialogue and the efficiency of communication.
在本申请实施例中,通过响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,根据所述模块信息,识别所述线上操作所对应的对话场景,基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话,由于识别了用户所处模块所对应的对话场景,将用户所处的模块场景作为对话场景所对应话术推送的重要参数,根据识别到的对话场景,建立起对话场景与话术之间的映射关系,根据话术标签去召回最适合此场景的话术,实现不同场景,话术也各自不同的目的,相比传统技术中,没有将用户进入机器人的具体场景作为一个参数,造成用户从不同保险产品页面、页面的不同位置(例如填写投保人信息模块及保障详情模块,用户想问的问题可能不同)进入机器人时,看到的预测问题(机器人“猜你想问”)是没有区别的,本申请实施例提高了对话的准确性和会话沟通的效率。In the embodiment of the present application, by responding to the online operation of the user, the module information contained in the page module corresponding to the online operation is obtained, and the dialogue scene corresponding to the online operation is identified according to the module information, Based on the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and the dialogue is pushed according to the preset dialogue. Since the dialogue scene corresponding to the module where the user is located is identified, the module where the user is located is The scene is an important parameter for the push of the words corresponding to the dialogue scene. According to the recognized dialogue scene, the mapping relationship between the dialogue scene and the words is established, and the words that are most suitable for this scene are recalled according to the label of the words, so as to realize different scenarios. The words have different purposes. Compared with the traditional technology, the specific scene of the user entering the robot is not used as a parameter, which causes the user to enter different insurance product pages and different positions on the page (such as filling in the insurance applicant information module and insurance details module, etc.) The questions the user wants to ask may be different) when entering the robot, the predicted questions (the robot "guess what you want to ask") are not different. The embodiment of the present application improves the accuracy of the dialogue and the efficiency of conversational communication.
进一步地,请参阅表格2,还可以针对同一场景设置具备预设优先级的不同话术,该优先级可以根据具体业务的业务逻辑的先后顺序进行设置,并根据话术所对应的预设优先级及与用户进行沟通规划,按照话术所对应的预设优先级由高到低的顺序进行推送。Further, referring to Table 2, it is also possible to set different speeches with preset priorities for the same scene. The priorities can be set according to the order of business logic of specific services, and the preset priority corresponding to the speeches can be set. Ranking and communication planning with users, and push them in descending order of the preset priorities corresponding to the words.
表格2Form 2
Figure PCTCN2021091277-appb-000002
Figure PCTCN2021091277-appb-000002
Figure PCTCN2021091277-appb-000003
Figure PCTCN2021091277-appb-000003
请参阅图2,图2为本申请实施例提供的线上自助对话方法的第一个子流程示意图。在该实施例中,所述模块信息包括模块内容,所述模块内容包括文字、图片、语音及表格等内容,所述响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息的步骤包括:Please refer to FIG. 2 , which is a schematic diagram of a first sub-flow of the online self-service dialogue method provided by the embodiment of the present application. In this embodiment, the module information includes module content, and the module content includes content such as text, pictures, voice, and forms. In response to the user's online operation, the information of the page module corresponding to the online operation is obtained. The steps to include module information include:
S21、检测所述线上操作的滑动轨迹;S22、识别所述滑动轨迹当前停留的目标位置;S23、根据所述目标位置,识别所述目标位置所属的目标页面区域;S24、根据所述目标页面区域,获取所述目标页面区域所属的模块ID;S25、根据所述模块ID,获取所述模块ID所对应的模块内容。S21, detect the sliding track of the online operation; S22, identify the target position where the sliding track currently stays; S23, identify the target page area to which the target position belongs according to the target position; S24, according to the target Page area, obtain the module ID to which the target page area belongs; S25 , obtain the module content corresponding to the module ID according to the module ID.
其中,所述线上操作可以为鼠标的滑动轨迹,也可以为智能设备上的手势操作的滑动轨迹。Wherein, the online operation may be the sliding track of the mouse, or may be the sliding track of the gesture operation on the smart device.
具体地,当用户在页面上进行线上操作时,可以通过对用户所在页面的具体区域做监听以检测所述线上操作的滑动轨迹,并识别所述滑动轨迹当前停留的目标位置,根据所述目标位置,识别所述目标位置所属的目标页面区域,根据所述目标页面区域,获取所述目标页面区域所属的模块ID,根据所述模块ID,基于预设的模块ID与模块内容之间的关联关系,即可获取所述模块ID所对应的模块内容,从而响应于用户线上操作,获取所述线上操作所对应页面模块所包含的模块信息。Specifically, when a user performs an online operation on a page, the user can monitor the specific area of the page where the user is located to detect the sliding trajectory of the online operation, and identify the current target position of the sliding trajectory. the target position, identify the target page area to which the target position belongs, obtain the module ID to which the target page area belongs according to the target page area, and according to the module ID, based on the preset module ID and the module content The association relationship can be obtained, the module content corresponding to the module ID can be obtained, and the module information contained in the page module corresponding to the online operation can be obtained in response to the user's online operation.
请参阅图3,图3为本申请实施例提供的线上自助对话方法的第二个子流程示意图。在该实施例中,所述根据所述目标位置,识别所述目标位置所属的目标页面区域的步骤包括:S31、根据所述目标位置,识别所述目标位置所属的目标页面;S32、根据所述目标页面,确定所述目标位置所属的所述目标页面中所包含的目标模块;S33、将所述目标模块作为目标页面区域。Please refer to FIG. 3 , which is a schematic diagram of a second sub-flow of the online self-help dialogue method provided by the embodiment of the present application. In this embodiment, the step of identifying the target page area to which the target position belongs according to the target position includes: S31, according to the target position, identifying the target page to which the target position belongs; S32, according to the target position The target page is determined, and the target module included in the target page to which the target location belongs is determined; S33, the target module is used as a target page area.
具体地,针对同一网页页面包含不同模块以对应不同场景的情况,可以通过不同的模块来描述不同的场景,在所述根据所述目标位置,识别所述目标位置所属的目标页面区域时,首先根据所述目标位置,识别所述目标位置所属的目标页面,再根据所述目标页面,确定所述目标位置所属的所述目标页面中所包含的目标模块,将所述目标模块作为目标页面区域。例如,在保险销售的网页页面,对于在售的所有保险产品,在用户进入页面后,进入机器人对话界面前,页面前端就把用户所在页面对应的产品ID以及页面位置所对应的模块(例如利益演示场景所对应的模块、投被保人信息填写场景所对应的模块或者保障详情场景所对应的模块等)以参数形式发给机器人后台,以使机器人后台能识别到用户所在模块的具体场景,从而精确的识别出用户所在的场景,从而根据场景提供准确的话术。Specifically, for the situation that the same webpage contains different modules to correspond to different scenarios, different scenarios can be described by different modules. When identifying the target page area to which the target position belongs according to the target position, first According to the target position, identify the target page to which the target position belongs, and then according to the target page, determine the target module included in the target page to which the target position belongs, and use the target module as the target page area . For example, on the insurance sales web page, for all insurance products on sale, after the user enters the page and before entering the robot dialogue interface, the front end of the page will put the product ID corresponding to the user's page and the module corresponding to the page location (such as benefits The module corresponding to the demo scene, the module corresponding to the scene where the insured information is filled in, or the module corresponding to the guarantee details scene, etc.) are sent to the robot backend in the form of parameters, so that the robot backend can identify the specific scene of the module where the user is located. Thus, the scene where the user is located can be accurately identified, thereby providing accurate words according to the scene.
请参阅图4,图4为本申请实施例提供的线上自助对话方法的第三个子流程示意图。在该实施例中,所述根据所述目标位置,识别所述目标位置所属的目标页面的步骤包括:S41、获取预设页面与所述预设页面所对应的预设页面位置范围之间的对应关系;S42、根据所述目标位置,判断所述目标位置是否包含于所述预设页面位置范围;S43、若所述目标位置包含于所述预设页面位置范围,判定所述预设页面为目标页面;S44、若所述目标位置不包含于所述预设页面位置范围,判定所述预设页面不为目标页面。Please refer to FIG. 4 , which is a schematic diagram of a third sub-flow of the online self-service dialogue method provided by the embodiment of the present application. In this embodiment, the step of recognizing the target page to which the target position belongs according to the target position includes: S41 , obtaining a distance between a preset page and a preset page position range corresponding to the preset page. S42, according to the target position, determine whether the target position is included in the preset page position range; S43, if the target position is included in the preset page position range, determine the preset page is a target page; S44, if the target position is not included in the preset page position range, determine that the preset page is not a target page.
具体地,将每个页面预先设置对应的预设页面位置范围,即什么位置属于哪个页面,获取到所述目标位置后,获取预设页面与所述预设页面所对应的预设页面位置范围之间的对应关系,根据所述目标位置,判断所述目标位置是否包含于所述预设页面位置范围,若所述目标位置包含于所述预设页面位置范围,判定所述预设页面为目标页面,若所述目标位置不包含于所述预设页面位置范围,判定所述预设页面不为目标页面,直至识别出所述目标位置所 对应的目标页面。Specifically, preset a corresponding preset page position range for each page, that is, which page belongs to which position, and after obtaining the target position, obtain the preset page and the preset page position range corresponding to the preset page According to the target position, it is determined whether the target position is included in the preset page position range, and if the target position is included in the preset page position range, it is determined that the preset page is Target page, if the target position is not included in the preset page position range, it is determined that the preset page is not a target page until the target page corresponding to the target position is identified.
请参阅图5,图5为本申请实施例提供的线上自助对话方法的第四个子流程示意图。在该实施例中,所述根据所述模块ID,获取所述模块ID所对应的模块内容的步骤包括:S51、根据所述模块ID,获取所述模块ID所对应的文本;S52、对所述文本进行命名实体识别,以识别所述文本中所包含的命名实体。Please refer to FIG. 5 , which is a schematic diagram of a fourth sub-flow of the online self-help dialogue method provided by the embodiment of the present application. In this embodiment, the step of obtaining the module content corresponding to the module ID according to the module ID includes: S51. Obtaining the text corresponding to the module ID according to the module ID; S52. Named entity recognition is performed on the text to identify the named entities contained in the text.
其中,命名实体识别(英文为Named Entity Recognition,简称NER),又称作“专名识别”,是指识别文本中具有特定意义的实体,主要包括人名、地名、机构名、专有名词等。Among them, Named Entity Recognition (English for Named Entity Recognition, NER for short), also known as "proper name recognition", refers to the identification of entities with specific meanings in the text, mainly including names of persons, places, institutions, proper nouns, etc.
具体地,确定目标页面后,根据所述目标页面,确定用户所在的模块,并获取所述模块所对应的模块ID,根据所述模块ID,基于所述模块ID与模块内容之间的映射关系,获取所述模块ID所对应的文本,并对所述文本进行命名实体识别,以识别所述文本中所包含的命名实体,然后根据所述命名实体,识别所述目标页面所对应的场景(即对话场景),再基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话。Specifically, after the target page is determined, the module where the user is located is determined according to the target page, and the module ID corresponding to the module is obtained, and according to the module ID, based on the mapping relationship between the module ID and the module content , obtain the text corresponding to the module ID, and perform named entity recognition on the text to identify the named entity contained in the text, and then identify the scene corresponding to the target page according to the named entity ( That is, the dialogue scene), and then based on the scene, obtain a preset speech corresponding to the scene, and push the dialogue according to the preset speech.
进一步地,所述根据所述模块信息,识别所述线上操作所对应的对话场景的步骤包括:根据所述命名实体,筛选出与所述页面模块所对应的主题相匹配的目标命名实体;根据所述目标命名实体,确定所述页面模块所对应的对话场景,从而识别所述线上操作所对应的对话场景。Further, the step of identifying the dialogue scene corresponding to the online operation according to the module information includes: according to the named entity, filtering out a target named entity that matches the theme corresponding to the page module; According to the target named entity, the dialogue scene corresponding to the page module is determined, so as to identify the dialogue scene corresponding to the online operation.
具体地,获取到用户所在模块的模块ID后,该模块ID所对应的模块为用户所在的目标模块,再获取到目标模块中的多个命名实体,还可以再获取所述目标模块的主题,根据所述命名实体,筛选出与所述页面模块所对应的主题相匹配的目标命名实体,根据所述目标命名实体,确定所述页面模块所对应的会话场景,从而识别所述线上操作所对应的对话场景。例如,对于用户所在页面的具体页面模块所对应的区域做监听,并对页面模块做命名实体识别,识别其中的命名实体,获取用户最感兴趣的部分,根据协同推荐原理预测用户最有可能的提出的问题,或者推荐用户最感兴趣的问题。其中,协同推荐,又可以称为协同过滤,是利用某兴趣相投、拥有共同经验之群体的喜好来推荐用户感兴趣的信息,个人通过合作的机制给予信息相当程度的回应(如评分)并记录下来以达到过滤的目的进而帮助别人筛选信息,回应不一定局限于特别感兴趣的,特别不感兴趣信息的纪录也相当重要。Specifically, after obtaining the module ID of the module where the user is located, the module corresponding to the module ID is the target module where the user is located, then multiple named entities in the target module are obtained, and the subject of the target module can also be obtained, According to the named entity, a target named entity matching the theme corresponding to the page module is filtered out, and according to the target named entity, the session scene corresponding to the page module is determined, thereby identifying the online operation site. the corresponding dialogue scene. For example, monitor the area corresponding to the specific page module of the page where the user is located, identify the named entity on the page module, identify the named entity, obtain the part that the user is most interested in, and predict the most likely user based on the principle of collaborative recommendation. Ask questions, or recommend questions that users are most interested in. Among them, collaborative recommendation, also known as collaborative filtering, is to use the preferences of a group with similar interests and common experience to recommend information that users are interested in. Individuals respond to the information to a considerable extent (such as ratings) through a cooperative mechanism and record it. To achieve the purpose of filtering and help others filter information, the response is not necessarily limited to those of particular interest, and the record of information of particular interest is also very important.
请参阅图6,图6为本申请实施例提供的线上自助对话方法的第五个子流程示意图。在该实施例中,在所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤之前,还包括:S61、统计所述滑动轨迹在所述目标位置的停留时间;S62、判断所述停留时间是否大于或者等于预设时间阈值;S63、若所述停留时间大于或者等于预设时间阈值,执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤;S64、若所述停留时间小于预设时间阈值,不执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤,可以进一步统计所述滑动轨迹在所述目标位置的停留时间,直至所述停留时间大于或者等于预设时间阈值,或者用户离开所述目标位置。Please refer to FIG. 6 , which is a schematic diagram of a fifth sub-flow of the online self-service dialogue method provided by the embodiment of the present application. In this embodiment, before the step of acquiring a preset speech corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset speech, the method further includes: S61. S62, determine whether the dwell time is greater than or equal to a preset time threshold; S63, if the dwell time is greater than or equal to a preset time threshold, execute the based on the scene , obtain the preset speech technique corresponding to the scene, and push the dialogue according to the preset speech technique; S64, if the stay time is less than the preset time threshold, do not perform the step of obtaining the scenario based on the The preset language corresponding to the scene, and the step of pushing the dialogue according to the preset language, can further count the stay time of the sliding track at the target position, until the stay time is greater than or equal to the preset time. A time threshold is set, or the user leaves the target location.
具体地,不但可以等用户点击会话界面时,基于用户所在模块所对应的对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话至用户,还可以主动推送所述对话场景所对应的预设话术至用户,以通过主动推送话术的方式帮助用户了解该网页模块所对应的内容,可以在用户在该目标位置停留的时间超过预设时间阈值时,判断用户对该目标位置的网页内容感兴趣,此时,介入用户对该页面内容的了解,基于所述场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话,可以通过统计所述滑动轨迹在所述目标位置的停留时间,判断该用户在该目标位置的停留时间,判断所述停留时间是否大于或者等于预设时间阈值,若所述停留时间大于或者等于预设时间阈值,执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤,若所述停留时间小于预设时间阈值,不执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤,可以进一步统计所述滑动轨迹在所述目标位置的 停留时间,直至所述停留时间大于或者等于预设时间阈值,或者用户离开所述目标位置。例如,在通过网页上的智能机器人提供自助服务时,可以通过主动冒泡的方式提示用户可以获取帮助,以便不仅在用户点击机器人后可以看到基于场景的推荐,而且用户在页面的某一网页或者网页中的某一模块停留一定时间时,触发冒泡主动引导客户,以免用户对页面某一部分有兴趣,但又怀疑机器人是否能理解自己的问题,而不去主动提问,可以解决在用户对提问机器人往往还是有一些心理门槛的时候,在洞察用户最有可能问的问题后,主动冒泡提示,会有更大可能性命中用户此时的疑惑,降低心理门槛,引导用户在遇到疑问时找机器人咨询,提高自助对话的服务效率。Specifically, when the user clicks on the conversation interface, based on the dialogue scene corresponding to the module where the user is located, the preset dialogue scene corresponding to the dialogue scene can be obtained, and the dialogue can be pushed to the user according to the preset dialogue method. It can actively push the preset speech corresponding to the dialogue scene to the user, so as to help the user to understand the content corresponding to the webpage module by actively pushing the speech, and the user can stay at the target location for more than the preset time. When the threshold is reached, it is judged that the user is interested in the content of the webpage at the target location. At this time, the user is involved in the understanding of the content of the page, and based on the scene, the preset words corresponding to the dialogue scene are obtained, and according to the The preset conversation pushes the dialogue, and the user's stay time at the target position can be determined by counting the stay time of the sliding track at the target position, and whether the stay time is greater than or equal to the preset time threshold, if the The stay time is greater than or equal to a preset time threshold, and the step of obtaining a preset speech corresponding to the scene based on the scene, and pushing a dialogue according to the preset speech, if the stay time If less than the preset time threshold, the step of obtaining the preset speech corresponding to the scene based on the scene, and pushing the dialogue according to the preset speech is not performed, and the sliding track can be further counted at the location. The stay time at the target position is determined until the stay time is greater than or equal to a preset time threshold, or the user leaves the target position. For example, when self-service is provided through an intelligent robot on a webpage, the user can be prompted to get help through active bubbling, so that not only can the user see scenario-based recommendations after clicking the robot, but also the user can click on a certain webpage on the page. Or when a module in the webpage stays for a certain period of time, it triggers bubbling to actively guide the customer, so that the user is not interested in a certain part of the page, but doubts whether the robot can understand its own problem, and does not ask questions actively, which can solve the problem when the user is not interested in a certain part of the page. When the questioning robot still has some psychological thresholds, after gaining insight into the most likely questions of users, it will take the initiative to bubble up prompts, which will be more likely to hit the users’ doubts at this time, lower the psychological threshold, and guide users when they encounter doubts. Looking for robot consultation from time to time to improve the service efficiency of self-service dialogue.
进一步地,在一实施例中,所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤包括:基于所述对话场景,获取与所述对话场景所对应的预设问题选项,并将所述预设问题选项推送至用户,以供用户进行选择从而进行对话。Further, in an embodiment, the step of acquiring a preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset dialogue includes: based on the dialogue scene , obtain the preset question options corresponding to the dialogue scene, and push the preset question options to the user for the user to select and conduct a dialogue.
具体地,可以结合场景去预测在该场景中,用户最有可能问的问题,或者用户想了解的内容所对应的问题,提前展示给用户,用户只需点击就可看到答案,减少了用户自己输入的线上操作,体验上更加智能,提高了对话的准确性和对话的效率,相比传统技术中,除非用户主动点击机器人,否则用户不知道机器人能解决什么样的问题,缺乏主动引导,只能被动应对的自助对话方式,本申请实施例能够通过主动引导,提高自助对话的服务效率。Specifically, it can be combined with the scene to predict the question that the user is most likely to ask in the scene, or the question corresponding to the content the user wants to know, and show it to the user in advance, and the user can see the answer just by clicking, reducing the number of users The online operation entered by oneself is more intelligent in experience, and improves the accuracy and efficiency of dialogue. Compared with traditional technology, unless the user actively clicks on the robot, the user does not know what kind of problem the robot can solve, and lacks active guidance. , a self-service dialogue mode that can only be handled passively, the embodiment of the present application can improve the service efficiency of self-service dialogue through active guidance.
进一步地,在所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤之前,还包括:接收用户输入的对话信息;判断所述对话信息是否清楚;若所述对话信息不清楚,基于所述对话场景,预测所述对话信息所对应的完整对话信息,并根据所述完整对话信息,执行所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤。Further, before the step of acquiring a preset speech technique corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset speech technique, the method further includes: receiving dialogue information input by a user; Determine whether the dialogue information is clear; if the dialogue information is unclear, predict the complete dialogue information corresponding to the dialogue information based on the dialogue scene, and execute the based on the dialogue scene according to the complete dialogue information , obtain the preset speech technique corresponding to the dialogue scene, and push the dialogue steps according to the preset speech technique.
具体地,由于用户使用语言习惯表达的差异,不可能所有的用户都采用统一的标准语言进行对话,需要涵盖所有的语言表述的情形,以提供针对全方位的用户提供尽可能准确的服务,可以在接收用户输入的对话信息后,该对话信息可以为文字信息,也可以为语音信息,若为语音信息,需要将语音信息通过语音识别转换为文字信息,然后对文字信息进行下述判断,然后判断所述对话信息是否清楚和完整,即判断是否能够明白用户的信息所描述的意图,若对话信息清楚和完整,直接根据用户的对话信息,基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话,若所述对话信息不清楚,基于所述对话场景,预测所述对话信息所对应的完整对话信息,以将用户的对话信息补充完整,并根据所述完整对话信息,执行所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤,从而在更大的概率上更准确的理解用户,通过主动预测用户的对话信息意图,能够提高自助对话的服务效率。例如,在一个保险产品的展示页面,可以通过零指代自动补全实体的方式了解用户的意图,由于已经知道用户场景,当用户提出一个指代不明的问题,例如“这个能保什么“,机器人可以根据用户所在页面所对应的具体场景,自动补齐用户询问的是哪个产品可以保什么这样的对话意图,例如用户在A险种的页面,则补齐用户问的是”A险种能保什么,从而提高会话中应答准确率,提高自助对话的服务效率。本申请实施例中能够通过基于对话场景的主动洞察和实体自动补全,使机器人更容易理解用户的输入和意图,提高机器人的应答准确率,用户使用体验更优,相比传统技术中,基于自助对话的被动应答方式,由于缺乏对用户的引导和实体补全,而实际来提问的用户在问法上会比较开放,且会省略主语等,只能根据用户的实际提问内容进行被动对话,造成机器人识别率偏低,降低了自助对话的效率,影响用户体验,本申请实施例能够提高自助对话的服务效率,提升用户的体验。Specifically, due to differences in user language habits, it is impossible for all users to use a unified standard language for dialogue. It is necessary to cover all language expressions in order to provide the most accurate service possible for a full range of users. After receiving the dialogue information input by the user, the dialogue information can be text information or voice information. If it is voice information, the voice information needs to be converted into text information through voice recognition, and then the text information is judged as follows, and then Determine whether the dialogue information is clear and complete, that is, determine whether the intention described by the user's information can be understood. If the dialogue information is clear and complete, directly according to the user's dialogue information and based on the dialogue scene, obtain the information related to the dialogue scene. Corresponding preset words, and push the dialogue according to the preset words, if the dialogue information is unclear, based on the dialogue scene, predict the complete dialogue information corresponding to the dialogue information, so as to convert the user's dialogue information. complete, and according to the complete dialogue information, perform the steps of obtaining the preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset dialogue, so as to update the dialogue scene. It is possible to understand users more accurately with a large probability, and by actively predicting the user's dialogue information intentions, it can improve the service efficiency of self-service dialogues. For example, on the display page of an insurance product, you can understand the user's intention by referring to the auto-completion entity. Since the user scenario is already known, when the user asks a question with an unclear reference, such as "What can this be insured?", The robot can automatically fill in the dialogue intention that the user asks which product can be insured according to the specific scene corresponding to the page the user is on. , so as to improve the response accuracy rate in the conversation and improve the service efficiency of self-service dialogue. In the embodiment of the present application, the active insight and entity automatic completion based on the dialogue scene can make the robot easier to understand the user's input and intention, and improve the robot's response. Accuracy and better user experience. Compared with the passive response method based on self-service dialogue in traditional technologies, due to the lack of user guidance and entity completion, users who actually come to ask questions will be more open in questioning and will By omitting the subject, etc., only passive dialogue can be conducted according to the actual question content of the user, resulting in a low recognition rate of the robot, reducing the efficiency of self-service dialogue, and affecting user experience. The embodiment of the present application can improve the service efficiency of self-service dialogue and improve user experience. .
需要说明的是,上述各个实施例所述的线上自助对话方法,可以根据需要将不同实施例中包含的技术特征重新进行组合,以获取组合后的实施方案,但都在本申请要求的保护范围之内。It should be noted that, for the online self-service dialogue methods described in the above-mentioned embodiments, the technical features contained in different embodiments can be recombined as required to obtain a combined implementation scheme, but all of them are protected by the protection required by this application. within the range.
请参阅图7,图7为本申请实施例提供的线上自助对话装置的一个示意性框图。对应于上述所述线上自助对话方法,本申请实施例还提供一种线上自助对话装置。如图7所示,该线上自助对话装置包括用于执行上述所述线上自助对话方法的单元,该线上自助对话装置可以被配置于计算机设备中。具体地,请参阅图7,该线上自助对话装置70包括获取单元71、识别单元72及推送单元73。Please refer to FIG. 7 , FIG. 7 is a schematic block diagram of an online self-service dialogue apparatus provided by an embodiment of the present application. Corresponding to the above-mentioned online self-help dialogue method, an embodiment of the present application further provides an online self-help dialogue device. As shown in FIG. 7 , the online self-service dialogue apparatus includes a unit for executing the above-mentioned online self-service dialogue method, and the online self-service dialogue apparatus can be configured in a computer device. Specifically, please refer to FIG. 7 , the online self-service dialogue device 70 includes an acquisition unit 71 , an identification unit 72 and a push unit 73 .
其中,获取单元71,用于响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块;识别单元72,用于根据所述模块信息,识别所述线上操作所对应的对话场景;推送单元73,用于基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。Wherein, the obtaining unit 71 is configured to, in response to the online operation of the user, obtain the module information contained in the page module corresponding to the online operation, where the page module is one of the multiple page modules on the online operation page that the user owns. The selected page module; the identification unit 72 is used to identify the dialogue scene corresponding to the online operation according to the module information; the push unit 73 is used to obtain the dialogue scene corresponding to the dialogue scene based on the Preset speeches, and push dialogues according to the preset speeches.
在一实施例中,所述获取单元71包括:检测子单元,用于检测所述线上操作的滑动轨迹;第一识别子单元,用于识别所述滑动轨迹当前停留的目标位置;In one embodiment, the acquisition unit 71 includes: a detection subunit for detecting the sliding track of the online operation; a first identification subunit for identifying the target position where the sliding track currently stays;
第二识别子单元,用于根据所述目标位置,识别所述目标位置所属的目标页面区域;第一获取子单元,用于根据所述目标页面区域,获取所述目标页面区域所属的模块ID;第二获取子单元,用于根据所述模块ID,获取所述模块ID所对应的模块内容。The second identification subunit is used to identify the target page area to which the target position belongs according to the target position; the first acquisition subunit is used to obtain the module ID to which the target page area belongs according to the target page area ; The second obtaining subunit is used for obtaining the module content corresponding to the module ID according to the module ID.
在一实施例中,所述第二识别子单元包括:第三识别子单元,用于根据所述目标位置,识别所述目标位置所属的目标页面;第一确定子单元,用于根据所述目标页面,确定所述目标位置所属的所述目标页面中所包含的目标模块;第二确定子单元,用于将所述目标模块作为目标页面区域。In one embodiment, the second identification subunit includes: a third identification subunit for identifying the target page to which the target position belongs according to the target position; and a first determination subunit for identifying the target page to which the target position belongs according to the target position; The target page is used to determine the target module included in the target page to which the target location belongs; the second determination subunit is used to use the target module as a target page area.
在一实施例中,所述第三识别子单元包括:第三获取子单元,用于获取预设页面与所述预设页面所对应的预设页面位置范围之间的对应关系;判断子单元,用于根据所述目标位置,判断所述目标位置是否包含于所述预设页面位置范围;判定子单元,用于若所述目标位置包含于所述预设页面位置范围,判定所述预设页面为目标页面。In one embodiment, the third identifying subunit includes: a third obtaining subunit, configured to obtain a correspondence between a preset page and a preset page position range corresponding to the preset page; a judging subunit , for determining whether the target position is included in the preset page position range according to the target position; the determination subunit is used for determining whether the target position is included in the preset page position range if the target position is included in the preset page position range. Let the page be the target page.
在一实施例中,所述第二获取子单元包括:第四获取子单元,用于根据所述模块ID,获取所述模块ID所对应的文本;分子子单元,用于对所述文本进行命名实体识别,以识别所述文本中所包含的命名实体。In one embodiment, the second obtaining subunit includes: a fourth obtaining subunit, used for obtaining the text corresponding to the module ID according to the module ID; Named entity recognition to identify named entities contained in the text.
在一实施例中,所述线上自助对话装置70还包括:统计单元,用于统计所述滑动轨迹在所述目标位置的停留时间;判断单元,用于判断所述停留时间是否大于或者等于预设时间阈值;执行单元,用于若所述停留时间大于或者等于预设时间阈值,执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤。In one embodiment, the online self-service dialogue device 70 further includes: a statistics unit for counting the stay time of the sliding track at the target position; a judgment unit for judging whether the stay time is greater than or equal to a preset time threshold; an execution unit, configured to execute the based on the scene, obtain the preset speech corresponding to the scene if the stay time is greater than or equal to the preset time threshold, and according to the preset Steps to push conversations with words.
在一实施例中,所述推送单元73,具体用于基于所述对话场景,获取与所述对话场景所对应的预设问题选项,并将所述预设问题选项推送至用户,以供用户进行选择从而进行对话。In one embodiment, the pushing unit 73 is specifically configured to obtain preset question options corresponding to the dialog scene based on the dialog scene, and push the preset question options to the user for the user to use. Make a selection to have a conversation.
需要说明的是,所属领域的技术人员可以清楚地了解到,上述线上自助对话装置和各单元的具体实现过程,可以参考前述方法实施例中的相应描述,为了描述的方便和简洁,在此不再赘述。It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned online self-service dialogue device and each unit may refer to the corresponding descriptions in the foregoing method embodiments. For the convenience and brevity of description, here No longer.
同时,上述线上自助对话装置中各个单元的划分和连接方式仅用于举例说明,在其他实施例中,可将线上自助对话装置按照需要划分为不同的单元,也可将线上自助对话装置中各单元采取不同的连接顺序和方式,以完成上述线上自助对话装置的全部或部分功能。At the same time, the division and connection methods of each unit in the above-mentioned online self-service dialogue device are only used for illustration. Each unit in the device adopts different connection sequences and methods to complete all or part of the functions of the above-mentioned online self-service dialogue device.
上述线上自助对话装置可以实现为一种计算机程序的形式,该计算机程序可以在如图8所示的计算机设备上运行。The above-mentioned online self-service dialogue apparatus can be implemented in the form of a computer program, and the computer program can be executed on a computer device as shown in FIG. 8 .
请参阅图8,图8是本申请实施例提供的一种计算机设备的示意性框图。该计算机设备500可以是台式机电脑或者服务器等计算机设备,也可以是其他设备中的组件或者部件。Please refer to FIG. 8 , which is a schematic block diagram of a computer device provided by an embodiment of the present application. The computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or component in other devices.
参阅图8,该计算机设备500包括通过系统总线501连接的处理器502、存储器和网络接口505,其中,存储器可以包括非易失性存储介质503和内存储器504,存储器也可以为易失性计算机可读存储介质。8, the computer device 500 includes a processor 502, a memory and a network interface 505 connected through a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be a volatile computer Readable storage medium.
该非易失性存储介质503可存储操作系统5031和计算机程序5032。该计算机程序5032 被执行时,可使得处理器502执行一种上述线上自助对话方法。The nonvolatile storage medium 503 can store an operating system 5031 and a computer program 5032 . When executed, the computer program 5032 can cause the processor 502 to execute an online self-help dialogue method described above.
该处理器502用于提供计算和控制能力,以支撑整个计算机设备500的运行。The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
该内存储器504为非易失性存储介质503中的计算机程序5032的运行提供环境,该计算机程序5032被处理器502执行时,可使得处理器502执行一种上述线上自助对话方法。The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an online self-help dialogue method.
该网络接口505用于与其它设备进行网络通信。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备500的限定,具体的计算机设备500可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。例如,在一些实施例中,计算机设备可以仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图8所示实施例一致,在此不再赘述。The network interface 505 is used for network communication with other devices. Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than shown, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are the same as those of the embodiment shown in FIG. 8 , which will not be repeated here.
其中,所述处理器502用于运行存储在存储器中的计算机程序5032,以实现本申请实施例所描述的线上自助对话方法。The processor 502 is configured to run the computer program 5032 stored in the memory, so as to implement the online self-help dialogue method described in the embodiments of the present application.
应当理解,在本申请实施例中,处理器502可以是中央处理单元(Central Processing Unit,CPU),该处理器502还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor or the like.
本领域普通技术人员可以理解的是实现上述实施例的方法中的全部或部分流程,是可以通过计算机程序来完成,该计算机程序可存储于一计算机可读存储介质。该计算机程序被该计算机系统中的至少一个处理器执行,以实现上述方法的实施例的流程步骤。It can be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program, and the computer program can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the above-described method embodiments.
因此,本申请还提供一种计算机可读存储介质。该计算机可读存储介质可以为非易失性的计算机可读存储介质,也可以为易失性计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时使处理器执行以上各实施例中所描述的所述线上自助对话方法的步骤。Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor The processor is caused to execute the steps of the online self-help dialogue method described in the above embodiments.
所述存储介质为实体的、非瞬时性的存储介质,例如可以是U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、磁碟或者光盘等各种可以存储计算机程序的实体存储介质。The storage medium is a physical, non-transitory storage medium, such as a U disk, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk and other physical storage that can store computer programs. medium.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
以上所述,仅为本申请的具体实施方式,但本申请明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present application, but the scope of protection disclosed in the present application is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions of the present application shall be included within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种线上自助对话方法,包括:An online self-help dialogue method, including:
    响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块;In response to the user's online operation, acquiring module information contained in a page module corresponding to the online operation, where the page module is a page module selected by the user among multiple page modules on the online operation page;
    根据所述模块信息,识别所述线上操作所对应的对话场景;Identifying the dialogue scene corresponding to the online operation according to the module information;
    基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。Based on the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and a dialogue is pushed according to the preset dialogue.
  2. 根据权利要求1所述线上自助对话方法,其中,所述响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息的步骤包括:The online self-help dialogue method according to claim 1, wherein the step of acquiring module information contained in a page module corresponding to the online operation in response to the online operation of the user comprises:
    检测所述线上操作的滑动轨迹;detecting the sliding trajectory of the online operation;
    识别所述滑动轨迹当前停留的目标位置;Identify the target position where the sliding track currently stays;
    根据所述目标位置,识别所述目标位置所属的目标页面区域;According to the target position, identify the target page area to which the target position belongs;
    根据所述目标页面区域,获取所述目标页面区域所属的模块ID;According to the target page area, obtain the module ID to which the target page area belongs;
    根据所述模块ID,获取所述模块ID所对应的模块内容。According to the module ID, the module content corresponding to the module ID is acquired.
  3. 根据权利要求2所述线上自助对话方法,其中,所述根据所述目标位置,识别所述目标位置所属的目标页面区域的步骤包括:The online self-help dialogue method according to claim 2, wherein the step of identifying the target page area to which the target position belongs according to the target position comprises:
    根据所述目标位置,识别所述目标位置所属的目标页面;According to the target position, identify the target page to which the target position belongs;
    根据所述目标页面,确定所述目标位置所属的所述目标页面中所包含的目标模块;According to the target page, determine the target module included in the target page to which the target location belongs;
    将所述目标模块作为目标页面区域。The target module is used as the target page area.
  4. 根据权利要求3所述线上自助对话方法,其中,所述根据所述目标位置,识别所述目标位置所属的目标页面的步骤包括:The online self-help dialogue method according to claim 3, wherein the step of identifying the target page to which the target position belongs according to the target position comprises:
    获取预设页面与所述预设页面所对应的预设页面位置范围之间的对应关系;obtaining the correspondence between the preset page and the preset page position range corresponding to the preset page;
    根据所述目标位置,判断所述目标位置是否包含于所述预设页面位置范围;According to the target position, determine whether the target position is included in the preset page position range;
    若所述目标位置包含于所述预设页面位置范围,判定所述预设页面为目标页面。If the target position is included in the preset page position range, it is determined that the preset page is a target page.
  5. 根据权利要求2所述线上自助对话方法,其中,所述根据所述模块ID,获取所述模块ID所对应的模块内容的步骤包括:The online self-help dialogue method according to claim 2, wherein the step of acquiring the module content corresponding to the module ID according to the module ID comprises:
    根据所述模块ID,获取所述模块ID所对应的文本;According to the module ID, obtain the text corresponding to the module ID;
    对所述文本进行命名实体识别,以识别所述文本中所包含的命名实体。Named entity recognition is performed on the text to identify named entities contained in the text.
  6. 根据权利要求5所述线上自助对话方法,其中,所述根据所述模块信息,识别所述线上操作所对应的对话场景的步骤包括:The online self-help dialogue method according to claim 5, wherein the step of identifying the dialogue scene corresponding to the online operation according to the module information comprises:
    根据所述命名实体,筛选出与所述页面模块所对应的主题相匹配的目标命名实体;According to the named entity, filter out the target named entity that matches the theme corresponding to the page module;
    根据所述目标命名实体,确定所述页面模块所对应的对话场景,从而识别所述线上操作所对应的对话场景。According to the target named entity, the dialogue scene corresponding to the page module is determined, so as to identify the dialogue scene corresponding to the online operation.
  7. 根据权利要求2所述线上自助对话方法,其中,在所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤之前,还包括:The online self-help dialogue method according to claim 2, wherein, before the step of acquiring a preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset dialogue ,Also includes:
    统计所述滑动轨迹在所述目标位置的停留时间;Counting the stay time of the sliding track at the target position;
    判断所述停留时间是否大于或者等于预设时间阈值;judging whether the stay time is greater than or equal to a preset time threshold;
    若所述停留时间大于或者等于预设时间阈值,执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤。If the stay time is greater than or equal to a preset time threshold, the step of acquiring a preset speech corresponding to the scene based on the scene, and pushing a dialogue according to the preset speech is performed.
  8. 根据权利要求1所述线上自助对话方法,其中,所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤包括:The online self-help dialogue method according to claim 1, wherein the step of acquiring a preset dialogue corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset dialogue comprises:
    基于所述对话场景,获取与所述对话场景所对应的预设问题选项,并将所述预设问题选项推送至用户,以供用户进行选择从而进行对话。Based on the dialogue scene, the preset question options corresponding to the dialogue scene are acquired, and the preset question options are pushed to the user for selection by the user to conduct a dialogue.
  9. 一种线上自助对话装置,包括:An online self-service dialogue device, comprising:
    获取单元,用于响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息;an obtaining unit, configured to obtain the module information contained in the page module corresponding to the online operation in response to the online operation of the user;
    识别单元,用于根据所述模块信息,识别所述线上操作所对应的对话场景;an identification unit, configured to identify the dialogue scene corresponding to the online operation according to the module information;
    推送单元,用于基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。and a pushing unit, configured to acquire a preset speech corresponding to the dialogue scene based on the dialogue scene, and push the dialogue according to the preset speech.
  10. 一种计算机设备,包括存储器以及与所述存储器相连的处理器;其中,所述存储器用于存储计算机程序;所述处理器用于运行所述计算机程序,以执行如下步骤:A computer device comprising a memory and a processor connected to the memory; wherein the memory is used to store a computer program; the processor is used to run the computer program to perform the following steps:
    响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块;In response to the user's online operation, acquiring module information contained in a page module corresponding to the online operation, where the page module is a page module selected by the user among multiple page modules on the online operation page;
    根据所述模块信息,识别所述线上操作所对应的对话场景;Identifying the dialogue scene corresponding to the online operation according to the module information;
    基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。Based on the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and a dialogue is pushed according to the preset dialogue.
  11. 根据权利要求10所述计算机设备,其中,所述响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息的步骤包括:The computer device according to claim 10, wherein the step of acquiring the module information contained in the page module corresponding to the online operation in response to the online operation of the user comprises:
    检测所述线上操作的滑动轨迹;detecting the sliding trajectory of the online operation;
    识别所述滑动轨迹当前停留的目标位置;Identify the target position where the sliding track currently stays;
    根据所述目标位置,识别所述目标位置所属的目标页面区域;According to the target position, identify the target page area to which the target position belongs;
    根据所述目标页面区域,获取所述目标页面区域所属的模块ID;According to the target page area, obtain the module ID to which the target page area belongs;
    根据所述模块ID,获取所述模块ID所对应的模块内容。According to the module ID, the module content corresponding to the module ID is acquired.
  12. 根据权利要求11所述计算机设备,其中,所述根据所述目标位置,识别所述目标位置所属的目标页面区域的步骤包括:The computer device according to claim 11, wherein the step of identifying the target page area to which the target position belongs according to the target position comprises:
    根据所述目标位置,识别所述目标位置所属的目标页面;According to the target position, identify the target page to which the target position belongs;
    根据所述目标页面,确定所述目标位置所属的所述目标页面中所包含的目标模块;According to the target page, determine the target module included in the target page to which the target location belongs;
    将所述目标模块作为目标页面区域。The target module is used as the target page area.
  13. 根据权利要求12所述计算机设备,其中,所述根据所述目标位置,识别所述目标位置所属的目标页面的步骤包括:The computer device according to claim 12, wherein the step of identifying the target page to which the target position belongs according to the target position comprises:
    获取预设页面与所述预设页面所对应的预设页面位置范围之间的对应关系;obtaining the correspondence between the preset page and the preset page position range corresponding to the preset page;
    根据所述目标位置,判断所述目标位置是否包含于所述预设页面位置范围;According to the target position, determine whether the target position is included in the preset page position range;
    若所述目标位置包含于所述预设页面位置范围,判定所述预设页面为目标页面。If the target position is included in the preset page position range, it is determined that the preset page is a target page.
  14. 根据权利要求11所述计算机设备,其中,所述根据所述模块ID,获取所述模块ID所对应的模块内容的步骤包括:The computer device according to claim 11, wherein the step of acquiring the module content corresponding to the module ID according to the module ID comprises:
    根据所述模块ID,获取所述模块ID所对应的文本;According to the module ID, obtain the text corresponding to the module ID;
    对所述文本进行命名实体识别,以识别所述文本中所包含的命名实体。Named entity recognition is performed on the text to identify named entities contained in the text.
  15. 根据权利要求14所述计算机设备,其中,所述根据所述模块信息,识别所述线上操作所对应的对话场景的步骤包括:The computer device according to claim 14, wherein the step of identifying the dialogue scene corresponding to the online operation according to the module information comprises:
    根据所述命名实体,筛选出与所述页面模块所对应的主题相匹配的目标命名实体;According to the named entity, filter out the target named entity that matches the theme corresponding to the page module;
    根据所述目标命名实体,确定所述页面模块所对应的对话场景,从而识别所述线上操作所对应的对话场景。According to the target named entity, the dialog scene corresponding to the page module is determined, so as to identify the dialog scene corresponding to the online operation.
  16. 根据权利要求11所述计算机设备,其中,在所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤之前,还包括:The computer device according to claim 11, wherein, before the step of acquiring a preset speech corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset speech, the method further comprises: :
    统计所述滑动轨迹在所述目标位置的停留时间;Counting the stay time of the sliding track at the target position;
    判断所述停留时间是否大于或者等于预设时间阈值;judging whether the stay time is greater than or equal to a preset time threshold;
    若所述停留时间大于或者等于预设时间阈值,执行所述基于所述场景,获取与所述场景所对应的预设话术,并根据所述预设话术推送对话的步骤。If the stay time is greater than or equal to a preset time threshold, the step of acquiring a preset speech corresponding to the scene based on the scene, and pushing a dialogue according to the preset speech is performed.
  17. 根据权利要求10所述计算机设备,其中,所述基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话的步骤包括:The computer device according to claim 10, wherein the step of acquiring a preset speech corresponding to the dialogue scene based on the dialogue scene, and pushing the dialogue according to the preset speech comprises:
    基于所述对话场景,获取与所述对话场景所对应的预设问题选项,并将所述预设问题选项推送至用户,以供用户进行选择从而进行对话。Based on the dialogue scene, the preset question options corresponding to the dialogue scene are acquired, and the preset question options are pushed to the user for selection by the user to conduct a dialogue.
  18. 一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现如下步骤:A computer-readable storage medium, the storage medium stores a computer program, and the computer program can implement the following steps when executed by a processor:
    响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息,所述页面模块为线上操作页面上的多个页面模块中用户所选择的页面模块;In response to the user's online operation, acquiring module information contained in a page module corresponding to the online operation, where the page module is a page module selected by the user among multiple page modules on the online operation page;
    根据所述模块信息,识别所述线上操作所对应的对话场景;Identifying the dialogue scene corresponding to the online operation according to the module information;
    基于所述对话场景,获取与所述对话场景所对应的预设话术,并根据所述预设话术推送对话。Based on the dialogue scene, a preset dialogue corresponding to the dialogue scene is acquired, and a dialogue is pushed according to the preset dialogue.
  19. 根据权利要求18所述计算机可读存储介质,其中,所述响应于用户的线上操作,获取所述线上操作所对应页面模块所包含的模块信息的步骤包括:The computer-readable storage medium according to claim 18, wherein the step of acquiring module information included in a page module corresponding to the online operation in response to an online operation of the user comprises:
    检测所述线上操作的滑动轨迹;detecting the sliding trajectory of the online operation;
    识别所述滑动轨迹当前停留的目标位置;Identify the target position where the sliding track currently stays;
    根据所述目标位置,识别所述目标位置所属的目标页面区域;According to the target position, identify the target page area to which the target position belongs;
    根据所述目标页面区域,获取所述目标页面区域所属的模块ID;According to the target page area, obtain the module ID to which the target page area belongs;
    根据所述模块ID,获取所述模块ID所对应的模块内容。According to the module ID, the module content corresponding to the module ID is acquired.
  20. 根据权利要求19所述计算机可读存储介质,其中,所述根据所述目标位置,识别所述目标位置所属的目标页面区域的步骤包括:The computer-readable storage medium according to claim 19, wherein the step of identifying the target page area to which the target position belongs according to the target position comprises:
    根据所述目标位置,识别所述目标位置所属的目标页面;According to the target position, identify the target page to which the target position belongs;
    根据所述目标页面,确定所述目标位置所属的所述目标页面中所包含的目标模块;According to the target page, determine the target module included in the target page to which the target location belongs;
    将所述目标模块作为目标页面区域。The target module is used as the target page area.
PCT/CN2021/091277 2020-11-03 2021-04-30 Online self-service dialogue method and apparatus, computer device, and computer readable medium WO2022095377A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011209905.1A CN112306326A (en) 2020-11-03 2020-11-03 Online self-service conversation method and device, computer equipment and computer readable medium
CN202011209905.1 2020-11-03

Publications (1)

Publication Number Publication Date
WO2022095377A1 true WO2022095377A1 (en) 2022-05-12

Family

ID=74333134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/091277 WO2022095377A1 (en) 2020-11-03 2021-04-30 Online self-service dialogue method and apparatus, computer device, and computer readable medium

Country Status (2)

Country Link
CN (1) CN112306326A (en)
WO (1) WO2022095377A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306326A (en) * 2020-11-03 2021-02-02 平安科技(深圳)有限公司 Online self-service conversation method and device, computer equipment and computer readable medium
CN113536111A (en) * 2021-06-11 2021-10-22 北京十一贝科技有限公司 Insurance knowledge content recommendation method and device and terminal equipment
CN117078270B (en) * 2023-10-17 2024-02-02 彩讯科技股份有限公司 Intelligent interaction method and device for network product marketing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624675A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Self-service customer service system and method
KR20140143610A (en) * 2013-06-07 2014-12-17 엘지전자 주식회사 Mobile terminal and operation method thereof
CN106897884A (en) * 2017-01-24 2017-06-27 武汉奇米网络科技有限公司 The method and system of quick guiding visitor consulting
CN108805694A (en) * 2018-05-24 2018-11-13 平安普惠企业管理有限公司 Credit consultation method of servicing, device, equipment and computer readable storage medium
CN112306326A (en) * 2020-11-03 2021-02-02 平安科技(深圳)有限公司 Online self-service conversation method and device, computer equipment and computer readable medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008136530A (en) * 2006-11-30 2008-06-19 Daiichikosho Co Ltd Automatic recorded data output system
CN105162892A (en) * 2015-10-15 2015-12-16 戚克明 Language technique exercise treatment method, apparatus and system, and language technique exercise supervision method
CN110580122A (en) * 2019-08-21 2019-12-17 阿里巴巴集团控股有限公司 Question-answer type interactive processing method, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624675A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Self-service customer service system and method
KR20140143610A (en) * 2013-06-07 2014-12-17 엘지전자 주식회사 Mobile terminal and operation method thereof
CN106897884A (en) * 2017-01-24 2017-06-27 武汉奇米网络科技有限公司 The method and system of quick guiding visitor consulting
CN108805694A (en) * 2018-05-24 2018-11-13 平安普惠企业管理有限公司 Credit consultation method of servicing, device, equipment and computer readable storage medium
CN112306326A (en) * 2020-11-03 2021-02-02 平安科技(深圳)有限公司 Online self-service conversation method and device, computer equipment and computer readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
QIAN DUAN LAO SI JI [RUBIK'S CUBE PROGRAMMING]: "[Front-end development entry to actual combat: Calculate the exposure time (dwell time) of each module in a page]", 29 May 2019 (2019-05-29), CN, pages 1 - 6, XP009536716, Retrieved from the Internet <URL:https://blog.csdn.net/wewfdf/article/details/97646523> *

Also Published As

Publication number Publication date
CN112306326A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2022095377A1 (en) Online self-service dialogue method and apparatus, computer device, and computer readable medium
US11409961B2 (en) System for minimizing repetition in intelligent virtual assistant conversations
US10771627B2 (en) Personalized support routing based on paralinguistic information
US11163778B2 (en) Integrating virtual and human agents in a multi-channel support system for complex software applications
CN108476230B (en) Optimal routing of machine learning based interactions to contact center agents
US20180174055A1 (en) Intelligent conversation system
WO2019203880A1 (en) Intent identification for agent matching by assistant systems
US10210867B1 (en) Adjusting user experience based on paralinguistic information
US11222351B2 (en) Predicting application conversion using eye tracking
US10410628B2 (en) Adjusting a ranking of information content of a software application based on feedback from a user
US8346556B2 (en) Systems and methods for automatically determining culture-based behavior in customer service interactions
US10223442B2 (en) Prioritizing survey text responses
US10192569B1 (en) Informing a support agent of a paralinguistic emotion signature of a user
EP2944077B1 (en) Method and apparatus for analyzing leakage from chat to voice
US20220138770A1 (en) Method and apparatus for analyzing sales conversation based on voice recognition
CN116521841B (en) Method, device, equipment and medium for generating reply information
CN113360622A (en) User dialogue information processing method and device and computer equipment
EP3557504A1 (en) Intent identification for agent matching by assistant systems
KR20170052974A (en) Method for Translation Correction and Server for Providing Translation Correction Service
US20210256545A1 (en) Summarizing and presenting recommendations of impact factors from unstructured survey response data
CN116501960B (en) Content retrieval method, device, equipment and medium
WO2023124215A1 (en) User question labeling method and device
US9832316B1 (en) Customer service model-based call routing and/or scheduling system and method
US11144836B1 (en) Processing and re-using assisted support data to increase a self-support knowledge base
KR20190116044A (en) Method and computer readable recording medium for actively analyzing a online chatting session between users and providing analysis results visually to a user, by a conversation understanding ai system

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: 21888081

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21888081

Country of ref document: EP

Kind code of ref document: A1