CN112837159B - Transaction guiding method and device based on scene element, electronic equipment and medium - Google Patents

Transaction guiding method and device based on scene element, electronic equipment and medium Download PDF

Info

Publication number
CN112837159B
CN112837159B CN202110207405.2A CN202110207405A CN112837159B CN 112837159 B CN112837159 B CN 112837159B CN 202110207405 A CN202110207405 A CN 202110207405A CN 112837159 B CN112837159 B CN 112837159B
Authority
CN
China
Prior art keywords
transaction
scene
user
guiding
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110207405.2A
Other languages
Chinese (zh)
Other versions
CN112837159A (en
Inventor
于海燕
罗涛
施佳子
杨瑞光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110207405.2A priority Critical patent/CN112837159B/en
Publication of CN112837159A publication Critical patent/CN112837159A/en
Application granted granted Critical
Publication of CN112837159B publication Critical patent/CN112837159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates

Landscapes

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

Abstract

The present disclosure provides a transaction guiding method based on scene elements, comprising: acquiring scene configuration preset with a transaction scene according to the transaction scene, wherein the scene configuration comprises at least one scene element; combining the scene elements with a preset speaking operation according to the preset sequence of the scene elements to form a transaction guiding language for guiding the user to conduct transaction; after the user finishes the transaction according to the current transaction guiding language, the user is guided to continue the transaction by automatically using the transaction guiding language corresponding to the next scene element until the transaction in the transaction scene is completely executed. According to the method provided by the disclosure, different transaction scenes can be subjected to unified frame design, and only scene elements and conversation techniques are required to be preset, so that the guiding flow of the different transaction scenes can be realized, the conversation techniques are unified, the user can understand conveniently, the frame is simple, and development and maintenance of developers are facilitated.

Description

Transaction guiding method and device based on scene element, electronic equipment and medium
Technical Field
The present disclosure relates to the field of computer technology/internet technology/warehouse logistics/electronics technology, and more particularly, to a method, an apparatus, an electronic device, and a computer-readable storage medium for guiding transactions based on scene elements.
Background
With the development of digital personal technology and intelligent voice technology, in order to facilitate the more convenient online business handling of users, the business handling of terminals is developing towards intelligence. The user is guided to transact business through a plurality of dialogue modes such as voice and the like to become the interactive trend.
Because of multiple service types and quick version updating, users are led to complete operation by means of multiple rounds of conversations, each service scene needs to be customized, and the design and development workload is large and cannot be reused; because the interactive design and the product design of each service cannot be completely unified, the words and the techniques for guiding the user to fill in the elements in each scene are not unified, and difficulty is brought to the understanding of the user.
Disclosure of Invention
In view of this, the present disclosure provides a transaction guiding method, apparatus, electronic device and computer readable storage medium based on scene elements.
One aspect of the present disclosure provides a transaction guiding method based on a scene element, including: acquiring scene configuration preset with a transaction scene according to the transaction scene, wherein the scene configuration comprises at least one scene element; combining the scene elements with a preset speaking operation according to the preset sequence of the scene elements to form a transaction guiding language to guide user transactions; and after the user finishes the transaction according to the current transaction guiding language, automatically guiding the user to continue the transaction by using the transaction guiding language corresponding to the next scene element until all the transactions in the transaction scene are executed.
Optionally, the method further comprises: acquiring an initial transaction instruction of the user; judging whether the current transaction scene is empty or not; if the transaction scene is empty, identifying the intention of the initial transaction instruction of the user, and obtaining a scene name; and acquiring the transaction scene according to the scene name.
Optionally, the combining the scene elements with the preset speech according to the preset sequence of the scene elements to form a transaction guiding language for guiding the user to conduct the transaction includes: determining a category of the scene element; and selecting a preset conversation corresponding to the category to be combined with the scene element to form the guiding language to guide the user to trade.
Optionally, the method further comprises: acquiring response voice of the user; word slot matching is carried out on the word slots in the response voice and the word slots corresponding to the scene elements; and executing the transaction according to the word slot when the word slot matching is successful.
Optionally, the method further comprises: when the word slot matching fails, judging whether the word slot can be abandoned or not; if the word slot can be abandoned, ending the current transaction; if the word slot cannot be abandoned, acquiring another preset conversation of the scene element, and generating a new transaction guiding language to guide the user to conduct the transaction.
Optionally, before the word slot matching is performed on the word slots in the response voice and the word slots corresponding to the scene elements, the method further includes: looking up the response category of the word slot; if the response category is matched with the current transaction scene, word slot matching is carried out on word slots in the response voice and word slots corresponding to the scene elements; if the response category does not match the transaction scene, the intent of the response voice is recognized, and corresponding operation is executed according to the intent of the response voice.
Optionally, if the response category does not match the transaction scenario, identifying the intent of the response voice, and performing the corresponding operation according to the intent of the response voice includes: if the intention of the response voice is to start a new transaction scene, the response voice is taken as an initial transaction instruction, the new transaction scene is acquired according to the initial transaction instruction, and the transaction in the new transaction scene is executed; storing the currently unfinished transaction scenes into a cache; if the intention of the response voice is not recognized, feeding back the current intention to the user can not be recognized.
Optionally, after the user finishes the transaction according to the current transaction guiding language, automatically guiding the user to continue the transaction by using the transaction guiding language corresponding to the next scene element until all the transactions in the transaction scene are finished, including: after the user finishes the transaction according to the current transaction guidance language, judging whether all the transactions in the transaction scene are executed; if the transaction in the transaction scene is not completely executed, acquiring the transaction guiding language corresponding to the next scene element to guide the user to continue the transaction; if all the transactions in the transaction scene are executed, judging whether the cache has unfinished transaction scenes or not; if the unfinished transaction scene exists in the cache, continuing the unfinished transaction scene; and if the unfinished transaction scene does not exist in the cache, cleaning the cache.
Optionally, the method further comprises: and after the cache is cleaned, acquiring a preset ending speech operation, and informing the user that the current transaction scene is ended by using the ending speech operation.
Another aspect of the present disclosure provides a transaction guiding device based on a scene element, including: the element acquisition module is used for acquiring scene configuration preset with a transaction scene according to the transaction scene, wherein the scene configuration comprises at least one scene element; the transaction guiding module is used for combining the scene elements with a preset conversation according to the preset sequence of the scene elements to form a transaction guiding language for guiding user transaction; and the transaction control module is used for automatically guiding the user to continue the transaction by using the transaction guidance language corresponding to the next scene element after the user finishes the transaction according to the current transaction guidance language until the transaction in the transaction scene is completely executed.
Another aspect of the present disclosure provides a computer system comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the first aspects.
Another aspect of the present disclosure provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the method of any of the first aspects.
According to the embodiment of the disclosure, the transaction flow of each transaction scene is simplified into a plurality of scene elements, the transaction flow can be formed by combining a preset conversation with the scene elements, different transaction scenes can be managed through a unified management template, scene design and development time are reduced, unified element conversation guiding can be displayed for a user through unified element management, user learning cost is reduced, and user experience is improved for the user.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates an exemplary system architecture to which the context element based transaction guidance methods and apparatus of the present disclosure may be applied;
FIG. 2 schematically illustrates a flow chart of a scenario element-based transaction guidance method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of a scenario element-based transaction guidance device according to an embodiment of the present disclosure;
fig. 4 schematically illustrates a block diagram of a computer system 400 adapted to implement a scenario element-based transaction guidance device, according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The embodiment of the disclosure provides a transaction guiding method and device based on scene elements. The method comprises the steps of obtaining a plurality of scene elements preset with a transaction scene according to the transaction scene, and combining the scene elements with a preset speaking technique to form a transaction guiding language to guide a user to conduct transaction.
Fig. 1 schematically illustrates an example system architecture 100 of a transaction guidance method and apparatus that may be based on scenario elements, according to an embodiment of the disclosure. It should be noted that fig. 1 is only an example of a system architecture to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and/or wireless communication links, and the like.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients and/or social platform software, to name a few.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the transaction guiding method based on the scene element provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the scenario element-based transaction guidance device provided by the embodiments of the present disclosure may be generally provided in the server 105. The scenario element-based transaction guidance method provided by the embodiments of the present disclosure may also be performed by a server or server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the transaction guiding device based on scene elements provided by the embodiments of the present disclosure may also be provided in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Alternatively, the transaction guidance method based on the scene element provided by the embodiment of the present disclosure may be performed by the terminal device 101, 102, or 103, or may be performed by another terminal device different from the terminal device 101, 102, or 103. Accordingly, the transaction guiding apparatus based on the scene element provided by the embodiment of the present disclosure may be provided in the terminal device 101, 102, or 103, or in another terminal device different from the terminal device 101, 102, or 103.
For example, the scene element and the preset session may be originally stored in any one of the terminal devices 101, 102, or 103 (for example, but not limited to, the terminal device 101), or stored on an external storage device and may be imported into the terminal device 101. Then, the terminal device 101 may locally perform the scenario element-based transaction guidance method provided by the embodiments of the present disclosure, or transmit the scenario element and the preset ticket to other terminal devices, servers, or server clusters, and perform the scenario element-based transaction guidance method provided by the embodiments of the present disclosure by the other terminal devices, servers, or server clusters that receive the scenario element and the preset ticket.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically illustrates a flow chart of a scenario element-based transaction guidance method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S230.
S210, acquiring scene configuration preset with a transaction scene according to the transaction scene, wherein the scene configuration comprises at least one scene element.
S220, combining the scene elements with a preset speaking operation according to the preset sequence of the scene elements to form a transaction guidance language to guide the user to conduct transaction.
And S230, after the user finishes the transaction according to the current transaction guiding language, automatically guiding the user to continue the transaction by using the transaction guiding language corresponding to the next scene element until the transaction in the transaction scene is completely executed.
According to the embodiment of the disclosure, a plurality of scene elements are preset for different transaction scenes, so that the plurality of different transaction scenes can be managed through a unified frame, for example, a payment scene can be preset as scene elements such as balance, recharging amount and the like, a financial scene can be preset as scene elements such as purchased financial products, recommended products, hot products and the like, and the scenes can be through a unified background and foreground frame, even the same page can be used, and corresponding payment scene pages and financial scene pages can be generated by combining the scene elements of the payment scene and the financial scene. By combining each scene element with a preset speaking, the user can be guided to transact the service related to the scene element through voice, for example, if the preset speaking corresponding to the scene element 'recharge amount' is 'please input … …', the complete transaction guiding language of 'please input recharge amount' can be obtained by combining the scene element with the preset speaking, so that the user can perform corresponding operation according to the transaction guiding language.
According to the method of the embodiment of the disclosure, a developer can configure different transaction scenes by extracting scene elements, an interaction flow is constructed through element configuration files and multiplexing of element word slots is realized through element management background, the design and development time of the scenes is reduced, unified element guiding speech technology can be displayed for users through unified element management, the user learning cost is reduced, and the use experience of the users is improved.
Specific flow of the transaction guidance method based on the scene element will be described in detail below.
Before step S210, a transaction scenario is first acquired, and it is determined that the user is not currently in the transaction scenario. The user may have entered the transaction scenario by clicking, voice, gesture, etc., or the user may not have entered the transaction scenario, only given an initial transaction instruction, and has yet to enter the transaction scenario. When the user has not entered the transaction scenario, the method comprises steps S201-S204.
S201, acquiring an initial transaction instruction of a user.
According to the embodiment of the disclosure, no matter the user is not currently in the transaction scene, the transaction is started according to the initial transaction instruction of the user.
S202, judging whether the current transaction scene is empty.
According to the embodiment of the disclosure, after the initial transaction instruction is acquired, if the transaction scenario is empty, step S203 is executed, and if the transaction scenario is not empty, step S210 is executed according to the initial transaction instruction, relevant scenario elements are acquired, and the transaction corresponding to the scenario elements is executed.
For example, if the current initial transaction instruction is "transfer", if the transaction scenario is empty, the transfer page is jumped, and if the current transaction scenario is not empty and is the transfer scenario, the corresponding transaction is executed according to the transaction instruction.
S203, if the transaction scene is empty, identifying the intention of the initial transaction instruction of the user, and obtaining the scene name.
According to embodiments of the present disclosure, the initial transaction instructions may be in the form of voice, gestures, text input, and the like.
S204, acquiring a transaction scene according to the scene name.
According to embodiments of the present disclosure, after the scene name is obtained, the jump refers to a transaction scene page to enable a user to perform a related transaction within the transaction scene.
In the embodiment of the disclosure, for different transaction scenes, the scene elements are preset respectively, and according to step S210, each time a transaction scene is entered, the scene element corresponding to the scene is acquired, and according to the scene element, the user is guided to complete the transaction.
In step S220, the scene elements are combined with the preset speech according to the preset sequence of the scene elements to form a transaction guidance language for guiding the user to conduct the transaction, including S221 to S222.
S221, determining the category of the scene element.
S222, selecting a preset conversation corresponding to the category to be combined with the scene element to form a guiding language to guide the user to trade.
According to the embodiment of the disclosure, various scene elements are configured according to the fixed phone call of the category, so that different scene elements do not need to be specially matched with different phone call, unified element guide phone call is presented for a user, the learning cost of the user can be reduced, the use experience of the user is improved, and the development difficulty is also reduced.
Specifically, for scene elements requiring user input information, such as "transfer amount", "recharge amount", "name", "age", "remark", etc., unified speaking "please input … …" may be used; for the scene elements needing to be confirmed by the user, such as a password, user information and the like, a unified phone operation, namely please confirm … … to be correct, can be used, and the scene elements are replaced by ellipses in the phone operation, so that a complete transaction guiding language is obtained.
Preferably, the transaction guiding language is played to the user in a voice mode to listen, so that the user is guided to conduct corresponding through voice, and the transaction speed is improved.
In addition to the above steps, operation S220 further includes S223 to S225.
S223, obtaining response voice of the user.
S224, word slot matching is carried out on the word slots in the response voice and the word slots corresponding to the scene elements.
S225, when the word slot matching is successful, executing the transaction according to the word slot.
According to the embodiment of the disclosure, the user is guided to give corresponding voices through the transaction guiding language, word slots are extracted from the response voices, word slots corresponding to scene elements are matched, for example, the transaction guiding language is' what you transact now is a registration function upgrading service, and after upgrading, the user can enjoy: registering more functions such as account-to-account transfer, and external transfer quota improvement, please confirm whether to continue to transact, wherein the word slots corresponding to the scene element 'confirm transact business' are 'confirm', 'yes', 'agree', 'not yes', 'disagree', and if the user response voice contains the word slots or word slots with similar meaning to the word slots, the response action is executed according to the word slots.
If the word slot matching fails according to steps S223 to S225, steps S226 to S228 are performed.
S226, when the word slot matching fails, whether the word slot can be abandoned is judged.
According to the embodiment of the disclosure, if the word slot matching fails, the word slot identification error may be caused by unclear voice of the user response, or the user may truly answer a question, in this case, whether the word slot can be abandoned is determined, so as to determine whether the operation is to be stopped.
S227, if the word slot can be abandoned, ending the current transaction.
For example, if the current transaction guidance is only a flow guidance, for example, "welcome to use a certain APP, and make you use happy", then the word slot responded by the user does not affect the user to transact business no matter whether it matches, so if the corresponding user cannot match at this time, the transaction corresponding to the transaction guidance (i.e. play the transaction guidance and execute the operation according to the user response) can be completed after the transaction guidance is played.
And S228, if the word slot cannot be abandoned, acquiring another preset conversation of the scene element, and generating a new transaction guidance language to guide the user to conduct the transaction.
According to the embodiment of the disclosure, if the word slot cannot be abandoned, another preset speech operation of the scene element is acquired, so that the scene element and the another preset speech operation generate another transaction guiding language with the same semantic as the original transaction guiding language but different language expression mode, and the user is guided to execute the corresponding execution steps of the scene element.
Alternatively, if the word slot cannot be abandoned, the original transaction guide can be repeated again, so that the user is guided to respond again until the response word slot is matched.
According to the embodiment of the disclosure, S229-S2211 may be further included before the word slot matching is performed according to the word slot corresponding to the scene element in the response voice in step S220.
S229, checking the response category of the word slot.
According to the embodiment of the disclosure, when a user wants to enter other transaction scenes to perform other transactions during the execution of a transaction in a certain transaction scene, and the user uses voice to send a scene switching instruction, in order to avoid misidentifying the voice instruction as a response voice of a certain transaction guiding language in the current transaction scene, after acquiring a voice signal of the user, the user should first identify the response category of a word slot of the voice, make a pre-judgment on the intention of the voice signal, and execute step S2210 and step S2211 according to the judgment result respectively.
S2210, if the response type is matched with the current transaction scene, word slot matching is carried out on word slots corresponding to the scene elements and word slots in the response voice.
According to an embodiment of the present disclosure, if the response category matches the current transaction scenario, step S223 is performed to match word slots in the response speech to complete the current transaction.
S2211, if the response category is not matched with the transaction scene, the intention of the response voice is recognized, and corresponding operation is executed according to the intention of the response voice.
Step S2211 includes S2212 to S2214.
S2212, if the intention of the response voice is to open a new transaction scenario, the response voice is taken as an initial transaction instruction, the new transaction scenario is acquired according to the initial transaction instruction, and the transaction in the new transaction scenario is executed.
For example, the current transaction scenario is a function upgrading service, and in the transaction process, according to the voice of the user, the user is identified to stop the current service, and the user is transferred to a recharging and paying transaction scenario, so that the user is guided to conduct recharging and paying transaction.
S2213, the current unfinished transaction scene is stored in a cache.
According to step S2212, if a new transaction scenario is currently transferred according to the intention of the user, the unfinished transaction scenario is stored in the cache, and the spare user returns to the unfinished transaction scenario to continue the transaction.
S2214, if the intention of the response voice is not recognized, the current intention cannot be recognized by feeding back to the user.
According to the embodiment of the disclosure, if the intention of the response voice is not recognized, the system may inform the user that the response voice cannot be recognized currently using a preset speaking technique, such as "sorry, i do not understand what you say," sorry, temporarily fail to provide what you say, etc.
According to step S230, after the user finishes the transaction according to the current transaction guidance, steps S231 to S235 are further included.
S231, after the user finishes the transaction according to the current transaction guidance, judging whether all the transactions in the transaction scene are finished.
S232, if the transaction in the transaction scene is not completely executed, acquiring a transaction guidance language corresponding to the next scene element to guide the user to continue the transaction.
According to the embodiment of the disclosure, the sequence of the scene elements is actually the execution sequence of the transactions in the transaction scene, each time one transaction is executed according to one scene element, the next scene element transaction is automatically executed, the next scene element transaction is executed in turn, all transaction processes are known to be executed, and the transaction scene is ended.
S233, if all the transactions in the transaction scene are executed, judging whether the cache has unfinished transaction scenes.
S234, if the unfinished transaction scene exists in the cache, continuing the unfinished transaction scene.
According to the embodiment of the disclosure, if the transaction scenario which is completed exists in the cache, the user can be prompted to continue to execute the incomplete transaction scenario, or all the transaction scenarios can be ended according to the user wish.
S235, if the unfinished transaction scene does not exist in the cache, the cache is cleaned.
Step S236 may also be included after step S235 is performed according to an embodiment of the present disclosure.
S236, after the cache is cleaned, a preset ending speech technology is acquired, and the user is informed of the end of the current transaction scene by using the ending speech technology.
According to the embodiment of the disclosure, management of each transaction scene is simplified into management of scene elements, the scene elements are combined with a preset conversation process through a unified flow, so that a transaction guide language can be generated, a user can sequentially make corresponding according to the transaction guide language according to a transaction sequence to finish transaction.
Fig. 3 schematically illustrates a scenario element-based transaction guidance device according to an embodiment of the present disclosure.
As shown in fig. 3, the present disclosure further provides a transaction guiding device 300 based on a scene element, including: element acquisition module 310, transaction guidance module 320, transaction control module 330.
The element obtaining module 310 is configured to obtain, according to a transaction scenario, a scenario configuration preset with the transaction scenario, where the scenario configuration includes at least one scenario element.
The transaction guidance module 320 is configured to combine the scene elements with the preset speech according to the preset sequence of the scene elements, to form a transaction guidance language for guiding the user to conduct a transaction.
And the transaction control module 330 is configured to automatically guide the user to continue the transaction using the transaction guidance corresponding to the next scene element after the user finishes the transaction according to the current transaction guidance, until all the transactions in the transaction scene are completed.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
For example, any of the element acquisition module 310, the transaction guidance module 320, the transaction control module 330 may be incorporated in one module/unit/sub-unit or any of the modules/units/sub-units may be split into multiple modules/units/sub-units. Alternatively, at least some of the functionality of one or more of these modules/units/sub-units may be combined with at least some of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to embodiments of the present disclosure, at least one of element acquisition module 310, transaction guidance module 320, transaction control module 330 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), programmable Logic Array (PLA), system-on-chip, system-on-substrate, system-on-package, application Specific Integrated Circuit (ASIC), or in hardware or firmware, such as any other reasonable way of integrating or packaging the circuits, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the element acquisition module 310, the transaction guidance module 320, and the transaction control module 330 may be at least partially implemented as a computer program module that, when executed, performs the corresponding functions.
It should be noted that, in the embodiment of the present disclosure, the portion of the user guiding device based on the scene element corresponds to the portion of the user guiding method based on the scene element in the embodiment of the present disclosure, and the description of the user guiding device based on the scene element specifically refers to the portion of the data processing method, which is not described herein again.
Fig. 4 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure.
The computer system illustrated in fig. 4 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 4, a computer system 400 according to an embodiment of the present disclosure includes a processor 401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. The processor 401 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 401 may also include on-board memory for caching purposes. Processor 401 may include a single processing unit or multiple processing units for performing different actions of the method flows in accordance with embodiments of the disclosure.
In the RAM 403, various programs and data required for the operation of the system 400 are stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other by a bus 404. The processor 401 performs various operations of the method flow according to the embodiment of the present disclosure by executing programs in the ROM 402 and/or the RAM 403. Note that the program may be stored in one or more memories other than the ROM 402 and the RAM 403. The processor 401 may also perform various operations of the method flow according to the embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, system 400 may also include an input/output (I/O) interface 403, which input/output (I/O) interface 405 is also connected to bus 404. The system 400 may also include one or more of the following components connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output portion 407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage section 408 including a hard disk or the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. The drive 410 is also connected to the I/O interface 403 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 409 and/or installed from the removable medium 411. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 401. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 402 and/or RAM 403 and/or one or more memories other than ROM 402 and RAM 403 described above.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (8)

