Intelligent Robot Response Method, Device, Equipment and Medium Based on 5G Messages
Through the intelligent robot service of 5G message numbers, diversified responses are provided directly in 5G messages, solving the problem of downloading application software in traditional technologies, achieving efficient information response and reducing operation and maintenance costs.
Patent Information
- Application Number
- CN202210842084.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-18
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-07-18
AI Technical Summary
In traditional information processing technology, users need to download application software to meet diverse information needs, resulting in cumbersome operations, slow response speed and high operation and maintenance costs.
Provide intelligent robot services through 5G message numbers, respond to user query events, obtain information to be queried, and after judging that it meets the conditions, perform diversified 5G message responses, including keyword information extraction and display responses, without downloading application software.
Improve user demand response efficiency, improve user experience, and reduce operation and maintenance costs.
Smart Images

Figure CN115146046B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information processing, and in particular, to an intelligent robot response method, device, equipment and medium based on 5G messages. Background Art
[0002] With the increasing development of information technology, people's diverse information needs in various scenarios are gradually increasing, such as scenarios like air ticket purchase, hotel reservation, and travel shopping. However, traditional text information can no longer meet users' diverse information needs. Therefore, how to efficiently and quickly meet users' diverse information needs is one of the urgent problems to be solved in information processing technology.
[0003] Currently, the main solution is to rely on application software downloaded by terminal devices to meet users' information needs in corresponding scenarios. For example, users' shopping needs are met through shopping software, and users' ticket purchase needs are met through ticket purchase software. However, this solution can only be achieved by relying on terminal application software, which requires a long operation time for users and a cumbersome operation process, resulting in a slow response speed to users' needs, low response efficiency, and a reduced user experience. In addition, it is necessary to perform background operation and maintenance on the application software, thus increasing the labor and operation and maintenance costs. Summary of the Invention
[0004] The present invention provides an intelligent robot response method, device, equipment and medium based on 5G messages, which can provide users with diverse 5G message response cloud services through 5G message numbers, without the need to download application software, improving the response efficiency of users' needs, enhancing the user experience, and reducing the operation and maintenance costs.
[0005] According to one aspect of the present invention, there is provided an intelligent robot response method based on 5G messages, the method comprising:
[0006] In response to a user query event, obtaining the information to be queried input by the user in the 5G message number; the 5G message number is an intelligent robot service number providing cloud service information;
[0007] If it is determined that the information to be queried meets the 5G message response condition, determining the keyword information of the information to be queried;
[0008] Performing a 5G message response to the information to be queried in the 5G message number according to the keyword information to provide response information in at least one display form.
[0009] Optionally, determining that the information to be queried meets the 5G message response condition includes:
[0010] Determining whether the information to be queried is a 5G message;
[0011] If so, determine the permission status of the 5G message number; the permission status includes enabled and disabled;
[0012] If the permission status is enabled, determine whether the information to be queried triggers a preset task scenario;
[0013] If triggered, determine that the information to be queried meets the 5G message response condition.
[0014] Optionally, determining whether the information to be queried triggers a preset task scenario includes:
[0015] Match the keyword information according to a preset reference keyword;
[0016] If the match is successful, determine that the information to be queried triggers a preset task scenario.
[0017] Optionally, performing a 5G message response to the information to be queried according to the keyword information in the 5G message number includes:
[0018] Determine an initial response message according to the keyword information;
[0019] If the initial response message does not meet the response end condition, and a user reply event is detected within a preset reception time, obtain user reply information based on the initial response message;
[0020] Determine updated keyword information according to the user reply information, determine updated response information according to the updated keyword information, and send the updated response information to the 5G message number.
[0021] Optionally, determining an initial response message according to the keyword information includes:
[0022] Match each preset slot in the robot response template according to the keyword information; at least one preset slot is included in the robot response template;
[0023] If the match is successful, determine an initial response message according to each preset slot;
[0024] If the match fails, determine an initial response message according to the slots that fail to match in each preset slot.
[0025] Optionally, after determining the initial response message according to the keyword information, it further includes:
[0026] If the initial response message does not meet the response end condition, and a user reply event is not detected within a preset reception time, send the initial response message to the 5G message number based on a preset retransmission count.
[0027] Optionally, after determining the keyword information of the information to be queried, it further includes:
[0028] If it is determined that the information to be queried does not meet the 5G message response condition, the information to be queried is system-replied according to the keyword information.
[0029] According to another aspect of the present invention, there is provided an intelligent robot response device based on 5G messages, including:
[0030] An information-to-be-query obtained module, configured to obtain the information to be queried input by the user in the 5G message number in response to a user query event; the 5G message number is an intelligent robot service number providing cloud service information;
[0031] A keyword information obtaining module, configured to determine the keyword information of the information to be queried if it is determined that the information to be queried meets the 5G message response condition;
[0032] A 5G message response module, configured to perform a 5G message response to the information to be queried in the 5G message number according to the keyword information to provide response information in at least one display form.
[0033] According to another aspect of the present invention, there is provided an intelligent robot response electronic device based on 5G messages, the electronic device includes:
[0034] At least one processor; and
[0035] A memory communicatively connected to the at least one processor; wherein,
[0036] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the intelligent robot response method based on 5G messages according to any embodiment of the present invention.
[0037] According to another aspect of the present invention, there is provided a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the intelligent robot response method based on 5G messages according to any embodiment of the present invention when executed.
[0038] In the technical solution of the embodiment of the present invention, in response to a user query event, the information to be queried input by the user in the 5G message number is obtained; the 5G message number is an intelligent robot service number that provides cloud service information; if it is determined that the information to be queried meets the 5G message response condition, the keyword information of the information to be queried is determined; and the 5G message response to the information to be queried is performed in the 5G message number according to the keyword information to provide response information in at least one display form. This technical solution can provide users with diverse 5G message response cloud services through the 5G message number, without the need to download application software, improving the efficiency of responding to user needs, enhancing the user experience, and reducing the operation and maintenance costs.
[0039] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
[0041] Figure 1 is a flowchart of an intelligent robot response method based on 5G messages provided in Embodiment 1 of the present invention;
[0042] Figure 2 is a flowchart of an intelligent robot response method based on 5G messages provided in Embodiment 2 of the present invention;
[0043] Figure 3 is a schematic structural diagram of an intelligent robot response device based on 5G messages provided in Embodiment 3 of the present invention;
[0044] Figure 4 is a schematic structural diagram of an electronic device implementing the intelligent robot response method based on 5G messages in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] In order to enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention shall fall within the protection scope of the present invention.
[0046] It should be noted that the terms "first", "second", "target", etc. in the description, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0047] Embodiment 1
[0048] Figure 1 FIG. is a flowchart of an intelligent robot response method based on 5G messages provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of intelligent response to user query information by 5G messages. This method can be executed by an intelligent robot response device based on 5G messages. The intelligent robot response device based on 5G messages can be implemented in the form of hardware and / or software, and the intelligent robot response device based on 5G messages can be configured in an electronic device with data processing capabilities. As Figure 1 shown, the method includes:
[0049] S110, in response to a user query event, obtain the information to be queried input by the user in the 5G message number; the 5G message number is an intelligent robot service number that provides cloud service information.
[0050] The technical solution of this embodiment is suitable for working in the 5G message service scenario and can perform intelligent response to the information that the user wants to query by 5G messages. Among them, 5G messages can refer to a rich media cloud service information that does not require downloading, installing, and registering. It can use the cloud service platform to provide rich media information in various forms such as text, pictures, audio and video, animations, expressions, locations, and links, so as to achieve what the user terminal needs to download application software in the traditional technology, such as obtaining multi-form information or meeting subscription requirements.
[0051] Among them, the user query event may refer to an operation instruction for the user to query the information they want to know. The 5G message number may refer to the intelligent robot service number that provides cloud service information. Through the 5G message number, the 5G message interaction process between the user and the intelligent robot can be realized. The information to be queried may refer to the information that the user wants to know and is waiting to be queried. It should be noted that the information to be queried may or may not be of the 5G message type. If the information to be queried is of the 5G message type, the intelligent robot can interact with the user in the 5G message number; if the information to be queried is not of the 5G message type, the system reply can be used to answer the information to be queried. In this embodiment, in response to the user query event, first, the information to be queried input by the user in the 5G message number needs to be obtained.
[0052] S120. If it is determined that the information to be queried meets the 5G message reply condition, determine the keyword information of the information to be queried.
[0053] Among them, the 5G message reply condition may refer to the condition that allows 5G message reply. Exemplarily, the 5G message reply condition can be set to that the information to be queried is of the 5G message type. In this embodiment, no limitation is imposed on the 5G message reply condition, and it can be flexibly set according to actual application requirements. The keyword information may refer to the information associated with the keywords of the information to be queried. For example, the keyword information may include keyword content, keyword quantity, etc.
[0054] In this embodiment, after obtaining the information to be queried, it is necessary to determine whether the information to be queried meets the 5G message reply condition. If it is determined that the information to be queried meets the 5G message reply condition, it is necessary to further determine the keyword information of the information to be queried. Exemplarily, a keyword extraction method based on statistical features, a keyword extraction method based on a word graph model, or a keyword extraction method based on a topic model can be used to extract keyword information, or keyword information can be extracted through a pre-trained machine learning network model, or keyword information can be extracted by performing semantic analysis on the information to be queried. In this embodiment, no limitation is imposed on the determination method of the keyword information.
[0055] S130. According to the keyword information, perform a 5G message reply to the information to be queried in the 5G message number to provide reply information in at least one display form.
[0056] Among them, the display form may refer to the presentation form of information. Exemplarily, the display form may include text, pictures, voice, video, animation, expressions, location, links, etc. In this embodiment, after determining the keyword information of the information to be queried, the 5G message response to the information to be queried can be performed in the 5G message number according to the keyword information to provide response information in at least one display form. Specifically, the interface query method can be adopted to access the robot database through the query robot interface, search for the search information that matches the keyword information in the robot database, and send the search information to the 5G message number in the form of a 5G message. The display form of the response information can also be preset in advance, and after determining the search information, the search information is sent to the 5G message number according to the preset display form.
[0057] Exemplarily, assume that the information to be queried entered by the user in the 5G message number is "I want to query the flight from Beijing to Shanghai tomorrow". The flight search information that matches the information to be queried can be obtained by querying the robot database through the robot interface. If the preset display form is a picture, the 5G message response information in the form of a picture will be displayed in the 5G message number; if the preset display form is voice, the 5G message response information in the form of voice will be displayed in the 5G message number.
[0058] The technical solution of the embodiment of the present invention responds to the user query event, obtains the information to be queried entered by the user in the 5G message number; the 5G message number is an intelligent robot service number that provides cloud service information; if it is determined that the information to be queried meets the 5G message response condition, determine the keyword information of the information to be queried; perform a 5G message response to the information to be queried in the 5G message number according to the keyword information to provide response information in at least one display form. This technical solution can provide users with diversified 5G message response cloud services through the 5G message number, without the need to download application software, improving the user demand response efficiency, enhancing the user experience, and reducing the operation and maintenance costs.
[0059] In this embodiment, optionally, determining that the information to be queried meets the 5G message response condition includes: determining whether the information to be queried is a 5G message; if so, determining the permission status of the 5G message number; the permission status includes opened and not opened; if the permission status is opened, determining whether the information to be queried triggers a preset task scenario; if it triggers, determining that the information to be queried meets the 5G message response condition.
[0060] Among them, the permission status includes enabled and disabled, which can be used to judge whether a third-party customer has enabled the intelligent robot response service for the 5G message number. A third-party customer can refer to an institution or organization that can provide various application services for users. For example, a third-party customer can be an airline (providing ticket purchasing services for users), a shopping platform (providing shopping services for users), or a meteorological agency (providing weather query services for users), etc. The preset task scenario can refer to a preset task query scenario. For example, the preset task scenario can be an air ticket ordering task scenario, an online shopping task scenario, or a weather query task scenario, etc.
[0061] In this embodiment, when determining whether the information to be queried meets the 5G message response condition, it is first necessary to determine whether the information to be queried is a 5G message. It should be noted that the information formats of 5G messages and ordinary text messages are different. For example, the information format of an ordinary text message is txt, and the information format of a 5G message is NAS. Therefore, it is possible to judge whether the information to be queried is a 5G message according to the information format of the information to be queried. If the information to be queried is a 5G message, further determine the permission status of the 5G message number. Exemplarily, it is possible to find whether there is a bound intelligent robot identification number according to the third-party customer identification number. Among them, the third-party customer identification number can be used to uniquely identify a third-party customer. The intelligent robot identification number can be used to uniquely identify an intelligent robot. If an intelligent robot identification number bound to the third-party customer identification number can be queried, it indicates that the permission status of the 5G message number is enabled, otherwise it is disabled. It should be noted that when a third-party customer enables the intelligent robot response service for the 5G message number, the third-party customer and the intelligent robot will be bound in advance through the identification number to provide one-on-one services for the third-party customer bound to it through the intelligent robot.
[0062] In this embodiment, after determining that the permission status is enabled, it is also necessary to further judge whether the information to be queried triggers a preset task scenario. Exemplarily, it is possible to judge whether a preset task scenario is triggered by performing semantic analysis or keyword extraction on the information to be queried. Optionally, judging whether the information to be queried triggers a preset task scenario includes: matching the keyword information according to a preset reference keyword; if the match is successful, determining that the information to be queried triggers a preset task scenario.
[0063] Among them, the preset reference keyword can refer to a keyword that is preset and can trigger a preset task scenario. Exemplarily, the preset reference keyword can include multiple words with similar semantics. For example, in the task scenario of air ticket booking, the preset reference keyword can be set as booking tickets, purchasing tickets, buying tickets, ordering air tickets, etc. In this embodiment, after determining the keyword information of the information to be queried, the keyword information can be matched with the preset reference keyword. If the keyword information contains one of the preset reference keywords, it can be considered that the match is successful, that is, it is determined that the information to be queried triggers the preset task scenario; if the keyword information does not contain any of the preset reference keywords, it can be considered that the match fails, that is, it is determined that the information to be queried does not trigger the preset task scenario. Optionally, when the keyword information does not contain any of the preset reference keywords, the keyword information can be further semantically parsed, and it can be determined whether the preset task scenario is triggered according to the semantic parsing result. Specifically, if the semantic parsing result matches the preset reference keyword successfully, it can be considered that the information to be queried triggers the preset task scenario; if the semantic parsing result still does not match the preset reference keyword, it is considered that the information to be queried does not trigger the preset task scenario.
[0064] In this embodiment, after determining that the information to be queried triggers the preset task scenario, it can be determined that the information to be queried meets the 5G message response condition. That is to say, only when the information to be queried is a 5G message, the permission status of the 5G message number is enabled, and the information to be queried triggers the preset task scenario at the same time, can it be determined that the information to be queried meets the 5G message response condition.
[0065] Through such a setting, this solution can fully consider various situations to determine whether the information to be queried meets the 5G message response condition.
[0066] In this embodiment, optionally, after determining the keyword information of the information to be queried, it further includes: if it is determined that the information to be queried does not meet the 5G message response condition, the information to be queried is system-replied according to the keyword information.
[0067] In this embodiment, after determining the keyword information of the information to be queried, if it is determined that the information to be queried does not meet the 5G message response condition, the information to be queried can be system-replied according to the keyword information. Specifically, the interface query method can be adopted, the system database is accessed by querying the system interface, the search information that matches the keyword information is found in the system database, and the search information is sent to the 5G message number in the form of a normal short message.
[0068] Through such a setting, this solution can ensure that the information to be queried can still be replied to when the information to be queried does not meet the 5G message response condition.
[0069] Embodiment 2
[0070] Figure 2 The figure is a flowchart of an intelligent robot response method based on 5G messaging provided in the second embodiment of the present invention. This embodiment is optimized based on the above-mentioned embodiment. The specific optimization is as follows: perform 5G messaging response to the information to be queried in the 5G messaging number according to the keyword information, including: determining the initial response information according to the keyword information; if the initial response information does not meet the response end condition and a user reply event is detected within the preset reception time, obtaining the user reply information based on the initial response information; determining the updated keyword information according to the user reply information, determining the updated response information according to the updated keyword information, and sending the updated response information to the 5G messaging number.
[0071] As Figure 2 shown, the method of this embodiment specifically includes the following steps:
[0072] S210, in response to a user query event, obtain the information to be queried input by the user in the 5G messaging number; the 5G messaging number is an intelligent robot service number that provides cloud service information.
[0073] S220, if it is determined that the information to be queried meets the 5G messaging response condition, determine the keyword information of the information to be queried.
[0074] S230, determine the initial response information according to the keyword information.
[0075] Among them, the initial response information may refer to the response information first made by the intelligent robot. In this embodiment, the initial response information can be determined according to the keyword information. Optionally, determining the initial response information according to the keyword information includes: matching each preset word slot in the robot response template according to the keyword information; the robot response template includes at least one preset word slot; if the matching is successful, determine the initial response information according to each preset word slot; if the matching fails, determine the initial response information according to the word slot that fails to match in each preset word slot.
[0076] Among them, the robot response template can refer to a pre-set response template, which can include at least one pre-set word slot. The pre-set word slot can refer to a pre-set keyword placeholder. In this embodiment, for each pre-set task scenario, a robot response template can be pre-set. Exemplarily, for the air ticket booking task scenario, a robot response template including four word slots of departure place, destination, departure time, and arrival time can be pre-set. In addition, dynamic parameters such as buttons can also be set in the robot response template, so that users can perform operations such as customer service call or information query by clicking the buttons. When the keyword information of the information to be queried is determined, each pre-set word slot in the robot response template can be matched according to the keyword information, and the initial response information can be determined according to the matching result. Specifically, if the matching is successful, the initial response information can be determined according to each pre-set word slot; if the matching fails, the initial response information can be determined according to the word slot that fails to match in each pre-set word slot. It should be noted that if each pre-set word slot in the robot response template has a corresponding keyword, it can be considered that the matching is successful; if at least one pre-set word slot in the robot response template does not have a corresponding keyword, it can be considered that the matching fails.
[0077] Exemplarily, assume that the information to be queried entered by the user is "Help me query the air tickets from Beijing to Shanghai on April 8th". This information to be queried triggers the air ticket booking task scenario, and the robot response template in this scenario includes four pre-set word slots of departure place, destination, departure time, and arrival time. When the information to be queried is received, the departure place can be obtained as Beijing, the destination as Shanghai, and the departure time as April 8th through keyword extraction or semantic parsing. At this time, Beijing can be filled into the departure place word slot in the robot response template, Shanghai can be filled into the destination word slot in the robot response template, and April 8th can be filled into the departure time word slot in the robot response template. In this case, the initial response information can be determined according to the arrival time word slot that fails to match in the robot response template, and the initial response information can be sent to the 5G message number. For example, the initial response information can be a picture, which contains the detailed information (including the arrival time) of all air tickets from Beijing to Shanghai on April 8th, and at the same time, the words "Please select the arrival time according to this picture and reply" are written on the picture.
[0078] Exemplarily, assume that the information to be queried input by the user is "Help me query the air ticket from Beijing to Shanghai, departing on April 8th and arriving the next day". Through keyword extraction or semantic parsing, it can be obtained that the departure location is Beijing, the destination is Shanghai, the departure time is April 8th, and the arrival time is April 9th. At this time, Beijing can be filled into the departure location slot in the robot response template, Shanghai can be filled into the destination slot in the robot response template, April 8th can be filled into the departure time slot in the robot response template, and April 9th can be filled into the arrival time slot in the robot response template. In this case, all the preset slots in the robot response template have been filled, and a picture can be generated based on the keywords filled in these four slots and sent to the 5G message number. Buttons can be included in the picture, and the user can click the button in the picture to jump to the application service interface provided by the third-party customer through the link to call the customer service or query information, etc.
[0079] S240, if the initial response information does not meet the response end condition and a user reply event is detected within the preset receiving time, obtain the user reply information based on the initial response information.
[0080] Among them, the response end condition can refer to the condition for ending the 5G message response set in advance. Exemplarily, the response end condition can be set that all the preset slots in the robot response template are in a non-empty state, that is, all the preset slots are filled. The preset receiving time can refer to the waiting time for the intelligent robot to receive the user reply information through the 5G message number. For example, the preset receiving time can be 5 minutes. The user reply event can refer to the operation instruction for the user to reply to the initial response information. The user reply information can refer to the reply information made by the user to the 5G message response information sent by the intelligent robot in the 5G message number.
[0081] In this embodiment, after determining the initial response information, it is necessary to further determine whether the initial response information meets the response end condition. Exemplarily, it can be determined whether the response end condition is met based on whether the preset word slot is included in the initial response information. Specifically, if the preset word slot is included in the initial response information, it indicates that the preset word slot is not fully filled. At this time, it can be determined that the initial response information does not meet the response end condition; if the preset word slot is not included in the initial response information, it indicates that the preset word slot is fully filled. At this time, it can be determined that the initial response information meets the response end condition. When the initial response information does not meet the response end condition, it is also necessary to receive the user response information based on the initial response information. At this time, it is possible that the user does not respond to the initial response information for a long time. Therefore, it is necessary to further determine whether a user response event is detected within the preset reception time. If a user response event is detected within the preset reception time, the user response information based on the initial response information can be obtained. In addition, if the initial response information meets the response end condition, after sending the initial response information to the 5G message number, there is no need to obtain the user's response information to the initial response information anymore.
[0082] S250. Determine the updated keyword information according to the user response information, determine the updated response information according to the updated keyword information, and send the updated response information to the 5G message number to provide the response information in at least one display form.
[0083] Among them, the updated keyword information may refer to the keyword information of the user response information. The updated response information may refer to the updated 5G message response information. In this embodiment, after obtaining the user response information, the updated keyword information can be first determined according to the user response information, and then the updated response information can be determined according to the updated keyword information. Among them, the determination methods of the updated keyword information and the updated response information can refer to the determination methods of the above keyword information and the initial response information respectively, which will not be elaborated here. After determining the updated response information, it can be sent to the 5G message number to provide the response information in at least one display form, realizing the intelligent response of 5G messages.
[0084] The technical solution of the embodiment of the present invention determines the initial response information according to the keyword information; if the initial response information does not meet the response end condition and a user response event is detected within the preset reception time, obtain the user response information based on the initial response information; determine the updated keyword information according to the user response information, determine the updated response information according to the updated keyword information, and send the updated response information to the 5G message number. This technical solution can reserve time for the user response information and further improve the user experience.
[0085] In this embodiment, optionally, after determining the initial response message according to the keyword information, the following steps are further included: If the initial response message does not meet the response end condition and no user reply event is detected within the preset reception time, the initial response message is sent to the 5G message number based on the preset retransmission times.
[0086] Among them, the preset retransmission times can refer to the pre-set number of times to retransmit the 5G message response message. For example, the preset retransmission times can be set to 3. In this embodiment, if the initial response message does not meet the response end condition and no user reply event is detected within the preset reception time, a response message retransmission mechanism can be set, and the initial response message is sent to the 5G message number according to the preset retransmission times. Exemplarily, assuming that the preset reception time is 5 minutes and the preset retransmission times is 3, if no user reply event is detected within 5 minutes, the initial response message can be retransmitted 3 times in the 5G message number. If no user reply event is detected after the initial response message is retransmitted 3 times, the intelligent robot will send a pre-set unanswered message in the 5G message number, such as "Sorry, your session has timed out. See you next time", so as to avoid wasting resources due to the user not replying for a long time.
[0087] Through such a setting, this solution can timely remind the user through the response message retransmission mechanism, and avoid missing the information reply time due to the user's negligence.
[0088] Embodiment III
[0089] Figure 3 The following is a schematic structural diagram of an intelligent robot response device based on 5G messages provided by Embodiment III of the present invention. This device can execute the intelligent robot response method based on 5G messages provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method. As Figure 3 shown, this device includes:
[0090] A to-be-query information acquisition module 310, configured to acquire the to-be-query information input by the user in the 5G message number in response to a user query event; the 5G message number is an intelligent robot service number that provides cloud service information;
[0091] A keyword information acquisition module 320, configured to determine the keyword information of the to-be-query information if it is determined that the to-be-query information meets the 5G message response condition;
[0092] A 5G message response module 330, configured to perform a 5G message response to the to-be-query information in the 5G message number according to the keyword information to provide response messages in at least one display form.
[0093] Optionally, the keyword information acquisition module 320 includes:
[0094] A 5G message determination unit, configured to determine whether the information to be queried is a 5G message;
[0095] An authority status determination unit, configured to, if so, determine the authority status of the 5G message number; the authority status includes enabled and disabled;
[0096] A scenario trigger judgment unit, configured to, if the authority status is enabled, judge whether the information to be queried triggers a preset task scenario;
[0097] A 5G message response condition determination unit, configured to, if triggered, determine that the information to be queried meets the 5G message response conditions.
[0098] Optionally, the scenario trigger judgment unit is specifically configured to:
[0099] Match the keyword information according to a preset reference keyword;
[0100] If the match is successful, determine that the information to be queried triggers a preset task scenario.
[0101] Optionally, the 5G message response module 330 includes:
[0102] An initial response information determination unit, configured to determine initial response information according to the keyword information;
[0103] A user reply information acquisition unit, configured to, if the initial response information does not meet the response end condition and a user reply event is detected within a preset reception time, acquire user reply information based on the initial response information;
[0104] An updated response information determination unit, configured to determine updated keyword information according to the user reply information, determine updated response information according to the updated keyword information, and send the updated response information to the 5G message number.
[0105] Optionally, the initial response information determination unit is specifically configured to:
[0106] Match each preset word slot in the robot response template according to the keyword information; at least one preset word slot is included in the robot response template;
[0107] If the match is successful, determine the initial response information according to each preset word slot;
[0108] If the match fails, determine the initial response information according to the word slots that fail to match in each preset word slot.
[0109] Optionally, the 5G message response module 330 further includes:
[0110] An information retransmission unit, configured to, after determining an initial response message according to the keyword information, if the initial response message does not meet the response end condition and no user reply event is detected within a preset reception time, send the initial response message to the 5G message number based on a preset retransmission count.
[0111] Optionally, the device further includes:
[0112] A system reply module, configured to, after determining the keyword information of the information to be queried, if it is determined that the information to be queried does not meet the 5G message response condition, perform a system reply to the information to be queried according to the keyword information.
[0113] An intelligent robot response device based on 5G messages provided by an embodiment of the present invention can execute an intelligent robot response method based on 5G messages provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution of the method.
[0114] Embodiment 4
[0115] Figure 4 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0116] As Figure 4 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0117] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0118] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the intelligent robot response method based on 5G messages.
[0119] In some embodiments, the intelligent robot response method based on 5G messages can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the intelligent robot response method based on 5G messages described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the intelligent robot response method based on 5G messages in any other suitable manner (e.g., by means of firmware).
[0120] The various embodiments of the systems and technologies described above in this article can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems on a chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs, which can be executed and / or interpreted on a programmable system including at least one programmable processor, and the programmable processor can be a special or general programmable processor, and can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0121] A computer program for implementing the method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer program may be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0122] In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium may include, but is not limited to, electronics, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0123] In order to provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, speech input, or tactile input).
[0124] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0125] A computing system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0126] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and this is not limited herein.
[0127] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. An intelligent robot response method based on 5G messaging, characterized in that, The method includes: In response to a user query event, obtaining the information to be queried entered by the user in the 5G message number; the 5G message number is an intelligent robot service number providing cloud service information, and the information to be queried is the information waiting to be queried that the user wants to know; Determining whether the information to be queried is a 5G message; If so, determining the permission status of the 5G message number; the permission status includes enabled and disabled, and the permission status is used to judge whether a third-party customer has enabled the intelligent robot response service of the 5G message number, and the third-party customer can provide various application services for the user; If the permission status is enabled, determining whether the information to be queried triggers a preset task scenario, and the preset task scenario is a preset task query scenario; If triggered, determining that the information to be queried meets the 5G message response condition, and determining the keyword information of the information to be queried; Performing a 5G message response to the information to be queried in the 5G message number according to the keyword information to provide response information in at least one display form; The determining whether the information to be queried triggers a preset task scenario includes: matching the keyword information according to a preset reference keyword, and the preset reference keyword is a keyword that can trigger a preset task scenario; if the preset reference keyword matches the keyword information successfully, determining that the information to be queried triggers a preset task scenario; if the preset reference keyword fails to match the keyword information, performing semantic analysis on the keyword information, and determining whether to trigger a preset task scenario according to the semantic analysis result.
2. The method according to claim 1, wherein Performing a 5G message response to the information to be queried in the 5G message number according to the keyword information includes: Determining initial response information according to the keyword information; If the initial response information does not meet the response end condition, and a user reply event is detected within a preset reception time, obtaining user reply information based on the initial response information; Determining updated keyword information according to the user reply information, determining updated response information according to the updated keyword information, and sending the updated response information to the 5G message number.
3. The method according to claim 2, wherein Determining initial response information according to the keyword information includes: Matching each preset word slot in the robot response template according to the keyword information; at least one preset word slot is included in the robot response template; If the match is successful, determining initial response information according to each preset word slot; If the match fails, determining initial response information according to the word slots that fail to match in each preset word slot.
4. The method according to claim 2, wherein After determining the initial response information according to the keyword information, it further includes: If the initial response information does not meet the response end condition, and a user reply event is not detected within a preset reception time, sending the initial response information to the 5G message number based on a preset retransmission count.
5. The method according to claim 1, wherein After determining the keyword information of the information to be queried, it further includes: If it is determined that the information to be queried does not meet the 5G message response condition, performing a system reply to the information to be queried according to the keyword information.
6. An intelligent robot response device based on 5G messaging, characterized in that, The device includes: A to-be-query information acquisition module, configured to acquire to-be-query information input by a user in a 5G message number in response to a user query event; the 5G message number is an intelligent robot service number providing cloud service information, and the to-be-query information is information to be queried that the user wants to know. A keyword information acquisition module, configured to determine whether the to-be-query information is a 5G message; if so, determine the permission status of the 5G message number; the permission status includes enabled and disabled, and the permission status is used to judge whether a third-party customer has enabled the intelligent robot response service of the 5G message number, and the third-party customer can provide various application services for the user; if the permission status is enabled, judge whether the to-be-query information triggers a preset task scenario, and the preset task scenario is a pre-set task query scenario; if triggered, determine that the to-be-query information meets the 5G message response condition and determine the keyword information of the to-be-query information. A 5G message response module, configured to perform a 5G message response to the to-be-query information in the 5G message number according to the keyword information to provide response information in at least one display form. The step of judging whether the to-be-query information triggers a preset task scenario includes: matching the keyword information with a preset reference keyword, and the preset reference keyword is a keyword that can trigger a preset task scenario; if the preset reference keyword matches the keyword information successfully, determine that the to-be-query information triggers a preset task scenario; if the preset reference keyword fails to match the keyword information, perform semantic analysis on the keyword information and judge whether to trigger a preset task scenario according to the semantic analysis result.
7. An intelligent robot response electronic device based on 5G messaging, characterized in that, The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the intelligent robot response method based on 5G messages according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the processor to implement the intelligent robot response method based on 5G messages according to any one of claims 1-5 when executed.
Citation Information
Patent Citations
Common platform system and method of electronic boarding card
CN102610012A
Robot dialogue method, device and equipment and computer readable storage medium
CN110955675A
Bank customer service intelligent reply method and device
CN113360629A
Answer sentence generation method and device, computer equipment and storage medium
CN113626571A