An interaction method and device, an electronic device, and a storage medium
Patent Information
- Application Number
- CN202510536213.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2026-10-27
AI Technical Summary
[0028]通过解析指令中的服务需求信息,在确定服务需求信息与第一应用关联的情况下,确定需求服务对应的应用接口,再通过该应用接口来向第一应用发送服务请求,从而能够在如语音助手等第三方应用中直接调用第一应用服务,无需用户手动操作,即可在第三方应用中直接访问第一应用,提高了第一应用中服务访问的效率,优化了用户的使用体验。
Smart Images

Figure CN122985446A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to the fields of artificial intelligence technology such as voice interaction, natural language processing, computer vision, and deep learning. Specifically, it relates to an interaction method, device, electronic device, and storage medium. Background Technology
[0002] With the rapid development of computer technology and mobile internet, applications (APPs) have become deeply integrated into all aspects of people's lives and business operations. People have increasingly higher requirements for the capabilities and ease of use of APPs. Summary of the Invention
[0003] This disclosure aims to at least partially address one of the technical problems in the related art.
[0004] Therefore, the purpose of this disclosure is to propose an interaction method, device, electronic device, and storage medium that, by accessing the open interface provided by the application, can directly call the application's upload, retrieval, and other services in third-party applications such as voice assistants, without requiring manual access by the user. This results in a shorter and more efficient service access path, thus optimizing the user experience.
[0005] According to a first aspect of this disclosure, an interaction method is provided, comprising:
[0006] The received instructions are parsed to obtain service request information;
[0007] When the service requirement information is associated with a first application, the target interface corresponding to the service requirement information is determined.
[0008] A service request is sent to the first application through the target interface, wherein the service request includes the service requirement information.
[0009] According to a second aspect of this disclosure, an interaction method is also provided, comprising:
[0010] Receive service requests through a service interface, wherein the service requests include service requirement information;
[0011] Start the target service associated with the service interface;
[0012] The target service responds to the service request based on the service requirement information and obtains a response result.
[0013] According to a third aspect of this disclosure, an interactive device is provided, comprising:
[0014] The parsing module is used to parse the received instructions to obtain service request information;
[0015] The first processing module is used to determine the target interface corresponding to the service requirement information when the service requirement information is associated with the first application.
[0016] The sending module is used to send a service request to the first application through the target interface, wherein the service request includes the service requirement information.
[0017] According to a fourth aspect of this disclosure, an interactive device is also provided, comprising:
[0018] A receiving module is used to receive service requests through a service interface, wherein the service request includes service requirement information;
[0019] The second processing module is used to start the target service associated with the service interface;
[0020] The third processing module is used to respond to the service request based on the service requirement information through the target service and obtain a response result.
[0021] According to a fifth aspect of this disclosure, an electronic device is provided, comprising:
[0022] At least one processor; and
[0023] A memory communicatively connected to the at least one processor; wherein,
[0024] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the interaction methods as described in the first and second aspects.
[0025] According to a sixth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing the computer to perform the interaction methods described in the first and second aspects.
[0026] According to a seventh aspect of this disclosure, a computer program product is provided, including computer instructions that, when executed by a processor, implement the steps of the interaction method as described in the first and second aspects.
[0027] The interactive method, apparatus, electronic device, and storage medium provided in this disclosure have the following beneficial effects:
[0028] By parsing the service request information in the instruction, and determining that the service request information is associated with the first application, the application interface corresponding to the requested service is identified. Then, a service request is sent to the first application through this application interface. This allows third-party applications, such as voice assistants, to directly call the services of the first application without requiring manual user operation. This improves the efficiency of service access in the first application and optimizes the user experience.
[0029] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0030] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, which are provided for a better understanding of the present invention and are not intended to limit the scope of this disclosure, wherein:
[0031] Figure 1 This is a flowchart illustrating an interaction method according to an embodiment of the present disclosure;
[0032] Figure 2 This is a flowchart illustrating an interaction method according to another embodiment of the present disclosure;
[0033] Figure 3 This is a flowchart illustrating an interaction method according to another embodiment of the present disclosure;
[0034] Figure 4a This is a schematic diagram of an interface for inputting commands in a local photo album according to an embodiment of this disclosure;
[0035] Figure 4b This is a schematic diagram of an operation interface for third-party application interaction according to an embodiment of this disclosure.
[0036] Figure 5 This is a flowchart illustrating an interaction method according to another embodiment of the present disclosure;
[0037] Figure 6 A schematic diagram of an interactive interface for resource sharing provided in an embodiment of this disclosure;
[0038] Figure 7 This is a flowchart illustrating an interaction method according to another embodiment of the present disclosure;
[0039] Figure 8 This is a flowchart illustrating an interaction method according to another embodiment of the present disclosure;
[0040] Figure 9This is a schematic diagram illustrating the interaction between a third-party application and a first application according to an embodiment of this disclosure;
[0041] Figure 10 This is a schematic diagram of the structure of an interactive device according to an embodiment of the present disclosure;
[0042] Figure 11 This is a schematic diagram of the structure of an interactive device according to another embodiment of the present disclosure;
[0043] Figure 12 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Detailed Implementation
[0044] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0045] The embodiments disclosed herein relate to artificial intelligence technologies such as voice interaction, natural language processing, computer vision, and deep learning.
[0046] Artificial Intelligence (AI) is a new technical science that studies, develops, and applies theories, methods, technologies, and application systems to simulate, extend, and expand human intelligence.
[0047] Voice interaction is a new generation of interaction mode based on voice input, where feedback can be obtained simply by speaking. A typical application scenario is voice assistants.
[0048] Natural Language Processing (NLP) is an important research area in artificial intelligence, encompassing two main aspects: natural language understanding and natural language generation. Its research covers multiple levels, including characters, words, phrases, sentences, paragraphs, and texts, serving as a bridge between machine language and human language. It aims to enable machines to understand, interpret, and generate human language, achieving effective communication between humans and machines, and allowing computers to perform tasks such as language translation, sentiment analysis, and text summarization.
[0049] Computer vision refers to machine vision that uses cameras and computers to identify, track, and measure targets instead of human eyes, and further processes the images to make them more suitable for human observation or transmission to instruments for detection.
[0050] Deep learning learns the inherent patterns and hierarchical representations of sample data. The information gained during this learning process greatly aids in interpreting data such as text, images, and sound. The ultimate goal of deep learning is to enable machines to possess analytical and learning capabilities similar to humans, allowing them to recognize data such as text, images, and sound.
[0051] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0052] The following description, with reference to the accompanying drawings, outlines an interaction method, apparatus, electronic device, and storage medium according to embodiments of this disclosure.
[0053] It should be noted that the execution subject of the interaction method in this embodiment is an interaction device, which can be implemented by software and / or hardware. The device can be configured in an electronic device, which may include, but is not limited to, a terminal, a server, etc.
[0054] Figure 1 This is a flowchart illustrating an interaction method proposed according to an embodiment of the present disclosure.
[0055] like Figure 1 As shown, the interaction method includes:
[0056] S101: Parse the received instructions to obtain service request information.
[0057] The service request information describes the user's intent in sending the command. It may include keywords of the service the user needs to call, such as upload, download, share, file consumption, file retrieval, or file management, the intent or goal of calling the service, and at least one of the following: whether the service is deployed in this application or another application.
[0058] In this embodiment of the disclosure, the recipient of the instruction may be a third-party application in a terminal such as a mobile phone or personal computer, such as a voice assistant, or a second application installed in the terminal. The instruction may be received by user voice input or text input.
[0059] In this embodiment of the disclosure, when a user opens any interface such as a photo album or file manager on the terminal, they can input commands by activating a third-party application (such as activating a voice assistant by a button deployed on the interface). After receiving the user's command, the third-party application can parse the command through speech recognition and natural language processing to extract the service request information corresponding to the command.
[0060] For example, a user can activate the voice assistant in their phone's photo album using the Artificial Intelligence (AI) button on the interface. They can then send a voice command such as, "Back up the photos taken yesterday at location A to other applications, and send User 1's photos to User 1." The voice assistant can convert the speech to text, parse the text, and obtain service request information. This service request information may include the service intent of uploading photos to other applications and generating photo links to share with the target user. Specifically, the photos to be uploaded are those taken at location A, the target photos to be shared are all photos taken at location A that include User 1's photos, and the sharing recipient is User 1, among other information.
[0061] S102: When the service requirement information is associated with the first application, determine the target interface corresponding to the service requirement information.
[0062] The first application can be an application installed on the terminal that provides services to the user. For example, the first application can provide services such as resource storage, management, sharing, editing, and access, or it can provide multimedia resource playback services, information recording services, etc. This disclosure does not limit the scope of the application.
[0063] For example, the first application in this embodiment can be an application that provides online storage services to users. The first application can be, for example, a "cloud drive," "network USB drive," "network hard drive," "personal cloud drive," etc., and the name of the first application is not limited in this embodiment.
[0064] In this embodiment of the disclosure, when the service request information involves uploading data to the first application, sharing data in the first application, or retrieving files from the first application, it can be determined that the service requested by the user is deployed in other applications (such as the first application), thereby determining that the service request information is associated with the first application.
[0065] In this disclosure, the first application can provide open interfaces for different services to third-party applications based on the Model Context Protocol (MCP) tool. Third-party applications can then call the first application's MCP tool through these interfaces to utilize the first application's various capabilities, such as file upload, download, sharing, retrieval, and management. Since the interfaces of the first application required for different services are different, the first application interface corresponding to the user's service intent in the service requirement information can be identified as the target interface corresponding to the service requirement information.
[0066] It should be noted that the instructions sent by the user can include multiple services that need to be called, such as first uploading the image to the first application, and then sharing the uploaded photo with other users. In this case, there can be multiple target interfaces corresponding to the service request information.
[0067] S103: Send a service request to the first application through the target interface.
[0068] The service request includes service requirement information, which allows the first application receiving the service request to clearly understand the resources and operations requested by the user, start the correct service, and complete the operation required by the user.
[0069] In this embodiment of the disclosure, after determining the target interface corresponding to the service request information, the third-party application can send a service request to the first application through the target interface to request the first application to start the corresponding service and perform operations such as uploading, downloading, sharing, consuming, retrieving or managing the resources indicated in the service request information.
[0070] In this embodiment, by parsing the service request information in the instruction, and determining that the service request information is associated with the first application, the application interface corresponding to the requested service is determined, and then the service request is sent to the first application through the application interface. This allows the services of the first application to be called directly in third-party applications such as voice assistants without the need for manual access by the user. This makes the access path of the services in the first application shorter and more efficient, thus optimizing the user experience.
[0071] Figure 2 This is a flowchart illustrating an interaction method proposed in another embodiment of this disclosure.
[0072] like Figure 2 As shown, the interaction method includes:
[0073] S201: Parse the received instructions to obtain service request information.
[0074] For a detailed description of S201, please refer to the above embodiments, which will not be repeated here.
[0075] S202: When the service request information is associated with the first application, determine the target interface corresponding to the service request information based on the service intent and / or keywords in the service request information.
[0076] Among them, service intent is the words or sentences in the service request information that describe the user's target needs. The service intent can determine which services can be called to meet the user's needs.
[0077] Keywords are words that reflect the services that users need to access, such as "upload", "search", "share", "meeting assistant", etc.
[0078] In this embodiment of the disclosure, when the service requirement information is associated with the first application, the service intent or keywords in the service requirement information can be obtained first, or the service intent and keywords can be obtained at the same time, to determine the first application service that needs to be called when fulfilling the user's requirements. Then, the interface configured in the first application that corresponds to the first application service can be determined as the target interface corresponding to the service requirement information.
[0079] S203: Send a service request to the first application through the target interface.
[0080] For a detailed description of S203, please refer to the above embodiments, which will not be repeated here.
[0081] In this embodiment, by parsing the service request information in the instruction, and determining that the service request information is associated with the first application, the first application interface corresponding to the requested service is determined based on the service intent and / or keywords in the service request information. Then, the service request is sent to the first application through the first application interface, thereby improving the accuracy of the interface call, improving the efficiency of service access, and further optimizing the user experience.
[0082] Figure 3 This is a flowchart illustrating an interaction method proposed in another embodiment of this disclosure.
[0083] like Figure 3 As shown, the interaction method includes:
[0084] S301: Parse the received instruction. If the instruction is a resource upload instruction and includes attribute information of the resource to be uploaded, obtain the resource to be uploaded based on the attribute information.
[0085] The resources to be uploaded can be photos, videos, or files, etc. The attribute information of the resources to be uploaded describes how to filter the resources to be uploaded. It can be the characteristics of the resources themselves, the context and the conditions for their generation, such as the location where the photos were taken, the download or generation time of the data, etc.
[0086] In this embodiment of the disclosure, after receiving the instruction to upload data, the resource to be uploaded can be filtered and obtained from the local storage of the terminal or other applications based on the attribute information of the resource to be uploaded included in the instruction.
[0087] S302: Generate and display description information for the resource to be uploaded.
[0088] The description information refers to information that can identify the content of each resource to be uploaded, such as a thumbnail of a photo, the actual name of the document, etc.
[0089] In this embodiment of the disclosure, after obtaining the resource to be uploaded, a description of the resource to be uploaded can be generated based on the content of the resource to be uploaded and displayed in the interface for user interaction, so that the user who sends the resource upload command can intuitively determine whether the obtained resource to be uploaded is the correct resource, thereby ensuring the accuracy of the uploaded resource.
[0090] S303: Upon receiving a confirmation instruction for the description information, generate service requirement information based on the resources to be uploaded.
[0091] In this embodiment of the disclosure, after displaying the description information of the resource to be uploaded in the interactive interface, a confirmation button associated with the description information can be displayed in the interactive interface. This allows the user to receive a confirmation instruction for the description information when the user triggers the control, thus confirming that the currently acquired resource to be uploaded is correct. Subsequently, service request information can be generated based on the resource to be uploaded, which may include the resource to be uploaded, etc.
[0092] S304: When the service requirement information is associated with the first application, determine the target interface corresponding to the service requirement information.
[0093] S305: Send a service request to the first application through the target interface.
[0094] For a detailed description of S304 and S305, please refer to the above embodiments, which will not be repeated here.
[0095] For example, a user can use the AI button in their phone's photo album to activate the voice assistant and send a resource upload command: "Back up photos taken yesterday at location A to the first application." The command specifies the attributes of the resource to be uploaded, namely, the creation time was yesterday and the shooting location was location A. Therefore, a third-party application can retrieve all photos matching these attributes from the phone's photo album and upload them to the first application. This enriches the large file delivery capabilities of smart terminal systems, enabling a highly efficient one-click file delivery experience. Alternatively, users can upload target files to the first application while browsing local files, allowing for instant cloud uploads and ensuring files are stored immediately and not lost.
[0096] The following is combined with Figure 4a and Figure 4b The interaction process after receiving the resource upload instruction is described. Figure 4a and Figure 4b Taking the process of uploading images from the local photo album to the first application as an example, the process of uploading other resources is similar. Figure 4a This is a schematic diagram of the interface for entering commands in the local photo album. Figure 4bThis is a schematic diagram of the user interface when a third-party application interacts with a received instruction.
[0097] like Figure 4a As shown, when browsing pictures in the local photo album, users can invoke third-party applications such as voice assistants to input commands within this interface. Figure 4a In the image, images 1, 2, 3... are photos saved in the local photo album. These images can be accessed after the user launches a third-party application. Figure 4a Below this is a command input box for sending commands to third-party applications. Users can input commands via voice or text.
[0098] After the user completes the input of the command, the terminal's display interface can jump to... Figure 4b , Figure 4b Command A in the command field represents the resource upload command entered by the user. Below Command A, a description of the resource to be uploaded, obtained based on the command, is displayed; this includes thumbnails of one or more photos to be uploaded to the first application. Afterwards, the user can... Figure 4b The system sends a confirmation command to the description information, and the third-party application can call the interface of the first application to upload the photo to the first application.
[0099] In this embodiment, when uploading resources, candidate resources can be determined first based on attributes in the instruction, such as the location where the photo was taken, the download or generation time of the data, etc., and then description information of the candidate resources, such as the thumbnail of the photo, the actual name of the data, etc., to ensure the accuracy of the uploaded resources, which is conducive to further improving the efficiency of interaction and user experience.
[0100] Figure 5 This is a flowchart illustrating an interaction method proposed in another embodiment of this disclosure.
[0101] like Figure 5 As shown, the interaction method includes:
[0102] S501: Parse the received instructions to obtain service request information.
[0103] S502: When the service requirement information is associated with the first application, determine the target interface corresponding to the service requirement information.
[0104] S503: Send a service request to the first application through the target interface.
[0105] For a detailed description of S501 to S503, please refer to the above embodiments, which will not be repeated here.
[0106] S504: Receive the response result returned by the first application.
[0107] In this embodiment of the disclosure, the response result returned by the first application may vary depending on the requested service. For example, if the target interface is the resource upload interface of the first application, and the service request is to upload the resource to be uploaded to the first application, the response result returned by the first application may be that the resource was successfully uploaded and the resource was uploaded to an address or folder name, etc.
[0108] S505: If the response includes an access link, send the access link to the recipient indicated by the instruction.
[0109] In this embodiment of the disclosure, when a third-party application sends a service request to the first application that includes a sharing task, the response returned by the first application may include an access link. Therefore, upon receiving the access link returned by the first application, the recipient of the resource sharing task indicated in the received instruction can be determined first. Then, the address book (or other communication application) can be invoked to send the access link to the recipient, enabling the recipient to access the user-shared resource through the link.
[0110] It should be noted that in some embodiments of this disclosure, a user can send an instruction to a third-party application to first upload resources to the first application and then share the resources with the target user. For example, the instruction to "back up the photos taken at location A yesterday to the first application and send the photos of user 1 to user 1 at the same time" can be used. In this case, the third-party application can first obtain the photos taken at location A and upload them to the first application. Then, it can identify and filter the photos containing user 1 from the uploaded photos, generate a sharing link for the first application, and then call the address book to automatically send the first application link to user 1.
[0111] The following is combined with Figure 6 The interactive process when accessing links is included in the response results is described. Figure 6 This is a schematic diagram of an interactive interface for resource sharing provided in an embodiment of this disclosure.
[0112] like Figure 6 As shown, after receiving instruction B sent by the user, parsing instruction B, determining the target interface, and sending a service request, the system can receive the response result returned by the first application and display the response result. Figure 6 In the interactive interface. If instruction B includes a sharing task, Figure 6 The response result can include access to the resource to be shared and the identifier of the user to be shared with.
[0113] In this embodiment of the disclosure, after obtaining the access link, the third-party application can directly send the access link to the recipient indicated by the instruction, or it can display a control associated with the access link in the interface. After the user triggers the control and confirms sending, the access link is sent to the recipient indicated by the instruction. This can avoid the situation of sending the link to the wrong recipient and improve the accuracy of resource sharing.
[0114] In this embodiment, by sending the access link to the recipient indicated by the instruction when the response result includes the access link, efficient resource sharing can be achieved and the user experience can be optimized.
[0115] Figure 7 This is a flowchart illustrating an interaction method proposed in another embodiment of this disclosure.
[0116] like Figure 7 As shown, the interaction method includes:
[0117] S701: Upon receiving an instruction to initiate the first application's call function, send an authentication request to the server associated with the first application.
[0118] In this embodiment of the disclosure, the instruction sent by the user may be to start the function of the third-party application itself (such as sharing, searching, etc.), or it may be to start and call the function of other applications (such as the first application). It can be determined whether the currently received instruction is an instruction to start the function of the first application by whether the instruction sent by the user contains words such as the first application or other functions other than its own function.
[0119] In this embodiment of the disclosure, in order to ensure storage security, not all third-party applications may be able to access the interface of the first application to call services. Therefore, in order to prevent malicious access by unauthorized applications and improve the security of resource storage, an authentication request can be sent to the server associated with the first application when an instruction to start the first application to call the function is received, so as to determine whether the third-party application can call the function of the first application.
[0120] In this embodiment of the disclosure, the server associated with the first application may contain the identifiers of all third-party applications that have the permission to access the open interface of the first application and call the functions of the first application. Thus, if any third-party application sends an authentication request to the server, the server can determine whether the third-party application is allowed to call the functions of the first application by querying.
[0121] In this embodiment of the disclosure, the server associated with the first application, upon determining that access to the services in the first application by a third-party application is permitted, can initiate a user authentication service to authenticate the identity of the user to whom the third-party application belongs. For example, it can determine whether a first application exists that is associated with the user of the third-party application by obtaining the user information of the first application entered by the user.
[0122] S702: Receive the authentication response returned by the server.
[0123] The authentication response may include at least one of the following: an indication of whether authentication has been successful, or mapping information between different services and interfaces.
[0124] In this embodiment, if the authentication response determines that the third-party application has passed authentication, the mapping relationship between the different services provided by the first application and the interfaces of the first application can be sent to the third-party application. This allows the third-party application to determine the target interface to access based on the service requirement information corresponding to the current instruction upon receiving the instruction. Alternatively, if the authentication response determines that the third-party application has failed authentication, meaning the third-party application is not allowed to call the functions of the first application, the first application server may not return the mapping information between different services and interfaces.
[0125] In this embodiment, upon receiving an instruction to initiate the first application's calling function, the system authenticates whether the third-party application has the capability to call the first application's function. If the authentication is successful, the system continues to determine the target interface corresponding to the service requirement information. This ensures the security of the interaction between the third-party application and the first application and optimizes the user experience.
[0126] It should be noted that the service request information may include any of the following: the resource to be uploaded, the identifier of the target resource, and the description of the meeting.
[0127] The target resource can be any of the following: a resource requested for retrieval, a resource requested for consumption, or a resource requested for sharing. A resource identifier is a string of characters that can identify the content of a resource, such as a filename.
[0128] For example, a user can input the command "Open the project plan document in the first application". The target resource identifier in the service requirement information will then be "project plan document". The third-party application can then send this requirement information to the first application through the corresponding interface. The first application can then search for and match documents related to the project plan and return the obtained documents to the third-party application for display in the third-party application's interface. This allows users to achieve file and content layer retrieval, location, search, and consumption scenarios in the first application without having to open the first application, wait for it to start, or manually enter information, which helps improve user work efficiency.
[0129] Alternatively, users can input the name of the video in the first application they want to play. After receiving the corresponding request information, the first application can then search for and match the relevant video and play it through the video playback service. This improves the efficiency of content consumption in the first application, requiring only a few steps to consume the target resource, resulting in a shorter path and a smoother user experience.
[0130] It should be noted that, in this embodiment of the disclosure, the service request information includes the resource identifier to be retrieved, and after obtaining the file returned by the first application through the access interface, information extraction, summarization and other operations can be performed on the file through interactive means in the operation interface of the third-party application.
[0131] The meeting description information may include at least one of the following: meeting time, method of joining the meeting, and method of recording the meeting. The method of joining the meeting may be a meeting ID, link, etc. The method of recording the meeting may be audio recording or transcript recording, etc.
[0132] In some possible implementations, users may be unable to attend important meetings, thus requiring an AI-powered meeting assistant to participate and record meeting content. Users can send a description of the meeting to a third-party application, enabling the application to generate service request information and invoke the first application's recording service interface. This allows the third-party application to provide recording services, such as entering the meeting via a meeting ID or link, recording meeting audio, and automatically generating meeting minutes. Furthermore, after generating the meeting content or minutes, users can interact with the content layer using natural language to quickly extract key information from the meeting.
[0133] In this embodiment of the disclosure, including at least one of the resource to be uploaded, the identifier of the target resource, and the description information of the meeting in the service request information can improve the efficiency and accuracy of determining the calling interface, enabling the first application that receives the service request to respond to the target service more quickly and improve the interaction efficiency.
[0134] Figure 8 This is a flowchart illustrating an interaction method proposed in another embodiment of this disclosure.
[0135] like Figure 8 As shown, the interaction method includes:
[0136] S801: Receives service requests through the service interface.
[0137] The service request includes service requirement information.
[0138] In this embodiment of the disclosure, the first application can receive service requests sent by any third-party application through its different service interfaces. The service request includes service requirement information, which enables the first application to clearly define what data needs to be uploaded, what resources need to be retrieved or shared, or what meeting content needs to be recorded, etc.
[0139] S802: Start the target service associated with the service interface.
[0140] In this embodiment of the disclosure, the first application can be configured with different service interfaces to receive requests to call the corresponding services, thereby avoiding redundancy or excessive coupling of interface functions and ensuring the request processing performance of the first application. Therefore, the target service associated with the service interface can be started to process the received service requests.
[0141] Optionally, if the service request information includes a meeting description, the target start time for the meeting recording service can be determined based on the meeting's time information. Then, the meeting recording service can be started at the target start time. This allows for pre-allocation of service resources based on the meeting's duration, improving resource utilization and the reliability of the meeting recording service, and optimizing the user experience.
[0142] S803: Through the target service, respond to the service request based on the service requirement information and obtain the response result.
[0143] In this embodiment, the target service can be used to process the resources in the service request information, such as uploading, downloading, or generating a shareable link, to complete the service request response. The response result includes whether the upload was successful, the downloaded or obtained file, or the generated shareable link. The response result can then be returned to a third-party application for display, ensuring the integrity of the interaction process.
[0144] It should be noted that the service request information may include any of the following: the resource to be uploaded, the identifier of the target resource, and the description of the meeting.
[0145] The target resource can be any of the following: a resource requested for retrieval, a resource requested for consumption, or a resource requested for sharing. The resource identifier is a string of characters that can identify the resource's content, such as a filename. The meeting description information can include at least one of the following: meeting time information, method of joining the meeting, and method of recording the meeting. The method of joining the meeting can be a meeting ID, link, etc. The method of recording the meeting can be audio recording or transcript recording, etc.
[0146] In this embodiment of the disclosure, by including service request information in the service request, the efficiency and accuracy of the first application target service processing can be improved, thereby increasing the interaction efficiency.
[0147] In this embodiment of the disclosure, by determining the target service associated with the interface that receives the service request, and using the target service and the received service request information, the service request is responded to and a response result is obtained. Thus, the service in the first application can receive calls from other applications, reducing the service access time of the first application, eliminating the need for the user to manually call the required service, improving interaction efficiency, and optimizing the user experience.
[0148] It should be noted that, in this embodiment of the disclosure, the third-party application and the first application complete the interaction through mutual cooperation. Figure 9 This is a diagram illustrating the interaction between a third-party application and the first application, such as... Figure 9 As shown:
[0149] S901: The third-party application parses the received instructions to obtain service request information.
[0150] S902: When the service requirement information is associated with the first application, the third-party application determines the target interface corresponding to the service requirement information.
[0151] S903: Through the target interface, the third-party application sends a service request to the first application.
[0152] S904: The target service associated with the first application startup and service interface.
[0153] S905: Through the target service, the first application responds to the service request based on the service requirement information and obtains the response result.
[0154] S906: The first application returns the response result to the third-party application.
[0155] S906: Third-party applications display response results.
[0156] The descriptions of S901 to S907 above can be found in the above embodiments, and will not be repeated here.
[0157] In this embodiment, the third-party application receives the user's instruction and then sends a service call request to the first application through the interface of the first application to obtain the response result of the first application. This allows the third-party application to directly call the service of the first application without the need for manual access by the user, making the service access path shorter and more efficient, and optimizing the user experience.
[0158] Figure 10 This is a schematic diagram of the structure of an interactive device proposed in an embodiment of this disclosure.
[0159] like Figure 10 As shown, the interactive device 1000 includes:
[0160] The parsing module 1001 is used to parse the received instructions to obtain service request information;
[0161] The first processing module 1002 is used to determine the target interface corresponding to the service requirement information when the service requirement information is associated with the first application.
[0162] The sending module 1003 is used to send a service request to the first application through the target interface, wherein the service request includes service requirement information.
[0163] In some embodiments of this disclosure, the first processing module 1002 may specifically be used for:
[0164] Based on the service intent and / or keywords in the service request information, determine the target interface corresponding to the service request information.
[0165] In some embodiments of this disclosure, the parsing module 1001 may specifically be used for:
[0166] If the instruction is a resource upload instruction and the instruction includes attribute information of the resource to be uploaded, the resource to be uploaded is obtained based on the attribute information.
[0167] Generate and display description information for the resources to be uploaded;
[0168] Upon receiving a confirmation instruction regarding the description information, service requirement information is generated based on the resources to be uploaded.
[0169] In some embodiments of this disclosure, the sending module 1003 may also be used for:
[0170] Receive the response result returned by the first application;
[0171] If the response includes an access link, the access link will be sent to the recipient indicated by the instruction.
[0172] In some embodiments of this disclosure, the interactive device 1000 may further include an authentication module, which may be used for:
[0173] Upon receiving an instruction to initiate the first application's call function, an authentication request is sent to the server associated with the first application;
[0174] Receive the authentication response returned by the server, wherein the authentication response includes at least one of the following: indication information on whether the authentication is successful, and mapping information of different services and interfaces.
[0175] In some embodiments of this disclosure, the service request information includes any of the following:
[0176] Resources to be uploaded;
[0177] The identifier of the target resource, wherein the target resource is any one of the following: the resource to be retrieved, the resource to be consumed, or the resource to be shared;
[0178] The meeting description information includes at least one of the following: the meeting time, the method of joining the meeting, and the method of recording the meeting.
[0179] It should be noted that the foregoing explanation of the interaction method also applies to the interaction device of this embodiment, and will not be repeated here.
[0180] In this embodiment, by parsing the service request information in the instruction, and determining that the service request information is associated with the first application, the first application interface corresponding to the requested service is identified. Then, the service request is sent to the first application through the first application interface. This allows the first application service to be called directly in third-party applications such as voice assistants without the need for manual access by the user. This makes the service access path shorter, more efficient, and optimizes the user experience.
[0181] Figure 11 This is a schematic diagram of the structure of an interactive device proposed in an embodiment of this disclosure.
[0182] like Figure 11 As shown, the interactive device 1100 includes:
[0183] The receiving module 1101 is used to receive service requests through the service interface, wherein the service request includes service requirement information;
[0184] The second processing module 1102 is used to start the target service associated with the service interface;
[0185] The third processing module 1102 is used to respond to service requests and obtain response results based on service requirement information from the target service.
[0186] In some embodiments of this disclosure, the second processing module 1102 may specifically be used for:
[0187] If the service request information includes a description of the meeting, the target start time for the meeting recording service is determined based on the meeting's time information.
[0188] At the target startup time, start the meeting recording service.
[0189] In some embodiments of this disclosure, the service request information includes any of the following:
[0190] Resources to be uploaded;
[0191] The identifier of the target resource, wherein the target resource is any one of the following: the resource to be retrieved, the resource to be consumed, or the resource to be shared;
[0192] The meeting description information includes at least one of the following: the meeting time, the method of joining the meeting, and the method of recording the meeting.
[0193] It should be noted that the foregoing explanation of the interaction method also applies to the interaction device of this embodiment, and will not be repeated here.
[0194] In this embodiment, by determining the target service associated with the interface that receives the service request, and using the target service and the received service request information, the service request is responded to and a response result is obtained. As a result, the service in the first application can receive calls from other applications, reducing the service access time of the first application, eliminating the need for users to manually call the required services, improving interaction efficiency, and optimizing the user experience.
[0195] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0196] Figure 12 A schematic block diagram of an example electronic device 1200 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, 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 disclosure described and / or claimed herein.
[0197] like Figure 12As shown, device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in read-only memory (ROM) 1202 or a computer program loaded from storage unit 1208 into random access memory (RAM) 1203. The RAM 1203 may also store various programs and data required for the operation of device 1200. The computing unit 1201, ROM 1202, and RAM 1203 are interconnected via bus 1204. Input / output (I / O) interface 1205 is also connected to bus 1204.
[0198] Multiple components in device 1200 are connected to I / O interface 1205, including: input unit 1206, such as keyboard, mouse, etc.; output unit 1207, such as various types of monitors, speakers, etc.; storage unit 1208, such as disk, optical disk, etc.; and communication unit 1209, such as network card, modem, wireless transceiver, etc. Communication unit 1209 allows device 1200 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0199] The computing unit 1201 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1201 performs the various methods and processes described above, such as interactive methods. For example, in some embodiments, the interactive method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on device 1200 via ROM 1202 and / or communication unit 1209. When the computer program is loaded into RAM 1203 and executed by the computing unit 1201, one or more steps of the interactive method described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to perform interactive methods by any other suitable means (e.g., by means of firmware).
[0200] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0201] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0202] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0203] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0204] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), the Internet, and blockchain networks.
[0205] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service ecosystem, addressing the shortcomings of traditional physical hosts and VPS (Virtual Private Server, or simply "VPS") services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.
[0206] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0207] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified. In the description of this disclosure, the words "if" and "suppose" as used may be interpreted as "when," "when," "in response to determination," or "in the circumstances."
[0208] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. 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 this disclosure should be included within the scope of protection of this disclosure.
Claims
1. An interaction method, comprising: The received instructions are parsed to obtain service request information; When the service requirement information is associated with a first application, the target interface corresponding to the service requirement information is determined. A service request is sent to the first application through the target interface, wherein the service request includes the service requirement information.
2. The method as described in claim 1, wherein, The determination of the target interface corresponding to the service requirement information includes: Based on the service intent and / or keywords in the service request information, determine the target interface corresponding to the service request information.
3. The method as described in claim 1, wherein, The process of parsing the received instructions to obtain service request information includes: If the instruction is a resource upload instruction and the instruction includes attribute information of the resource to be uploaded, the resource to be uploaded is obtained based on the attribute information. Generate and display description information for the resource to be uploaded; Upon receiving a confirmation instruction for the described information, the service requirement information is generated based on the resource to be uploaded.
4. The method of claim 1, wherein, After sending the service request to the first application, the method further includes: Receive the response result returned by the first application; If the response includes an access link, the access link is sent to the recipient indicated by the instruction.
5. The method as described in any one of claims 1-4, wherein, The method further includes: Upon receiving an instruction to initiate the first application's call function, an authentication request is sent to the server associated with the first application; The server receives an authentication response, which includes at least one of the following: an indication of whether authentication is successful, and mapping information for different services and interfaces.
6. The method of claim 5, wherein, The service request information includes any of the following: Resources to be uploaded; The identifier of the target resource, wherein the target resource is any one of the following: the resource to be retrieved, the resource to be consumed, or the resource to be shared; The meeting description information includes at least one of the following: the meeting time information, the method of accessing the meeting, and the method of recording the meeting.
7. An interaction method, comprising: Receive service requests through a service interface, wherein the service requests include service requirement information; Start the target service associated with the service interface; The target service responds to the service request based on the service requirement information and obtains a response result.
8. The method of claim 7, wherein, The service request information includes any of the following: Resources to be uploaded; The identifier of the target resource, wherein the target resource is any one of the following: the resource to be retrieved, the resource to be consumed, or the resource to be shared; The meeting description information includes at least one of the following: the meeting time information, the method of accessing the meeting, and the method of recording the meeting.
9. The method of claim 8, wherein, The launching of the target service associated with the service interface includes: If the service request information includes a description of the meeting, the target start time of the meeting recording service is determined based on the meeting's time information. At the target startup time, the meeting recording service is started.
10. An interactive device, comprising: The parsing module is used to parse the received instructions to obtain service request information; The first processing module is used to determine the target interface corresponding to the service requirement information when the service requirement information is associated with the first application. The sending module is used to send a service request to the first application through the target interface, wherein the service request includes the service requirement information.
11. An interactive device, comprising: A receiving module is used to receive service requests through a service interface, wherein the service request includes service requirement information; The second processing module is used to start the target service associated with the service interface; The third processing module is used to respond to the service request based on the service requirement information through the target service and obtain a response result.
12. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the interactive method according to any one of claims 1-9.
13. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, in, The computer instructions are used to cause the computer to perform the interactive method according to any one of claims 1-9.
14. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the steps of the interaction method according to any one of claims 1-9.