Document processing method and apparatus, computer, readable storage medium, and program product
Patent Information
- Application Number
- CN202210810964.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-11
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-07-11
AI Technical Summary
[0075]在本申请实施例中,基于目标文档所提供的应用插件功能,在目标文档中响应针对目标应用的选择操作,显示目标应用对应的应用信息获取页面;响应应用信息获取页面的数据提交操作,在目标文档中显示数据提交操作所提交的目标业务数据对应的业务链接插件;目标业务数据为目标应用中的数据;当响应针对业务链接插件的触发操作时,显示目标业务数据在目标应用中的业务展示页面。通过以上过程,可以在文档中引入应用插件功能,也就是说,为文档增加应用插件功能,使得文档可以与应用之间进行交互,并能够在文档中插入应用相关的数据,而且插入文档中的数据是可以进行跳转触发的,从而实现并提高文档与应用之间的交互能力。同时,文档基于插入该文档中的数据(即业务链接插件)可以对应用中的具体的页面进行展示,也就是说,用户可以直接在文档中触发该业务链接插件,访问该业务链接插件在对应的应用中的页面,实现了文档与应用之间的深度交互,增强文档与其他应用之间的互联特性,从而可以丰富文档的内容及功能,进一步提高文档的可用性及插入功能的全面性,提高文档内快速访问其他应用的效率及兼容性,而且可以提高文档与应用之间的交互体验。
Smart Images

