CN115361350A - Chat robot discovery method and device and computer readable storage medium - Google Patents

Chat robot discovery method and device and computer readable storage medium Download PDF

Info

Publication number
CN115361350A
CN115361350A CN202210980983.4A CN202210980983A CN115361350A CN 115361350 A CN115361350 A CN 115361350A CN 202210980983 A CN202210980983 A CN 202210980983A CN 115361350 A CN115361350 A CN 115361350A
Authority
CN
China
Prior art keywords
chatbot
operator
identifier
terminal
identification
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.)
Granted
Application number
CN202210980983.4A
Other languages
Chinese (zh)
Other versions
CN115361350B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210980983.4A priority Critical patent/CN115361350B/en
Publication of CN115361350A publication Critical patent/CN115361350A/en
Application granted granted Critical
Publication of CN115361350B publication Critical patent/CN115361350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for discovering a chat robot and a computer readable storage medium, wherein the method comprises the following steps: acquiring a first operator identifier and an industry keyword identifier newly added in a deep link of a target chatbot; judging whether the first operator identification is the same as a second operator identification corresponding to the terminal number card attribution operator or not; if the business keyword identification is different from the business keyword identification, sending a search request carrying the business keyword identification to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the business keyword identification to a terminal according to the search request; and receiving and displaying the chatbot list sent by the MaaP platform. The method, the device and the computer readable storage medium can solve the problem that the chatbot is easily unrecognizable when the chatbot and the terminal number card belong to different operators in the conventional chatbot discovery method.

Description