1. A transaction guidance method based on scene elements, comprising:
acquiring scene configuration preset with a transaction scene according to the transaction scene, wherein the scene configuration comprises at least one scene element;
combining the scene elements with a preset speaking operation according to the preset sequence of the scene elements to form a transaction guiding language to guide user transactions;
after the user finishes the transaction according to the current transaction guiding language, automatically guiding the user to continue the transaction by using the transaction guiding language corresponding to the next scene element until all the transactions in the transaction scene are executed;
combining the scene elements with a preset speaking technique according to the preset sequence of the scene elements to form a transaction guidance language to guide user transactions, wherein the transaction guidance language comprises the following steps:
determining a category of the scene element;
selecting a preset conversation corresponding to the category to be combined with the scene element to form the guiding language to guide the user to trade; the method further comprises the steps of:
acquiring response voice of the user;
word slot matching is carried out on the word slots in the response voice and the word slots corresponding to the scene elements;
when the word slot matching is successful, executing transaction according to the word slot;
before word slot matching is performed on the word slots in the response voice and the word slots corresponding to the scene elements, the method further comprises the following steps:
looking up the response category of the word slot;
if the response category is matched with the current transaction scene, word slot matching is carried out on word slots in the response voice and word slots corresponding to the scene elements;
if the response category is not matched with the transaction scene, the intention of the response voice is recognized, and corresponding operation is executed according to the intention of the response voice;
if the response category does not match the transaction scenario, identifying the intent of the response voice, and executing corresponding operations according to the intent of the response voice comprises:
if the intention of the response voice is to start a new transaction scene, the response voice is taken as an initial transaction instruction, the new transaction scene is acquired according to the initial transaction instruction, and the transaction in the new transaction scene is executed; and
storing the currently unfinished transaction scene into a cache;
if the intention of the response voice is not recognized, feeding back the current intention to the user can not be recognized.
2. The method of claim 1, further comprising:
acquiring an initial transaction instruction of the user;
judging whether the current transaction scene is empty or not;
if the transaction scene is empty, identifying the intention of the initial transaction instruction of the user, and obtaining a scene name;
and acquiring the transaction scene according to the scene name.
3. The method of claim 1, further comprising:
when the word slot matching fails, judging whether the word slot can be abandoned or not;
if the word slot can be abandoned, ending the current transaction;
if the word slot cannot be abandoned, acquiring another preset conversation of the scene element, and generating a new transaction guiding language to guide the user to conduct the transaction.
4. The method of claim 1, wherein when the user finishes the transaction according to the current transaction guidance language, automatically guiding the user to continue the transaction by using the transaction guidance language corresponding to the next scene element until all transactions in the transaction scene are completed, comprising:
after the user finishes the transaction according to the current transaction guidance language, judging whether all the transactions in the transaction scene are executed;
if the transaction in the transaction scene is not completely executed, acquiring the transaction guiding language corresponding to the next scene element to guide the user to continue the transaction;
if all the transactions in the transaction scene are executed, judging whether the cache has unfinished transaction scenes or not;
if the unfinished transaction scene exists in the cache, continuing the unfinished transaction scene;
and if the unfinished transaction scene does not exist in the cache, cleaning the cache.
5. The method of claim 4, further comprising:
and after the cache is cleaned, acquiring a preset ending speech operation, and informing the user that the current transaction scene is ended by using the ending speech operation.
6. A transaction guidance device based on scene elements, applied to the method of any one of claims 1 to 5, comprising:
the element acquisition module is used for acquiring scene configuration preset with a transaction scene according to the transaction scene, wherein the scene configuration comprises at least one scene element;
the transaction guiding module is used for combining the scene elements with a preset conversation according to the preset sequence of the scene elements to form a transaction guiding language for guiding user transaction;
and the transaction control module is used for automatically guiding the user to continue the transaction by using the transaction guidance language corresponding to the next scene element after the user finishes the transaction according to the current transaction guidance language until the transaction in the transaction scene is completely executed.
7. A computer system, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 5.
8. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to implement the method of any of claims 1 to 5.
CN202110207405.2A 2021-02-24 2021-02-24 Transaction guiding method and device based on scene element, electronic equipment and medium Active CN112837159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110207405.2A CN112837159B (en) 2021-02-24 2021-02-24 Transaction guiding method and device based on scene element, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110207405.2A CN112837159B (en) 2021-02-24 2021-02-24 Transaction guiding method and device based on scene element, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN112837159A CN112837159A (en) 2021-05-25
CN112837159B true CN112837159B (en) 2024-04-02

