Message interaction method, device, equipment and computer program product
By receiving the Chatbot directory query request from the terminal, obtaining and sorting location information, the problem of cumbersome use of APP geolocation functions is solved, native support is realized, user operations are simplified, and user experience is improved.
Patent Information
- Application Number
- CN202110581720.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-26
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-05-26
AI Technical Summary
The use of the existing APP is too cumbersome, which affects the user experience. Users need to install the APP and manually authorize and search, resulting in a complicated use process.
By receiving Chatbot directory query requests from the target terminal, obtaining location information and query keywords, and feedback Chatbot directory information after sorting, realizing native support. Users do not need to install the APP, but directly searching for nearby merchants through the terminal location, simplifying the operation process.
It realizes native support for mobile terminals, reduces user operations and improves user experience. Users can search for nearby merchants Chatbots without installing APP, simplifying the use process.
Smart Images

Figure CN115412834B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a message interaction method, device, equipment and computer program product. Background Art
[0002] With the rapid development of communication technology, the functions of terminal application programs APP are becoming more and more abundant, and there are more and more applications based on the integration of geographic location and smart terminals. At present, it is mainly reflected in the nearby user functions of short video or social APPs. For example, short video APPs such as Douyin and Kuaishou will push the dynamics and videos of nearby users based on the user's location; social APPs such as WeChat and Momo can directly find nearby users.
[0003] However, since the corresponding APP needs to be installed before use, and the user needs to authorize the APP for the geographic location, the user needs to actively search during use, making the use of the geographic location function too cumbersome and affecting the user experience.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a message interaction method, device, equipment and computer program product, aiming to solve the technical problem that the geographic location function of existing APPs is too cumbersome to use and affects the user experience.
[0006] To achieve the above object, the present invention provides a message interaction method, which comprises the following steps:
[0007] Upon receiving a Chatbot directory query request sent by a target terminal, obtaining first location information and a query keyword corresponding to the query request;
[0008] Acquire Chatbot directory information based on the first location information and the query keyword, and sort the Chatbot directory information to obtain target Chatbot directory information;
[0009] Feedback the target Chatbot directory information to the target terminal.
[0010] Furthermore, the step of sorting the Chatbot directory information to obtain the target Chatbot directory information includes:
[0011] Obtaining the priority corresponding to each Chatbot in the Chatbot directory information;
[0012] Based on the priority, the Chatbot directory information is sorted to obtain target Chatbot directory information.
[0013] Furthermore, the step of feeding back the target Chatbot directory information to the target terminal includes:
[0014] If the number of directories in the target Chatbot directory information is greater than a preset number, generating information to be forwarded based on the preset number of directory information in the target Chatbot directory information;
[0015] Feedback the information to be forwarded to the target terminal.
[0016] Furthermore, after the step of feeding back the information to be forwarded to the target terminal, the method further includes:
[0017] When receiving a viewing request triggered by the information to be forwarded, deleting a preset number of directory information in the target Chatbot directory information to obtain updated target Chatbot directory information;
[0018] The updated target Chatbot directory information is used as the target Chatbot directory information, and the step of returning to execute, if the number of directories in the target Chatbot directory information is greater than a preset number, generating information to be forwarded based on the preset number of directory information in the target Chatbot directory information.
[0019] Furthermore, the message interaction method further includes:
[0020] Upon receiving a message sending request sent by a target Chatbot, obtaining a 5G message corresponding to the message sending request and second location information of the target Chatbot;
[0021] Based on the second location information, determine the target receiving terminal corresponding to the 5G message, and send the 5G message to the target receiving terminal.
[0022] Further, the step of determining a target receiving terminal corresponding to the 5G message based on the second location information includes:
[0023] Authenticate the target Chatbot to determine whether the target Chatbot has 5G message sending authority;
[0024] If the target Chatbot has the 5G message sending authority, determining the terminal to which the 5G message is to be sent based on the second location information;
[0025] A number analysis operation is performed on the terminal to be sent to obtain the target receiving terminal.
[0026] Further, after the step of sending the 5G message to the target receiving terminal, it also includes:
[0027] Based on the delivery report corresponding to the 5G message, a billing operation is performed on the target Chatbot to obtain a billing call record of the target Chatbot.
[0028] In addition, to achieve the above object, the present invention further provides a message interaction device, the message interaction device comprising:
[0029] An acquisition module, configured to, upon receiving a Chatbot directory query request sent by a target terminal, acquire first location information and a query keyword corresponding to the query request;
[0030] A query module, configured to obtain Chatbot directory information based on the first location information and a query keyword, and sort the Chatbot directory information to obtain target Chatbot directory information;
[0031] A feedback module is used to feed back the target Chatbot directory information to the target terminal.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a message interaction device, which includes: a memory, a processor, and a message interaction program stored in the memory and executable on the processor, and the message interaction program implements the steps of the aforementioned message interaction method when executed by the processor.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, including a computer program, which implements the steps of the aforementioned message interaction method when executed by a processor.
[0034] The present invention obtains first location information and query keywords corresponding to a Chatbot directory query request sent by a target terminal upon receiving the Chatbot directory query request; then obtains Chatbot directory information based on the first location information and query keywords, sorts the Chatbot directory information to obtain target Chatbot directory information, and then feeds back the target Chatbot directory information to the target terminal, thereby realizing native support for mobile terminals without installing any APP. The terminal location information is used to facilitate terminal users to search for nearby merchant Chatbots, thereby greatly reducing user operations during use and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the structure of a message interaction device in a hardware operating environment involved in an embodiment of the present invention;
[0036] Figure 2 This is a flow chart of a first embodiment of a message interaction method of the present invention;
[0037] Figure 3 This is a schematic diagram of functional modules of an embodiment of a message interaction device of the present invention.
[0038] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0039] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0040] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of a message interaction device in a hardware operating environment involved in an embodiment of the present invention.
[0041] The terminal of the embodiment of the present invention can be a PC, or it can be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a portable computer, or other portable terminal devices with display function.
[0042] like Figure 1 As shown, the message interaction device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0043] Optionally, the message interaction device may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
[0044] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the message interaction device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0045] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a message interaction program.
[0046] exist Figure 1 In the message interaction device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the message interaction program stored in the memory 1005.
[0047] In this embodiment, the message interaction device includes: a memory 1005, a processor 1001, and a message interaction program stored in the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the message interaction program stored in the memory 1005 and executes the steps of the message interaction method in the following embodiments.
[0048] The present invention also provides a message interaction method, referring to Figure 2 , Figure 2 Schematic diagram of the flow of the first embodiment of the message interaction method of the present invention.
[0049] At present, 5G message service is a new upgrade of the terminal's native basic short message service, building a new information service portal. Users can complete one-stop service experience such as multimedia sending and receiving, service search, discovery, interaction, and payment in the message window. For government and enterprise customers, the government and enterprises can deliver public services and commercial services directly to end users, without the need to pay attention or be called according to the APP, and directly present them in the user's message interface in a rich media and interactive form, establishing a more convenient intelligent channel with users and a more direct way of interaction, bringing a new business experience.
[0050] Therefore, in this embodiment, the message interaction method is applied to a message interaction system, which is a 5G message interaction system. The message interaction system is provided with a MaaP platform. When the terminal accesses the message interaction system, a registration operation is performed, such as initiating a registration request to the MaaP platform. The registration request carries the location information of the terminal, and the location information includes the current geographical location longitude and geographical location latitude of the terminal. The message interaction system registers the terminal according to the registration request and obtains the location information of the terminal in the registration request.
[0051] The message interaction method comprises the following steps:
[0052] Step S101, when receiving a Chatbot directory query request sent by a target terminal, obtaining first location information and a query keyword corresponding to the query request;
[0053] In this embodiment, after the target terminal is registered in the message interaction system, the user can query the relevant information of the chat robot Chatbot in the message interaction system through the message interface. Specifically, the user makes a query request through the target terminal, and the target terminal sends the Chatbot directory query request to the message interaction system, where the Chatbot directory query request may include query keywords, the current location information of the terminal, etc.
[0054] When receiving a Chatbot directory query request sent by a target terminal, the first location information and query keywords corresponding to the query request are obtained. Specifically, the message query system can obtain the first location information and query keywords by parsing the Chatbot directory query request. The first location information is the current location information of the target terminal. The query keywords may include words, IDs, names, etc.
[0055] Step S102, acquiring Chatbot directory information based on the first location information and the query keyword, and sorting the Chatbot directory information to obtain target Chatbot directory information;
[0056] In this embodiment, after obtaining the first location information, the message query system obtains Chatbot directory information based on the first location information and the query keyword.
[0057] That is, the corresponding Chatbot directory information is queried according to the query keyword in the Chatbot directory query request and the first location information, so that the Chatbot directory information matches the query keyword and the first location information. Specifically, the target information corresponding to the query keyword can be first obtained, and the Chatbot directory information can be filtered according to the first location information in the target information corresponding to the query keyword, or the target information corresponding to the first location information can be first obtained, and the Chatbot directory information can be filtered in the target information corresponding to the first location information. When the Chatbot directory information is filtered according to the first location information, the second location information of the Chatbot in the Chatbot directory information is the same as the first location information or is within the preset area corresponding to the first location information.
[0058] Then, the Chatbot directory information is sorted to obtain the target Chatbot directory information.
[0059] Specifically, the MaaP platform includes a Chatbot directory module and a decision / screening and filtering module. The Chatbot directory module applies for a query strategy to the decision / screening and filtering module. The decision / screening and filtering module queries the Chatbot directory information corresponding to the first position information through the query keyword in the Chatbot directory query request, for example, in a preset database or a storage module corresponding to the message interaction system. Then, the decision / screening and filtering module sorts the Chatbot directory information, obtains the target Chatbot directory information, and returns the target Chatbot directory information to the Chatbot directory module.
[0060] Step S103, feeding back the target Chatbot directory information to the target terminal.
[0061] In this embodiment, when the target Chatbot directory information is obtained, the message interaction system feeds back the target Chatbot directory information to the target terminal.
[0062] The message interaction method proposed in this embodiment obtains the first location information and query keywords corresponding to the Chatbot directory query request sent by the target terminal when the Chatbot directory query request is received; then obtains the Chatbot directory information based on the first location information and the query keyword, and sorts the Chatbot directory information to obtain the target Chatbot directory information, and then feeds back the target Chatbot directory information to the target terminal, thereby realizing native support for mobile terminals without installing any APP. The terminal location information is used to facilitate terminal users to search for nearby merchant Chatbots, which greatly reduces user operations during use and improves user experience.
[0063] Based on the first embodiment, a second embodiment of the message interaction method of the present invention is proposed. In this embodiment, step S102 includes:
[0064] Step S201, obtaining the priority corresponding to each Chatbot in the Chatbot directory information;
[0065] Step S202: sort the Chatbot directory information based on the priority to obtain target Chatbot directory information.
[0066] In this embodiment, after obtaining the Chatbot directory information, the message interaction system obtains the priority corresponding to each Chatbot in the Chatbot directory information. The priority can be reasonably set according to the number of searches corresponding to the Chatbot, whether the merchant corresponding to the Chatbot is a paid merchant, etc.
[0067] Then, the message interaction system sorts the Chatbot directory information based on the priority to obtain the target Chatbot directory information.
[0068] The message interaction method proposed in this embodiment obtains the priority corresponding to each Chatbot in the Chatbot directory information; then sorts the Chatbot directory information based on the priority to obtain the target Chatbot directory information. By sorting the Chatbot directory information according to the priority, the accuracy of sorting each Chatbot directory in the target Chatbot directory information can be improved, thereby allowing users to view the more popular Chatbot directories in time, further improving the user experience.
[0069] Based on the first embodiment, a third embodiment of the message interaction method of the present invention is proposed. In this embodiment, step S103 includes:
[0070] Step S301, if the number of directories in the target Chatbot directory information is greater than a preset number, generating information to be forwarded based on the preset number of directory information in the target Chatbot directory information;
[0071] Step S302: Feedback the information to be forwarded to the target terminal.
[0072] It should be noted that when the user sends a Chatbot directory query request through the target terminal, the user can set a preset number in the Chatbot directory query request, or the preset number is preset by the message interaction system.
[0073] In this embodiment, after obtaining the target Chatbot directory information, the directory quantity of each Chatbot directory in the target Chatbot directory information is calculated, and it is determined whether the directory quantity is greater than the preset quantity. If so, the information to be forwarded is generated based on the directory information of the preset quantity in the target Chatbot directory information; the information to be forwarded is fed back to the target terminal. Specifically, the directory quantity is m, and the preset quantity is n. If m>n, the Chatbot directory module returns the first n results of all search results to the target terminal, that is, the first n results in the target Chatbot directory information.
[0074] The message interaction method proposed in this embodiment generates information to be forwarded based on the preset number of directory information in the target Chatbot directory information if the number of directories in the target Chatbot directory information is greater than the preset number; and then feeds back the information to be forwarded to the target terminal, which can reduce the amount of data currently transmitted and avoid sending a large number of useless Chatbot directories to the target terminal, so that the target terminal can receive the Chatbot directory information in time, further improving the user experience.
[0075] Based on the third embodiment, a fourth embodiment of the message interaction method of the present invention is proposed. In this embodiment, after step S302, the message interaction method further includes:
[0076] Step S401, upon receiving a viewing request triggered by the information to be forwarded, deleting a preset number of directory information in the target Chatbot directory information to obtain updated target Chatbot directory information;
[0077] Step S402, using the updated target Chatbot directory information as the target Chatbot directory information, and returning to execute the step of generating information to be forwarded based on the previously preset number of directory information in the target Chatbot directory information if the number of directories in the target Chatbot directory information is greater than the preset number.
[0078] In this embodiment, when the information to be forwarded is fed back, a trigger button for viewing more targets can be set on the display interface of the information to be forwarded, and the user can trigger a query request (a request to view more Chatbot directories) through the button. When a viewing request triggered by the information to be forwarded is received, a preset number of directory information is deleted from the target Chatbot directory information to obtain updated target Chatbot directory information, and the updated target Chatbot directory information is used as the target Chatbot directory information, and the process returns to step S301, so that the user can view more Chatbot directories currently being queried.
[0079] In other embodiments, when the user wishes to view subsequent search results, the viewing request may carry the query keyword, the result position pointer at the beginning of this query, and the number of results n returned at a time. The Chatbot directory module returns the n+1 to 2n results of all search results to the target terminal based on the viewing request.
[0080] The message interaction method proposed in this embodiment deletes a previously preset number of directory information in the target Chatbot directory information to obtain updated target Chatbot directory information when receiving a viewing request triggered by the information to be forwarded; then uses the updated target Chatbot directory information as the target Chatbot directory information, and returns to execute the step of generating information to be forwarded based on a previously preset number of directory information in the target Chatbot directory information if the number of directories in the target Chatbot directory information is greater than a preset number. This method can send Chatbot targets to the target terminal in batches according to user needs when the target Chatbot directory information has a large number of directories, thereby reducing the amount of data transmission while meeting user needs, and further improving user experience.
[0081] Based on the above embodiments, a fifth embodiment of a message interaction method of the present invention is proposed. In this embodiment, the message interaction method further includes:
[0082] Step S501, when receiving a message sending request sent by a target Chatbot, obtaining a 5G message corresponding to the message sending request and second location information of the target Chatbot;
[0083] Step S502: Based on the second location information, determine the target receiving terminal corresponding to the 5G message, and send the 5G message to the target receiving terminal.
[0084] In this embodiment, for the merchant Chatbot, the Chatbot can conveniently perform downlink and interaction with the target terminal based on this solution. Specifically, a location pointer sending method is added to the Chatbot downlink message interface. Method 1: The group message can carry an array of recipient addresses, supporting up to 100 numbers. Method 2: The recipient address group pointer maintained by the Chatbot itself; Method 3: A universal recipient address group pointer, usually an administrative district; Method 4: Add a location area.
[0085] When a message sending request is received from a target Chatbot, the 5G message corresponding to the message sending request and the second location information of the target Chatbot are obtained, and based on the second location information, the target receiving terminal corresponding to the 5G message is determined, and the 5G message is sent to the target receiving terminal. Specifically, the location information of all terminals that are communicatively connected to the message interaction system is first obtained, and the preset area corresponding to the second location information is determined, and the terminals among all the terminals whose location information is in the preset area are taken as target receiving terminals.
[0086] In this embodiment, merchants have developed various more personalized business scenarios combined with their applications. For example, a restaurant company can push bills to customers in the store, and they can complete the payment on the message interface; or push recommended dishes; shopping malls can push discount information or notifications to tourists in the mall; users can search for nearby restaurants and complete the queue or order dishes.
[0087] Specifically, the message interaction system includes 5GMC. The target Chatbot calls the API interface provided by the MaaP platform to send a message request to the MaaP platform of the message interaction system. The message contains a location area pointer. If files need to be transferred, the file upload process must be performed first. The MaaP platform parses the location area pointer, calls the message server API interface, and sends the 5G message to the message processing module 5GMC. The 5G message carries the location area pointer in the 5GMC. 5GMC parses the recipient list or pointer, and performs intelligent judgments such as authentication and number analysis according to the set business logic to determine whether the 5G message is allowed to be sent; then, according to the location area corresponding to the second location information, it matches the target receiving terminal that can be sent to the location area. 5GMC sends the 5G message to all target receiving terminals that need to receive the message through the SIP MESSAGE method in accordance with the subsequent steps and message style of the ordinary A2P message.
[0088] Furthermore, in one embodiment, after step S502, the following steps are further included:
[0089] Based on the delivery report corresponding to the 5G message, a billing operation is performed on the target Chatbot to obtain a billing call record of the target Chatbot.
[0090] In this embodiment, the delivery report process adopts the existing process. The message interaction system performs billing operations on the target Chatbot based on the delivery report corresponding to the 5G message to obtain the billing call record of the target Chatbot. Subsequently, the message interaction system can also perform statistical analysis based on the delivery report.
[0091] It should be noted that 5G messages can support multiple media formats. For example, 5G messages include one or more of text, pictures, videos, and web page cards. A fixed menu or a floating menu can be set, and a read reply key value can be set. After receiving the message, the target receiving terminal can download, read, click, and interact.
[0092] The message interaction method proposed in this embodiment obtains the 5G message corresponding to the message sending request and the second location information of the target Chatbot when receiving the message sending request sent by the target Chatbot; then determines the target receiving terminal corresponding to the 5G message based on the second location information, and sends the 5G message to the target receiving terminal, so that merchants can directly send messages to terminal users according to the location area, without the need for merchants to acquire customers through following methods, saving the trouble of the target Chatbot obtaining the called number, and batch sending to target terminal customers without specifying the number, which greatly facilitates merchants and further improves the user experience.
[0093] Based on the fifth embodiment, a sixth embodiment of the message interaction method of the present invention is proposed. In this embodiment, step S502 includes:
[0094] Step S601, authenticating the target Chatbot to determine whether the target Chatbot has 5G message sending authority;
[0095] Step S602: if the target Chatbot has the 5G message sending authority, determining the terminal to which the 5G message is to be sent based on the second location information;
[0096] Step S603: performing a number analysis operation on the terminal to be sent to obtain the target receiving terminal.
[0097] In this embodiment, after the second location information is obtained, the target Chatbot is authenticated to determine whether the target Chatbot has the 5G message sending authority. For example, it is determined through the ID of the target Chatbot whether the target Chatbot demonstrates the 5G message sending authority.
[0098] If available, based on the second location information, determine the terminal to which the 5G message is to be sent corresponding. Specifically, first obtain the location information of all terminals that are communicatively connected to the message interaction system, and determine the preset area corresponding to the second location information, and select all terminals whose location information is in the preset area as the terminal to be sent.
[0099] Then, a number analysis operation is performed on the terminal to be sent, and the number analysis operation is used to determine whether there is a terminal to be sent that is not allowed to receive 5G messages. If so, the terminal to be sent that is not allowed to receive 5G messages is eliminated from the terminal to be sent to obtain the target receiving terminal. Otherwise, the terminal to be sent is used as the target receiving terminal.
[0100] The message interaction method proposed in this embodiment authenticates the target Chatbot to determine whether the target Chatbot has the 5G message sending authority; then if the target Chatbot has the 5G message sending authority, based on the second location information, determines the terminal to be sent corresponding to the 5G message; then performs a number analysis operation on the terminal to be sent to obtain the target receiving terminal, and authenticates the target Chatbot and performs number analysis on the terminal to improve the accuracy of 5G message sending, avoids sending 5G messages to terminals that are not allowed to receive, and further improves user experience.
[0101] The present invention also provides a message interaction device, referring to Figure 3 , the message interaction device comprises:
[0102] The acquisition module 10 is used to acquire the first position information and the query keyword corresponding to the Chatbot directory query request sent by the target terminal when receiving the Chatbot directory query request;
[0103] A query module 20, configured to obtain Chatbot directory information based on the first location information and a query keyword, and sort the Chatbot directory information to obtain target Chatbot directory information;
[0104] The feedback module 30 is used to feed back the target Chatbot directory information to the target terminal.
[0105] The methods executed by the above-mentioned program units can refer to the various embodiments of the message interaction method of the present invention, and will not be repeated here.
[0106] The present invention also provides a computer-readable storage medium.
[0107] The computer-readable storage medium of the present invention stores a message interaction program, and when the message interaction program is executed by a processor, the steps of the message interaction method described above are implemented.
[0108] Among them, the method implemented when the message interaction program running on the processor is executed can refer to the various embodiments of the message interaction method of the present invention, and will not be repeated here.
[0109] In addition, an embodiment of the present invention further provides a computer program product, which includes a message interaction program. When the message interaction program is executed by a processor, the steps of the message interaction method described above are implemented.
[0110] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0111] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0112] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0113] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A message interaction method, characterized in that: Applied to the MaaP platform, the message interaction method includes the following steps: Upon receiving a Chatbot directory query request sent by a target terminal, obtaining first location information and a query keyword corresponding to the query request; Acquire Chatbot directory information based on the first location information and the query keyword, and sort the Chatbot directory information to obtain target Chatbot directory information; Feedback the target Chatbot directory information to the target terminal; The message interaction method further includes: Upon receiving a message sending request sent by a target Chatbot, obtaining a 5G message corresponding to the message sending request and second location information of the target Chatbot; Based on the second location information, determine a target receiving terminal corresponding to the 5G message, and send the 5G message to the target receiving terminal; The step of determining the target receiving terminal corresponding to the 5G message based on the second location information includes: Authenticate the target Chatbot to determine whether the target Chatbot has 5G message sending authority; If the target Chatbot has the 5G message sending authority, determining the terminal to which the 5G message is to be sent based on the second location information; A number analysis operation is performed on the terminal to be sent to obtain the target receiving terminal.
2. The message interaction method according to claim 1, characterized in that: The step of sorting the Chatbot directory information to obtain the target Chatbot directory information includes: Obtaining the priority corresponding to each Chatbot in the Chatbot directory information; Based on the priority, the Chatbot directory information is sorted to obtain target Chatbot directory information.
3. The message interaction method according to claim 1, characterized in that: The step of feeding back the target Chatbot directory information to the target terminal includes: If the number of directories in the target Chatbot directory information is greater than a preset number, generating information to be forwarded based on the preset number of directory information in the target Chatbot directory information; Feedback the information to be forwarded to the target terminal.
4. The message interaction method according to claim 3, characterized in that: After the step of feeding back the information to be forwarded to the target terminal, the method further includes: When receiving a viewing request triggered by the information to be forwarded, deleting a preset number of directory information in the target Chatbot directory information to obtain updated target Chatbot directory information; The updated target Chatbot directory information is used as the target Chatbot directory information, and the step of returning to execute, if the number of directories in the target Chatbot directory information is greater than a preset number, generating information to be forwarded based on the preset number of directory information in the target Chatbot directory information.
5. The message interaction method according to any one of claims 1 to 4, characterized in that: After the step of sending the 5G message to the target receiving terminal, the method further includes: Based on the delivery report corresponding to the 5G message, a billing operation is performed on the target Chatbot to obtain a billing call record of the target Chatbot.
6. A message interaction device, characterized in that: Applied to the MaaP platform, the message interaction device includes: An acquisition module, configured to, upon receiving a Chatbot directory query request sent by a target terminal, acquire first location information and a query keyword corresponding to the query request; A query module, configured to obtain Chatbot directory information based on the first location information and a query keyword, and sort the Chatbot directory information to obtain target Chatbot directory information; A feedback module, used for feeding back the target Chatbot directory information to the target terminal; The message interaction device is also used to obtain the 5G message corresponding to the message sending request and the second location information of the target Chatbot when receiving the message sending request sent by the target Chatbot; based on the second location information, determine the target receiving terminal corresponding to the 5G message, and send the 5G message to the target receiving terminal; wherein, the target Chatbot is authenticated to determine whether the target Chatbot has the 5G message sending authority; if the target Chatbot has the 5G message sending authority, then based on the second location information, determine the terminal to be sent corresponding to the 5G message; perform a number analysis operation on the terminal to be sent to obtain the target receiving terminal.
7. A message interaction device, characterized in that: The message interaction device comprises: a memory, a processor, and a message interaction program stored in the memory and executable on the processor, wherein the message interaction program implements the steps of the message interaction method according to any one of claims 1 to 5 when executed by the processor.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the message interaction method according to any one of claims 1 to 5 are implemented.