Chat robot discovery method and device and computer readable storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for discovering a chat robot, and a computer-readable storage medium.
Background
When a terminal scans a two-dimensional code corresponding to a deeplink of a chatbot, firstly, a home operator of the chatbot is judged according to a domain name carried in a chatbot service ID, then, a corresponding card is used for chatbot discovery, chatbot details are obtained and interacted with the details, and if the chatbot and a terminal number card belong to different operators, the chatbot cannot be identified.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus and a computer readable storage medium for discovering a chat robot, which are used to solve the problem that in the existing chatbot discovering method, when a chatbot and a terminal number card belong to different operators, the chatbot is easily unrecognizable.
In a first aspect, the present invention provides a method for discovering a chat robot chatbot, which is applied to a terminal, and the method includes:
acquiring a first operator identifier and an industry key word identifier newly added in a deep link deeplink of a target chatbot;
judging whether the first operator identification is the same as a second operator identification corresponding to the terminal number card attributive operator or not;
if the difference is different, sending a search request carrying the industry key word identification to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the industry key word identification to a terminal according to the search request;
and receiving and displaying the chatbot list sent by the MaaP platform.
Further, the obtaining of the newly added first operator identifier in the deep link deeplink of the target chatbot specifically includes:
acquiring a first operator identifier which is newly added in a deeplink of a target chatbot and is subjected to encryption processing;
after the encrypted first operator identifier newly added in the deeplink of the target chatbot is obtained, the method further includes:
acquiring an encryption algorithm corresponding to the encrypted first operator identifier from a pre-stored configuration file;
and decrypting the encrypted first operator identifier based on the encryption algorithm to obtain the decrypted first operator identifier.
Further, the obtaining of the encryption algorithm corresponding to the encrypted first operator identifier from the pre-stored configuration file specifically includes:
and acquiring an encryption algorithm corresponding to the encrypted first operator identifier from the new deeplink encryption field of the configuration file.
Further, before the obtaining the encryption algorithm corresponding to the encrypted first operator identifier from the pre-stored configuration file, the method further includes:
sending a configuration file acquisition request to a configuration management server;
and receiving and storing the configuration file returned by the configuration management server based on the configuration file acquisition request.
Further, the determining whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card home operator specifically includes:
acquiring an operator list corresponding to the target chatbot from a pre-stored configuration file;
and if the first operator corresponding to the first operator identifier is in the operator list, judging whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card attributive operator.
Further, the obtaining of the operator list corresponding to the target chatbot from the pre-stored configuration file specifically includes:
and acquiring an operator list corresponding to the target chatbot from a newly added 5G message operator list field of the configuration file.
Further, still include:
and if the first operator identification is the same as the second operator identification, requesting a MaaP platform to acquire the chatbot information of the target chatbot.
In a second aspect, the present invention provides a method for discovering a chat robot chatbot, which is applied to a message platform, i.e., a MaaP platform, and includes:
receiving a search request which is sent by a terminal and carries an industry key word identifier, wherein the search request is sent when the first operator identifier is judged to be different from a second operator identifier corresponding to a terminal number card attribution operator after the terminal obtains a first operator identifier and the industry key word identifier which are newly added in a deep link dephlink of a target chatbot;
and returning a chatbot list corresponding to the industry key word identifier to the terminal according to the search request so that the terminal receives and displays the chatbot list.
Further, still include:
receiving a request sent by the terminal for acquiring chatbot information of the target chatbot when judging that the first operator identification is the same as the second operator identification;
and sending the chatbot information to the terminal according to the request.
In a third aspect, the present invention provides a chat robot discovery device, provided at a terminal, the device including:
the identification acquisition module is used for acquiring a first operator identification and an industry key word identification which are newly added in a deep link deeplink of a target chatbot;
the operator judging module is connected with the identifier acquiring module and is used for judging whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card attributive operator or not;
a search request sending module, connected to the operator judgment module, and configured to send a search request carrying the industry-related keyword identifier to a message, i.e., a MaaP platform, if the search request is different, so that the MaaP platform returns a chatbot list corresponding to the industry-related keyword identifier to a terminal according to the search request;
and the chatbot list receiving module is connected with the search request sending module and is used for receiving and displaying the chatbot list sent by the MaaP platform.
In a fourth aspect, the present invention provides a chat robot discovery apparatus for chatbot installed on a MaaP platform, which is a messaging platform, the apparatus including:
the search request receiving module is used for receiving a search request which is sent by a terminal and carries an industry key word identifier, wherein the search request is sent when the first operator identifier is judged to be different from a second operator identifier corresponding to a terminal number card attributive operator after the terminal obtains a first operator identifier and the industry key word identifier which are newly added in a deep link dephlink of a target chatbot;
and the chatbot list sending module is connected with the search request receiving module and used for returning a chatbot list corresponding to the industry key character identification to the terminal according to the search request so that the terminal can receive and display the chatbot list.
In a fifth aspect, the present invention provides a device for discovering a chatbot, including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to implement the method for discovering a chatbot according to the first aspect or the second aspect.
In a sixth aspect, the present invention provides a computer readable storage medium, which stores a computer program, and when executed by a processor, the computer program implements the discovery method of chatbot according to the first aspect or the second aspect.
According to the chat robot discovery method, the chat robot discovery device and the computer readable storage medium, the independent first operator identification and the industry key word identification are added to the deeplink, so that the identification of an operator can be decoupled from chatservivicid, and when a terminal acquires the first operator identification and the industry key word identification which are added to the deeplink of a target chatbot, whether the first operator identification is the same as the second operator identification corresponding to the terminal number card attributive operator is judged; if the chatbot is different from the service provider, a search request carrying the industry key word identification is sent to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the industry key word identification to a terminal according to the search request, and the terminal receives and displays the chatbot list sent by the MaaP platform, thereby reducing the condition that the chatbot is unidentifiable, improving the user experience and solving the problem that the chatbot is easily unidentifiable when the chatbot and a terminal number card belong to different operators in the conventional chatbot discovery method.
Drawings
FIG. 1 is a flowchart of a chatbot discovery method according to embodiment 1 of the present invention;
FIG. 2 is a flowchart of a chatbot discovery method according to embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of a chatbot discovery apparatus according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a chatbot discovery apparatus according to embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of a chatbot discovery apparatus according to embodiment 5 of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following detailed description will be made with reference to the accompanying drawings.
It is to be understood that the specific embodiments and figures described herein are merely illustrative of the invention and are not limiting of the invention.
It is to be understood that the various embodiments and features of the embodiments may be combined with each other without conflict.
It is to be understood that, for the convenience of description, only parts related to the present invention are shown in the drawings of the present invention, and parts not related to the present invention are not shown in the drawings.
It should be understood that each unit and module related in the embodiments of the present invention may correspond to only one physical structure, may also be composed of multiple physical structures, or multiple units and modules may also be integrated into one physical structure.
It will be understood that, without conflict, the functions, steps, etc. noted in the flowchart and block diagrams of the present invention may occur in an order different from that noted in the figures.
It is to be understood that the flowchart and block diagrams of the present invention illustrate the architecture, functionality, and operation of possible implementations of systems, apparatus, devices and methods according to various embodiments of the present invention. Each block in the flowchart or block diagrams may represent a unit, module, segment, code, which comprises executable instructions for implementing the specified function(s). Furthermore, each block or combination of blocks in the block diagrams and flowchart illustrations can be implemented by a hardware-based system that performs the specified functions or by a combination of hardware and computer instructions.
It is to be understood that the units and modules involved in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware, for example, the units and modules may be located in a processor.
Summary of the application
The traditional short message service of the operator can not meet the diversified requirements of users due to simple function and limited experience. When the age of 5G became interim, global operators had achieved a wide consensus: the traditional short message service needs to be upgraded to a rich media message service, which is called a 5G message service. The 5G messaging service not only supports multimedia messaging between individual users, but also enables industry customers to provide new digital interactive services based on rich media for their users. According to the GSMA (global system for mobile communications alliance) plan, the 5G terminal will support the 5G message service in the future, and the related standards have already been worked out. It is expected that the wide popularization of the 5G message service will bring a brand new service experience to the vast mobile phone users, and bring a valuable development opportunity to global operators, industry customers and related industries.
Currently, 5G messaging services are primarily provided in the form of a chatbot, and the content of a message sent by an individual user to a chatbot of an industrial client may contain media formats such as: text, pictures, audio, video, expressions, locations, contacts, and the like. The content of messages sent by chatbot of an industry client to an individual user in a point-to-point and mass messaging manner can contain media formats such as: text, pictures, audio, video, expressions, positions, contacts and the like, and also can contain rich media cards, and a suggestion option list (comprising 'suggestion reply' and 'suggestion operation') can be carried in the message.
The existing chatbot discovery method includes two methods, namely, terminal search and deeplink discovery. The deeplink discovery means that a message application is called by scanning a two-dimensional code corresponding to deeplink, clicking a webpage, and the like, so as to discover the chatbot and start a dialogue with the chatbot. According to the related art standard of 5G message, the deeplink for chatbot discovery mainly includes chatbot serviceid, chatbot SMS code and chatbot suggestion option. According to the current operation status of the 5G message, the 5G message chatbot is independent from one operator to another, that is, the chatbot can only belong to one operator and is not shared by other operators. When a terminal scans a two-dimensional code corresponding to deplink of a certain chatbot, firstly, a home operator of the chatbot is judged according to a domain name carried in chatbot servicecid, and chatbot discovery is carried out by using a corresponding card, so that chatbot details are obtained and interacted with the details; if the chatbot and the terminal card number belong to different operators, the chatbot is not recognizable.
Aiming at the technical problem, the idea of the application is to provide a method, a device and a computer readable storage medium for discovering a chat robot, wherein the method can decouple the identification of an operator from chatbot serviceid by adding a first operator identification and an industry key character identification in a deeplink, and when a terminal obtains the first operator identification and the industry key character identification which are newly added in the deeplink of a target chatbot, whether the first operator identification is the same as a second operator identification corresponding to a terminal number card home operator is judged; if the difference is different, a search request carrying the industry key character identification is sent to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the industry key character identification to the terminal according to the search request, and the terminal receives and displays the chatbot list sent by the MaaP platform, thereby reducing the situation that the chatbot cannot be identified and improving the user experience.
Having described the general principles of the present application, various non-limiting embodiments of the present application will now be described with reference to the accompanying drawings.
Example 1:
the embodiment provides a chatbot (chat robot) discovery method applied to a terminal, and as shown in fig. 1, the method includes:
step S101: and acquiring a first operator identifier and an industry key word identifier newly added in the deep link deeplink of the target chatbot.
It should be noted that, the 5G message platforms of the operators are independent, which may cause the terminal to search and find only the chatbot provided by the operator corresponding to the number card used, which means that the peedlink is used to generate a chatbot two-dimensional code, and when the terminal finds the chatbot by scanning the chatbot two-dimensional code, if the operator to which the chatbot belongs and the operator to which the terminal number card belongs do not correspond, the chatbot cannot be identified, which brings a bad experience to the user.
In this embodiment, in order to reduce the occurrence of an unrecognizable status of chatbot, the identification of an operator is decoupled from chatbotserviceid, a separate first operator identification service _ provider and an industry key word identification service _ type are added to deeplink, the first operator identification is an operator identification to which a target chatbot belongs, and the industry key word identification is used for identifying a corresponding industry, such as a bank, a restaurant, a hospital, and the like. When the terminal scans the two-dimensional code corresponding to the deeplink of the target chatbot, the newly added first operator identifier and the industry key character identifier can be directly obtained.
Optionally, the obtaining of the first operator identifier newly added to the deep link deeplink of the target chatbot specifically includes:
acquiring a first operator identifier which is newly added in a deeplink of a target chatbot and is subjected to encryption processing;
after the encrypted first operator identifier newly added to the deeplink of the target chatbot is obtained, the method further includes:
acquiring an encryption algorithm corresponding to the encrypted first operator identifier from a pre-stored configuration file;
and decrypting the encrypted first operator identifier based on the encryption algorithm to obtain the decrypted first operator identifier.
In this embodiment, to avoid illegally falsifying the 5G message chatbot, the first operator identifier included in the Deeplink may be encrypted, the encryption algorithm uses a symmetric encryption manner, and the adopted encryption algorithm may be obtained in a configuration file acquired during initial configuration of the terminal.
Optionally, the obtaining, from a pre-stored configuration file, an encryption algorithm corresponding to the encrypted first operator identifier specifically includes:
obtaining the encryption algorithm corresponding to the encrypted first operator identifier from the new deeplink encryption field of the configuration file
In this embodiment, in order to facilitate the analysis of the first operator identifier included in the deeplink, in the configuration file obtained by the terminal service configuration, on the basis of the original configuration file format, a deeplink-encryption (deeplink-encryption) field may be added to mark the used encryption algorithm.
In this embodiment, in order to facilitate indicating the category of the legal 5G message operator, a 5G message operator list (serviceprovider-list) field may be added on the basis of the original configuration file to mark the operator list corresponding to the target chatbot.
Optionally, before the obtaining the encryption algorithm corresponding to the encrypted first operator identifier from the pre-stored configuration file, the method further includes:
sending a configuration file acquisition request to a configuration management server;
and receiving and storing the configuration file returned by the configuration management server based on the configuration file acquisition request.
In this embodiment, the terminal only executes the automatic provisioning procedure in the mobile cellular network data domain, and may automatically acquire the configuration file in PS (Packet Switch) access and WiFi.
Specifically, the step of the terminal acquiring the configuration file in the mobile cellular network data domain includes: the terminal adds a head enhanced field through GGSN (Gateway GPRS Support Node)/PGW (PDN Gateway), sends a configuration file acquisition request to a configuration management server, after the configuration management server receives the configuration file acquisition request, if the configuration management server judges that a terminal number card is not opened, the configuration management server returns 503 response, and executes an opening process, the terminal retries to acquire the configuration file after setting time, the configuration management server returns a corresponding configuration file to the terminal, the terminal stores the configuration file, and executes a 5G message registration process according to the configuration file; and if the configuration management server judges that the terminal number card has opened an account, directly returning a corresponding configuration file to the terminal, and executing a 5G message registration process by the terminal according to the configuration file. In the returned configuration file, a deeplink-encryption field is added on the basis of the original configuration file, the used encryption algorithm is marked to analyze the first operator identification contained in the deeplink, a serviceprovider-list field is added, a 5G message operator list is marked, and the category of a legal 5G message operator is indicated.
Specifically, the step of acquiring the configuration file by the terminal under WiFi includes: the terminal directly sends a configuration file acquisition request to a configuration management server through a WiFi network, the configuration management server judges that the request does not carry a header enhancement field, the configuration management server judges that the request is a configuration flow in a WiFi access mode, a response is returned to 511, and then the terminal initiates the configuration file acquisition request in the form of HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer). The HTTPS message needs to contain token information, the configuration function judges whether the token is valid, if so, the authentication is passed, and whether a configuration file is issued to the terminal is judged according to a configuration version number; if the token is invalid or does not carry the token, the configuration management server sends a 200 response carrying the cookie, and simultaneously acquires the MSISDN (Mobile Station international ISDN number) of the user according to the user data stored in the configuration management server, and sends a short message to the MSISDN, where the short message carries an OTP (One Time Password). And the terminal receives the short message, automatically intercepts the OTP, and re-initiates an HTTPS request to a configuration management server, wherein the HTTPS request carries Cookie and OTP information. The configuration management server returns a configuration file to the configuration management server, in the returned configuration file, based on the original configuration file, a deeplink-encryption field is added, a used encryption algorithm is marked to analyze a first operator identifier contained in the deeplink, a serviceprovider-list field is added, a 5G message operator list is marked, and the scope of a legal 5G message operator is indicated.
Step S102: and judging whether the first operator identification is the same as a second operator identification corresponding to the terminal number card attribution operator or not.
Specifically, the terminal may first obtain an operator list corresponding to the target chatbot from a pre-stored configuration file, and if a first operator corresponding to the first operator identifier is in the operator list, it indicates that the first operator belongs to the category of a legal 5G message operator, and at this time, further determines whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card attributive operator.
Optionally, the obtaining the operator list corresponding to the target chatbot from a pre-stored configuration file specifically includes:
and acquiring an operator list corresponding to the target chatbot from a serviceprovider-list (5G message operator list) field newly added in the configuration file.
Step S103: if the business key word identifiers are different, a search request carrying the industry key word identifiers is sent to a message platform MaaP (Messaging as aPlatform message platform), so that the MaaP platform returns a chatbot list corresponding to the industry key word identifiers to a terminal according to the search request.
In this embodiment, if the target chatbot and a terminal number card (such as a USIM card) belong to different operators, a search request is directly sent to a MaaP platform, where the request carries a service _ type, the MaaP platform performs fuzzy matching on key words according to the service _ type, and returns a chatbot list corresponding to the service _ type to the terminal.
In this embodiment, if the first operator identifier is the same as the second operator identifier, that is, the target chatbot and the terminal number card (e.g., USIM card) belong to the same operator, the terminal directly requests the MaaP platform to acquire chatbot information of the target chatbot, where the chatbot information includes chatbot id, an avatar, an authentication status, a telephone, an address, and other contents of the target chatbot.
Step S104: and receiving and displaying the chatbot list sent by the MaaP platform.
In this embodiment, the terminal receives the chatbot list and then displays the chatbot list, and the user can select the chatbot in the list for interaction.
In a specific embodiment, the discovery method of chatbot can include the following steps:
(1) The terminal scans a two-dimensional code corresponding to the deplink of the target chatbot, acquires a domain name of the service _ id in the deplink, judges whether a 'bootplan' field is contained in the domain name, and judges that the two-dimensional code is the two-dimensional code of the 5G message chatbot if the 'bootplan' field is contained in the domain name. Otherwise, the two-dimensional code is judged not to be the two-dimensional code of the 5G message chatbot.
(2) If the two-dimensional code is judged not to be the two-dimensional code of the 5G message chatbot, the terminal does not inquire details of the chatbot any more, but judges whether the sms field is empty or not, if so, the terminal prompts that the two-dimensional code is invalid, and if not, the terminal pops up a short message chat window;
(3) If the two-dimensional code is the two-dimensional code of the 5G message chatbot, acquiring a first operator identification service _ provider in the deeplink, analyzing the used encryption algorithm according to an acquired deeplink-encryption field in the configuration file, decrypting the service _ provider contained in the deeplink by using the algorithm, comparing the decrypted service _ provider with an operator list contained in a serviceprovider-list field in the configuration file, and performing a next judgment process if the decrypted content is in the specified operator list; if the decrypted content is out of the specified operator list, the terminal directly prompts 'illegal chatbot' or 'two-dimensional code invalid' without performing subsequent processes.
(4) If the decrypted content is in the specified operator list, the terminal judges whether the terminal number card is consistent with the operator of the chatbot indicated by the service _ provider, if so, the SIP URI of the chatbot is derived according to the service _ id parameter in the depilling corresponding to the two-dimensional code, the network side is accessed through the SIP URI to obtain the details of the chatbot, and after the details are successfully obtained, a new chat interface of the chatbot is opened; if the fields are inconsistent with the keywords, the terminal analyzes the industry keyword identifier service _ type, the value of the field is used as a search keyword, a chatbot search request is initiated to the MaaP platform, after the MaaP matches the keywords, a list of related chatbots is returned to the terminal, and the user can select the chatbot in the list for interaction.
According to the chatbot discovering method provided by the embodiment of the invention, the identification of the operator and chatbot serviceceid can be decoupled by adding the independent first operator identification and the industry key character identification in the deeplink, and when the terminal acquires the first operator identification and the industry key character identification newly added in the deeplink of the target chatbot, whether the first operator identification is the same as the second operator identification corresponding to the terminal number card home operator is judged; if the chatbot is different from the service provider, a search request carrying the industry key word identification is sent to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the industry key word identification to a terminal according to the search request, and the terminal receives and displays the chatbot list sent by the MaaP platform, thereby reducing the condition that the chatbot is unidentifiable, improving the user experience and solving the problem that the chatbot is easily unidentifiable when the chatbot and a terminal number card belong to different operators in the conventional chatbot discovery method.
Example 2:
as shown in fig. 2, this embodiment provides a discovery method of chatbot, which is applied to a MaaP platform, and the method includes:
step S201: receiving a search request which is sent by a terminal and carries an industry key word identifier, wherein the search request is sent when the first operator identifier is judged to be different from a second operator identifier corresponding to a terminal number card attribution operator after the terminal obtains a first operator identifier and the industry key word identifier which are newly added in a deep link dephlink of a target chatbot.
In this embodiment, in order to reduce the occurrence of an unrecognizable status of chatbot, the identification of an operator is decoupled from chatbotserviceid, a separate first operator identification service _ provider and an industry key word identification service _ type are added to deeplink, the first operator identification is an operator identification to which a target chatbot belongs, and the industry key word identification is used for identifying a corresponding industry, such as a bank, a restaurant, a hospital, and the like. When the terminal scans the two-dimensional code corresponding to the deeplink of the target chatbot, the newly added first operator identifier and the industry key word identifier can be directly obtained. And when judging that the first operator identification is different from a second operator identification corresponding to the terminal number card attributive operator, the terminal sends a search request to the MaaP platform, wherein the request carries the service _ type.
Step S202: and returning a chatbot list corresponding to the industry key word identification to the terminal according to the search request so that the terminal receives and displays the chatbot list.
In this embodiment, after receiving the search request, the MaaP platform performs fuzzy matching on key words according to the service _ type, returns a chatbot list corresponding to the service _ type to the terminal, and displays the chatbot list after receiving the chatbot list, so that the user can select the chatbot in the list for interaction.
Optionally, the method further comprises:
receiving a request sent by the terminal for acquiring chatbot information of the target chatbot when the terminal judges that the first operator identification is the same as the second operator identification;
and sending the chatbot information to the terminal according to the request.
In this embodiment, the chatbot information can contain the chatbot id, the avatar, the authentication status, the phone number, the address, etc. of the target chatbot.
Example 3:
as shown in fig. 3, the present embodiment provides a discovery apparatus of a chatbot, which is provided in a terminal and is configured to execute the discovery method of the chatbot in embodiment 1, where the apparatus includes:
the identification obtaining module 11 is configured to obtain a first operator identification and an industry key word identification newly added to a deep link deeplink of a target chatbot;
an operator determining module 12, connected to the identifier obtaining module 11, configured to determine whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card attribution operator;
a search request sending module 13, connected to the operator determining module 12, and configured to send a search request carrying the industry-related keyword identifier to a message, i.e., a MaaP platform, if the search request is different, so that the MaaP platform returns a chatbot list corresponding to the industry-related keyword identifier to a terminal according to the search request;
and a chatbot list receiving module 14, connected to the search request sending module 13, configured to receive and display the chatbot list sent by the MaaP platform.
Optionally, the identifier obtaining module 11 is specifically configured to:
acquiring a first operator identifier which is newly added in a deeplink of a target chatbot and is subjected to encryption processing;
the device further comprises:
the encryption algorithm obtaining module is used for obtaining an encryption algorithm corresponding to the encrypted first operator identifier from a pre-stored configuration file;
and the decryption processing module is used for decrypting the encrypted first operator identifier based on the encryption algorithm to obtain the decrypted first operator identifier.
Optionally, the encryption algorithm obtaining module is specifically configured to:
and acquiring an encryption algorithm corresponding to the encrypted first operator identifier from a deeplink encryption field newly added to the configuration file.
Optionally, the apparatus further comprises:
the first request sending module is used for sending a configuration file acquisition request to the configuration management server;
and the receiving and storing module is used for receiving and storing the configuration file returned by the configuration management server based on the configuration file acquisition request.
Optionally, the operator determining module 12 specifically includes:
an operator list acquiring unit, configured to acquire an operator list corresponding to the target chatbot from a pre-stored configuration file;
an operator determining unit, configured to determine whether a first operator identifier corresponding to the first operator identifier is the same as a second operator identifier corresponding to the terminal number card home operator if the first operator identifier is in the operator list.
Optionally, the operator list obtaining unit is specifically configured to:
and acquiring an operator list corresponding to the target chatbot from a newly added 5G message operator list field of the configuration file.
Optionally, the method further comprises:
and a second request sending module, configured to request the MaaP platform to obtain the chatbot information of the target chatbot if the first operator identifier is the same as the second operator identifier.
Example 4:
as shown in fig. 4, this embodiment provides a chatbot discovering apparatus, disposed on a MaaP platform, for executing the chatbot discovering method in embodiment 2, where the apparatus includes:
the search request receiving module 21 is configured to receive a search request which is sent by a terminal and carries an industry key word identifier, where the search request is sent when it is determined that a first operator identifier and an industry key word identifier, which are newly added to a deep link deeplink of a target chatbot, of the terminal are different from a second operator identifier corresponding to an operator to which a terminal number card belongs;
and a chatbot list sending module 22 connected to the search request receiving module 21 and configured to return a chatbot list corresponding to the industry key word identifier to the terminal according to the search request, so that the terminal receives and displays the chatbot list.
Optionally, the apparatus further comprises:
a first request receiving module, configured to receive a request sent by the terminal to obtain chatbot information of the target chatbot when it is determined that the first operator identifier is the same as the second operator identifier;
and a chatbot information sending module for sending the chatbot information to the terminal according to the request.
Example 5:
referring to fig. 5, the present embodiment provides a discovery apparatus of a chatbot, including a memory 31 and a processor 32, where the memory 31 stores therein a computer program, and the processor 32 is configured to run the computer program to perform a discovery method of the chatbot in embodiment 1 or embodiment 2.
The memory 31 is connected to the processor 32, the memory 31 may be a flash memory, a read-only memory or other memories, and the processor 32 may be a central processing unit or a single chip microcomputer.
Example 6:
the present embodiment provides a computer-readable storage medium, which stores thereon a computer program, and when executed by a processor, the computer program implements the discovery method of chatbot in embodiment 1 or embodiment 2.
The computer-readable storage media includes volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
Embodiments 2 to 6 provide a method, an apparatus, and a computer-readable storage medium for discovering a chat robot, which can decouple operator identification from chatbot serviceid by adding a separate first operator identifier and an industry key identifier to a deeplink, and when a terminal obtains the first operator identifier and the industry key identifier added to the deeplink of a target chatbot, first determine whether the first operator identifier is the same as a second operator identifier corresponding to a terminal number card belonging operator; if the chatbot is different from the service provider, a search request carrying the industry key word identification is sent to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the industry key word identification to a terminal according to the search request, and the terminal receives and displays the chatbot list sent by the MaaP platform, thereby reducing the condition that the chatbot is unidentifiable, improving the user experience and solving the problem that the chatbot is easily unidentifiable when the chatbot and a terminal number card belong to different operators in the conventional chatbot discovery method.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (13)