Family

ID=75933240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110207405.2A Active CN112837159B (en) 2021-02-24 2021-02-24 Transaction guiding method and device based on scene element, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112837159B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113488042B (en) * 2021-06-29 2022-12-13 荣耀终端有限公司 Voice control method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357787A (en) * 2017-07-26 2017-11-17 微鲸科技有限公司 Semantic interaction method, apparatus and electronic equipment
CN110472095A (en) * 2019-08-16 2019-11-19 百度在线网络技术(北京)有限公司 Voice guide method, apparatus, equipment and medium
CN111143004A (en) * 2019-12-25 2020-05-12 上海联影医疗科技有限公司 Scene guide method and device, electronic equipment and storage medium
CN111813912A (en) * 2020-06-29 2020-10-23 北京百度网讯科技有限公司 Man-machine conversation method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357787A (en) * 2017-07-26 2017-11-17 微鲸科技有限公司 Semantic interaction method, apparatus and electronic equipment
CN110472095A (en) * 2019-08-16 2019-11-19 百度在线网络技术(北京)有限公司 Voice guide method, apparatus, equipment and medium
CN111143004A (en) * 2019-12-25 2020-05-12 上海联影医疗科技有限公司 Scene guide method and device, electronic equipment and storage medium
CN111813912A (en) * 2020-06-29 2020-10-23 北京百度网讯科技有限公司 Man-machine conversation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112837159A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
US11416777B2 (en) Utterance quality estimation
US20200344185A1 (en) Directed acyclic graph based framework for training models
US10296953B2 (en) Assisted shopping
US11651768B2 (en) Stop word data augmentation for natural language processing
US10698581B2 (en) Dialog reuse for a visual bot builder
US8977554B1 (en) Assisted shopping server
US20200342874A1 (en) Handling explicit invocation of chatbots
US20190356613A1 (en) Messaging bot selection in multi-bot chat sessions
US9218813B2 (en) Voice and/or facial recognition based service provision
CN115485690A (en) Batch technique for handling unbalanced training data of chat robots
US10277743B1 (en) Configurable natural language contact flow
US20140309993A1 (en) System and method for determining query intent
CN110728455B (en) Service processing method, service processing device, storage medium and electronic equipment
CN115917553A (en) Entity-level data augmentation to enable robust named entity recognition in chat robots
CN110489195B (en) Service processing method and device, electronic equipment and computer readable storage medium
US20220124200A1 (en) Supporting conversations between customers and customer service agents
US20200344186A1 (en) Application initiated conversations for chatbots
WO2021201907A1 (en) Noise data augmentation for natural language processing
US20220172021A1 (en) Method and system for over-prediction in neural networks
US20230095673A1 (en) Extracting key information from document using trained machine-learning models
US11775982B2 (en) Augmented intelligence assistant for agents
CN112837159B (en) Transaction guiding method and device based on scene element, electronic equipment and medium
CN110717992B (en) Method, apparatus, computer system and readable storage medium for scheduling model
WO2023076754A1 (en) Deep learning techniques for extraction of embedded data from documents
CN113051381B (en) Information quality inspection method, information quality inspection device, computer system and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant