CN108933729A - A kind of method and system for realizing interacting message - Google Patents
A kind of method and system for realizing interacting message Download PDFInfo
- Publication number
- CN108933729A CN108933729A CN201810603022.5A CN201810603022A CN108933729A CN 108933729 A CN108933729 A CN 108933729A CN 201810603022 A CN201810603022 A CN 201810603022A CN 108933729 A CN108933729 A CN 108933729A
- Authority
- CN
- China
- Prior art keywords
- card
- feature
- service
- application
- category
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000002452 interceptive effect Effects 0.000 claims abstract description 42
- 230000003993 interaction Effects 0.000 claims description 54
- 238000012545 processing Methods 0.000 claims description 11
- 238000012163 sequencing technique Methods 0.000 claims description 9
- 230000010365 information processing Effects 0.000 claims description 4
- 230000009191 jumping Effects 0.000 abstract description 3
- 239000000284 extract Substances 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000000605 extraction Methods 0.000 abstract 1
- 238000012790 confirmation Methods 0.000 description 9
- 238000003058 natural language processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/16—Payments settled via telecommunication systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Finance (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of methods for realizing interacting message, including:Receive and analyze the message of sender's transmission;Extract the feature of message;Feature based on extraction is transferred and is shown and corresponding with feature applies card;It receives and analyzes sender and submit to interactive information using card;Based on interactive information, triggering is using service logic belonging to card;Execute service logic and feedback result.The method disclosed by the invention for realizing interacting message, without jumping out interacting message interface, business function needed for user can be completed.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for implementing message interaction.
Background
The current chat tools are mainly used for transmitting information and content among different users. However, the system does not have the capability of service processing, if a user needs to consult and process services, an external application program needs to be selected from the chat tool, or other application programs need to be called through a chat tool interface, and the application programs corresponding to the services comprise a large number of functions and correspond to a hierarchical menu, so that the efficiency of the user in the use process is low, and errors are easy to occur.
Therefore, it is an urgent need for those skilled in the art to solve the problem of designing a method for implementing message interaction that can quickly and conveniently perform service processing in a chat tool
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for realizing message interaction, which can realize the service function required by a user without jumping out of a message interaction interface.
A method for realizing message interaction comprises the following steps:
receiving and analyzing a message sent by a sender;
extracting features of the message;
calling and displaying an application card corresponding to the extracted features based on the extracted features;
receiving and analyzing the interactive information submitted to the application card by the sender;
triggering the business logic of the application card based on the interaction information;
and executing business logic and feeding back the result.
Preferably, before said receiving and analyzing the message sent by the sender, the method further comprises:
acquiring service logic and classifying the service logic to form service classes;
registering an application card;
and classifying the application cards based on the service classes to form card classes.
Preferably, the calling and displaying of the application card corresponding to the extracted feature is specifically based on the extracted feature;
calling a card assembly corresponding to the extracted features based on the extracted features;
analyzing the card assembly to obtain a card structure and a card style;
and displaying the application card according to the card structure and the card style.
Preferably, the receiving and analyzing the interactive information submitted to the application card by the sender specifically comprises:
positioning an input focus of the application card;
locking the input focus;
acquiring the interactive information input by a sender in the input focus;
analyzing the interactive information according to preset time, the quantity of the interactive information and the quantity of input focuses;
if the quantity of the interactive information is equal to the quantity of the input focuses within the preset time, executing the next step; if the quantity of the interactive information is smaller than the quantity of the input focuses within the preset time, returning to the previous step; if the preset time is exceeded and the number of the interactive messages is smaller than the number of the input focuses, feeding back prompt messages and executing the next step;
unlocking the input focus.
Preferably, the retrieving and displaying the application card corresponding to the extracted feature based on the extracted feature specifically includes:
matching the features with the card categories, and calculating category feature values of the features;
comparing the category feature value to a category threshold based on the matched card type;
when the category feature value is equal to or larger than the category threshold value, calling and displaying the application card corresponding to the feature based on the extracted feature;
and when the category characteristic value is smaller than the category threshold value, calling and displaying a preset number of the application cards.
Further, after the classifying the application cards based on the service class to form a card class, the method further includes:
and respectively setting and storing the category threshold value of each card category.
Preferably, after the classifying the application card based on the service class to form a card class, the method further includes:
respectively setting and storing a feature pool corresponding to each card type;
wherein the matching of the features with the card categories specifically is:
sequentially retrieving the features in each of the feature pools;
when the characteristics are searched in the current characteristic pool, matching the characteristics with the card category corresponding to the current characteristic pool;
when the feature is not retrieved in the current feature pool, continuing to retrieve the next feature pool;
and when the features are not retrieved from all the feature pools, calling and displaying a preset number of the service categories.
Further, include a plurality of characteristics of predetermineeing in the characteristic pond, set up respectively and store after the characteristic pond that the card classification corresponds, still include:
and matching each preset feature in the feature pool with each application card in the corresponding card type.
Further, when the feature is retrieved from the current feature pool, matching the feature with the card category corresponding to the current feature pool specifically includes:
and when the preset features matched with the features are searched in the current feature pool, matching the features with the application cards corresponding to the current preset features.
Preferably, the extracting the features of the message specifically includes:
features of the message are extracted based on natural language processing.
Preferably, after the obtaining the service logic and classifying the service logic to form a service class, the method further includes:
sequencing the service categories according to a preset rule and forming service sequence numbers;
when the features are not retrieved from all the feature pools, the calling and displaying of the preset number of the service categories specifically comprises:
and calling and sequentially displaying a preset number of the service categories based on the service sequence number when the features are not retrieved in all the feature pools.
Preferably, after the classifying the application card based on the service class to form a card class, the method further includes:
sequencing the application cards according to a preset rule and forming card serial numbers;
when the category characteristic value is smaller than the category threshold value, calling and displaying a preset number of the application cards specifically include:
and calling and sequentially displaying a preset number of application cards based on the card serial numbers when the category characteristic value is smaller than the category threshold value.
The invention also provides a system for realizing message interaction, which comprises:
the message processing module is used for receiving and analyzing the message sent by the sender and extracting the characteristics of the message;
the card management module is used for calling and displaying an application card corresponding to the extracted features;
the information processing module is used for receiving and analyzing the interactive information submitted to the application card by the sender;
the service execution module is used for triggering and executing the service logic to which the application card belongs based on the interaction information;
and the result display module is used for feeding back and displaying the result.
Further, the method also comprises the following steps:
the service classification module is used for acquiring service logic and classifying the service logic to form service classes;
the card registration module is used for registering the application card;
and the card classification module is used for classifying the application cards based on the service classes to form card classes.
Further, the card management module includes:
the card matching submodule is used for matching the characteristics with the card categories;
the feature comparison submodule is used for calculating a category feature value of the feature and comparing the category feature value with a category threshold value based on the matched card type;
the card calling submodule is used for calling and displaying the application card;
wherein,
when the category feature value is equal to or larger than the category threshold value, the card calling sub-module is used for calling and displaying the application card corresponding to the feature based on the extracted feature;
and when the category characteristic value is smaller than the category threshold value, the card calling submodule is used for calling and displaying a preset number of application cards.
Further, the card classification device further comprises a parameter presetting module, wherein the parameter presetting module is used for respectively setting and storing the classification threshold value of each card classification.
Preferably, the feature comparison sub-module is further configured to set and store feature pools corresponding to the card categories respectively;
wherein the matching of the features with the card categories specifically is:
the card matching submodule is used for sequentially retrieving the features in each feature pool;
when the features are retrieved from the current feature pool, the card matching sub-module is used for matching the features with the card categories corresponding to the current feature pool;
when the feature is not retrieved from the current feature pool, the card matching submodule is used for continuously retrieving the next feature pool;
and when the features are not retrieved from all the feature pools, the card matching submodule is used for calling and displaying the preset number of the service categories.
Further, the feature comparison sub-module is further configured to match each preset feature in the feature pool with each application card in the corresponding card type.
Further, when the feature is retrieved from the current feature pool, the card matching sub-module is configured to match the feature with the card category corresponding to the current feature pool, specifically:
when the preset features matched with the features are retrieved from the current feature pool, the card matching sub-module is used for matching the features with the application cards corresponding to the current preset features.
Preferably, the message processing module includes:
the message receiving submodule is used for receiving the message sent by the sender;
a natural language processing submodule for analyzing the message and extracting the features of the message based on natural language processing.
Preferably, the traffic classification module is further configured to:
sequencing the service categories according to a preset rule and forming service sequence numbers;
wherein, when the features are not retrieved from all the feature pools, the card matching sub-module is configured to call and display a preset number of the service categories specifically as follows:
and when the features are not retrieved from all the feature pools, the card matching submodule is used for calling and sequentially displaying the preset number of service categories based on the service sequence numbers.
Preferably, the card sorting module is further configured to:
sequencing the application cards according to a preset rule and forming card serial numbers;
when the category characteristic value is smaller than the category threshold value, the card calling submodule calls and displays a preset number of application cards, specifically:
and when the category characteristic value is smaller than the category threshold value, the card calling submodule is used for calling and sequentially displaying a preset number of application cards based on the card serial numbers.
The method for realizing the message interaction can directly call and display the corresponding application card in the message window according to the content of the interactive message when the message is interacted, and can complete the service function required by the user without jumping out of the message interaction interface.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for implementing message interaction according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another implementation manner of a method for implementing message interaction in an embodiment of the present invention;
FIG. 3 is a diagram of a system for implementing message interaction according to an embodiment of the present invention;
fig. 4 is a schematic interface diagram of a method for implementing message interaction in the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, a method for implementing message interaction provided by the present invention includes:
s04, receiving and analyzing a message sent by a sender;
s05, extracting the characteristics of the message;
s06, calling and displaying an application card corresponding to the characteristics based on the extracted characteristics;
s07, receiving and analyzing interactive information submitted to an application card by a sender;
s08, triggering the business logic of the application card based on the interactive information;
and S09, executing service logic and feeding back a result.
In this embodiment, in order to describe the method for implementing message interaction in more detail and specifically, the corresponding usage scenario is set to be a service that a user acquires by using a chat tool, and of course, this scenario setting is only to describe a specific usage environment of the method, and does not represent that the method must be based on a specific chat tool.
When a user operates the chat tool, the sending or interaction of messages is carried out in the chat window, the application card is different from the traditional application program, the traditional application program often has a hierarchical menu, the user can reach the specific application level of the required service by clicking layer by layer, the efficiency is low in the using process, and mistakes are easy to make. The application card related to the embodiment cancels the existing hierarchical menu, can be directly nested in the message window of the chat tool, can be more accurately positioned to directly acquire key information of client self confirmation, signature and input, and can call the application card with the corresponding function by extracting key elements from the information without switching windows, so that the business transaction can be intuitively and seamlessly completed in the chat window.
Based on the above usage scenario, the user performs message interaction in the chat window, the message interaction object may be another user or may be the chat tool itself, step S04 is started to be executed at the beginning of the chat, and in a normal situation, for example, when both parties are performing daily greetings, step S05 is not executed continuously by analyzing that there is no feature that can be corresponded, and only when the message is analyzed to include a feature, for example, features having a service occurrence tendency such as charging fee, watching movies, and the like, step S05 is executed, the above-mentioned feature is extracted, and step S06 is executed downward, that is, based on the extracted feature, an application card corresponding to the feature is called and directly displayed in the chat window, for example, the feature of charging fee is extracted, and the application card of charging fee is called and directly displayed in the chat window.
At this time, the application card (hereinafter referred to as a telephone rate card) corresponding to the telephone rate has a corresponding message input focus, such as the amount of money to be charged and a confirmation button, after the user inputs and confirms the charged amount of money, step S07 is executed, that is, the charged amount of money and the confirmation information are received, then step S08 is executed, that is, after the business logic to which the telephone rate card belongs is triggered according to the charged amount of money and the confirmation information, step S09 is executed, the business logic to charge the telephone rate is executed, and the telephone rate corresponding to the amount of money is charged to the mobile phone number of the user. After the telephone fee recharging is finished, the message of successful recharging, namely the execution result of the service logic, is fed back.
Of course, the service logic corresponding to the application card may be a service logic that only prompts and selects the user correspondingly, for example, the feature extracted from the message is to watch movies, the service logic corresponding to the application card may be a service logic that pushes recent movie information according to the current time, the interaction information received in step S07 is information of a specific movie or movies selected by the user, and the service logic in step S08 and step S09 is information of movie theaters within a certain distance radius centering on the location where the user is located, a specific movie ranking field number and a corresponding ticket price of the selected movie, and if the user selects a specific field number again, the subsequent service logic such as payment and confirmation continues.
As described above, different application cards correspond to different service logics, and after one service logic is executed, the subsequent different service logics corresponding to the previous service logic can be continuously triggered, and each step in the method can circularly execute the corresponding step according to the message sent by the user in the chat tool.
The method for realizing message interaction disclosed by the embodiment uses the application card with information interaction in the chat tool, so that the processing capacity of rich client interaction and business transaction is realized. The transaction comprises that a plurality of interactive application cards can be used in a chat interface, and the interactive application cards comprise various combinations such as classification selection, date selection and input, security level selection and the like, and customers can directly complete business operations such as movie ticket purchase, hospital registration, credit card adjustment and the like.
In one embodiment of the method for implementing message interaction disclosed in this embodiment, as shown in fig. 2, before receiving and analyzing the message sent by the sender, that is, step S04, the method further includes:
s01, acquiring service logics and classifying the service logics to form service classes;
s02, registering an application card;
and S03, classifying the application cards based on the service classes to form card classes.
Compared with the steps S04 to S09 that can be executed in a loop, the steps S01 to S03 belong to the initialization step, all the service logic data in the existing database are obtained in step S01, and are classified to form service classes, for example, the service logic related to movies is classified into a movie service class, and the service logic related to telephone charges is classified into a telephone charge service class, step S02 registers the existing application card and activates it to be in an retrievable state, and step S03 registers the activated application card and combines the existing service class to form a card class.
Of course, the steps S01 to S03 may be executed at the time of initial initialization, or may be executed again after updating the service logic, service category, or application card, so that the corresponding data is the latest data when the user uses the chat tool.
In one implementation of the method for implementing message interaction disclosed in this embodiment, step S06 is to retrieve and display an application card corresponding to the extracted feature;
calling a card component corresponding to the extracted features based on the extracted features;
analyzing the card assembly to obtain a card structure and a card style;
and displaying the application card according to the card structure and the card style.
Since the application cards corresponding to the features need to be displayed in the chat window in step S06, the card components corresponding to the application cards include a card structure and a card style, where the card structure specifically corresponds to the layout of the application cards, that is, the layout of characters or windows such as the card name and the display position, and the card style specifically corresponds to the information such as the font and the color of the application cards, and the application cards can be displayed according to the card structure and the card style.
Further, step S07, receiving and analyzing the interaction information submitted to the application card by the sender specifically includes:
positioning an input focus of an application card;
locking an input focus;
acquiring interactive information input by a sender in an input focus;
analyzing the interactive information according to the preset time, the interactive information quantity and the input focus quantity;
if the number of the interactive information is equal to the number of the input focuses within the preset time, executing the next step; if the quantity of the interactive information is less than the quantity of the input focuses within the preset time, returning to the previous step; if the preset time is exceeded and the number of the interactive information is smaller than that of the input focuses, feeding back prompt information and executing the next step;
the input focus is unlocked.
In this embodiment, the input focus is an input box provided by the application card to the client for inputting the interactive information, and the interactive information is key information required by the service logic corresponding to the application card, such as a recharge amount and confirmation information required by the telephone charge card. In actual use, there is a possibility that the telephone card further includes optional interactive information such as setting a recharging operation time or selecting another number, but in this embodiment, the input focus corresponds to an input focus of an input box corresponding to the necessary key information, and the interactive information is also specifically referred to as the necessary key information.
The preset time is preset to judge whether the user inputs effective interactive information within the corresponding time, when the timing starting point is the locking input focus, for example, the preset time can be set to 30 seconds, as shown in fig. 4, after the aforementioned telephone charge card is called and displayed, the corresponding effective interactive information is the recharge amount and the confirmation information, that is, the number of the 2 input focuses is included, and if the user inputs the 2 effective interactive information, that is, the recharge amount and the confirmation information, within 30 seconds, the effective interactive information necessary for triggering the service logic of the recharge is represented, the next step, that is, the input focus is unlocked, is executed, so that the next step is executed; if only any one of the recharge amount and the confirmation information is filled in within 30 seconds, namely only 1 piece of effective interaction information is included, the effective interaction information required by the service logic which does not reach the trigger charging fee is shown, and the interaction information is analyzed according to the preset time, the number of the interaction information and the number of the input focuses in the last step; if the effective interactive information necessary for triggering the service logic of the charging fee is still not finished after more than 30 seconds, the user indicates that the subsequent operation is not needed for some reason, and the next step, namely unlocking the input focus is also executed so as to facilitate the subsequent steps.
In one implementation of the method for implementing message interaction disclosed in this embodiment, the step S06 is to retrieve and display an application card corresponding to the extracted feature specifically as follows:
matching the features with the card categories, and calculating category characteristic values of the features;
comparing the category characteristic value with a category threshold value based on the matched card type;
when the category characteristic value is equal to or larger than the category threshold value, calling and displaying an application card corresponding to the characteristic based on the extracted characteristic;
and when the category characteristic value is smaller than the category threshold value, calling and displaying a preset number of application cards.
The specific method steps for corresponding the features and the application cards are that the category feature values of the features are calculated, the category feature values are compared with the preset category threshold values, and different calling and displaying results are achieved according to the comparison results.
If the category characteristic value is equal to or greater than the category threshold value, the characteristic is represented to be in accordance with the application cards corresponding to the category threshold value, and if the category characteristic value is smaller than the category threshold value, the characteristic is represented to be not yet reaching the degree of triggering the service category to contain the category threshold value of the existing application cards, and then a preset number of application cards are called and displayed.
Further, after classifying the application cards based on the business class and forming the card class, the method further includes: and respectively setting and storing the category threshold of each card category, namely setting and storing the category threshold of each card category in advance, and providing a comparison basis for subsequent steps.
Further, after classifying the application cards based on the business class and forming the card class, the method further includes:
respectively setting and storing a characteristic pool corresponding to each card type;
wherein, match characteristic and card classification specifically do:
sequentially searching features in each feature pool;
when the characteristics are searched in the current characteristic pool, matching the characteristics with the card type corresponding to the current characteristic pool;
when the features are not retrieved in the current feature pool, continuing to retrieve the next feature pool;
and when the features are not retrieved in all the feature pools, calling and displaying a preset number of service categories.
The specific method steps for corresponding the characteristics to the card types are that the characteristics are sequentially searched in the characteristic pool by presetting the characteristic pool of each card type, and matching or other display results are realized according to the search results.
Further, include a plurality of characteristics of predetermineeing in the characteristic pond, after setting up respectively and storing the characteristic pond that each card classification corresponds, still include:
and matching each preset feature in the feature pool with each application card in the corresponding card type, namely matching logic of the application card and the preset feature.
Further, when the feature is retrieved from the current feature pool, matching the feature with the card category corresponding to the current feature pool specifically includes:
when the preset features matched with the features are searched in the current feature pool, the features are matched with the application cards corresponding to the current preset features, namely, the substantial steps corresponding to the application cards and the features are realized based on the preset features and the features.
Preferably, after obtaining the service logic and classifying the service logic to form a service class, the method further includes:
sequencing the service types according to a preset rule and forming a service sequence number;
when the features are not retrieved from all the feature pools, calling and displaying the preset number of service categories specifically comprises the following steps:
and calling and sequentially displaying the preset number of service categories based on the service sequence number when the features are not retrieved in all the feature pools.
If the characteristics are not searched in all the characteristic pools, the information of the user does not relate to the characteristics in the existing database, but in order to avoid the deviation caused by personal language habits, different local languages or insufficient characteristic content in the database, the preset number is called and the service types are sequentially displayed according to the service serial number at the moment for the user to select. Of course, the service serial number of the reused service category can be arranged in the front column according to experience, the most frequently used 5 service categories can be displayed according to needs, the features in the database can be updated according to the selection habits of users by combining with the learning mode, and the updated features correspond to the service categories or the application cards.
Similarly, after classifying the application cards based on the business class and forming the card class, the method further includes:
sequencing the application cards according to a preset rule and forming card serial numbers;
when the category characteristic value is smaller than the category threshold value, calling and displaying the application cards with the preset number specifically comprise:
and when the category characteristic value is smaller than the category threshold value, calling and sequentially displaying a preset number of application cards based on the card serial numbers.
For the same reason as before, the application card may be processed in the same manner as the business category, so as to avoid the situation of no application card display or push caused by various deviations, and enhance the user experience.
Preferably, the feature of extracting the message is specifically: the features of the message are extracted based on natural language processing, which is a common technology in the field of communication technology, especially in the field of language message processing, and compared with a field-based processing mode, the features in the message can be more effectively extracted based on semantic analysis and other modes, and a specific implementation mode is not described herein again.
In addition, the method for implementing message interaction in this embodiment omits the steps of user registration, data filling, background data updating, etc., but does not represent that the method cannot have these steps, and only because these steps can directly adopt the prior art, in the actual application, the extensibility can still be extended based on the method of this embodiment. For example, when a user charges a phone fee, the default corresponding number is a mobile phone number filled in with data when the user registers, when a movie ticket is purchased, the default bank account or payment mode is a corresponding account or mode filled in with data when the user registers, of course, the user can fill or select other numbers and payment modes when the user needs and fills in interactive information by using a card, and specific details or methods are not described in detail herein.
The method for realizing message interaction disclosed by the embodiment is a brand-new user interaction technology established on a chat tool, so that the efficiency of professional customer service and the transaction conversion rate are improved by 3-5 times, and the corresponding message interaction type transaction container can be widely applied to the industry fields of financial professional customer service, intelligent investment and financing consultants and the like.
Corresponding to the method for implementing message interaction disclosed in this embodiment, as shown in fig. 3, this embodiment also discloses a system for implementing message interaction, including:
the message processing module 1 is used for receiving and analyzing the message sent by the sender and extracting the characteristics of the message;
the card management module 2 is used for calling and displaying the application card corresponding to the extracted features;
the information processing module 3 is used for receiving and analyzing the interactive information submitted to the application card by the sender;
the service execution module 4 is used for triggering and executing the service logic to which the application card belongs based on the interactive information;
and the result display module 5 is used for feeding back and displaying the result.
In practical application, after receiving a message, the message processing module 1 extracts features in the message and sends the features to the card management module 2, the card management module 2 calls and displays an application card based on the features, the information processing module 3 receives interaction information and sends the interaction information to the service execution module 4, and the service execution module 4 receives the interaction information, triggers and executes corresponding service logic, and notifies the result display module 5 to feed back and display results.
Further, the method also comprises the following steps:
the service classification module 6 is used for acquiring service logic and classifying the service logic to form service classes;
the card registration module 7 is used for registering application cards;
and the card classification module 8 is used for classifying the application cards based on the service classes to form card classes.
Further, the card management module 2 includes:
a card matching sub-module 21 for matching the characteristics with the card categories;
the feature comparison submodule 22 is used for calculating a category feature value of the feature and comparing the category feature value with a category threshold value based on the matched card type;
the card calling submodule 23 is used for calling and displaying the application card;
wherein,
when the category feature value is equal to or greater than the category threshold value, the card calling submodule 23 is configured to, based on the extracted feature, call and display an application card corresponding to the feature;
when the category feature value is smaller than the category threshold, the card retrieval submodule 23 is configured to retrieve and display a preset number of application cards.
Further, the card classification device further comprises a parameter presetting module, wherein the parameter presetting module is used for respectively setting and storing the classification threshold value of each card classification.
Preferably, the feature comparison sub-module 22 is further configured to set and store feature pools corresponding to the card categories respectively;
wherein, match characteristic and card classification specifically do:
the card matching submodule 21 is used for sequentially searching features in each feature pool;
when the features are retrieved from the current feature pool, the card matching sub-module 21 is configured to match the features with the card categories corresponding to the current feature pool;
when no feature is retrieved from the current feature pool, the card matching sub-module 21 is configured to continue retrieving the next feature pool;
when no features are retrieved from all the feature pools, the card matching sub-module 21 is configured to retrieve and display a preset number of service classes.
Further, the feature comparison sub-module 22 is further configured to match each preset feature in the feature pool with each application card in the corresponding card type.
Further, when the features are retrieved from the current feature pool, the card matching sub-module 21 is configured to match the features with the card categories corresponding to the current feature pool, specifically:
when the preset features matched with the features are retrieved from the current feature pool, the card matching sub-module 21 is used for matching the features with the application cards corresponding to the current preset features.
Preferably, the message processing module 1 includes:
the message receiving submodule 11 is used for receiving the message sent by the sender;
and the natural language processing submodule 12 is used for analyzing the message and extracting the characteristics of the message based on natural language processing.
Preferably, the traffic classification module 6 is further configured to:
sequencing the service types according to a preset rule and forming a service sequence number;
when no feature is retrieved from all the feature pools, the card matching sub-module 21 is configured to call and display a preset number of service categories, specifically:
when the features are not retrieved from all the feature pools, the card matching sub-module 21 is configured to call and sequentially display a preset number of service categories based on the service serial numbers.
Preferably, the card sorting module 8 is further configured to:
sequencing the application cards according to a preset rule and forming card serial numbers;
wherein, when the category eigenvalue is smaller than the category threshold, the card calling submodule 23 is configured to call and display the application cards of the preset number, specifically:
when the category feature value is smaller than the category threshold value, the card retrieval submodule 23 is configured to retrieve and sequentially display a preset number of application cards based on the card serial number.
The method and system for implementing message interaction provided by the invention are introduced in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Claims (10)
1. A method for implementing message interaction, comprising:
receiving and analyzing a message sent by a sender;
extracting features of the message;
calling and displaying an application card corresponding to the extracted features based on the extracted features;
receiving and analyzing the interactive information submitted to the application card by the sender;
triggering the business logic of the application card based on the interaction information;
and executing business logic and feeding back the result.
2. The method for implementing message interaction as claimed in claim 1, further comprising, before said receiving and analyzing the message sent by the sender:
acquiring service logic and classifying the service logic to form service classes;
registering an application card;
and classifying the application cards based on the service classes to form card classes.
3. The method for realizing message interaction according to claim 1, wherein the application card corresponding to the extracted feature is specifically called and displayed based on the extracted feature;
calling a card assembly corresponding to the extracted features based on the extracted features;
analyzing the card assembly to obtain a card structure and a card style;
and displaying the application card according to the card structure and the card style.
4. The method for implementing message interaction according to claim 3, wherein the receiving and analyzing the interaction information submitted to the application card by the sender specifically comprises:
positioning an input focus of the application card;
locking the input focus;
acquiring the interactive information input by a sender in the input focus;
analyzing the interactive information according to preset time, the quantity of the interactive information and the quantity of input focuses;
if the quantity of the interactive information is equal to the quantity of the input focuses within the preset time, executing the next step; if the quantity of the interactive information is smaller than the quantity of the input focuses within the preset time, returning to the previous step; if the preset time is exceeded and the number of the interactive messages is smaller than the number of the input focuses, feeding back prompt messages and executing the next step;
unlocking the input focus.
5. The method for implementing message interaction according to claim 2, wherein the retrieving and displaying the application card corresponding to the extracted feature based on the extracted feature specifically includes:
matching the features with the card categories, and calculating category feature values of the features;
comparing the category feature value to a category threshold based on the matched card type;
when the category feature value is equal to or larger than the category threshold value, calling and displaying the application card corresponding to the feature based on the extracted feature;
and when the category characteristic value is smaller than the category threshold value, calling and displaying a preset number of the application cards.
6. The method for implementing message interaction according to claim 5, wherein after the classifying the application card based on the service class to form a card class, further comprising:
respectively setting and storing a feature pool corresponding to each card type;
wherein the matching of the features with the card categories specifically is:
sequentially retrieving the features in each of the feature pools;
when the characteristics are searched in the current characteristic pool, matching the characteristics with the card category corresponding to the current characteristic pool;
when the feature is not retrieved in the current feature pool, continuing to retrieve the next feature pool;
and when the features are not retrieved from all the feature pools, calling and displaying a preset number of the service categories.
7. The method of claim 6, wherein after the obtaining the service logic and classifying the service logic to form a service class, the method further comprises:
sequencing the service categories according to a preset rule and forming service sequence numbers;
when the features are not retrieved from all the feature pools, the calling and displaying of the preset number of the service categories specifically comprises:
and calling and sequentially displaying a preset number of the service categories based on the service sequence number when the features are not retrieved in all the feature pools.
8. A system for implementing message interaction, comprising:
the message processing module is used for receiving and analyzing the message sent by the sender and extracting the characteristics of the message;
the card management module is used for calling and displaying an application card corresponding to the extracted features;
the information processing module is used for receiving and analyzing the interactive information submitted to the application card by the sender;
the service execution module is used for triggering and executing the service logic to which the application card belongs based on the interaction information;
and the result display module is used for feeding back and displaying the result.
9. The system for implementing message interaction of claim 8, further comprising:
the service classification module is used for acquiring service logic and classifying the service logic to form service classes;
the card registration module is used for registering the application card;
and the card classification module is used for classifying the application cards based on the service classes to form card classes.
10. The system for realizing message interaction according to claim 9, wherein the card management module comprises:
the card matching submodule is used for matching the characteristics with the card categories;
the feature comparison submodule is used for calculating a category feature value of the feature and comparing the category feature value with a category threshold value based on the matched card type;
the card calling submodule is used for calling and displaying the application card;
wherein,
when the category feature value is equal to or larger than the category threshold value, the card calling sub-module is used for calling and displaying the application card corresponding to the feature based on the extracted feature;
and when the category characteristic value is smaller than the category threshold value, the card calling submodule is used for calling and displaying a preset number of application cards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810603022.5A CN108933729A (en) | 2018-06-12 | 2018-06-12 | A kind of method and system for realizing interacting message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810603022.5A CN108933729A (en) | 2018-06-12 | 2018-06-12 | A kind of method and system for realizing interacting message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108933729A true CN108933729A (en) | 2018-12-04 |
Family
ID=64446365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810603022.5A Pending CN108933729A (en) | 2018-06-12 | 2018-06-12 | A kind of method and system for realizing interacting message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108933729A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699228A (en) * | 2020-12-31 | 2021-04-23 | 青岛海尔科技有限公司 | Service access method, device, electronic equipment and storage medium |
CN113590111A (en) * | 2021-07-19 | 2021-11-02 | 郭睿 | Implementation method of high-configurable low-code development platform based on card assembly |
CN113703898A (en) * | 2021-08-31 | 2021-11-26 | 康键信息技术(深圳)有限公司 | Card type interaction method, device, equipment and medium |
CN115061765A (en) * | 2022-06-20 | 2022-09-16 | 未鲲(上海)科技服务有限公司 | Message card ejection method and device, electronic equipment and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101356837A (en) * | 2006-02-06 | 2009-01-28 | 客得富移动通信股份有限公司 | Mobile terminal for chatting by using sms and method thereof |
CN104836720A (en) * | 2014-02-12 | 2015-08-12 | 北京三星通信技术研究有限公司 | Method for performing information recommendation in interactive communication, and device |
CN105100145A (en) * | 2014-05-05 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and device for interacting user information and method and device for acquiring user information |
CN105159977A (en) * | 2015-08-27 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Information interaction processing method and apparatus |
CN105512138A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Method for processing text information and system for same |
CN105898721A (en) * | 2015-10-27 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Short message processing method and apparatus |
CN105975501A (en) * | 2016-04-27 | 2016-09-28 | 北京小米移动软件有限公司 | Method and device for displaying message content |
CN106021600A (en) * | 2016-06-12 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Information prompting method and device |
US20170178100A1 (en) * | 2015-12-21 | 2017-06-22 | Vantiv, Llc | Cloud-based configurable transaction management controller and method thereof |
CN107135140A (en) * | 2016-02-29 | 2017-09-05 | 阿里巴巴集团控股有限公司 | A kind of instant communicating method and device |
CN107422941A (en) * | 2017-08-10 | 2017-12-01 | 北京泰迪熊移动科技有限公司 | Exchange method and system |
CN107959615A (en) * | 2016-10-14 | 2018-04-24 | 腾讯科技(深圳)有限公司 | A kind of method of data transfer, user equipment and business device |
-
2018
- 2018-06-12 CN CN201810603022.5A patent/CN108933729A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101356837A (en) * | 2006-02-06 | 2009-01-28 | 客得富移动通信股份有限公司 | Mobile terminal for chatting by using sms and method thereof |
CN104836720A (en) * | 2014-02-12 | 2015-08-12 | 北京三星通信技术研究有限公司 | Method for performing information recommendation in interactive communication, and device |
CN105100145A (en) * | 2014-05-05 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and device for interacting user information and method and device for acquiring user information |
CN105512138A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Method for processing text information and system for same |
CN105159977A (en) * | 2015-08-27 | 2015-12-16 | 百度在线网络技术(北京)有限公司 | Information interaction processing method and apparatus |
CN105898721A (en) * | 2015-10-27 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Short message processing method and apparatus |
US20170178100A1 (en) * | 2015-12-21 | 2017-06-22 | Vantiv, Llc | Cloud-based configurable transaction management controller and method thereof |
CN107135140A (en) * | 2016-02-29 | 2017-09-05 | 阿里巴巴集团控股有限公司 | A kind of instant communicating method and device |
CN105975501A (en) * | 2016-04-27 | 2016-09-28 | 北京小米移动软件有限公司 | Method and device for displaying message content |
CN106021600A (en) * | 2016-06-12 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Information prompting method and device |
CN107959615A (en) * | 2016-10-14 | 2018-04-24 | 腾讯科技(深圳)有限公司 | A kind of method of data transfer, user equipment and business device |
CN107422941A (en) * | 2017-08-10 | 2017-12-01 | 北京泰迪熊移动科技有限公司 | Exchange method and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699228A (en) * | 2020-12-31 | 2021-04-23 | 青岛海尔科技有限公司 | Service access method, device, electronic equipment and storage medium |
CN112699228B (en) * | 2020-12-31 | 2023-07-14 | 青岛海尔科技有限公司 | Service access method, device, electronic equipment and storage medium |
CN113590111A (en) * | 2021-07-19 | 2021-11-02 | 郭睿 | Implementation method of high-configurable low-code development platform based on card assembly |
CN113703898A (en) * | 2021-08-31 | 2021-11-26 | 康键信息技术(深圳)有限公司 | Card type interaction method, device, equipment and medium |
CN115061765A (en) * | 2022-06-20 | 2022-09-16 | 未鲲(上海)科技服务有限公司 | Message card ejection method and device, electronic equipment and storage medium |
CN115061765B (en) * | 2022-06-20 | 2024-09-06 | 西藏瀚灵科技有限公司 | Message card ejection method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108933729A (en) | A kind of method and system for realizing interacting message | |
CN101287040B (en) | Action prediction based on interactive history and context between sender and recipient | |
EP3182684A1 (en) | Intelligent service interaction platform apparatus, system and realizing method thereof | |
CN106506322A (en) | The implementation method of business function and device | |
US9323423B1 (en) | System, method, and computer program for displaying tasks as interactive thumbnails for interaction therewith by a user | |
US11356545B2 (en) | Communication terminal and method of providing unified interface to the same | |
CN105472583A (en) | Message processing method and apparatus | |
CN113593533B (en) | Method, device, equipment and medium for jumping flow node based on intention recognition | |
GB2506450A (en) | Web page categorisation | |
CN106468990A (en) | The method and apparatus that service entrance is provided | |
CN111130988A (en) | ETC (electronic toll Collection) handling method, client, server and system based on WeChat applet | |
CN109213397B (en) | Data processing method and device and user side | |
CN101202792A (en) | Method and apparatus for processing messages based on relationship between sender and recipient | |
US20160314110A1 (en) | Modifying an Electronic Form using Metrics Obtained from Measuring User Effort | |
CN104955005A (en) | Method and device for depositing for communication terminal | |
CN104866614A (en) | Entry creating method and entry creating device | |
CN106462587A (en) | Method of and system for creating and managing a combined advertisement using a mobile device | |
EP4071633A1 (en) | Task query method and device | |
CN105554254A (en) | Notification message processing method and device | |
CN113094194A (en) | Clipboard information processing method and device | |
CN111914548A (en) | Intelligent document filling method and system and related equipment | |
CN109120509B (en) | Information collection method and device | |
CN109871129B (en) | Human-computer interaction method and device, customer service equipment and storage medium | |
CN111192035A (en) | Multi-system consumption clearing configuration processing method and system | |
CN109891410B (en) | Data collection for new session dialog systems |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181204 |
|
RJ01 | Rejection of invention patent application after publication |