1. A chat robot chatbot discovering method is applied to a terminal and comprises the following steps:
acquiring a first operator identifier and an industry key word identifier newly added in a deep link deeplink of a target chatbot;
judging whether the first operator identification is the same as a second operator identification corresponding to the terminal number card attribution operator or not;
if the difference is different, sending a search request carrying the industry key word identification to a message, namely a platform MaaP platform, so that the MaaP platform returns a chatbot list corresponding to the industry key word identification to a terminal according to the search request;
and receiving and displaying the chatbot list sent by the MaaP platform.
2. The method according to claim 1, wherein the obtaining of the first operator identifier newly added to the deep link deeplink of the target chatbot specifically includes:
acquiring a first operator identifier which is newly added in a deeplink of a target chatbot and is subjected to encryption processing;
after the encrypted first operator identifier newly added in the deeplink of the target chatbot is obtained, the method further includes:
acquiring an encryption algorithm corresponding to the encrypted first operator identifier from a pre-stored configuration file;
and decrypting the encrypted first operator identifier based on the encryption algorithm to obtain the decrypted first operator identifier.
3. The method according to claim 2, wherein the obtaining of the encryption algorithm corresponding to the encrypted first operator identifier from a pre-stored configuration file specifically includes:
and acquiring an encryption algorithm corresponding to the encrypted first operator identifier from the new deeplink encryption field of the configuration file.
4. The method according to claim 2, wherein before the obtaining the encryption algorithm corresponding to the encrypted first operator identifier from the pre-stored configuration file, the method further comprises:
sending a configuration file acquisition request to a configuration management server;
and receiving and storing the configuration file returned by the configuration management server based on the configuration file acquisition request.
5. The method according to claim 1, wherein the determining whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card home operator specifically includes:
acquiring an operator list corresponding to the target chatbot from a pre-stored configuration file;
and if the first operator corresponding to the first operator identifier is in the operator list, judging whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card attribution operator.
6. The method according to claim 5, wherein the obtaining the operator list corresponding to the target chatbot from a pre-stored configuration file specifically includes:
and acquiring an operator list corresponding to the target chatbot from a newly added 5G message operator list field of the configuration file.
7. The method of claim 1, further comprising:
and if the first operator identification is the same as the second operator identification, requesting a MaaP platform to acquire the chatbot information of the target chatbot.
8. A chat robot chatbot discovering method is applied to a message platform (MaaP), and the method comprises the following steps:
receiving a search request which is sent by a terminal and carries an industry key word identifier, wherein the search request is sent when the first operator identifier is judged to be different from a second operator identifier corresponding to a terminal number card attribution operator after the terminal obtains a first operator identifier and the industry key word identifier which are newly added in a deep link dephlink of a target chatbot;
and returning a chatbot list corresponding to the industry key word identification to the terminal according to the search request so that the terminal receives and displays the chatbot list.
9. The method of claim 8, further comprising:
receiving a request sent by the terminal for acquiring chatbot information of the target chatbot when judging that the first operator identification is the same as the second operator identification;
and sending the chatbot information to the terminal according to the request.
10. A device for discovering a chat robot chatbot, provided in a terminal, the device comprising:
the identification acquisition module is used for acquiring a first operator identification and an industry key word identification which are newly added in a deep link deeplink of a target chatbot;
the operator judging module is connected with the identifier acquiring module and used for judging whether the first operator identifier is the same as a second operator identifier corresponding to the terminal number card attributive operator or not;
a search request sending module, connected to the operator judgment module, and configured to send a search request carrying the industry-related keyword identifier to a message, i.e., a MaaP platform, if the search request is different, so that the MaaP platform returns a chatbot list corresponding to the industry-related keyword identifier to a terminal according to the search request;
and the chatbot list receiving module is connected with the search request sending module and is used for receiving and displaying the chatbot list sent by the MaaP platform.
11. A chat robot chatbot discovering device is arranged on a message platform (MaaP), and the device comprises:
the search request receiving module is used for receiving a search request which is sent by a terminal and carries an industry key word identifier, wherein the search request is sent when the first operator identifier is judged to be different from a second operator identifier corresponding to a terminal number card attributive operator after the terminal obtains a first operator identifier and the industry key word identifier which are newly added in a deep link dephlink of a target chatbot;
and the chatbot list sending module is connected with the search request receiving module and is used for returning a chatbot list corresponding to the industry key word identification to the terminal according to the search request so as to enable the terminal to receive and display the chatbot list.
12. A chat robot chatbot discovering apparatus comprising a memory having stored therein a computer program and a processor configured to execute the computer program to implement the chatbot discovering method according to any one of claims 1-7, or the chatbot discovering method according to claim 8 or 9.
13. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements a method for discovering a chatbot as recited in any one of claims 1-7, or implements a method for discovering a chatbot as recited in claim 8 or 9.
CN202210980983.4A 2022-08-16 2022-08-16 Chat robot discovery method and device and computer readable storage medium Active CN115361350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210980983.4A CN115361350B (en) 2022-08-16 2022-08-16 Chat robot discovery method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210980983.4A CN115361350B (en) 2022-08-16 2022-08-16 Chat robot discovery method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115361350A true CN115361350A (en) 2022-11-18
CN115361350B CN115361350B (en) 2023-06-23