Figure CN117422052B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a document processing method, apparatus, computer, readable storage medium, and program product. Background Technology
[0002] With the development of the internet and the increasing use of documents in office work and other fields, users have increasingly higher demands for documents, such as richer content and more comprehensive functions. Currently, when editing documents, users can insert images or hyperlinks to enrich the content. For example, when inserting a hyperlink, it's necessary to obtain the access path of the content to be inserted, such as a local storage path or a web address, and then display this access path as a hyperlink in the document. Alternatively, users can directly insert images to be displayed, making the inserted content directly displayed or pointing to fixed content. This results in a relatively limited variety of insertable content and difficulty in interactivity, leading to insufficient content richness and a lack of flexibility in the insertion process, ultimately resulting in a relatively simple document insertion function. Summary of the Invention
[0003] This application provides a document processing method, apparatus, computer, readable storage medium, and program product, which can enrich the functionality of documents, enable interaction between documents and other applications, increase the reusability of documents for other applications, thereby improving the usability of documents and the comprehensiveness of insertion functions.
[0004] One embodiment of this application provides a document processing method, the method comprising:
[0005] Based on the application plugin functionality provided by the target document, the target document responds to the selection operation for the target application and displays the application information retrieval page corresponding to the target application.
[0006] In response to the data submission operation on the application information retrieval page, the business link plugin corresponding to the target business data submitted by the data submission operation is displayed in the target document; the business link plugin is used to link to the target insertion object that the target business data refers to in the target application; the business link plugin includes the object information of the target insertion object;
[0007] When a trigger action is performed on the business link plugin, the business display page of the target business data in the target application is displayed; the business display page is used to display the data in the target application associated with the target inserted object.
[0008] One embodiment of this application provides a document processing apparatus, the apparatus comprising:
[0009] The application insertion module is used to respond to the selection operation of the target application in the target document based on the application plugin function provided by the target document, and display the application information retrieval page corresponding to the target application.
[0010] The data acquisition module is used to respond to data submission operations on the application information acquisition page and display the business link plugin corresponding to the target business data submitted by the data submission operation in the target document. The business link plugin is used to link to the target insertion object that the target business data refers to in the target application. The business link plugin includes the object information of the target insertion object.
[0011] The page display module is used to display the target business data in the target application's business display page when a trigger operation is performed on the business link plugin; the business display page is used to display the data associated with the target inserted object in the target application.
[0012] The application information acquisition page includes N candidate business objects; N is a positive integer; the data acquisition module includes:
[0013] The object selection unit is used to respond to the selection confirmation operation of the target business object among N candidate business objects in the application information retrieval page, and to display the business link plugin of the target business object submitted by the selection confirmation operation in the target document; the business link plugin includes the object information of the target business object; the data submission operation of the application information retrieval page includes the selection confirmation operation for the target business object, and the target business data submitted by the data submission operation includes the target business object submitted by the selection confirmation operation.
[0014] The data submission operation of the application information acquisition page includes data input operation for the application information acquisition page, and data input operation submission operation.
[0015] The data acquisition module includes:
[0016] The input acquisition unit is used to respond to data input operations on the application information acquisition page and display the target business data entered in the data input operation on the application information acquisition page.
[0017] The input submission unit is used to respond to submission operations for data input operations and to display the business link plugins corresponding to the target business data in the target document.
[0018] The application information retrieval page includes a search function for the target application; the device also includes:
[0019] The data search module is used to respond to the trigger operation of the search function and display candidate business data related to the search parameters triggered by the trigger operation of the search function on the application information acquisition page.
[0020] The data acquisition module includes:
[0021] The business selection unit is used to respond to the data submission operation of the target business data in the candidate business data of the application information retrieval page, and to display the business link plugin corresponding to the target business data in the target document.
[0022] The device also includes:
[0023] The component display module is used to display application navigation components associated with the business link plugin in the target document;
[0024] This page displays modules, including:
[0025] The wake-up prompt unit is used to display a wake-up prompt page for the target application when a trigger operation is performed on the application jump component associated with the business link plugin.
[0026] The page display unit is used to respond to the confirmation operation of the wake-up prompt page and display the business display page of the target business data in the target application.
[0027] The modules displayed on this page include:
[0028] The direct display unit is used to, in response to a trigger operation targeting a business link plugin, associate and display the business data of the target document with the business display page in the target application; or,
[0029] The jump display unit is used to jump to the target application when a trigger operation is performed on the business link plugin, and to display the business display page of the target business data in the target application.
[0030] The device also includes:
[0031] The default trigger module is used to respond to the default trigger operation for the business link plugin and associate the initial trigger component of the target application with the business link plugin.
[0032] The default display module is used to respond to trigger operations on the initial triggering component and display the default application page of the target application.
[0033] The application's insertion module includes:
[0034] The authorization request unit is used to respond to the selection operation for the target application in the target document based on the application plugin functions provided by the target document, and display the authorization request message for the target application.
[0035] The authorization response unit is used to display the application information retrieval page corresponding to the target application when a confirmation operation is performed in response to the authorization request message. The application information retrieval page includes the data of the target account in the target application. The target account refers to the account logged in to the target application.
[0036] The application's insertion module includes:
[0037] The function triggering unit is used to display candidate insertion applications and application editing components in the target document based on the application plugin functions provided by the target document;
[0038] The parameter acquisition unit is used to display the application search component when responding to a trigger operation on the application editing component, and to acquire the application search parameters submitted by the trigger operation on the application search component when responding to a trigger operation on the application search component.
[0039] The business acquisition unit is used to determine the target application based on the application search parameters, obtain the external service provision interface of the target application, and obtain the business data provided by the target application for the target document based on the external service provision interface of the target application.
[0040] The information acquisition unit is also used to display the application information acquisition page corresponding to the target application based on the business data provided by the target application to the target document.
[0041] The device also includes:
[0042] The plugin update module is used to update the display of business link plugins in the target document based on the updated data corresponding to the target business data when the target business data in the target application changes; the updated business link plugins are used to indicate the updated data.
[0043] The device also includes:
[0044] The page interaction module is used to respond to interaction requests for the business display page and display the target response result for the interaction request; the target response result is consistent with the response result for the interaction request in the target application.
[0045] The application's insertion module includes:
[0046] The authorization request unit is also used to respond to the selection operation for the target application in the target document based on the application plugin functions provided by the target document, and display the authorization request message for the target application.
[0047] The data acquisition unit is used to call the data access interface of the target application when responding to the confirmation operation of the authorization request message, and to obtain the account information associated with the target application and the data associated with the account information in the target application based on the data access interface.
[0048] The page rendering unit is used to render the page obtained by the application based on the data associated with the account information in the target application.
[0049] The data acquisition module includes:
[0050] The identifier acquisition unit is used to respond to the data submission operation of the application information acquisition page and acquire the business identifier of the target business data submitted in the target application.
[0051] The path generation unit is used to generate business link plugins based on target business data, obtain the link paths of the business link plugins, and combine the link paths with business identifiers to obtain the data insertion path.
[0052] The plugin display unit is used to display business link plugins in the target document based on the data insertion path.
[0053] The device also includes:
[0054] The component association module is used to display application jump components associated with business link plugins in the target document, and to associate business identifiers with application jump components;
[0055] This page displays modules, including:
[0056] The jump trigger unit is used to obtain the business identifier associated with the application jump component when responding to a trigger operation for the application jump component associated with the business link plugin.
[0057] The path determination unit is used to obtain the application access path of the target application corresponding to the business linking plugin, and determine the business access path of the target business data corresponding to the business linking plugin based on the application access path and business identifier.
[0058] This page display unit is also used to display the target business data in the target application's business display page based on the business access path.
[0059] The modules displayed on this page include:
[0060] The display method acquisition unit is used to obtain the display method of the target document when a trigger operation is performed on the business link plugin;
[0061] The business display unit is used to determine the data path of the target business data under the display mode based on the business link plugin and the target application if the target application has a display mode, and to display the business display page of the target business data in the target application based on the data path;
[0062] The identification code display unit is used to generate an access identification code based on the business link plugin and the target application if the target application does not have a display method, so that the terminal device can display the business display page of the target business data in the target application after recognizing the access identification code.
[0063] The modules displayed on this page include:
[0064] The service acquisition unit is used to access the external service provision interface of the target application when responding to a trigger operation for the business link plugin, and to obtain the page content of the target business data in the target application, as well as the application services provided by the target application related to the page content based on the external service provision interface.
[0065] This page display unit is also used to render a business display page based on the page content and application services; the business display page provides application services.
[0066] The data acquisition module includes:
[0067] The data submission unit is used to respond to the data submission operation of the application information acquisition page and to obtain the target business data submitted by the data submission operation.
[0068] The information simplification unit is used to acquire the related business information of the target business data, input the related business information into the information extraction model for information simplification processing, and obtain key information to describe the related business information; the related business information refers to the information that is related to the target business data in the target application.
[0069] This plugin display unit is used to generate business link plugins based on key information and display the business link plugins in the target document.
[0070] One embodiment of this application provides a computer device, including a processor, a memory, and an input / output interface;
[0071] The processor is connected to a memory and an input / output interface, respectively. The input / output interface is used to receive and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device containing the processor executes the document processing method in one aspect of the embodiments of this application.
[0072] One aspect of this application provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, so that a computer device having the processor performs the document processing method of one aspect of this application.
[0073] One aspect of this application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional embodiments of this application. In other words, when the computer instructions are executed by the processor, they implement the methods provided in various optional embodiments of this application.
[0074] Implementing the embodiments of this application will have the following beneficial effects:
[0075] In this embodiment, based on the application plugin functionality provided by the target document, in response to a selection operation for the target application, the target document displays the application information retrieval page corresponding to the target application; in response to a data submission operation on the application information retrieval page, the target document displays the business link plugin corresponding to the target business data submitted by the data submission operation; the target business data is data within the target application; when a trigger operation for the business link plugin is responded to, the business display page of the target business data within the target application is displayed. Through the above process, application plugin functionality can be introduced into the document, that is, application plugin functionality is added to the document, enabling the document to interact with the application and insert application-related data into the document. Moreover, the data inserted into the document can be triggered by jumps, thereby realizing and improving the interaction capability between the document and the application. Meanwhile, based on the data inserted into the document (i.e., the business link plugin), the document can display specific pages in the application. In other words, users can directly trigger the business link plugin in the document to access the page in the corresponding application, realizing deep interaction between the document and the application, enhancing the interconnectivity between the document and other applications, thereby enriching the content and functions of the document, further improving the usability of the document and the comprehensiveness of the insertion function, improving the efficiency and compatibility of quickly accessing other applications within the document, and improving the interactive experience between the document and the application. Attached Figure Description
[0076] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0077] Figure 1a This is a network interaction architecture diagram for document processing provided in an embodiment of this application;
[0078] Figure 1b This is a schematic diagram of a document processing interaction provided in an embodiment of this application;
[0079] Figure 2 This is a schematic diagram of a document processing scenario provided in an embodiment of this application;
[0080] Figure 3 This is a flowchart of a document processing method provided in an embodiment of this application;
[0081] Figure 4 This is a schematic diagram of a data acquisition scenario provided in an embodiment of this application;
[0082] Figure 5 This application provides an embodiment of another data acquisition scenario diagram;
[0083] Figure 6 This is a schematic diagram of another data acquisition scenario provided in an embodiment of this application;
[0084] Figure 7 This is a schematic diagram of an application interaction scenario provided in an embodiment of this application;
[0085] Figure 8 This is a schematic diagram of another application interaction scenario provided in the embodiments of this application;
[0086] Figure 9 This is a schematic diagram of a page display scenario provided in an embodiment of this application;
[0087] Figure 10 This is a flowchart of a process provided in this application;
[0088] Figure 11 This is a schematic diagram of a document processing device provided in an embodiment of this application;
[0089] Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0090] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0091] If this application requires the collection of object data (such as user data), a prompt interface or pop-up window will be displayed before and during the collection process. This prompt interface or pop-up window is used to inform the user that XXXX data is currently being collected. The data acquisition steps will only begin after the user confirms the prompt interface or pop-up window; otherwise, the process will end. Furthermore, the acquired user data will be used in reasonable and legal scenarios or for legitimate purposes. Optionally, in scenarios where user data needs to be used but user authorization has not been obtained, authorization can be requested from the user, and the user data can only be used after authorization is granted.
[0092] In the embodiments of this application, please refer to Figure 1a , Figure 1a This is a network interaction architecture diagram for document processing provided in an embodiment of this application, such as... Figure 1a As shown, when a business device displays a target document, the target document can integrate application plugin functionality. This plugin functionality is used to insert data from an application (APP) into the target document, and can also introduce services provided by the application into the target document. The target document can be any document; that is, if a business device manages a document, that document managed by the business device can be considered the target document. "Target document" is simply a name for the currently processed document and does not refer to a specific document. The target document can be any media file format, such as document files (e.g., .doc or .docx formats), video files, or presentation files. A presentation file (PowerPoint, PPT) is a file that transforms static content into a dynamically viewable file, consisting of one or more slides. The target document can have internet access; it can be an online collaborative document. Online collaborative documents refer to documents that can be edited, viewed, and collaborated on online by multiple users, allowing different users to simultaneously edit and share the same online collaborative document.
[0093] Among them, business equipment refers to equipment with document editing functions, such as... Figure 1aThe examples shown are business devices 102a, 102b, and 102c. These business devices can communicate with each other or through server 101. Specifically, taking business device 102b as an example, it can respond to a selection operation for a target application within the target document based on the application plugin functionality provided by the target document. Based on this selection operation, it obtains target business data from the target application and inserts a business link plugin into the target document. This business link plugin represents the target business data in the target application and can link to the target insertion object that the target business data refers to within the target application. Specifically, business device 102b inserts business link data into the target document based on the target business data. This can be achieved by displaying the business link data within the target document, allowing document users (such as users) to trigger the business link plugin and access the business display page in the target application. This business display page displays data associated with the inserted object within the target application, enabling interaction between the target document and the target application. This establishes a connection ecosystem between third-party businesses (i.e., third-party applications) within the document, allowing document users to insert data from required applications (i.e., third-party applications) as needed and interact with other applications. This significantly enriches the content and types that can be added to the document, improves the convenience of document processing and interaction with other applications, enhances the interconnectivity between the document and other applications, thereby improving document usability and the comprehensiveness of the insertion function. It also improves the efficiency and compatibility of quickly accessing other applications within the document and enhances the user experience for document users.
[0094] Further, see Figure 1b , Figure 1b This is a schematic diagram of a document processing interaction provided in an embodiment of this application. For example... Figure 1b As shown, the service device 103 can respond to a selection operation on the target application 105 within the target document 104 based on the application plugin function of the target document 104. It can then retrieve the target service data to be inserted from the target application 105, generate a service link plugin 106 based on this target service data, and display the service link plugin 106 in the target document 104. The document user can then interact with the target service data indicated by the service link plugin 106 based on the target document 104. Optionally, the service device 103 can retrieve the target service data to be inserted from the application server 107 of the target application 105 based on the selection operation on the target application 105; or, it can retrieve the target service data to be inserted into the target application 105 from the Internet based on the selection operation on the target application 105.
[0095] For details, please see Figure 2 , Figure 2 This is a schematic diagram of a document processing scenario provided in an embodiment of this application. For example... Figure 2 As shown, the service device can respond to a selection operation for a target application in the target document 201 based on the application plugin function 2011 provided by the target document 201, and display the application information retrieval page 202 corresponding to the target application. For example, the service device responds to a trigger operation for the application plugin function 2011 provided by the target document 201 and displays candidate applications to be inserted 2013. The number of candidate applications to be inserted 2013 can be M, where M is a positive integer, such as... Figure 2 The first, second, third, and fourth applications are shown. A candidate application can be any type of application. For example, the first application could be a lightweight application, such as a mini-program; the second application could be a multimedia application, such as a video account or video application; the third application could be a game application, such as various game applications; and the fourth application could be an instant messaging application, such as applications used for conversations between users. The above is only one possible display of candidate applications and is not limited to the above restrictions on the first to fourth applications. For example, the first application could also be a music application. In response to a trigger operation on the target application in candidate applications 2013, i.e., a selection operation on the target application, the application information retrieval page 202 of the target application is displayed. For example, assuming the third application 2012 is triggered, it can be considered that a selection operation on the third application 2012 has been triggered. In this case, the third application 2012 can be considered the target application. That is, the target application refers to the application to which the document user wants to insert data, etc., into the target document 201. Alternatively, the business device can respond to the trigger operation of the application plugin function 2011 provided for the target document 201, obtain the target application identifier submitted by the document user, respond to the confirmation operation for the target application identifier, that is, the selection operation of the application indicated by the target application identifier, determine the target application indicated by the target application identifier, and display the application information acquisition page 202 corresponding to the target application, etc. The target application identifier is used to indicate the target application, and can be the name, abbreviation, or identification code of the target application, etc., without limitation. The application information acquisition page 202 is used to obtain the target business data that needs to be inserted into the target document within the target application. The application information acquisition page 202 can be a page providing insertion options, a page providing an application search interface, or a page providing an application information entry interface, etc., without limitation.
[0096] Furthermore, the business device can respond to the data submission operation of the application information acquisition page 202 and display the business link plugin 203 of the target business data submitted by the data submission operation in the target document 201. Further, when responding to the trigger operation 2031 for the business link plugin 203, the business display page 204 of the target business data in the target application can be displayed. Specifically, the business device can launch the target application based on the trigger operation 2031 and display the business display page 204 in the target application; or, it can directly display the business display page 204 based on the trigger operation 2031. This business display page 204 is essentially a page provided by the target application for the target document that enables the functions of the target application. The document user can use some or all of the functions of the target application based on the business display page 204. In this case, the functions available to the document user on the business display page 204 are determined based on the functions provided by the target application for the target document.
[0097] It is understood that the business equipment mentioned in the embodiments of this application can be a computer device, and the computer device in the embodiments of this application includes, but is not limited to, terminal devices or servers. In other words, the computer device can be a server or a terminal device, or a system composed of a server and a terminal device. The terminal device mentioned above can be an electronic device, including but not limited to mobile phones, tablets, desktop computers, laptops, handheld computers, in-vehicle devices, augmented reality / virtual reality (AR / VR) devices, head-mounted displays, smart TVs, wearable devices, smart speakers, digital cameras, webcams, and other mobile internet devices (MIDs) with network access capabilities, or terminal devices in scenarios such as trains, ships, and flights. Figure 1a As shown, the terminal device can be a laptop computer (as shown in business device 102b), a mobile phone (as shown in business device 102c), or an in-vehicle device (as shown in business device 102a), etc. Figure 1aOnly a portion of the devices are listed here. Optionally, business device 102a refers to the device located in vehicle 103. Business device 102a can be used to display documents, such as document 1021, etc. The servers mentioned above can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, vehicle-to-everything (V2X) communication, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0098] Optionally, the data involved in the embodiments of this application may be stored in a computer device, or may be stored based on cloud storage technology or a blockchain network, without limitation.
[0099] Further, please see Figure 3 , Figure 3 This is a flowchart of a document processing method provided in an embodiment of this application. Figure 3 As shown, the document processing procedure includes the following steps:
[0100] Step S301: Based on the application plugin function provided by the target document, respond to the selection operation for the target application in the target document and display the application information retrieval page corresponding to the target application.
[0101] In this embodiment, the business device can display a document that integrates application plugin functionality. When relevant data from a third-party application is inserted into this document, it can be considered a target document. A plugin can be considered a computer program that interacts with an application to add specific functions required by the application. This application plugin functionality is used to insert a link or URL of a third-party application into the target document. The target document packages the link and text content into a displayable unit. This displayable unit may include, but is not limited to, text, original links, embedded links, and plugin-like information. The displayable unit can be a hyperlink or a card with hyperlink functionality. The third-party application can be accessed through this hyperlink or card.
[0102] The third-party application can be any type of application, such as a game application, instant messaging application, video application, mini-program, music application, video account, or social media application. The target document can integrate application plugin functionality, allowing the insertion of relevant data from the third-party application into the target document. This data can then be used to access some or all of the third-party application's functions. The term "mini-program" or "video account" refers to a holistic concept; for example, when the target application is a mini-program, it includes all mini-program applications; when the target application is a video account, it includes all video account objects.
[0103] Specifically, the business device can, based on the application plugin functionality provided by the target document, respond to the selection operation for the target application within the target document and display the application information retrieval page corresponding to the target application. This application information retrieval page is used to retrieve the data from the target application that needs to be inserted into the target document. The target application can be any third-party application. Optionally, the application plugin functionality can be integrated into the target document as a component. For example, the application plugin component can be displayed in the toolbar associated with the target document, and the business device can respond to trigger operations on the application plugin component to invoke the application plugin functionality provided by the target document. Alternatively, the application plugin functionality can be integrated into the target document in a triggered manner. For example, the business device detects the invocation operation corresponding to the application plugin functionality, such as a right-click operation, double-click operation, or long-press operation, etc., which can be configured or customized according to actual needs. Based on the invocation operation corresponding to the application plugin functionality, the business device invokes the application plugin functionality provided by the target document, etc.
[0104] In one acquisition method, the application information acquisition page includes N candidate business objects, where N is a positive integer. Specifically, the business device can acquire the N candidate business objects provided by the target application for the target document, display the application information acquisition page, and show the N candidate business objects on the application information acquisition page. These candidate business objects can be participants in the target application (such as users using the target application), application objects included in the target application (such as data generated by the target application), or associated objects related to the target application (such as associated objects linked to the target application), etc., without restriction. The object types of the N candidate business objects can be the same or not completely the same; that is, the N candidate business objects can include candidate business objects of d object types, where d is a positive integer less than or equal to N. These candidate business objects can refer to business objects provided by the target application for the document (including the target document).
[0105] For example, assuming the target application is a game application, candidate business objects can include, but are not limited to, game items (i.e., object type is item class), game instances (i.e., object type is instance class), game group chats (i.e., object type is session class), and game shared resources (i.e., object type is resource class, such as game red envelopes), etc. These can be considered as application objects of the target application. Candidate business objects can also include, but are not limited to, game virtual objects (i.e., game users, etc.), etc., which can be considered as participating objects of the target application. Specifically, the service device can respond to the selection operation for the target application in the target document, displaying the application information retrieval page corresponding to the target application. This application information retrieval page displays N candidate business objects, and the object type of these N candidate business objects can be any one or more of item class, instance class, session class, and resource class, etc. Assuming the target application is an instant messaging application, candidate business objects can include, but are not limited to, session objects (i.e., object type is session type, such as users or session groups, etc.). Optionally, these candidate business objects can also include shared objects (i.e., object type is resource type, such as public accounts, etc.), etc., which can be considered as participating objects of the target application. Assuming the target application is a video application, candidate business objects can include, but are not limited to, videos (i.e., objects of media type), which can be considered application objects of the target application. Candidate business objects can also include uploading users (i.e., objects of user type), which can be considered participating objects of the target application. Assuming the target application is a music application, candidate business objects can include, but are not limited to, music (i.e., objects of media type), which can be considered application objects of the target application. Candidate business objects can also include singers (i.e., objects of user type), which can be considered participating objects of the target application. The above is only a partial view of the application information retrieval page. The N candidate business objects displayed on this page are determined based on the data provided by the target application and the target document during actual use of the application plugin functionality, and are not further restricted here.
[0106] For example, see Figure 4 , Figure 4 This is a schematic diagram of a data acquisition scenario provided in an embodiment of this application. For example... Figure 4As shown, the business device, based on the application plugin function 4011 provided by the target document 401, responds to the selection operation for the target application 4012 in the target document and displays the application information retrieval page 402 corresponding to the target application. Optionally, N candidate business objects can be displayed on the application information retrieval page 402, such as candidate business object 1, candidate business object 2, and candidate business object 3. For example, assuming that the target application 4012 is a social media application, the N candidate business objects can be participants in the target application 4012, such as "Zhang San" or "Li Si" who register to use the target application 4012. Optionally, the business device can display the object names corresponding to the N candidate business objects on the application information retrieval page 402. Optionally, it can also display the object descriptions corresponding to the N candidate business objects on the application information retrieval page 402, such as "Zhang San, actor, representative works include XXX", "Li Si, singer", and "Wang Wu, none (i.e., the object description is empty)".
[0107] Optionally, the business device can display N candidate business objects in pages on the application information retrieval page; or, it can display N candidate business objects in a sliding manner on the application information retrieval page, that is, the document user can view N candidate business objects by sliding the application information retrieval page; or, it can display some of the N candidate business objects, as well as supplementary display components, on the application information retrieval page, and the business device can respond to the trigger operation on the supplementary display components to display N candidate business objects, etc.
[0108] In one acquisition method, the application information acquisition page may include a search function for the target application. Specifically, the business device may display the search input area and search components included in the search function for the target application on the application information acquisition page. Optionally, the business device may call the search interface of the target application and associate the search interface with the search components, enabling a search for the target application within the target document. Further, the business device may respond to a trigger operation for the search function and display candidate business data associated with the search parameters triggered by the trigger operation on the application information acquisition page. This candidate business data may include, but is not limited to, search parameters and business data names. For example, the business device may respond to a trigger operation for the search component, acquire the search parameters submitted by the search input area, search for candidate business data associated with the search parameters in the target application, and display the candidate business data associated with the search parameters on the application information acquisition page. Optionally, a first business insertion component can be displayed associated with each candidate business data, and the first business insertion component corresponds one-to-one with the candidate business data; or, a second business insertion component can be displayed on the application information acquisition page, and the second business insertion component is used to uniformly manage the candidate business data associated with the search parameter; or, a first business insertion component can be displayed associated with each candidate business data, and a second business insertion component can be displayed on the application information acquisition page.
[0109] For example, please see Figure 5 , Figure 5 This is a schematic diagram of another data acquisition scenario provided in an embodiment of this application. For example... Figure 5 As shown, based on the application plugin function 5011 provided by the target document 501, the service device responds to the selection operation for the target application 5012 in the target document and displays the application information retrieval page 502 corresponding to the target application. Optionally, assuming that the target application 5012 is a third application, the service device can display a search function for the third application in the application information retrieval page 502, such as a search input area 5021 and a search component 5022. Further, the service device can respond to the trigger operation for the search component 5022, retrieve the search parameters submitted in the search input area 5021, such as "Zhang San", search for candidate service data associated with the search parameters in the target application 5012, and display the candidate service data 5023 in the application information retrieval page 502. Assuming that the target application 5012 is a music application, the candidate service data 5023 can be the search parameters, such as the songs sung or covered by "Zhang San". The candidate business data 5023 can be composed of the search parameter "Zhang San" and the business data name (which could be a song title), etc. Figure 5The example shown is "Zhang San - Business Data 1". For instance, a first business insertion component can be displayed associated with each candidate business data, such as displaying a first business insertion component associated with candidate business data "Zhang San - Business Data 1", displaying a first business insertion component associated with candidate business data "Zhang San - Business Data 2", displaying a first business insertion component associated with candidate business data "Zhang San - Business Data 3", etc.; or, a second business insertion component can be displayed directly on the application information retrieval page 502; or, both the first and second business insertion components can be displayed, etc.
[0110] In one acquisition method, the business device can respond to the selection operation for the target application in the target document based on the application plugin function provided by the target document, display the application information acquisition page corresponding to the target application, and display the insertion parameter type for the target application in the application information acquisition page. The insertion parameter type is used to indicate the parameters required to insert business data into the target document.
[0111] For example, please see Figure 6 , Figure 6 This is a schematic diagram of another data acquisition scenario provided in an embodiment of this application. For example... Figure 6 As shown, based on the application plugin function 6011 provided by the target document 601, the service device responds to the selection operation for the target application 6012 in the target document and displays the application information retrieval page 602 corresponding to the target application. Optionally, the service device can display the insertion parameter type 6021 for the target application 6012 on the application information retrieval page 602. Optionally, it can also display the parameter input area 6022 associated with the insertion parameter type 6021, etc., on the application information retrieval page 602. The number of insertion parameter types can be one or at least two, and the service device can display the parameter input area associated with each insertion parameter type on the application information retrieval page 602. For example... Figure 6 As shown, assuming the target application 6012 is a mini-program, the insertion parameter type 6021 includes the mini-program identifier (AppID), page path (i.e., the path of the page where the business data to be inserted into the target document is located) and display text (i.e., the text displayed when the business data to be inserted is inserted into the target document), etc. The business device can display these insertion parameter types and the parameter input area associated with each insertion parameter type in the application information acquisition page 602.
[0112] This approach allows document users to access relevant information about a target application when that application cannot be accessed via a shared link. Users can then obtain this information through the application's open API and fill in the relevant business data on the application information acquisition page. Based on this information, business devices can then display or redirect to the indicated business display page for that target application. This further enhances data flow between the document and third-party applications, enriches the types and formats of content that can be added to the document, and ultimately improves document usability and the comprehensiveness of its insertion functionality.
[0113] Specifically, business equipment can be provided as a candidate option (e.g.) Figure 4 (as shown in the image) and provide search functionality (e.g.) Figure 5 (as shown) or information filling method (e.g.) Figure 6 Use any one or a combination of methods (as shown) to display the application information retrieval page and subsequently obtain target business data. Figure 4 and Figure 5 Taking the illustrated method as an example, the business device can display N candidate business objects and a search function for the target application on the application information acquisition page. The document user can directly select target business data from the N candidate business objects, or input search parameters based on the search function, allowing the business device to display candidate business data based on those parameters. See the acquisition method described above for details. However, the business device can also use methods not limited to those described above to achieve the display of the application information acquisition page and subsequent acquisition of target business data.
[0114] Optionally, in the above-described acquisition methods, the service device can, based on the application plugin functionality provided by the target document, respond to a selection operation for the target application within the target document and display an authorization request message for the target application. When responding to a confirmation operation for the authorization request message, the application information acquisition page corresponding to the target application can be displayed using any combination of one or more acquisition methods. When responding to a cancellation operation for the authorization request message, the display of the authorization request message is canceled, and the document content in the target document can be returned to be displayed.
[0115] Optionally, the service device can leverage the application plugin functionality provided by the target document to respond to a selection operation for the target application within the target document, displaying an authorization request message for the target application. Upon responding to a confirmation operation for the authorization request message, an application information retrieval page corresponding to the target application can be displayed. This page includes data about the target account within the target application; the target account refers to the account logged into the target application. For example, assuming the target application is a video account, upon responding to a confirmation operation for the authorization request message, video data associated with the target account can be retrieved, such as video data interacted with by the target account and video data published by the target account. The service device then displays this video data associated with the target account on the application information retrieval page.
[0116] Specifically, during data acquisition, the business device can leverage the application plugin functionality provided by the target document to display candidate insertion applications and / or application editing components within the target document. That is, it can display candidate insertion applications, application editing components, or a combination of both. Here, the candidate insertion application refers to a third-party application that can be inserted into the document, such as... Figures 4 to 6 The first, second, third, and fourth applications are shown. When a trigger operation is performed on the application editing component, the application search component is displayed. In response to a trigger operation on the application search component, the application search parameters submitted by the trigger operation are obtained. These parameters can be application names or application identifiers, etc. Based on the application search parameters, the target application is determined, and the external service provision interface of the target application is obtained. Based on the external service provision interface of the target application, the business data provided by the target application for the target document is obtained, such as the content displayed on the application information retrieval page in the above-mentioned retrieval methods, etc. Figure 4 The candidate business objects shown Figure 5 The search function shown or Figure 6 The inserted parameter type shown is 6021. The application information retrieval page corresponding to the target application is displayed based on the business data provided by the target application to the target document.
[0117] Furthermore, the business device can, based on the application plugin functionality provided by the target document, respond to the selection operation for the target application within the target document, call the target application's data access interface, and obtain the account information associated with the target application, as well as the data associated with the account information within the target application, based on the data associated with the account information within the target application; then, based on the data associated with the account information within the target application, render the application retrieval page. Optionally, an authorization request message for the target application can be displayed before calling the target application's data access interface; when responding to the confirmation operation for the authorization request message, the aforementioned call to the target application's data access interface and subsequent processes are executed.
[0118] Step S302: Respond to the data submission operation on the application information acquisition page and display the business link plugin corresponding to the target business data submitted by the data submission operation in the target document.
[0119] In this embodiment, the service device can respond to a data submission operation on the application information retrieval page, obtain the target service data submitted by the data submission operation, generate a service link plugin based on the target service data, and display the service link plugin in the target document. The target service data is data within the target application. The number of target service data items can be k, where k is a positive integer. The service link plugin is used to link to the target insertion object represented by the target service data in the target application. The service link plugin includes object information of the target insertion object. The service link plugin can be a hyperlink or a card with hyperlink functionality. For example, assuming the service link plugin is a hyperlink, the object information of the target insertion object can include the data address associated with the target insertion object in the target application. Optionally, the object information can also include the object identifier of the target insertion object, such as an object icon or object name. If the service link plugin is a card, the object information of the target insertion object can include the service data information of the target insertion object, such as the object name and object description.
[0120] For example, by providing candidate options, the service device can respond to a selection confirmation operation for a target service object among N candidate service objects on the application information retrieval page, and display the service link plugin of the target service object submitted by the selection confirmation operation in the target document; the service link plugin includes the object information of the target service object; the data submission operation on the application information retrieval page includes a selection confirmation operation for the target service object, and the target service data submitted by the data submission operation includes the target service object submitted by the selection confirmation operation. Figure 4As shown, the service device can respond to the selection confirmation operation of k target service objects from N candidate service objects, and obtain the object information corresponding to each of the k target service objects. A service link plugin 403 is generated based on the object information corresponding to each of the k target service objects; alternatively, k service link plugins can be generated based on the object information corresponding to each of the k target service objects, that is, one service link plugin corresponds to the object information of one target service object, where the k target service objects can be considered as k target service data. For example... Figure 4 As shown, the object information may include the object avatar of the target business object and the business data information of the target business object (such as the object name and object description). Optionally, the business device may display the application jump component 4031 associated with the business link plugin in the target document 401.
[0121] The target insertion object referred to by the target business data can be the target business object itself. For example, assuming the target application is a social media application, the N candidate business objects are the participants in the target application, i.e., the users of the social media application. For example, candidate business object 1 is "Zhang San", candidate business object 2 is "Li Si", candidate business object 3 is "Wang Wu", etc. In response to the selection confirmation operation for the target business object among the N candidate business objects, assuming the target business object is candidate business object 2, the business link plugin for the target business object submitted by the selection confirmation operation is displayed in the target document. At this time, the business link plugin can be regarded as "Li Si's" business card. That is, the target insertion object refers to the object referred to by the target business data, i.e., "Li Si". The business link plugin can link to the target insertion object "Li Si" in the target application. The object information of the target insertion object can include the object name of "Li Si" in the target application (such as "Li Family Fourth"), and optionally, it can also include the object introduction of "Li Si" in the target application (such as "Representative works: ..., hobbies: ... etc."). For example, assuming the target application is a music application, the N candidate business objects can be singers included in the target application. For instance, candidate business object 1 is "Singer 1", candidate business object 2 is "Singer 2", candidate business object 3 is "Singer 3", etc. In response to a selection confirmation operation for the target business object among the N candidate business objects, assuming the target business object is candidate business object 2, a business link plugin for the target business object submitted by the selection confirmation operation is displayed in the target document. In this case, the business link plugin can be considered as "Singer 2's" business card; that is, the target inserted object refers to the object represented by the target business data, i.e., "Singer 2". This business link plugin can link to the target inserted object "Singer 2" in the target application, meaning that the relevant data of the target inserted object "Singer 2" in the target application can be accessed through this business link plugin. The object information of the target inserted object can include the object name of "Singer 2" in the target application (e.g., "Singer 2"), and optionally, it can also include a brief description of "Singer 2" in the target application (e.g., "Classic Tracks: ... etc.").
[0122] For example, by providing a search function, the service device can respond to a data submission operation for target business data among the candidate business data on the application information retrieval page, and display the corresponding business link plugin in the target document. Specifically, if the application information retrieval page includes a first business insertion component associated with each candidate business data, then when responding to a trigger operation of a certain first business insertion component, the candidate business data associated with the triggered first business insertion component can be determined as the target business data, a business link plugin can be generated based on the target business data, and the business link plugin can be displayed in the target document. In this case, the trigger operation for a certain first business insertion component can be considered as a data submission operation for the candidate business data associated with the triggered first business insertion component. If the application information retrieval page includes a second business insertion component, then the data submission operation for target business data among the candidate business data on the application information retrieval page can include a selection operation for the target business data and a trigger operation for the second business insertion component. Specifically, the service device can respond to the selection operation for the target business data among the candidate business data, update the display state of the target business data to the selected state, and respond to the trigger operation for the second business insertion component, display the corresponding business link plugin in the target document. If the application information retrieval page includes both a first business insertion component and a second business insertion component, the document user can trigger either the first business insertion component or the second business insertion component as needed. For example... Figure 5 As shown, in response to a data submission operation targeting the target business data in candidate business data 5023, such as "Zhang San - Business Data 2", the business link plugin 503 can be displayed in the target document 501. For example, assuming there is a first business insertion component associated with each candidate business data, the business device, in response to a trigger operation targeting the first business insertion component associated with the candidate business data "Zhang San - Business Data 2", can determine the candidate business data "Zhang San - Business Data 2" as the target business data and display the business link plugin 503 corresponding to the target business data in the target document 501. Optionally, the business device can display an application jump component 5031, etc., associated with the business link plugin in the target document 501.
[0123] For example, assuming the target application is a music application, Figure 5 The various business data shown refer to the songs associated with the singer "Zhang San". Assuming that the target business data is "Zhang San-Business Data 2", the target insertion object referred to by the target business data is "Business Data 2" associated with "Zhang San". The object information of the target insertion object included in the business link plugin may include the object name (such as "Zhang San-Business Data 2"), etc.
[0124] For example, regarding the information entry method, the data submission operation on the application's information retrieval page includes data input operations on the application's information retrieval page and submission operations for these data input operations. The business device can respond to data input operations on the application's information retrieval page by displaying the target business data entered; and respond to submission operations by displaying the corresponding business link plugin in the target document. For example... Figure 6 As shown, the service device can respond to data input operations on the application information acquisition page 601, and display the target service data input by the data input operation in the parameter input area 6022 of the application information acquisition page 601. This target service data may include service data obtained from the parameter input areas associated with each inserted parameter type. The service device can generate a service link plugin 603 based on the target service data. Optionally, the service link plugin 603 may include service data information, which refers to the media content displayed in the service link plugin, used to represent the corresponding target service data. Figure 6 For example, this business data information (i.e., object information) can be the mini-program name or mini-program description, or it can be display text obtained from the application information retrieval page. Optionally, the business device can display the application jump component 6031 associated with the business link plugin, etc., in the target document 601. Figure 6 As shown, assuming the target application is a mini-program, the target insertion object referred to by the target business data can be the mini-program application indicated by the mini-program identifier. For example, assuming there is a "racing mini-program" and the mini-program identifier of the "racing mini-program" is "AXS...", and assuming that the obtained target business data includes "mini-program identifier: AXS...", then it can be determined that the target insertion object referred to by the target business data is the "racing mini-program".
[0125] Specifically, in the above acquisition methods, when generating a business link plugin, the business device can respond to the data submission operation of the application information acquisition page, and obtain the business identifier of the target business data submitted in the data submission operation within the target application, such as the mini-program identifier (the AppID of the mini-program to be inserted) and the video account identifier, etc. Further, the business device can generate a business link plugin based on the target business data, and obtain the link path of the business link plugin, also known as the embedded uniform resource locator (EmbedURL). This link path can refer to the storage location of the business link plugin. The link path is combined with the business identifier to obtain the data insertion path. The business link plugin is displayed in the target document based on the data insertion path. Furthermore, the business device can display the application jump component associated with the business link plugin in the target document, associating the business identifier with the application jump component, thereby improving document compatibility and interconnection with other applications, and also improving the efficiency of quickly accessing other applications within the document application.
[0126] The business link plugin may include business data information (i.e., object information). This business data information refers to the media content displayed in the business link plugin, represents the corresponding target business data, and can be used to indicate the page that the business link plugin links to (i.e., triggers display or jumps to). For example, if the business data information is "Zhang San, actor, representative works include XXX", it can be used to instruct the business link plugin to link to Zhang San's personal homepage in the target application.
[0127] Optionally, the business device can respond to the data submission operation of the application information acquisition page and acquire the target business data submitted in the data submission operation. It then acquires the associated business information of the target business data, which can be an image generated from the page corresponding to the target business data in the target application, or media data in the page corresponding to the target business data in the target application, etc. Further, the associated business information can be input into an information extraction model for information simplification processing to obtain key information describing the associated business information; associated business information refers to information related to the target business data in the target application. A business link plugin is generated based on the key information and displayed in the target document. Here, the key information can be considered as the business data information included in the business link plugin. Optionally, in any of the acquisition methods in this application, when displaying business data information in the business link plugin, the process of generating this key information can be used to obtain the business data information.
[0128] Optionally, it is assumed that the target application corresponds to multiple layers of data, such as p layers of data, where p is a positive integer, meaning that the application information retrieval page includes one layer of business data (e.g., Figure 4 (As shown in the N candidate business objects), the data submission operation on the application information retrieval page includes the selection operation of each layer of business data in the p-layer data. Specifically, the business device can respond to the selection operation of the first-layer target business data in the first-layer business data, display the second-layer business data associated with the first-layer target business data, until the p-layer target business data in the p-layer business data is obtained. The first-layer target business data to the p-layer target business data constitute the target business data submitted by the data submission operation.
[0129] In other words, the target insertion object can be a participating object or associated object in the target application, such as a user or group. The target insertion object can also be specific media data in the target application, such as a video, a song, or an article.
[0130] Step S303: When responding to a trigger operation for the business link plugin, display the business display page of the target business data in the target application.
[0131] In this embodiment, the business link plugin itself can be a triggerable component. Specifically, the business device can respond to a trigger operation on the business link plugin and display the business display page of the target business data in the target application. Alternatively, an application jump component associated with the business link plugin can be displayed in the target document; when responding to a trigger operation on the application jump component associated with the business link plugin, the business display page of the target business data in the target application is displayed. This business display page is used to display data associated with the target insertion object in the target application. For example, assuming the target application is a social media application and the target insertion object is a participant in the target application, the business display page can be used to display data associated with the target insertion object in the target application. Document users can follow or view the target insertion object based on the business display page. Similarly, assuming the target application is a music application and the target insertion object is a singer included in the target application, the business display page can be used to display data associated with the singer in the target application, such as songs sung or covered by the singer. Further details are omitted here. Optionally, a wake-up prompt page for the target application can be displayed before displaying the business demonstration page; if a confirmation operation is performed on the wake-up prompt page, the business demonstration page for the target business data in the target application is displayed; if a cancellation operation is performed on the wake-up prompt page, the display returns to the target document. For example, please refer to [link to example]. Figure 7 , Figure 7 This is a schematic diagram of an application interaction scenario provided in an embodiment of this application. For example... Figure 7As shown, the business device can display the application jump component associated with the business link plugin 7011 in the target document 701. When responding to a trigger operation on the application jump component associated with the business link plugin 7011, a wake-up prompt page 702 for the target application can be displayed. This wake-up prompt page 702 can display a wake-up prompt message 7021, or it can be displayed directly as a floating window. Furthermore, in response to a confirmation operation on the wake-up prompt page 702, a business display page 703 for the target business data in the target application is displayed. For example, the wake-up prompt message 7021 can be associated with a message cancellation component and a message confirmation component. When responding to a trigger operation on the message confirmation component, it can be considered that a confirmation operation on the wake-up prompt page has been triggered; when responding to a trigger operation on the message cancellation component, it can be considered that a cancellation operation on the wake-up prompt page has been triggered.
[0132] Optional, see [link / reference] Figure 8 , Figure 8 This is a schematic diagram of another application interaction scenario provided in an embodiment of this application. For example... Figure 8 As shown, the service device can display the application jump component associated with the service link plugin 8011 in the target document 801. When responding to a trigger operation on the application jump component associated with the service link plugin 8011, the service device can display a wake-up instruction page 802, which indicates that the process is initiated by the target document to wake up the target application. In response to a confirmation operation on the wake-up instruction page 802, the service device can display a wake-up prompt page 803 for the target application, which may include a wake-up prompt message 8031. When responding to a confirmation operation on the wake-up prompt page, a service display page 804 showing the target service data in the target application is displayed.
[0133] Specifically, when responding to a trigger operation targeting a business link plugin, the system displays the business display page of the target business data within the target application, associated with the target document. This means the target application is not launched; the business display page is displayed directly. This page can provide relevant services from the target application. For example, the business display page might be the page for "Song 1" within the target application, allowing the device to play "Song 1" directly from this page, switch to other songs, or search for and play songs. Alternatively, when responding to a trigger operation targeting a business link plugin, the system redirects to the target application, displaying the business display page of the target business data within that application.
[0134] Specifically, when responding to a trigger operation on the application redirection component associated with the business link plugin, the system obtains the business identifier associated with the application redirection component; it also obtains the application access path of the target application corresponding to the business link plugin, which is the path to the page that the business link plugin needs to redirect to. Based on the application access path and the business identifier, the system determines the business access path of the target business data corresponding to the business link plugin. Based on the business access path, the system displays the business display page of the target business data in the target application. This can be done by directly displaying the business display page without launching the target application, or by redirecting to the target application and displaying the business display page within the target application.
[0135] Optionally, when responding to a trigger operation targeting the business link plugin, the display method of the target document is obtained. This display method may include, but is not limited to, webpage display, software display, or mini-program display. If the target application has a display method, the data path of the target business data under that display method is determined based on the business link plugin and the target application. The business display page of the target business data in the target application is then displayed based on this data path. For example, assuming the target document is displayed as a webpage, and the target application has a webpage display method, the data path of the target business data under the webpage display method can be determined based on the business link plugin and the target application, i.e., the URL corresponding to the target business data. The business display page of the target business data in the target application is then displayed based on this URL. If the target application does not have a display method, an access identifier code is generated based on the business link plugin and the target application. This allows the terminal device to display the business display page of the target business data in the target application after recognizing the access identifier code. See also... Figure 9 , Figure 9 This is a schematic diagram of a page display scenario provided in an embodiment of this application. For example... Figure 9 As shown, the service device 901 can respond to a trigger operation on the service link plugin 9021 in the target document 902, obtain the display method of the target document, and if the target application does not have a display method, generate an access identification code 903 based on the service link plugin 9021 and the target application. The terminal device 904 can recognize the access identification code 903 and display the service display page 905 of the target service data in the target application.
[0136] Optionally, when responding to a trigger operation for a business link plugin, the business device can obtain candidate display methods for the target application, i.e., the methods supported for displaying the target application, and respond to a selection operation for the target display method among the candidate display methods, displaying the business display page of the target business data in the target application in the target display method. This target display method can be a display method selected and triggered by the document user.
[0137] Optionally, when responding to a trigger operation targeting a business link plugin, the business device can access the target application's external service provision interface. Based on this interface, it can obtain the page content of the target business data within the target application, as well as the application services associated with that page content provided by the target application. The business display page is then rendered based on the page content and application services; the business display page provides application services.
[0138] Furthermore, in response to interaction requests to the business display page, the target response result for the interaction request is displayed; the target response result is consistent with the response result for the interaction request in the target application, that is, the business display page can provide relevant application services of the target application.
[0139] Furthermore, the service device can respond to default trigger operations for the service link plugin, associating the service link plugin with an initial trigger component for displaying the target application; and responding to trigger operations for the initial trigger component, displaying the default application page of the target application. Optionally, when generating a service link plugin, the service device can associate the service link plugin with an initial trigger component, obtain the source path (originURL) corresponding to the default application page of the target application, and associate the source path with the initial trigger component of the service link plugin. When responding to a trigger operation of the initial trigger component, the service device can obtain the source path associated with the initial trigger component and display the default application page of the target application based on the source path. This default application page can be the homepage of the target application or the page that opens by default when the target application is launched, etc.
[0140] Optionally, if the target service data is playable media data, such as video or music, the service device can also associate and display a first playback component with the service link plugin. When a trigger operation is performed on the first playback component, the media data indicated by the service link plugin can be played. Figure 5 As shown, assuming the target business data is "Zhang San - Business Data 2", the business link plugin 503 is associated with the first playback component 5032. When a trigger operation is performed on the first playback component 5032, the media data indicated by the business link plugin, referred to here as "Zhang San - Business Data 2", is played. For example, assuming that business data 2 is song 2, that is, "Zhang San - Business Data 2" is used to represent song 2 sung by Zhang San, then when a trigger operation is performed on the first playback component 5032, song 2 sung by Zhang San (i.e., the media data corresponding to the business link plugin) can be played. Optionally, if the target business data is playable media data, the business link plugin can integrate media playback operations, such as long press operation, double-click operation, or specified path swipe operation, that is, when a media playback operation is detected on the business link plugin, the media data indicated by the business link plugin is played.
[0141] In one optional scenario, when the target business data in the target application changes, the business link plugin in the target document can be updated based on the updated data corresponding to the target business data; the updated business link plugin is used to indicate the updated data. That is, the business link plugin can be associated with the target business data in the target application. The target document can detect the target business data in the target application, and when a change is detected, it can obtain the updated data corresponding to the target business data. Based on this updated data, the business link plugin in the target document is updated, allowing the business link plugin to be synchronously updated with the target business data in the target application, further enabling data interaction between the document and third-party applications. Further optionally, the business device can display a first update notification message for the business link plugin. This first update notification message indicates that the target business data corresponding to the business link plugin has changed, and the business link plugin is updated synchronously. Specifically, when the target business data changes—that is, when the data associated with the target business data in the target application changes—any device displaying the target document, including the business link plugin, can update the display of the business link plugin and display the update notification message for that business link plugin. Optionally, when the business device detects a change in the target business data or receives a data update message from the target application, it can display a second update prompt message. The second update prompt message indicates that the target business data corresponding to the business link plugin has changed. When responding to the confirmation operation for the second update prompt message, the business link plugin in the target document is updated and displayed based on the updated data corresponding to the target business data. Optionally, an update success message can also be displayed after the business link plugin is successfully updated and displayed.
[0142] In this embodiment, based on the application plugin functionality provided by the target document, in response to a selection operation for the target application, the target document displays the application information retrieval page corresponding to the target application; in response to a data submission operation on the application information retrieval page, the target document displays the business link plugin corresponding to the target business data submitted by the data submission operation; the target business data is data within the target application; when a trigger operation for the business link plugin is responded to, the business display page of the target business data within the target application is displayed. Through the above process, application plugin functionality can be introduced into the document, that is, application plugin functionality is added to the document, enabling the document to interact with the application and insert application-related data into the document. Moreover, the data inserted into the document can be triggered by jumps, thereby realizing and improving the interaction capability between the document and the application. Meanwhile, based on the data inserted into the document (i.e., the business link plugin), the document can display specific pages in the application. In other words, users can directly trigger the business link plugin in the document to access the page in the corresponding application, realizing deep interaction between the document and the application, enhancing the interconnectivity between the document and other applications, thereby enriching the content and functions of the document, further improving the usability of the document and the comprehensiveness of the insertion function, improving the efficiency and compatibility of quickly accessing other applications within the document, and improving the interactive experience between the document and the application.
[0143] Further, see Figure 10 , Figure 10 This is a flowchart of a process provided in this application. For example... Figure 10 As shown, this application implements a plug-in technology that can insert relevant information of third-party applications into a document, enabling users to jump to third-party applications within the document. Specifically, the process may include the following steps:
[0144] Step S1001: Call the application plugin function and insert the plugin.
[0145] In this embodiment of the application, when a document user needs to insert relevant data of the target application into the target document, the application plugin function can be called to insert the plugin into the target document.
[0146] Step S1002: Generate path information and send it.
[0147] In this embodiment, the service device can invoke application plugin functionality and load a plugin program. This plugin program can be considered a software development kit (SDK) within the plugin, specifically an addon-client SDK. This SDK, loaded within the plugin page, provides the basic tools for plugin-side interaction via an application programming interface (API), such as the plugin's ability to insert cards. Specifically, the service device can invoke the document execution code (e.g., docs.app.run) within the plugin program to execute... Figure 3 The relevant processes shown in steps S301 to S302 involve obtaining target business data and its business identifier in the target application. This business identifier can refer to the identification information of a function (such as target business data) in the target application. It can be considered a unique identifier in the database and can be any string, such as a string obtained by arbitrarily combining numbers and letters, letters and symbols, or other combinations of letters. It can identify a page identifier for a details page or a mini-program identifier (AppID) within a mini-program. The business device can obtain the initial link path (EmbedURL), append the business identifier to the initial link path to obtain the data insertion path, and send the path information to the document program through a message sending interface (such as postMessage). <script>doc.app.run.insertImage();< / script> The path information may include the service identifier and data insertion path, and optionally, it may also include the source path. The message sending interface refers to an interface that enables cross-source communication.
[0148] Here, the business identifier can refer to the identifier of the target business data in the target application. For example, assuming the target application is a mini-program, the business identifier can be obtained based on the mini-program identifier and the path of the mini-program page to be redirected (i.e., the path of the target business data in the target application); assuming the target application is a web application, the business identifier can be obtained from...
[0149] Step S1003: Receive path information.
[0150] In this embodiment of the application, the service device can receive path information based on a documentation program, which can also be called docs-addon-sdk. It is a module in the plug-in technology that can receive and parse path information sent by the plug-in program through the message sending interface.
[0151] Step S1004: Call the plugin insertion interface and write the path information.
[0152] In this embodiment, the service device can receive path information through the document program, call the plugin insertion interface in the application plugin function, and insert the service identifier into the target document, that is, write the path information into the target document. For details, please refer to [link to relevant documentation]. Figure 3 As described in step S302, at this point, the service identifier can be stored on disk along with the initial link path.
[0153] Step S1005: Render the business link plugin.
[0154] In this embodiment, the business device can render business link plugins. Optionally, the business device can display business link plugins in card form, where a card refers to a container enclosing an embedded frame (iframe), used to hold and display the data insertion path of the plugin in the target document. An embedded frame can be considered a page tag, which can embed another page into the current page. The business device can associate application jump components with business link plugins, associating the business identifier with the application jump component. Optionally, the business device can display business link plugins in the form of triggerable areas or controls.
[0155] Step S1006: Parse the path information.
[0156] In this embodiment, when responding to a trigger operation for a business link plugin, the path information can be parsed to obtain the business identifier. For example, the data insertion path can be parsed to obtain the business identifier, or the business identifier associated with the application jump component can be obtained. For example, taking a mini-program as the target application, when a document user clicks the "Open Mini-Program" button associated with the business link plugin, the business device detects the click operation on the "Open Mini-Program" button and can obtain the business identifier. The "Open Mini-Program" button is the application jump component, and the click operation on the "Open Mini-Program" button is the trigger operation for the business link plugin.
[0157] Step S1007: Determine the business access path and access the target application.
[0158] In one optional embodiment of this application, the service device can obtain the display mode of the target document, obtain the application redirection logic program corresponding to the display mode, and call the application redirection logic program to display the business display page of the target business data in the target application. For example, taking a mini-program as the target application, assuming that the target document is displayed in a webpage display mode (i.e., a browser scenario), and assuming that the mini-program does not have a webpage display mode, the service device can generate an access identification code based on the business link plugin and the target application. Specifically, it can obtain the application access path of the target application corresponding to the business link plugin, generate and display the access identification code according to the application access path and the business identifier. Optionally, it can display a transit page, such as a transit page under the webpage display mode, or display the access identification code in a floating window. The terminal device can recognize the access identification code and display the business display page of the target business data in the target application. Specifically, it can launch the target application and display the business display page in the target application. For example, assuming the access identifier is a QR code, the service device can display the QR code, and the terminal device can scan the QR code to recognize it, launch the target application, and display the service display page. Optionally, the terminal device can recognize the access identifier through the target application, or it can recognize the access identifier through the terminal device's built-in code recognition function, etc.
[0159] Optionally, if the target document is within the target application (i.e., displayed within the target application), the business device can call the target application's in-app redirection interface to redirect to the business display page of the target business data within the target application. Specifically, the application development kit (SDK) can be imported into the plugin code corresponding to the business link plugin using a toolkit import tag. This SDK includes an in-app redirection interface. When a trigger operation is initiated for the business link plugin, the in-app redirection interface in the SDK is called, redirecting the user to the business display page of the target business data within the target application. Specifically, this can be based on a business identifier. The toolkit import tag can be a tag used to define client-side scripts, such as the `<script>` tag. For example, assuming the target application is a mini-program and the target document is displayed in the mini-program display mode, the business device can call the in-program jump interface of the target application (here referring to the page jump interface used in the mini-program) and jump to the business display page of the target business data in the target application based on the in-program jump interface.
[0160] Through the above process, users of the document can add relevant data from third-party applications to the document, directly search for and insert the target business data they need within the document, and use the application insertion function integrated into the document to insert third-party applications in a chain. Viewing the document's objects also allows direct triggering of business link plugins displayed in the document, enabling access to the business display page of the target application for the target business data. This reduces data interaction breakpoints between the document and third-party applications, improving the conversion rate between the document and third-party applications. Specifically, this application establishes a business connection ecosystem for third-party applications within the document, allowing users to insert relevant business data from different third-party applications into the document. This reduces the cost of inserting third-party applications into the document, achieves cross-domain propagation within the document, makes the business ecosystem of third-party applications more open, and enhances the document's usability and richness.
[0161] Further, please see Figure 11 , Figure 11 This is a schematic diagram of a document processing apparatus provided in an embodiment of this application. The document processing apparatus can be a computer program (including program code, etc.) running on a computer device; for example, the document processing apparatus can be an application software. The apparatus can be used to execute corresponding steps in the methods provided in the embodiments of this application. Figure 11 As shown, the document processing device 1100 can be used for Figure 3 Specifically, the computer device in the corresponding embodiment may include: an application insertion module 11, a data acquisition module 12, and a page display module 13.
[0162] The application insertion module 11 is used to respond to the selection operation for the target application in the target document based on the application plugin function provided by the target document, and display the application information acquisition page corresponding to the target application.
[0163] Data acquisition module 12 is used to respond to the data submission operation of the application information acquisition page and display the business link plugin corresponding to the target business data submitted by the data submission operation in the target document; the target business data is the data in the target application; the business link plugin is used to link to the target insertion object that the target business data refers to in the target application; the business link plugin includes the object information of the target insertion object;
[0164] Page display module 13 is used to display the business display page of the target business data in the target application when a trigger operation is performed on the business link plugin; the business display page is used to display the data associated with the target inserted object in the target application.
[0165] The application information acquisition page includes N candidate business objects; N is a positive integer; the data acquisition module 12 includes:
[0166] The object selection unit 12a is used to respond to the selection confirmation operation of the target business object among N candidate business objects in the application information retrieval page, and to display the business link plugin of the target business object submitted by the selection confirmation operation in the target document; the business link plugin includes the object information of the target business object; the data submission operation of the application information retrieval page includes the selection confirmation operation of the target business object, and the target business data submitted by the data submission operation includes the target business object submitted by the selection confirmation operation.
[0167] The data submission operation of the application information acquisition page includes data input operation for the application information acquisition page, and data input operation submission operation.
[0168] The data acquisition module 12 includes:
[0169] The input acquisition unit 12b is used to respond to the data input operation for the application information acquisition page and display the target business data entered in the data input operation on the application information acquisition page;
[0170] The input submission unit 12c is used to respond to the submission operation for data input operations and to display the business link plugin corresponding to the target business data in the target document.
[0171] The application information retrieval page includes a search function for the target application; the device 1100 also includes:
[0172] Data search module 14 is used to respond to the trigger operation for the search function and display candidate business data associated with the search parameters triggered by the trigger operation for the search function on the application information acquisition page.
[0173] The data acquisition module 12 includes:
[0174] The business selection unit 12d is used to respond to the data submission operation of the target business data in the candidate business data of the application information acquisition page, and to display the business link plugin corresponding to the target business data in the target document.
[0175] The device 1100 also includes:
[0176] Component display module 15 is used to display application jump components associated with business link plugins in the target document;
[0177] This page displays module 13, which includes:
[0178] The wake-up prompt unit 13a is used to display a wake-up prompt page for the target application when a trigger operation is performed on the application jump component associated with the business link plugin.
[0179] Page display unit 13b is used to respond to the confirmation operation of the wake-up prompt page and display the business display page of the target business data in the target application.
[0180] Module 13 on this page includes:
[0181] The direct display unit 13c is used to, in response to a trigger operation targeting a business link plugin, associate and display the business data of the target document with the business display page in the target application; or,
[0182] The jump display unit 13d is used to jump to the target application when responding to a trigger operation for the business link plugin, and display the business display page of the target business data in the target application.
[0183] The device 1100 also includes:
[0184] The default trigger module 16 is used to respond to the default trigger operation for the business link plugin and associate the initial trigger component of the target application with the business link plugin.
[0185] The default display module 17 is used to respond to the trigger operation of the initial trigger component and display the default application page of the target application.
[0186] The application insertion module 11 includes:
[0187] The authorization request unit 11a is used to respond to the selection operation for the target application in the target document based on the application plugin functions provided by the target document, and display the authorization request message for the target application.
[0188] The authorization response unit 11b is used to display the application information retrieval page corresponding to the target application when responding to the confirmation operation of the authorization request message; the application information retrieval page includes the data of the target account in the target application; the target account refers to the account logged in in the target application.
[0189] The application insertion module 11 includes:
[0190] The function triggering unit 11c is used to display candidate insertion applications and application editing components in the target document based on the application plugin functions provided by the target document;
[0191] The parameter acquisition unit 11d is used to display the application search component when responding to a trigger operation for the application editing component, and to acquire the application search parameters submitted by the trigger operation for the application search component when responding to a trigger operation for the application search component.
[0192] The business acquisition unit 11e is used to determine the target application based on the application search parameters, obtain the external service provision interface of the target application, and obtain the business data provided by the target application for the target document based on the external service provision interface of the target application.
[0193] The information acquisition unit 11f is also used to display the application information acquisition page corresponding to the target application based on the business data provided by the target application to the target document.
[0194] The device 1100 also includes:
[0195] The plugin update module 18 is used to update and display the business link plugins in the target document based on the updated data corresponding to the target business data when the target business data in the target application changes; the updated business link plugins are used to indicate the updated data.
[0196] The device 1100 also includes:
[0197] Page interaction module 19 is used to respond to interaction requests for the business display page and display the target response result for the interaction request; the target response result is consistent with the response result for the interaction request in the target application.
[0198] The application insertion module 11 includes:
[0199] The authorization request unit 11a is also used to respond to the selection operation for the target application in the target document based on the application plugin function provided by the target document, and display the authorization request message for the target application.
[0200] The data acquisition unit 11g is used to call the data access interface of the target application when responding to the confirmation operation for the authorization request message, and to obtain the account information associated with the target application and the data associated with the account information in the target application based on the data access interface.
[0201] Page rendering unit 11h is used to render the page obtained by the application based on the data associated with the account information in the target application.
[0202] The data acquisition module 12 includes:
[0203] The identifier acquisition unit 12e is used to respond to the data submission operation of the application information acquisition page and acquire the business identifier of the target business data submitted by the data submission operation in the target application.
[0204] The path generation unit 12f is used to generate a business link plugin based on the target business data, obtain the link path of the business link plugin, and combine the link path with the business identifier to obtain the data insertion path.
[0205] The plugin display unit 12g is used to display business link plugins in the target document based on the data insertion path.
[0206] The device 1100 also includes:
[0207] The component association module 20 is used to display the application jump component associated with the business link plugin in the target document and associate the business identifier with the application jump component;
[0208] This page displays module 13, which includes:
[0209] The jump triggering unit 13e is used to obtain the business identifier associated with the application jump component when responding to a triggering operation for the application jump component associated with the business link plugin.
[0210] The path determination unit 13f is used to obtain the application access path of the target application corresponding to the business linking plugin, and determine the business access path of the target business data corresponding to the business linking plugin based on the application access path and business identifier.
[0211] This page display unit 13b is also used to display the business display page of the target business data in the target application based on the business access path.
[0212] Module 13 on this page includes:
[0213] The method acquisition unit 13g is used to obtain the display method of the target document when responding to a trigger operation for the business link plugin;
[0214] The business display unit 13h is used to determine the data path of the target business data under the display mode based on the business link plugin and the target application if the target application has a display mode, and to display the business display page of the target business data in the target application based on the data path.
[0215] The identification code display unit 13i is used to generate an access identification code based on the business link plugin and the target application if the target application does not have a display method, so that the terminal device can display the business display page of the target business data in the target application after recognizing the access identification code.
[0216] Module 13 on this page includes:
[0217] Service acquisition unit 13j is used to access the external service provision interface of the target application when responding to a trigger operation for the business link plugin, and obtain the page content of the target business data in the target application and the application services provided by the target application related to the page content based on the external service provision interface.
[0218] This page display unit 13b is also used to render a business display page based on the page content and application services; the business display page provides application services.
[0219] The data acquisition module 12 includes:
[0220] The data submission unit 12h is used to respond to the data submission operation of the application information acquisition page and to obtain the target business data submitted by the data submission operation.
[0221] The information simplification unit 12i is used to acquire the associated business information of the target business data, input the associated business information into the information extraction model for information simplification processing, and obtain key information to describe the associated business information; the associated business information refers to the information related to the target business data in the target application.
[0222] The plugin display unit 12g is used to generate business link plugins based on key information and display the business link plugins in the target document.
[0223] This application provides a document processing apparatus that can run on a business device. Based on the application plugin functionality provided by the target document, it responds to a selection operation for a target application in the target document, displaying an application information retrieval page corresponding to the target application; responds to a data submission operation on the application information retrieval page, displaying a business link plugin corresponding to the target business data submitted in the data submission operation in the target document; the target business data is data from the target application; when a trigger operation is responded to for the business link plugin, a business display page of the target business data in the target application is displayed. Through the above process, application plugin functionality can be introduced into the document, that is, application plugin functionality is added to the document, enabling the document to interact with the application and insert application-related data into the document. Moreover, the data inserted into the document can be triggered by jumps, thereby realizing and improving the interaction capability between the document and the application. Meanwhile, based on the data inserted into the document (i.e., the business link plugin), the document can display specific pages in the application. In other words, users can directly trigger the business link plugin in the document to access the page in the corresponding application, realizing deep interaction between the document and the application, enhancing the interconnectivity between the document and other applications, thereby enriching the content and functions of the document, further improving the usability of the document and the comprehensiveness of the insertion function, improving the efficiency and compatibility of quickly accessing other applications within the document, and improving the interactive experience between the document and the application.
[0224] See Figure 12 , Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 12 As shown, the computer device in this embodiment may include one or more processors 1201, a memory 1202, and an input / output interface 1203. The processor 1201, memory 1202, and input / output interface 1203 are connected via a bus 1204. The memory 1202 stores a computer program, which includes program instructions. The input / output interface 1203 receives and outputs data, such as for data interaction between business devices. The processor 1201 executes the program instructions stored in the memory 1202.
[0225] The processor 1201 can perform the following operations:
[0226] Based on the application plugin functionality provided by the target document, the target document responds to the selection operation for the target application and displays the application information retrieval page corresponding to the target application.
[0227] In response to the data submission operation on the application information retrieval page, the business link plugin corresponding to the target business data submitted by the data submission operation is displayed in the target document; the target business data is the data in the target application; the business link plugin is used to link to the target insertion object that the target business data refers to in the target application; the business link plugin includes the object information of the target insertion object;
[0228] When a trigger action is performed on the business link plugin, the business display page of the target business data in the target application is displayed; the business display page is used to display the data in the target application associated with the target inserted object.
[0229] In some feasible implementations, the processor 1201 may be a central processing unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0230] The memory 1202 may include read-only memory and random access memory, and provides instructions and data to the processor 1201 and input / output interface 1203. A portion of the memory 1202 may also include non-volatile random access memory. For example, the memory 1202 may also store device type information.
[0231] In practice, the computer device can perform actions such as these through its built-in functional modules. Figure 3 For details on the implementation methods provided for each step, please refer to [the relevant documentation / document / etc.]. Figure 3 The implementation methods provided for each step are not elaborated here.
[0232] This application provides a computer device including a processor, an input / output interface, and a memory. The processor retrieves a computer program from the memory and executes it. Figure 3Each step of the method shown performs document processing operations. This embodiment implements application plugin functionality based on the target document. In response to a selection operation for a target application within the target document, it displays the application information retrieval page corresponding to the target application; in response to a data submission operation on the application information retrieval page, it displays the business link plugin corresponding to the target business data submitted in the data submission operation within the target document; the target business data is data from the target application; when a trigger operation is triggered for the business link plugin, it displays the business display page of the target business data within the target application. Through the above process, application plugin functionality can be introduced into the document. That is, by adding application plugin functionality to the document, the document can interact with the application, and application-related data can be inserted into the document. Furthermore, the data inserted into the document can be triggered via navigation, thereby realizing and improving the interaction capabilities between the document and the application. Meanwhile, based on the data inserted into the document (i.e., the business link plugin), the document can display specific pages in the application. In other words, users can directly trigger the business link plugin in the document to access the page in the corresponding application, realizing deep interaction between the document and the application, enhancing the interconnectivity between the document and other applications, thereby enriching the content and functions of the document, further improving the usability of the document and the comprehensiveness of the insertion function, improving the efficiency and compatibility of quickly accessing other applications within the document, and improving the interactive experience between the document and the application.
[0233] This application also provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor. Figure 3 For details on the document processing methods provided in each step, please refer to the document. Figure 3 The implementation methods provided for each step are not repeated here. Furthermore, the beneficial effects of using the same method are also not repeated. For technical details not disclosed in the computer-readable storage medium embodiments involved in this application, please refer to the description of the method embodiments of this application. As an example, a computer program may be deployed to execute on a single computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed across multiple locations and interconnected via a communication network.
[0234] The computer-readable storage medium can be the document processing apparatus provided in any of the foregoing embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0235] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform... Figure 3 The methods provided among the various options enable the introduction of application plugin functionality into documents. This means adding application plugins to documents allows for interaction with applications and the insertion of application-related data. Furthermore, the inserted data can trigger navigation, thus enhancing the interactive capabilities between documents and applications. Simultaneously, based on the data inserted into the document (i.e., business link plugins), the document can display specific pages within the application. Users can directly trigger these business link plugins within the document to access their corresponding application pages, achieving deep interaction between documents and applications. This enhances the interconnectivity between documents and other applications, enriches document content and functionality, further improves document usability and the comprehensiveness of insertion capabilities, increases the efficiency and compatibility of quickly accessing other applications within the document, and enhances the interactive experience between documents and applications.
[0236] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.
[0237] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0238] The methods and related apparatus provided in this application are described with reference to the method flowcharts and / or structural diagrams provided in this application. Specifically, each block of the method flowcharts and / or structural diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable document processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable document processing device, create means for implementing the functions specified in one or more blocks of the flowcharts and / or one or more blocks of the structural diagrams. These computer program instructions can also be stored in a computer-readable storage medium capable of directing a computer or other programmable document processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more blocks of the flowcharts and / or one or more blocks of the structural diagrams. These computer program instructions may also be loaded onto a computer or other programmable document processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks in the structural diagram.
[0239] The steps in the method of this application embodiment can be adjusted, combined, or deleted according to actual needs.
[0240] The modules in the device of this application embodiment can be merged, divided, and deleted according to actual needs.
[0241] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A document processing method, characterized in that, The method includes: Based on the application plugin functionality provided by the target document, the target document responds to the selection operation for the target application and displays the application information retrieval page corresponding to the target application. In response to the data submission operation of the application information retrieval page, a business link plugin corresponding to the target business data submitted by the data submission operation is displayed in the target document; the business link plugin is used to link to the target insertion object that the target business data refers to in the target application; the business link plugin includes the object information of the target insertion object; When a trigger operation is performed on the business link plugin, the business display page of the target business data in the target application is displayed; the business display page is used to display the data associated with the target insertion object in the target application; In response to an interaction request for the business display page, the target response result for the interaction request is displayed; the target response result is consistent with the response result for the interaction request in the target application. The step of displaying the target business data on the business display page of the target application when responding to a trigger operation for the business link plugin includes: When responding to a trigger operation for the business link plugin, access the external service provision interface of the target application, and obtain the page content of the target business data in the target application, as well as the application services provided by the target application associated with the page content based on the external service provision interface; Based on the page content and the application service, a business display page is rendered in the target document; the business display page is used to provide the application service.
2. The method as described in claim 1, characterized in that, The application information retrieval page includes N candidate business objects; N is a positive integer; the data submission operation in response to the application information retrieval page, which displays the business link plugin corresponding to the target business data submitted by the data submission operation in the target document, includes: In response to a selection confirmation operation for a target business object among the N candidate business objects in the application information retrieval page, a business link plugin for the target business object submitted by the selection confirmation operation is displayed in the target document; the business link plugin includes object information of the target business object; the data submission operation of the application information retrieval page includes a selection confirmation operation for the target business object, and the target business data submitted by the data submission operation includes the target business object submitted by the selection confirmation operation.
3. The method as described in claim 1, characterized in that, The data submission operation of the application information acquisition page includes a data input operation for the application information acquisition page and a submission operation for the data input operation; The response to the data submission operation of the application information acquisition page, displaying the business link plugin corresponding to the target business data submitted by the data submission operation in the target document, includes: In response to a data input operation on the application information acquisition page, the target business data input by the data input operation is displayed on the application information acquisition page; In response to the submission operation of the data input operation, the business link plugin corresponding to the target business data is displayed in the target document.
4. The method as described in claim 1, characterized in that, The application information retrieval page includes a search function for the target application; the method further includes: In response to the triggering operation for the search function, candidate business data associated with the search parameters triggered by the triggering operation for the search function is displayed on the application information acquisition page. The response to the data submission operation of the application information acquisition page, displaying the business link plugin corresponding to the target business data submitted by the data submission operation in the target document, includes: In response to a data submission operation for target business data in the candidate business data of the application information retrieval page, the business link plugin corresponding to the target business data is displayed in the target document.
5. The method as described in claim 1, characterized in that, The method further includes: Display the application redirection component associated with the business link plugin in the target document; When responding to a trigger operation for the business link plugin, displaying the target business data on the business display page of the target application includes: When a trigger operation is performed on the application jump component associated with the business link plugin, a wake-up prompt page for the target application is displayed; In response to the confirmation operation of the wake-up prompt page, the business display page of the target business data in the target application is displayed.
6. The method as described in claim 1, characterized in that, The method further includes: In response to the default trigger operation for the business link plugin, the initial trigger component of the target application is associated with and displayed for the business link plugin; In response to the triggering operation of the initial triggering component, the default application page of the target application is displayed.
7. The method as described in claim 1, characterized in that, The application plugin functionality based on the target document, responding to a selection operation for the target application in the target document, and displaying an application information retrieval page corresponding to the target application, includes: Based on the application plugin functionality provided by the target document, the target document responds to the selection operation for the target application and displays an authorization request message for the target application. When a confirmation operation is performed in response to the authorization request message, an application information retrieval page corresponding to the target application is displayed; the application information retrieval page includes data of the target account in the target application; the target account refers to the account logged in to the target application.
8. The method as described in claim 1, characterized in that, The application plugin functionality based on the target document, responding to a selection operation for the target application in the target document, and displaying an application information retrieval page corresponding to the target application, includes: Based on the application plugin functionality provided by the target document, candidate insertion applications and application editing components are displayed in the target document; When a trigger operation is performed on the application editing component, the application search component is displayed, and when a trigger operation is performed on the application search component, the application search parameters submitted by the trigger operation on the application search component are obtained. The target application is determined based on the application search parameters, the external service provision interface of the target application is obtained, and the business data provided by the target application for the target document is obtained based on the external service provision interface of the target application. The application information retrieval page corresponding to the target application is displayed based on the business data provided by the target application to the target document.
9. The method as described in claim 1, characterized in that, The method further includes: When the target business data in the target application changes, the business link plugin in the target document is updated and displayed based on the updated data corresponding to the target business data; the updated business link plugin is used to indicate the updated data.
10. The method as described in claim 1, characterized in that, The application plugin functionality based on the target document, responding to a selection operation for the target application in the target document, and displaying an application information retrieval page corresponding to the target application, includes: Based on the application plugin functionality provided by the target document, the target document responds to the selection operation for the target application and displays an authorization request message for the target application. When responding to the confirmation operation for the authorization request message, the data access interface of the target application is invoked, and the account information associated with the target application and the data associated with the account information in the target application are obtained based on the data access interface. Based on the data associated with the account information in the target application, the application retrieves the page.
11. The method as described in claim 1, characterized in that, The response to the data submission operation of the application information acquisition page, displaying the business link plugin corresponding to the target business data submitted by the data submission operation in the target document, includes: In response to the data submission operation of the application information acquisition page, obtain the business identifier of the target business data submitted by the data submission operation in the target application; A business link plugin is generated based on the target business data, the link path of the business link plugin is obtained, and the link path is combined with the business identifier to obtain the data insertion path; The business link plugin is displayed in the target document based on the data insertion path.
12. The method as described in claim 11, characterized in that, The method further includes: Display the application redirection component associated with the business link plugin in the target document, and associate the business identifier with the application redirection component; The step of displaying the target business data on the business display page of the target application when responding to a trigger operation for the business link plugin further includes: When responding to a trigger operation on the application redirection component associated with the business link plugin, obtain the business identifier associated with the application redirection component; Obtain the application access path of the target application corresponding to the business link plugin, and determine the business access path of the target business data corresponding to the business link plugin based on the application access path and the business identifier. Based on the business access path, display the business display page of the target business data in the target application.
13. The method as described in claim 1, characterized in that, The step of displaying the target business data on the business display page of the target application when responding to a trigger operation for the business link plugin further includes: When a trigger operation is performed on the business link plugin, the display method of the target document is obtained; If the target application has the display mode, then the data path of the target business data under the display mode is determined based on the business link plugin and the target application, and the business display page of the target business data in the target application is displayed based on the data path; If the target application does not have the specified display method, an access identifier code is generated based on the business link plugin and the target application, so that the terminal device can display the business display page of the target business data in the target application after recognizing the access identifier code.
14. The method as described in claim 1, characterized in that, The response to the data submission operation of the application information acquisition page, displaying the business link plugin corresponding to the target business data submitted by the data submission operation in the target document, includes: In response to the data submission operation of the application information acquisition page, obtain the target business data submitted by the data submission operation; The associated business information of the target business data is obtained, and the associated business information is input into an information extraction model for information simplification processing to obtain key information describing the associated business information; the associated business information refers to information related to the target business data in the target application. A business link plugin is generated based on the key information, and the business link plugin is displayed in the target document.
15. A document processing apparatus, characterized in that, The device includes: The application insertion module is used to respond to the selection operation of the target application in the target document based on the application plugin function provided by the target document, and display the application information acquisition page corresponding to the target application. The data acquisition module is used to respond to the data submission operation of the application information acquisition page, and display the business link plugin corresponding to the target business data submitted by the data submission operation in the target document; the business link plugin is used to link to the target insertion object that the target business data refers to in the target application; the business link plugin includes the object information of the target insertion object; The page display module is used to display the business display page of the target business data in the target application when a trigger operation is performed on the business link plugin; the business display page is used to display the data associated with the target insertion object in the target application; The page interaction module is used to respond to interaction requests for the business display page and display the target response result for the interaction request; the target response result is consistent with the response result for the interaction request in the target application; The page display module is used for: When responding to a trigger operation for the business link plugin, access the external service provision interface of the target application, and obtain the page content of the target business data in the target application, as well as the application services provided by the target application associated with the page content based on the external service provision interface; Based on the page content and the application service, a business display page is rendered in the target document; the business display page is used to provide the application service.
16. A computer device, characterized in that, Includes processor, memory, and input / output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive data and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device executes the method according to any one of claims 1-14.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-14.
18. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method described in any one of claims 1-14.
Citation Information
Patent Citations
Interaction of web content with an electronic application document
CN105359133A
Document processing and instant messaging method and device, electronic equipment and storage medium
CN111880858A