A method and device for realizing intelligent response of service
By calling the intelligent response manager in two different calling modes of the system or service to generate a service recommendation list and displaying the intelligent response results, the problem of how to achieve intelligent response of local or cloud services in both system or service modes is solved, and the user experience and reasonable use of service resources is improved.
Patent Information
- Application Number
- CN202211711243.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-12-29
AI Technical Summary
How to realize intelligent response of local or cloud services in two different calling modes of system or service, improve users' experience of intelligent response, and reasonably use various recommended service resources.
A service intelligent response implementation method is proposed, including receiving a request instruction for intelligent response, pre-processing according to the source of the request instruction, calling the intelligent response manager to generate a recommendation list of the corresponding services, generating a service combination from the recommendation list and sorting, and displaying the intelligent response results in a specified area.
Implement intelligent responses to local or cloud services in two different calling modes of system or service, meet users' needs for intelligent recommendations of the system, and take into account intelligent recommendations between services, rationally use various service recommendation resources, and improve users' experience of intelligent responses.
Smart Images

Figure CN115955507B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer software technology, and in particular, to a method, apparatus, electronic device, and storage medium for implementing intelligent response of services. Background Art
[0002] The intelligent response of services is an important part of the precise distribution and efficient conversion of services or combined services, which can bring better development and usage experiences to developers and users. The intelligent response of services can provide users with the required services on demand according to the context of user operations, achieving point-and-use. Therefore, how to implement the intelligent response of local or cloud services in two different call modes of the system or service according to user requests, improve the user experience of using intelligent response, and reasonably use various recommended service resources is a technical problem to be solved. Summary of the Invention
[0003] The purpose of the embodiments of this application is to provide a method, apparatus, electronic device, and storage medium for implementing intelligent response of services, which is beneficial to improving the user experience of using intelligent response.
[0004] To solve the above technical problems, the embodiments of this application are implemented as follows:
[0005] In a first aspect, a method for implementing intelligent response of services is proposed, including:
[0006] Receiving a request instruction for intelligent response, and preprocessing the request instruction according to the source of the request instruction;
[0007] In response to the request instruction, calling an intelligent response manager to generate a recommended list of corresponding services;
[0008] Generating a service combination from the recommended list, sorting it, and displaying the intelligent response result in a specified area.
[0009] Further, the sources of the request instruction include request instructions from system calls and request instructions from combined service calls.
[0010] Further, when the type of the request instruction is a request instruction from a combined service call, preprocessing the request instruction includes:
[0011] Obtaining the text input of the service and / or combined service;
[0012] Calling a natural language processor to generate a corresponding structured expression from the text input, where the structured expression includes intent, slot, and / or dictionary;
[0013] Updating the structured expression to a data update manager and inputting it into the intelligent response manager.
[0014] Furthermore, the intelligent response manager is called to generate a recommendation list of corresponding services, including:
[0015] Invoke local intelligent response to generate a first recommendation list of local services from local data;
[0016] Invoke cloud intelligent response to generate a second recommendation list of cloud services from cloud data;
[0017] Acquire corresponding services from the first recommendation list and the second recommendation list.
[0018] Furthermore, the local data and / or the cloud data include behavioral data or related statistical data of a specified time length stored locally and / or in the cloud.
[0019] Further, the service combinations generated from the recommendation list are combined and sorted, including:
[0020] Invoking a service synthesizer to generate a service combination that meets preset conditions, wherein the preset conditions include a designated area for displaying intelligent response results;
[0021] The candidate ranker is called to rank the service combinations to generate a recommended intelligent response result.
[0022] Furthermore, the intelligent response results are displayed in a designated area, including:
[0023] Calling a response presenter to push the recommendation result of the intelligent response to the designated area for display, wherein the designated area includes a domain and a context; and / or,
[0024] The recommendation result of the intelligent response is fed back to the responded service, and the responded service is displayed in a designated area.
[0025] In a second aspect, a device for realizing intelligent service response is proposed, comprising:
[0026] A first module is capable of receiving a request instruction for intelligent response and preprocessing the request instruction according to a source of the request instruction;
[0027] The second module is capable of invoking the intelligent response manager to generate a recommendation list of corresponding services in response to the request instruction;
[0028] The third module is capable of generating and sorting service combinations from the recommendation list, and displaying the intelligent response results in a designated area.
[0029] In a third aspect, an electronic device is provided, characterized in that it includes:
[0030] Processor; and
[0031] A memory arranged to store computer executable instructions, which, when executed, cause the processor to execute the service intelligent response implementation method described in the first aspect.
[0032] In a fourth aspect, a computer-readable storage medium is proposed, characterized in that the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including multiple applications, the electronic device executes the service intelligent response implementation method described in the first aspect.
[0033] This application can achieve at least the following technical effects:
[0034] The service intelligent response implementation method, device, electronic device and storage medium provided in the embodiments of the present application receive request instructions for intelligent response and pre-process the request instructions according to the source of the request instructions; call the intelligent response manager to generate a recommendation list of corresponding services; generate and sort service combinations from the recommendation list, and display the intelligent response results in a designated area. Intelligent response of local or cloud services is realized in two different call modes of system or service, which not only meets the user's demand for system intelligent recommendation, but also takes into account intelligent recommendation between services, so as to reasonably use various service recommendation resources and improve the user's experience of intelligent response. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 This is one of the schematic diagrams of a method for implementing intelligent response of a service provided in an embodiment of the present application.
[0037] Figure 2 The present invention is a second schematic diagram of a method for implementing intelligent response of a service provided in an embodiment of the present application.
[0038] Figure 3 The third schematic diagram of a method for implementing intelligent response of a service provided in an embodiment of the present application.
[0039] Figure 4 A fourth schematic diagram of a method for implementing intelligent response of a service provided in an embodiment of the present application.
[0040] Figure 5The fifth schematic diagram of a method for implementing intelligent response of a service provided in an embodiment of the present application.
[0041] Figure 6 A schematic diagram of a device for implementing intelligent response to a service provided in an embodiment of the present application.
[0042] Figure 7 A schematic diagram of the structure of an electronic device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0044] Key Terms
[0045] Service: The services described in the embodiments of the present application are divided into atomic services and composite services. The so-called atomic service is a service that cannot be decomposed into finer-grained services, and the so-called composite service is a service composed of multiple services. Usually, the atomic service has an independent entrance, which can be directly triggered by the user by clicking, is free of installation, and can provide users with one or more convenient services. In the form of user applications. With the help of the service engine, atomic services and composite services can be flexibly nested and combined to form a composite service that meets user needs.
[0046] The following is a detailed description of a service intelligent response implementation scheme involved in this application through a specific example.
[0047] Embodiment 1
[0048] The focus of this application is how to realize the intelligent response of local or cloud services in two different call modes of system or service according to user requests, improve the user experience of intelligent response, and reasonably use various recommended service resources. Intelligent response is an important user interaction subsystem of local service, system service or cloud service, which is crucial for users who join the service. Since the service is an ecological open platform system, its users can enjoy personalized recommendation services, so that both local services and cloud services in the service ecological development platform can generate corresponding service recommendation lists by receiving service request instructions, and then display the intelligent response results in the specified area. For services, when the user's purpose is clear and knows the specific operation, new services can be generated through interaction; when the user's purpose is clear but does not know the specific operation, the system intelligently generates new services based on the user's input; when the user's purpose is unclear and does not know the specific operation, the system intelligently generates new services based on the user's long and short historical behavior and data. Therefore, realizing the intelligent response of local or cloud services in two different call modes of system or service not only meets the user's demand for system intelligent recommendation, but also takes into account the intelligent recommendation between services, so as to reasonably use various service recommendation resources and improve the user's experience of intelligent response.
[0049] For this reason, Figure 1 A method for implementing intelligent service response in an embodiment of the present application is shown, including:
[0050] S1: receiving a request instruction for intelligent response, and preprocessing the request instruction according to a source of the request instruction.
[0051] Optionally, the source of the request instruction includes a request instruction from a system call and a request instruction from a composite service call. Specifically, a system call refers to a service calling an intelligent response service in a POSIX API-like manner through an operating system; and a service composition call refers to a call made during the runtime of a composite service.
[0052] Alternatively, if Figure 2 As shown, when the type of the request instruction is a request instruction from a composite service call, the request instruction is preprocessed, including:
[0053] S21: Obtain text input of a service and / or a composite service.
[0054] S22: Calling a natural language processor to generate a corresponding structured expression from the text input, where the structured expression includes an intent, a slot and / or a dictionary.
[0055] S23: Update the structured expression to the data update manager and input it to the smart response manager.
[0056] It should be noted that intent, slot, and dictionary are the current consensus on the structured expression of natural language in the field of natural language processing. Capability input and output such as text represent the local communication capabilities of the service.
[0057] S2: In response to the request instruction, the intelligent response manager is called to generate a recommendation list of corresponding services.
[0058] Alternatively, if Figure 3 As shown, the intelligent response manager is called to generate a recommendation list of corresponding services, including:
[0059] S31: calling a local intelligent response to generate a first recommendation list of local services from local data;
[0060] S32: calling the cloud intelligent response to generate a second recommendation list of cloud services from the cloud data;
[0061] S33: Acquire corresponding services from the first recommendation list and the second recommendation list.
[0062] Optionally, the local data and / or the cloud data include behavior data or related statistical data of a specified time length stored locally and / or in the cloud. Specifically, the smart response actually maintains a user's local behavior data set. The short history generally includes the user's behavior data within one day or the most recent 100 items, and the long history includes the behavior data within 7 days or statistical data. There are many specific recommendation methods in the industry.
[0063] S3: Generate and sort service combinations from the recommendation list, and display the intelligent response results in a designated area.
[0064] Alternatively, if Figure 4 As shown, the service combinations generated from the recommendation list are combined and sorted, including:
[0065] S41: calling a service synthesizer to generate a service combination that meets preset conditions, wherein the preset conditions include a designated area for displaying intelligent response results;
[0066] S42: calling a candidate sorter to sort the service combinations to generate a recommended intelligent response result.
[0067] Alternatively, if Figure 5 As shown, the intelligent response results are displayed in the specified area, including:
[0068] S51: calling a response presenter to push the recommendation result of the intelligent response to the designated area for display, wherein the designated area includes a domain and a context; and / or,
[0069] S52: Feedback the recommendation result of the intelligent response to the responded service, and the responded service is displayed in a designated area.
[0070] It should be noted that the intelligent response results are ultimately displayed in a visual manner on the user terminal of the service. Therefore, the display form and display method of the intelligent response results can be presented by the corresponding display device of the service in a predefined domain and context on the one hand, and can also be displayed in response to the display area and display method set by the responded service on the other hand, that is, personalized customized display can be further realized.
[0071] The solution of the embodiment of the present application receives a request instruction for intelligent response and pre-processes the request instruction according to the source of the request instruction; calls the intelligent response manager to generate a recommendation list of corresponding services; generates and sorts service combinations from the recommendation list, and displays the intelligent response results in a specified area. Intelligent response of local or cloud services is achieved in two different call modes of system or service, which not only meets the user's demand for system intelligent recommendation, but also takes into account intelligent recommendation between services, thereby rationally using various service recommendation resources and improving the user's experience of intelligent response.
[0072] Embodiment 2
[0073] Figure 6 This is a schematic diagram of a service intelligent response implementation device 600 provided in one embodiment of the present application. Figure 6 In one implementation, a service intelligent response implementation device 600 includes:
[0074] The first module 601 is capable of receiving a request instruction for intelligent response and preprocessing the request instruction according to the source of the request instruction.
[0075] The second module 602 can respond to the request instruction and call the intelligent response manager to generate a recommendation list of corresponding services.
[0076] The third module 603 can generate and sort service combinations from the recommendation list, and display the intelligent response results in a designated area.
[0077] It should be understood that the service intelligent response implementation device 600 of the embodiment of the present application can also execute Figures 1 to 5 The method for executing the service intelligent response implementation device (or equipment) in the Figures 1 to 5 The functions of the example shown will not be described in detail here.
[0078] Embodiment 3
[0079] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 7 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0080] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0081] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0082] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a shared resource access control device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0083] receiving a request instruction for intelligent response, and preprocessing the request instruction according to a source of the request instruction;
[0084] In response to the request instruction, calling the intelligent response manager to generate a recommendation list of corresponding services;
[0085] Service combinations are generated and sorted from the recommendation list, and the intelligent response results are displayed in a designated area.
[0086] The above application Figures 1 to 5A service intelligent response implementation method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0087] Of course, in addition to software implementation, the electronic device of the embodiment of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0088] Embodiment 4
[0089] The embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figures 1 to 5 The embodiment shown is a method for implementing intelligent response of a service, and is specifically used to execute the following method:
[0090] receiving a request instruction for intelligent response, and preprocessing the request instruction according to a source of the request instruction;
[0091] In response to the request instruction, calling the intelligent response manager to generate a recommendation list of corresponding services;
[0092] Service combinations are generated and sorted from the recommendation list, and the intelligent response results are displayed in a designated area.
[0093] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0094] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0095] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0096] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0097] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A method for implementing intelligent service response, It is characterized in that include: receiving a request instruction for intelligent response, and preprocessing the request instruction according to a source of the request instruction; In response to the request instruction, calling the intelligent response manager to generate a recommendation list of corresponding services; Generate and sort service combinations from the recommendation list, and display the intelligent response results in a designated area; The sources of the request instructions include request instructions from system calls and request instructions from combined service calls; the system call refers to a service that calls an intelligent response service in a POSIX API-like manner through an operating system; The calling of the intelligent response manager to generate a recommendation list of corresponding services includes: Invoke local intelligent response to generate a first recommendation list of local services from local data; Invoke cloud intelligent response to generate a second recommendation list of cloud services from cloud data; Acquire corresponding services from the first recommendation list and the second recommendation list; The local data and / or the cloud data include behavior data or related statistical data stored locally and / or in the cloud for a specified time period.
2. The service intelligent response implementation method according to claim 1, It is characterized in that When the type of the request instruction is a request instruction from a composite service call, preprocessing the request instruction includes: Get text input for a service and / or a composite service; Calling a natural language processor to generate a corresponding structured expression from the text input, wherein the structured expression includes an intent, a slot and / or a dictionary; The structured expression is updated to the data update manager and input to the smart response manager.
3. The service intelligent response implementation method according to claim 1, It is characterized in that The service combinations generated from the recommendation list are sorted, including: Invoking a service synthesizer to generate a service combination that meets preset conditions, wherein the preset conditions include a designated area for displaying intelligent response results; The candidate ranker is called to rank the service combinations to generate a recommended intelligent response result.
4. The service intelligent response implementation method according to claim 1, It is characterized in that Display intelligent response results in the designated area, including: Calling a response presenter to push the recommendation result of the intelligent response to the designated area for display, wherein the designated area includes a domain and a context; and / or, The recommendation result of the intelligent response is fed back to the responded service, and the responded service is displayed in a designated area.
5. A device for realizing intelligent response of services, It is characterized in that include: The first module is capable of receiving a request instruction for intelligent response and preprocessing the request instruction according to a source of the request instruction; wherein the source of the request instruction includes a request instruction from a system call and a request instruction from a combined service call; the system call refers to a service calling an intelligent response service in a POSIX API-like manner through an operating system; The second module can, in response to the request instruction, call the intelligent response manager to generate a recommendation list of corresponding services; specifically used to: call the local intelligent response to generate a first recommendation list of local services from local data; call the cloud intelligent response to generate a second recommendation list of cloud services from cloud data; obtain the corresponding service from the first recommendation list and the second recommendation list; the local data and / or the cloud data include behavior data or related statistical data stored locally and / or in the cloud for a specified time length; The third module is capable of generating and sorting service combinations from the recommendation list, and displaying the intelligent response results in a designated area.
6. An electronic device, It is characterized in that include: processor; as well as A memory arranged to store computer executable instructions, which, when executed, cause the processor to execute the service intelligent response implementation method according to any one of claims 1 to 4.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores one or more programs, which, when executed by an electronic device including a plurality of application programs, enable the electronic device to execute the service intelligent response implementation method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Personalized recommendation method, terminal device and system
CN110059249A
Recommendation information determination method, device and system, equipment and medium
CN112256947A