Family

ID=84001507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210980983.4A Active CN115361350B (en) 2022-08-16 2022-08-16 Chat robot discovery method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115361350B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413636A (en) * 2018-11-15 2019-03-01 安徽信果网络科技有限公司 A kind of SIM card service processing system based on wechat small routine
US20210209090A1 (en) * 2018-09-28 2021-07-08 Kddi Corporation Mobile terminal, information management device, communication device, and relay device
WO2021231209A1 (en) * 2020-05-09 2021-11-18 Direqt, Inc. Systems and methods for facilitating chat-based application interactions
US20220078245A1 (en) * 2020-09-10 2022-03-10 T-Mobile Usa, Inc. Enhanced messaging as a platform
CN114329457A (en) * 2020-10-09 2022-04-12 中国移动通信有限公司研究院 Communication method and device
CN114866965A (en) * 2021-02-03 2022-08-05 北京新媒传信科技有限公司 MaaP-based 5G message communication method, system, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210209090A1 (en) * 2018-09-28 2021-07-08 Kddi Corporation Mobile terminal, information management device, communication device, and relay device
CN109413636A (en) * 2018-11-15 2019-03-01 安徽信果网络科技有限公司 A kind of SIM card service processing system based on wechat small routine
WO2021231209A1 (en) * 2020-05-09 2021-11-18 Direqt, Inc. Systems and methods for facilitating chat-based application interactions
US20220078245A1 (en) * 2020-09-10 2022-03-10 T-Mobile Usa, Inc. Enhanced messaging as a platform
CN114329457A (en) * 2020-10-09 2022-04-12 中国移动通信有限公司研究院 Communication method and device
CN114866965A (en) * 2021-02-03 2022-08-05 北京新媒传信科技有限公司 MaaP-based 5G message communication method, system, electronic equipment and storage medium

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
"Enabling your Network for RCS Business Messaging", GSMA *
HANWANG ET AL.: "Middleware of Enterprise 5G Messaging services:Design and Implementation", INTERNATIONAL CONFERENCE ON INTERNET OF THINGS *
周斌: "5G消息业务功能的技术实现", 江苏通信 *
林逾静: "5G消息(RCS)会是一下个风口嘛", Retrieved from the Internet <URL:https://zhuanlan.zhihu.com/p/127050621> *
牛晓丹 等: "5G消息系统共建共享建设方案", 电信科学 *
移动LABS官方搜狐号: "5G消息业务计费方案研究", Retrieved from the Internet <URL:https://sohu.com/a/482351977_1210360226> *

Also Published As

Publication number Publication date
CN115361350B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN107948135B (en) Data processing method and device supporting multiple API protocols
TWI493985B (en) Method and apparatus for verification of a telephone number
US7890427B1 (en) Authentication of notifications received in an electronic device in a mobile services network
EP2117163A1 (en) Purchase service processing method, system and gateway device
CN111132305B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN110795174B (en) Application program interface calling method, device, equipment and readable storage medium
EP2304980B1 (en) A method and apparatus for a subscriber database
US20150163675A1 (en) Provisioning subscriptions to user devices
US20110173277A1 (en) Method of authenticating a user of a service on a mobile terminal
CN109769249B (en) Authentication method, system and device
US20150180851A1 (en) Method, device, and system for registering terminal application
CN100479570C (en) Connection set-up method, system, network application entity and user terminal
EP3079329B1 (en) Terminal application registration method, device and system
CN111093196B (en) Method for 5G user terminal to access 5G network, user terminal equipment and medium
US10432740B2 (en) Method and apparatus for accessing OTT application and pushing message by server
CN115361350B (en) Chat robot discovery method and device and computer readable storage medium
CN108768987B (en) Data interaction method, device and system
WO2017147962A1 (en) Information updating method and device, and terminal
CN114491328A (en) Website access method, equipment, storage medium and device
CN108449367B (en) Method and device for managing user login security, electronic equipment and readable medium
CN103139695A (en) Telecommunication ability call method and network equipment facing client side
CN115348224B (en) Interaction method and device of chat robot and computer readable storage medium
CN113596890B (en) Communication method, system, device and storage medium
CN111614475B (en) Data sharing method and block chain main node
CN115002768B (en) Request message processing method, device and system

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