A data processing method, device, and computer-readable storage medium
By displaying the plugin's function page in the first application and responding to the triggering operation of the target object information, and by utilizing the multimedia components provided by the first application, the problem of insufficient information display of the function plugin is solved, and the amount of information and the display method are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-01-20
- Publication Date
- 2026-07-10
AI Technical Summary
In existing technologies, the functional plugins in the first application cannot obtain data from the first application, resulting in a limited amount of information displayed and a single display method.
The first application displays the plugin function page corresponding to the function plugin and responds to the trigger operation of the target object information. Multimedia components are displayed in the object page provided by the function plugin, and the first application provides multimedia components to enrich the displayed content.
It improves the display effect of functional plugins and enhances the amount of information and the diversity of display methods.
Smart Images

Figure CN116521020B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a data processing method, device, and computer-readable storage medium. Background Technology
[0002] With the development of internet technology, all kinds of applications are emerging. In order to save development costs and improve the functionality of applications, the first application can embed functional plugins provided by the second application.
[0003] By embedding functional plugins, a first application can provide users with the application functions of a second application. For example, if a first application embeds an email plugin, users can send and receive emails through the first application; if a first application embeds a communication plugin, users can communicate through the first application. In existing technologies, functional plugins in the first application can only execute the functions provided by the second application and cannot obtain data from the first application. This results in a limited amount of information that can be displayed, and consequently, a limited display method for the functional plugins. Summary of the Invention
[0004] This application provides a data processing method, apparatus, and computer-readable storage medium, which can improve the display effect of functional plug-ins in a first application.
[0005] One embodiment of this application provides a data processing method, including:
[0006] The first application displays the plugin function page corresponding to the plugin; the plugin function page includes target object information; the plugin is provided by the second application.
[0007] In response to a trigger operation targeting the target object information in the plugin's function page, the multimedia component corresponding to the target object information is displayed on the object page provided by the function plugin; the multimedia component is provided to the function plugin by the first application.
[0008] One embodiment of this application provides a data processing apparatus, including:
[0009] The first display module is used to display the plugin function page corresponding to the function plugin in the first application; the plugin function page includes target object information; the function plugin is provided by the second application.
[0010] The second display module is used to respond to the trigger operation of the target object information in the plugin function page, and to display the multimedia component corresponding to the target object information in the object page provided by the function plugin; the multimedia component is provided to the function plugin by the first application.
[0011] The object page includes a first object page or a second object page; the multimedia component includes a first multimedia component or a second multimedia component.
[0012] The second display module includes:
[0013] The first display unit is configured to display a first multimedia component including target object information on the first object page provided by the functional plugin when the association relationship between the first object and the second object is a first association relationship in the first application; the first object refers to the object associated with the target object information in the second application; the second object refers to the object that performs the trigger operation on the target object information.
[0014] The second display unit is used to display a second multimedia component including target object information on the second object page provided by the functional plugin when the association relationship between the first object and the second object is a second association relationship in the first application; the relationship priority corresponding to the first association relationship is greater than the relationship priority corresponding to the second association relationship; and the amount of content data included in the first multimedia component is greater than the amount of content data included in the second multimedia component.
[0015] The second association relationship includes a communication association relationship; the second multimedia component includes a communication multimedia component corresponding to the communication association relationship.
[0016] The second display unit is specifically used to display a communication multimedia component, including target object information and communication object information associated with the communication relationship, on the second object page provided by the functional plug-in when the association between the first object and the second object is a communication association relationship in the first application.
[0017] The communication multimedia component includes a first display control;
[0018] The data processing device further includes:
[0019] The third display module is used to respond to the trigger operation of the first display control and display the first object data for the first object determined by the communication relationship in the object details page provided by the first application; the first object data includes the content included in the communication multimedia component.
[0020] The second association relationship includes unfamiliar association relationships; the second multimedia component includes unfamiliar multimedia components corresponding to unfamiliar association relationships.
[0021] The second display unit is specifically used to display an unfamiliar multimedia component including target object information on the second object page provided by the functional plugin when the association relationship between the first object and the second object is an unfamiliar association relationship in the first application; wherein the first association relationship includes a communication association relationship, and the relationship priority corresponding to the communication association relationship is greater than the relationship priority corresponding to the unfamiliar association relationship.
[0022] The data processing device further includes:
[0023] The fourth display module is used to respond to the trigger operation for the unfamiliar multimedia component if the second object page does not include the second display control provided by the functional plugin, and to display the viewing failure information in the prompt page provided by the functional plugin; the viewing failure information is used to indicate that the first object and the second object are in an unfamiliar relationship.
[0024] The fifth display module is used to respond to a trigger operation on the second display control if the second object page includes a second display control provided by the function plugin, and to display a list of functions associated with the function plugin in the display page provided by the function plugin.
[0025] The multimedia component includes a third display control;
[0026] The data processing apparatus further includes:
[0027] The sixth display module is used to respond to the trigger operation of the third display control if the functional plugin is not configured with a response component, and to display the second object data, which includes the target object information, in the object page provided by the first application; the second object data includes the content included in the multimedia component.
[0028] The seventh display module is used to respond to the trigger operation of the third display control if the functional plugin is configured with a response component, and to display the operation data associated with the response component in the object page provided by the functional plugin.
[0029] The first display module includes:
[0030] The third display unit is used in the first application to display a function configuration page for configuring function plugins;
[0031] The fourth display unit is used to respond to configuration operations for the functional plugins in the function configuration page and to display trigger controls for the functional plugins in the application function page of the first application.
[0032] The fifth display unit is used to respond to the trigger operation of the trigger control for the functional plug-in and display the plug-in function page corresponding to the functional plug-in in the first application.
[0033] The second display module includes:
[0034] The request sending unit is used to respond to the trigger operation for the target object information in the plugin function page, and send a data acquisition request for the target object information to the main program in the first application through the function plugin.
[0035] The component generation unit is used to generate data through the main program to obtain the requested multimedia components.
[0036] The sixth display unit is used to obtain the multimedia components returned by the main program through the function plug-in, create an object page through the function plug-in, and display the multimedia components corresponding to the target object information in the object page.
[0037] The component generation unit includes:
[0038] The collection retrieval subunit is used in the main program to retrieve a set of A objects corresponding to the second object based on the data retrieval request; A is a positive integer; the second object refers to the object that performs the trigger operation on the target object information;
[0039] The relationship determination subunit is used to determine the association relationship between the first object and the second object based on the first object and A sets of objects; the first object refers to the object associated with the target object information in the second application;
[0040] The component generation subunit is used to generate multimedia components based on the relationship between the first object and the second object.
[0041] The relationship-determining subunit includes:
[0042] The first acquisition subunit is used to acquire B sets of objects that have a belonging relationship with the first object from A sets of objects; the belonging relationship is used to indicate that all B sets of objects include the first object; B is a positive integer less than or equal to A;
[0043] The second acquisition subunit is used to acquire the set labels corresponding to the B object sets respectively; wherein, a set label is used to represent the association relationship between an object set and the first object;
[0044] The first determining subunit is used to determine the association between the first object and the second object based on B set labels;
[0045] The second determining subunit is used to determine the unfamiliar association relationship as the association relationship between the first object and the second object if there is no set of objects in the set of A objects that has a belonging relationship with the first object.
[0046] The first determining subunit is specifically used to determine the association between the first object and the second object based on the set label if B equals 1.
[0047] The first determining subunit is also specifically used to render the B collection labels through the main program if B is a positive integer greater than 1, thereby obtaining a collection label component; the collection label component includes selection controls corresponding to the B collection labels respectively;
[0048] The first defined subunit is also specifically used to obtain the collection label component returned by the main program through the functional plugin, create a selection page through the functional plugin, and display the collection label component in the selection page;
[0049] The first determining subunit is also specifically used to respond to the triggering operation of the selection control in the collection label component, determine the triggered selection control as the target selection control, and determine the association relationship between the first object and the second object based on the collection label corresponding to the target selection control;
[0050] The component generates sub-units, which are specifically used to send the association relationship between the first object and the second object to the main program through functional plugins;
[0051] The component generation subunit is also specifically used in the main program to generate multimedia components based on the relationship between the first object and the second object.
[0052] The first determining subunit is specifically used to obtain the relation priorities corresponding to the B set labels from the relation logic rules encapsulated in the main program.
[0053] The first determining subunit is also specifically used to determine the set label with the highest relational priority among B set labels as the target set label;
[0054] The first determining subunit is also specifically used to determine the association between the first object and the second object based on the target set label.
[0055] The component generates sub-units, including:
[0056] The third acquisition subunit is used by the main program to obtain the view container template configured by the functional plugin and corresponding to the association relationship; the view container template includes M view sub-components; the M view sub-components include view sub-component C. d d is a positive integer, and d is less than or equal to M;
[0057] The fourth acquisition subunit is used to acquire a set of multimedia data for the first object in the first application based on the association relationship;
[0058] The fifth sub-unit is used to retrieve data from the multimedia data set related to the view sub-component C. d Multimedia data E that matches the corresponding sub-component type d ;
[0059] The third determining subunit is used to determine the multimedia data E. d For view subcomponent C d Rendering is performed, and when all M view sub-components have finished rendering, the multimedia component corresponding to the view container template is obtained.
[0060] The third determining subunit is specifically used to obtain the data type filtering information configured by the management object corresponding to the second object for the first application.
[0061] The third determining sub-unit is also specifically used if the data type filtering information includes the view sub-component C. d The corresponding child component type will be the same as the view child component C. d The system configuration data that matches the corresponding sub-component type is rendered to the view sub-component C. d ;
[0062] The third determining sub-unit is also specifically used if the data type filtering information does not include the view sub-component C. d The corresponding sub-component type will then use multimedia data E d Rendered to view child component C d .
[0063] This application provides a computer device, including: a processor, a memory, and a network interface;
[0064] The processor is connected to the memory and the network interface, wherein the network interface is used to provide data communication functions, 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 methods in the embodiments of this application.
[0065] One aspect of this application provides a computer-readable storage medium storing a computer program adapted for loading by a processor and executing the methods described in this application.
[0066] 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 method described in this application.
[0067] In this embodiment, by responding to a trigger operation on target object information in a plugin function page, the computer device can display multimedia components corresponding to the target object information in the object page provided by the function plugin. The function plugin is provided by a second application different from the first application, and the multimedia components are provided to the function plugin by the first application. As described above, the computer device can display the object page provided by the function plugin, and this object page can display the multimedia components provided by the first application. Therefore, by employing this application, the display effect of the function plugin in the first application can be improved. Attached Figure Description
[0068] 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.
[0069] Figure 1 This is a schematic diagram of a system architecture provided in an embodiment of this application;
[0070] Figure 2 This is a schematic diagram of a data processing scenario provided in an embodiment of this application;
[0071] Figure 3 This is a flowchart illustrating a data processing method provided in an embodiment of this application;
[0072] Figure 4 This is a schematic diagram of a data processing scenario provided in an embodiment of this application;
[0073] Figure 5 This is a flowchart illustrating a data processing method provided in an embodiment of this application;
[0074] Figure 6 This is a flowchart illustrating a data processing method provided in an embodiment of this application;
[0075] Figure 7 This is a schematic diagram of a data processing scenario provided in an embodiment of this application;
[0076] Figure 8 This is a flowchart illustrating a data processing method provided in an embodiment of this application;
[0077] Figure 9 This is a flowchart illustrating a data processing method provided in an embodiment of this application;
[0078] Figure 10 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;
[0079] Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0080] 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.
[0081] Please see Figure 1 , Figure 1 This is a schematic diagram of a system architecture provided in an embodiment of this application. For example... Figure 1 As shown, the system may include a business server 100 and a terminal cluster. The terminal cluster may include terminal devices 200a, 200b, 200c, ..., 200n. It is understood that the above system may include one or more terminal devices, and this application does not limit the number of terminal devices.
[0082] The terminal cluster can have communication connections with each other. For example, there can be a communication connection between terminal devices 200a and 200b, and between terminal devices 200a and 200c. Simultaneously, any terminal device in the terminal cluster can have a communication connection with the service server 100. For example, there can be a communication connection between terminal device 200a and the service server 100. The communication connection method is not limited; it can be established directly or indirectly through wired communication, wireless communication, or other methods. This application does not impose any restrictions on this method.
[0083] Business server 100 can be a collection of multiple servers, such as the backend server and data processing server corresponding to the first application. It should be understood that... Figure 1 Each terminal device in the terminal cluster shown can have a first application (i.e., an application client) installed. When this application client runs on each terminal device, it can interact with the aforementioned applications. Figure 1The business servers 100 shown interact with each other via the aforementioned communication connection. The application client can be a short video application, video application, live streaming application, social application, instant messaging application, game application, music application, shopping application, novel application, browser, or other application client with loading plugin functionality. This application client can be a standalone client or an embedded sub-client integrated into another client (e.g., a social client, an educational client, or a multimedia client); no limitation is made here.
[0084] Taking social applications as an example, each terminal device can transmit data with the business server 100 through the application client corresponding to the social application. For example, each terminal device can upload its local image to the business server 100 through the application client of the social application, and then the business server 100 can send the image to other terminal devices or transmit it to the cloud server.
[0085] It is understood that in the specific implementation of this application, data related to user information (such as the target object information and the first object mentioned below) are involved. When the following embodiments of this application are applied to specific products or technologies, it is necessary to obtain the permission or consent of the user corresponding to the terminal device, and the acquisition, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0086] For ease of subsequent understanding and explanation, the embodiments of this application may be... Figure 1 In the terminal cluster shown, one terminal device is selected as the target terminal device, for example, terminal device 200a. Terminal device 200a can display the plugin function page corresponding to the function plugin in the first application (equivalent to the application client described above). The function plugin is provided by a second application, which can be an application client that provides function plugins, such as a short video application, video application, live streaming application, social application, instant messaging application, game application, music application, shopping application, novel application, or browser, different from the first application. It is understood that this application embodiment does not limit the second application, and therefore does not limit the business functions provided by the function plugin. It can provide communication functions, query functions, etc., different from those of the first application.
[0087] When the second object triggers the target object information in the plugin's function page, the terminal device 200a can respond to the trigger operation for the target object information in the plugin's function page and obtain the first object identifier associated with the target object information. Here, the second object refers to the user of the terminal device 200a, i.e., the object that performs the trigger operation for the target object information; the first object identifier refers to the identifier bound to the first object in the second application (or function plugin), and the first object refers to the object corresponding to the target object information in the second application. Further, the terminal device 200a sends the first object identifier and the second object identifier as query data to the business server 100. Here, the second object identifier refers to the object identifier bound to the function plugin of the terminal device 200a (i.e., the object identifier of the second object). In the second application, the second object identifier can uniquely identify the second object, and the first object identifier can uniquely identify the first object.
[0088] Furthermore, after obtaining the query data, the business server 100 can obtain the object set of the second object in the first application based on the second object identifier. The object set may include objects in the second application that have a first association or communication association with the second object, as well as the object identifiers corresponding to those objects. Through the object set and the first object identifier, the business server 100 can determine the association between the first object and the second object. Based on this association, the business server 100 can generate a multimedia component including target object information and return this multimedia component to the terminal device 200a. After obtaining the multimedia component through the first application, the terminal device 200a can display the multimedia component on the object page provided by the functional plugin.
[0089] Optionally, the business server 100 can return the association between the first object and the second object to the terminal device 200a. Then, the terminal device 200a can generate a multimedia component for the first object in the first application based on the above association and display the multimedia component in the object page provided by the functional plugin.
[0090] Optionally, if the terminal device 200a locally stores a set of objects corresponding to the second object in the first application, then the terminal device 200a can determine the association between the first object identifier and the second object identifier through the object set. It can be understood that the association between the two object identifiers can characterize the association between the first object and the second object. Based on this association, a multimedia component for the first object is generated in the first application, and this multimedia component is displayed on the object page provided by the functional plugin. The object set locally stored on the terminal device 200a can be sent to the terminal device 200a by the business server 100.
[0091] Optional, and understandably, Figure 1 The system architecture shown can include multiple business servers. A terminal device can be connected to a business server. Each business server can obtain the query data uploaded by the terminal device connected to it, thereby identifying the query data and determining the relationship between the first object and the second object, and returning the relationship to the terminal device connected to it.
[0092] It should be noted that the aforementioned business server 100, terminal device 200a, terminal device 200b, terminal device 200c..., and terminal device 200n can all be blockchain nodes in the blockchain network. The data described in the entire text (such as the relationship between the first object and the second object, the relationship and the multimedia components corresponding to the relationship) can be stored. The storage method can be that the blockchain node generates blocks based on the data and adds the blocks to the blockchain for storage.
[0093] Blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. It is primarily used to organize data chronologically and encrypt it into a ledger, making it tamper-proof and forgery-proof. It also allows for data verification, storage, and updating. Essentially, a blockchain is a decentralized database where each node stores an identical blockchain record. The blockchain network can be categorized into core nodes, data nodes, and light nodes. These three types of nodes together constitute the blockchain network. Core nodes are responsible for the consensus of the entire blockchain network; in other words, they are the consensus nodes. The process of writing transaction data into the ledger in a blockchain network can be as follows: data nodes or light nodes in the blockchain network obtain transaction data and pass it through the network (i.e., nodes pass it like a relay) until the consensus node receives the transaction data. The consensus node then packages the transaction data into a block, performs consensus on the block, and writes the transaction data into the ledger after consensus is achieved. Here, we take the first object, the second object, and the relationship between the first object and the second object as an example of transaction data. After reaching a consensus on the transaction data, the business server 100 (blockchain node) generates a block based on the transaction data and stores the block in the blockchain network. As for reading the transaction data (i.e., the first object, the second object, and the relationship between the first object and the second object), the blockchain node can obtain the block containing the transaction data in the blockchain network, and further retrieve the transaction data from the block.
[0094] It is understood that the methods provided in this application embodiment can be executed by computer devices, including but not limited to terminal devices or business servers. The business server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud databases, cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Terminal devices include but are not limited to mobile phones, computers, smart voice interaction devices, smart home appliances, and in-vehicle terminals. The terminal devices and business servers can be directly or indirectly connected via wired or wireless means, and this application embodiment does not impose any limitations on this connection.
[0095] Further, please see Figure 2 , Figure 2 This is a schematic diagram of a data processing scenario provided in an embodiment of this application. The implementation process of this data processing scenario can be performed on a business server, on a terminal device, or through interaction between the terminal device and the business server; no limitation is made here. The terminal device can be one of the aforementioned... Figure 1 Any terminal device in the terminal cluster of the corresponding embodiment, Figure 2 Taking terminal device 200a as an example, the service server can be as described above. Figure 1 The corresponding embodiment is the business server 100. This application embodiment can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, and assisted driving.
[0096] like Figure 2 As shown, the terminal device 200a has a first application installed, and this first application embeds a functional plugin provided by a second application. It is understood that this embodiment does not limit the first application and the second application; they only need to be different applications. See the above for details. Figure 1 For ease of understanding, the second application in this embodiment is set as an email application and the function plugin is an email plugin.
[0097] like Figure 2 As shown, terminal device 200a can display email details page 20a (belonging to the plugin's function page) provided by the email plugin (function plugin) in the first application. This page can include the subject of the received email, such as... Figure 2 The example "Subject: Confirmation of Group Participants" can include the sender, recipient, and sending time of the received email, such as... Figure 2The example shows "Sender: bbb", "Recipient: aaa", and "Time: 2021.10.12 15:22". The email details page 20a can include the email body, such as... Figure 2 The example "aaa, Hello, the number of participants for the gathering has been confirmed and is correct." Here, the text "bbb" can represent the sender's real name, the sender's nickname in a second application (in this embodiment, an email application), or both the sender's real name and the aforementioned nickname. The specific meaning can be set according to the actual application scenario. Similarly, the meaning of the text "aaa" can be understood based on the text "bbb," and will not be elaborated further.
[0098] It is understood that, in this embodiment of the application, the emails on the email details page 20a are defined as received emails. Figure 2 In this application, the recipient (“aaa”) can be equivalent to the second object, the sender (“bbb”) can be equivalent to the first object, and the text “bbb” can be equivalent to the target object information. If the text “bbb” represents the sender’s real name, then in this embodiment, the name of the first object in the email plugin is used as an example of the target object information. It should be noted that this application does not limit the content of the target object information, and it can be set according to the actual application scenario. For example, it can be the first object name (name), first object nickname, first object avatar, and first object identifier of the first object in the functional plugin, or it can be at least two pieces of information of the first object in the functional plugin, such as the first object name and the first object identifier.
[0099] Please see again. Figure 2 When the second object triggers the plugin function page (such as...) Figure 2 The target object information in the example email details page 20a) (such as...) Figure 2 When the example bbb) is triggered, the terminal device 200a responds to the trigger operation for the target object information and obtains the first object identifier (such as bbb). Figure 2 The example includes a sender's object identifier and a second object identifier, wherein the first object identifier can uniquely identify a first object in the second application, and the second object identifier can uniquely identify a second object in the second application, such as... Figure 2 As an example, if the second application is an email application, then the first object identifier is the sender's email address, and the second object identifier can be the recipient's email address; if the second application is a phone book, then the first object identifier can be the first object's phone number, and the second object identifier can be the second object's phone number.
[0100] Based on the identifier of the first object and the set of objects corresponding to the second object in the first application, the association between the first object and the second object in the first application is determined. It can be understood that the association between the first object and the second object can be set according to the actual application scenario. For example, if the first application is an office application for enterprises, the association between the first object and the second object can be a colleague relationship (i.e., the first object and the second object are employees of the same enterprise), a friend relationship (i.e., the first object and the second object are not employees of the same enterprise, but the second object adds the first object as a friend in the first application), or a stranger relationship (i.e., the first object is neither a colleague of the second object nor a friend of the second object).
[0101] Optionally, taking the first application as an example of an office application for enterprises, the relationship between the first object and the second object can be a departmental relationship (i.e., the first object and the second object belong to the same department of the same enterprise), a cross-departmental relationship (i.e., the first object and the second object belong to two departments of the same enterprise), or an unfamiliar relationship (i.e., the first object and the second object are not employees of the same enterprise).
[0102] Optionally, taking the first application as an example of an office application for enterprises, the relationship between the first object and the second object can include a peer relationship (i.e., the first object and the second object have the same job level in the enterprise), or a superior-subordinate relationship (e.g., for the same enterprise, the first object is the superior of the second object), or a stranger relationship (i.e., the first object and the second object are not employees of the same enterprise).
[0103] It should be understood that the total number of associations between the first object and the second object can be multiple, not limited to the three examples above. These can be set according to the application attributes of the first application and the actual application scenario; this application does not impose any limitations. For the specific process by which the terminal device 200a or the business server determines the associations between the first object and the second object, please refer to the following text. Figure 8 The descriptions in the corresponding embodiments will not be elaborated here.
[0104] When the association relationship between the first object and the second object in the first application is a first association relationship, the terminal device 200a can be configured by a functional plug-in (such as...). Figure 2 In the example email plugin, the first object page 20c displays a first multimedia component 20g that includes target object information. As illustrated above, if the first application is an office application for an enterprise, the first association can be the aforementioned colleague association. Figure 2As shown, the first object page 20c can display the first multimedia component 20g provided by the main program of the first application. The first multimedia component 20g can include target object information, that is Figure 2 the exemplified text "bbb", and can also include the first object information associated with the first association relationship (such as the colleague association relationship above). The first object information can include, for example Figure 2 the avatar of the first object in the first application shown in the example (abbreviated as the first object avatar 20e), such as Figure 2 the nickname "Tian Tian" of the first object in the first application shown in the example (abbreviated as the first object nickname), such as Figure 2 the work department of the first object in the first application shown in the example, that is, the Administration Department; as described above, the first association relationship can be set according to the actual application scenario, so the first object information can also be set according to the actual application scenario, not limited to Figure 2 the exemplified information.
[0105] The first object page 20c can also include a first object identifier, such as Figure 2 the exemplified email address 20f, that is, bbb@xxx.mmm. The first multimedia component 20g can also include a target display control 20d. When the second object triggers the target display control 20d, the terminal device 200a can respond to the trigger operation for the target display control 20d and display, in the object details page 20h provided by the first application, the target object data determined by the first association relationship (such as the exemplified colleague association relationship). Among them, the target object data includes the content associated with the first object included in the first multimedia component 20g, such as the first object avatar and the first object nickname in the object details page 20h. In addition, the first application can also refine the content associated with the first object in the first multimedia component 20g. For example, in the object details page 20h, not only the department of the first object in the enterprise ( Figure 2 the Administration Department in the example) is displayed, but also the position of the first object in this department ( Figure 2 the Minister in the example) is displayed. In addition, the target object data can include the first detailed data 20i of the first object in the first application, such as the mobile phone number 11111111111 registered by the first object in the first application, the extension number 222222 of the first object in the enterprise, the first object identifier, that is, the email address bbb@xxx.mmm, and the seat number 1701-0012 of the first object in the enterprise. As described above, the first association relationship can be set according to the actual application scenario, so the target object data can also be set according to the actual application scenario, not limited to Figure 2 the exemplified information.
[0106] The above describes the interface display scenario of terminal device 200a when the relationship between the first object and the second object is a first relationship (i.e., the colleague relationship in the example above). If, in the first application, the relationship between the first object and the second object is a second relationship, terminal device 200a can be configured by functional plugins (such as...) Figure 2 In the second object page 20b provided by the example email plugin, a second multimedia component 20j including target object information is displayed. For ease of understanding, the second association relationship is exemplified as the friend association relationship defined above, which can also be understood as... Figure 2 The communication relationships within.
[0107] like Figure 2 As shown, the second object page 20b can display the second multimedia component 20j provided by the main program of the first application. The second multimedia component 20j can include target object information, i.e. Figure 2 The example text "bbb" can also include communication object information associated with a communication relationship (such as the friend relationship mentioned above), which may include, for example... Figure 2 The example first object is the nickname "Tiantian" in the first application; clearly, the priority of the first association (colleague association) is greater than the priority of the communication association (friend association), and the amount of content data included in the first multimedia component 20g is greater than the amount of content data included in the second multimedia component 20m. Similarly, as described above, the second association can be set according to the actual application scenario; therefore, the communication object information in the communication association of the second association can also be set according to the actual application scenario and is not limited to... Figure 2 The information provided is an example.
[0108] The second object page 20j may also include the first object identifier, such as Figure 2The example email address is bbb@xxx.mmm. The second multimedia component 20j may also include a first display control 20k. When the second object triggers the first display control 20k, the terminal device 200a can respond to the trigger operation for the first display control 20k and display the first object data determined by the communication association (such as the friend association in the example) on the object details page 20m provided by the first application. The first object data includes the content associated with the first object included in the second multimedia component 20j, such as the first object name and the first object nickname in the object details page 20m. In addition, the first object data may include the second detailed data 20n of the first object in the first application, such as the mobile phone number 111111111111 registered by the first object in the first application and the extension number 222222 of the first object in the enterprise, as displayed in the object details page 20m. Clearly, the amount of content data included in the first object data is less than the amount of content data included in the target object data. Furthermore, as described above, the second association can be set according to the actual application scenario; therefore, the first object data can also be set according to the actual application scenario and is not limited to this. Figure 2 The information provided is an example.
[0109] It is understandable that the association between the first object and the second object can be a primary association (e.g., a colleague association) or a communication association (e.g., a friend association), or it can be a stranger association. When the association is a stranger association, please refer to the following text for the display interface of the terminal device 200a. Figure 6 The descriptions in the corresponding embodiments will not be elaborated here.
[0110] Understandable, Figure 2 The interfaces and controls shown are merely some forms of representation for reference. In actual business scenarios, developers can make relevant designs according to product requirements. This application does not limit the specific forms of the interfaces and controls involved.
[0111] As can be seen from the above, the embodiments of this application can generate a multimedia component associated with the association relationship in the first application after determining the association relationship between the first object and the second object, and return the multimedia component to the functional plugin so that the multimedia component can be displayed on the object page provided by the functional plugin. Therefore, not only can the object information of the first object in the first application be protected according to the association relationship between the first object and the second object, but also the first application can avoid sending the original data of the first object to the functional plugin through the multimedia component. That is, on the object page provided by the functional plugin, only the multimedia component containing the original data of the first object encapsulated by the first application is displayed, and the original data of the first object cannot be obtained.
[0112] Further, please see Figure 3 , Figure 3 This is a flowchart illustrating a data processing method provided in an embodiment of this application. This data processing method can be implemented by a business server (e.g., the one described above). Figure 1 The business server 100 shown can execute the service, or it can be executed by a terminal device (e.g., the one described above). Figure 1 The method can be executed by the terminal device 200a), or it can be executed interactively by the service server and the terminal device. For ease of understanding, this application embodiment uses the execution of the method by the terminal device as an example for illustration. Figure 3 As shown, the data processing method may include at least the following steps S101-S102.
[0113] Step S101: Display the plugin function page corresponding to the function plugin in the first application; the plugin function page includes target object information; the function plugin is provided by the second application.
[0114] Specifically, in the first application, a function configuration page for configuring function plugins is displayed; in response to configuration operations on function plugins in the function configuration page, a trigger control for the function plugin is displayed in the application function page of the first application; in response to trigger operations on the trigger control for the function plugin, the plugin function page corresponding to the function plugin is displayed in the first application.
[0115] For ease of understanding, this application uses an email plugin as an example in its embodiments; please refer to the examples below. Figure 4 , Figure 4 This is a schematic diagram of a data processing scenario provided in an embodiment of this application. For example... Figure 4 As shown, terminal device 200a can display function configuration page 40a, where function configuration page 40a refers to the page used to configure plugins in the first application. This application embodiment does not limit the type of plugin; it can be set according to the actual application scenario. This application embodiment uses an email plugin (i.e.,...) Figure 4 Email service), document plugin (i.e.) Figure 4 Document services in the document service), and meeting plugins (i.e. Figure 4 Example of a meeting service (as shown in the image). The feature configuration page 40a can display enable controls for enabling plugins, such as... Figure 4 The example shown includes an enable control 401a for enabling email services, an enable control 402a for enabling document services, and an enable control 403a for enabling meeting services.
[0116] When the second object triggers the enable control 401a, the terminal device 200a can respond to the trigger operation for the enable control 401a, that is, respond to the configuration operation for the function plugin (email plugin in this application example) in the function configuration page 40a, embed the email plugin into the first application, and can generate a trigger control corresponding to the email plugin. This trigger control can be displayed in the message page 40b of the first application (belonging to the application function page, the page used to display the message of the second object), such as... Figure 4 The message area 40c shown in the example can embed the trigger control, and the message area 40c can display the name of the email plugin, such as... Figure 4 The example "email alert" can display the email plugin's email icon, and can also display the sender of the latest received email and the subject of that latest received email for a second party, such as... Figure 4 The example sender is ddd, the subject is "Check-in Record", and the message area 40c can also display the receipt time of the most recently retrieved email, such as... Figure 4 The example received date is "2021.10.13". It is understood that the content in message area 40c can be set according to actual application scenarios, and this embodiment does not limit this.
[0117] If the second object triggers message area 40c, then terminal device 200a can display the plugin display page (e.g., Figure 4 The example email display page 40d); it is understood that the trigger control for the functional plugin can also be displayed on other pages in the first application. This application embodiment does not limit this, and can be set according to the actual application.
[0118] To facilitate the use of functional plugins by a second object, this application provides a method for setting trigger controls for functional plugins. Through this method, the second object can set trigger controls for functional plugins in the homepage toolbar 40e of the first application; that is, the homepage toolbar 40e of the first application can include trigger controls for functional plugins, such as... Figure 4 As shown; when the second object can trigger the trigger control for the email plugin (a functional plugin) in the homepage toolbar 40e, the terminal device 200a can display the email display page 40d corresponding to the email plugin. The email display page 40d can display the second object's identifier in the second application (functional plugin), for example... Figure 4The example email address is aaa@xxx.mmm. The email display page 40d can include the corresponding plugin toolbar 40f, which can include an all column (containing all received emails from the second object), an unread email column (containing unread emails from the second object), and an approval email column (containing emails approved by the second object). The email display page 40d can also include a search bar to allow the second object to search for emails. The email display page 40d can display emails in order of receipt time, such as... Figure 4 The example shows an email sent by object 333 (belonging to the first object) to indicate a request for something, and an email sent by object bbb (also belonging to the first object) to confirm the number of people attending the gathering. It's understandable that the content displayed on page 40d of the email display can be set according to the actual application scenario.
[0119] Please see again. Figure 4 The email display page 40d may include a function selection control 40g for selecting the function type (in this embodiment, this can be understood as email type). When the second object triggers the function selection control 40g, the terminal device 200a may display an email type list 40h. This email type list 40h may include an inbox, a selection control 401h corresponding to the inbox, an outbox, a selection control 402h corresponding to the outbox, a compose email option, and a selection control 403h corresponding to compose email. Figure 4 The example only shows the email display page 40d corresponding to the inbox. If the second object triggers the selection control 402h, the terminal device 200a can display the email display page for the outbox.
[0120] Furthermore, when the second object triggers the display of the email in the display area 40i for object 333, the terminal device 200a can respond to the triggering operation for the email display area 40i in the first application and display the above text. Figure 2 The email details page 20a is a plugin function page provided by the function plugin.
[0121] For the meanings of the first application, the second object, and the functional plugin, please refer to the above text. Figure 2 The description in the text will not be repeated here.
[0122] Understandable, Figure 4 The interfaces and controls shown are merely some forms of representation for reference. In actual business scenarios, developers can make relevant designs according to product requirements. This application does not limit the specific forms of the interfaces and controls involved.
[0123] Step S102: In response to the trigger operation for the target object information in the plugin function page, display the multimedia component corresponding to the target object information in the object page provided by the function plugin; the multimedia component is provided to the function plugin by the first application.
[0124] Specifically, the multimedia component includes a third display control; if the functional plugin does not have a response component configured, it responds to the trigger operation for the third display control and displays second object data including target object information in the object page provided by the first application; the second object data includes the content included in the multimedia component; if the functional plugin has a response component configured, it responds to the trigger operation for the third display control and displays operation data associated with the response component in the object page provided by the functional plugin.
[0125] It is understandable that the first application and the second application are two independent applications, therefore the object data corresponding to the first application and the second application (functional plugin) are also independent. When the first application embeds a functional plugin provided by the second application, the object data corresponding to the two can be related. For example, if the first application is an office application for an enterprise and the second application is an email application, then the object data corresponding to the first application can include the enterprise's employee information and employee contact information, while the object data corresponding to the email plugin can include emails and email contacts. The terminal device can display the plugin function page provided by the functional plugin in the first application, such as... Figure 2 The email details page 20a shown shows that when the second object (equivalent to) Figure 2 When the recipient in the message triggers the target object information on the plugin's function page, the terminal device can display the multimedia components provided to the function plugin by the first application on the object page provided by the function plugin, such as... Figure 2 The example illustrates a first multimedia component 20g determined by a first association relationship, and a second multimedia component 20j determined by a communication association relationship. For details regarding the specific process of generating the multimedia components and determining the association relationship between the first and second objects, please refer to the following text. Figure 8 The descriptions in the corresponding embodiments will not be elaborated here.
[0126] Please see again. Figure 2 It is understandable that the multimedia components (including the first multimedia component 20g and the second multimedia component 20j) only include a portion of the data of the first object in the first application. For example, neither the first multimedia component 20g nor the second multimedia component 20j includes the extension number entered by the first object in the first application. If the second object wants to view more complete data of the first object, it can trigger the third display control in the multimedia component. At this time, the terminal device 200a needs to detect the function plug-in (such as...). Figure 2Whether the email plugin in the first application is configured with a response component. If the plugin is not configured with a response component, then the response is to the trigger operation for the third display control. In the object page provided by the first application, the second object data including the target object information is displayed. The third display control may include the target display control 20d in the first multimedia component 20g and the first display control 20k in the second multimedia component 20j. For ease of understanding, let's refer to... Figure 2 Example of target display control 20d in the third display control description: When the functional plugin is not configured with a response component, the terminal device 200a can display the first object page 20h provided by the first application. At this time, the second object data can be equivalent to... Figure 2 The target object data in the middle.
[0127] It is understood that the functional plugin is provided by the second application. The first and second applications are two independent applications, but they can have data or functional associations. Therefore, the functional plugin in this embodiment has both association with the first application and independence. Thus, by detecting the functional plugin, the terminal device can provide expansion space for the functional plugin, making it easier to achieve independence when adding corresponding components to the functional plugin later. That is, the functional plugin can implement its own business functions in the first application. Therefore, by detecting the functional plugin, the terminal device has better compatibility.
[0128] Please see again. Figure 2 When the second object triggers the target display control 20d, and the function plugin configures the response component, the terminal device 200a can display an operation list 20p (equivalent to operation data) associated with the response component in the object page provided by the function plugin. The content of the operation list 20p is determined by the response component. In this embodiment, the operation data is exemplified by writing an email, copying, creating a new contact, and adding to an existing contact. It is understood that the response component can be any response function configured by the second application for the third display control, and this embodiment does not limit this.
[0129] The above description uses the target display control 20d as an example of the third display control. When the third display control is the first display control 20k, the processing procedure of the terminal device 200a is the same as described above, so it will not be repeated here. Figure 2 As shown, the response component for the first display control 20k can be the same as the response component for the target display control 20d; alternatively, the response component for the first display control 20k can also be different from the response component for the target display control 20d.
[0130] This application does not limit the relationship between the first object and the second object. It can be set according to the actual application scenario. If the first application is a social application, the second object can group the contact information used to represent contacts in the first application. In this case, the first relationship can be used to represent that the first object exists in the first object set created by the second object, that is, the first object is a contact of the second object and is tagged with a first set label. The first set label is the set label corresponding to the first object set. For example, if the first object set is a corporate colleague group or a corporate department group, then the first object is a colleague of the second object. The communication relationship can be used to represent that the first object exists in the second object set created by the second object, that is, the first object is a contact of the second object and is tagged with a second set label. The second set label is the set label corresponding to the second object set. For example, if the second object set is an external corporate group or an external corporate contact group, then the first object may be an external friend of the second object.
[0131] It is understood that, depending on the actual application, the relationship between the first object and the second object may also include additional relationships, and the relationship priority corresponding to the second relationship is greater than the relationship priority corresponding to the additional relationships. This application does not limit the number of additional relationships. An additional relationship can represent that the first object is a contact of the second object in the first application. Therefore, the relationship priority corresponding to the additional relationship is greater than the relationship priority corresponding to the stranger relationship. The relationship priority in the embodiments of this application can represent the social intimacy between the first object and the second object in the first application. In the first application, there may be multiple relationships between the first object and the second object. For example, there may be both a first relationship (e.g., a department colleague relationship) and a second relationship (e.g., a corporate colleague relationship) between the first object and the second object. In this case, the terminal device obtains the relationship priority corresponding to the first relationship and the relationship priority corresponding to the second relationship, compares the two relationship priorities, and determines the relationship with the highest relationship priority as the relationship between the first object and the second object.
[0132] The "unfamiliar association" can be used to characterize a situation where, in the first application, the first object is not a contact of the second object; that is, the second object has not added the first object as a contact in the first application. Since the first object has not added the second object in the first application, the first application does not contain object data for the second object. In this case, the multimedia component displayed on the object page provided by the functional plugin can be generated by the main program of the first application based on data associated with the target object information sent by the functional plugin, and the multimedia component corresponding to the unfamiliar association only contains the data sent by the functional plugin. Optionally, after the main program determines that the association between the first object and the second object is an unfamiliar association, it can return the unfamiliar association to the functional plugin. At this time, the functional plugin generates a multimedia component based on its own object data associated with the second object.
[0133] If the relationship between the first object and the second object is an unfamiliar relationship, meaning they are not contacts in the first application, then the multimedia component is an unfamiliar multimedia component. An unfamiliar multimedia component may not include a third display control. Therefore, when the second object triggers the multimedia component corresponding to the unfamiliar relationship (i.e., the unfamiliar multimedia component), the terminal device may not respond to the operation. Optionally, the unfamiliar multimedia component may include a third display control, which is equivalent to the second display control provided by the functional plugin. When the second object triggers the second display control, the terminal device can display a list of functions associated with the functional plugin on the display page provided by the functional plugin. Please also refer to... Figure 5 , Figure 5 This is a flowchart illustrating a data processing method provided in an embodiment of this application. Figure 5As shown, the terminal device displays a multimedia component on an object page provided by a functional plugin. This multimedia component may include a third display control. If the association between the first object and the second object is a first association, then the multimedia component on the object page is the first multimedia component, and the third display control is equivalent to the target display control provided by the first application. If the association between the first object and the second object is a communication association, then the multimedia component on the object page is a communication multimedia component, and the third display control is the first display control provided by the first application. If the association between the first object and the second object is an unfamiliar association, then the multimedia component on the object page is an unfamiliar multimedia component, and the third display control is the second display control provided by the functional plugin. Furthermore, in response to a trigger operation on the third display control, the terminal device checks whether the functional plugin is configured with a response component. If the functional plugin is configured with a response component, the response component is invoked, and the operation data corresponding to the response component is displayed. If the functional plugin is not configured with a response component, the terminal device checks whether the first object is a contact of the second object in the first application. If the first object is a contact of the second object in the first application, for example, if the first object and the second object have a first association relationship or a communication association relationship, the second object data is displayed. When the first object and the second object have a first association relationship, the second object data is equivalent to the aforementioned target object data; when the first object and the second object have a communication association relationship, the second object data is equivalent to the first object data. If the first object is not a contact of the second object in the first application, for example, if the first object and the second object have an unfamiliar association relationship, the terminal device displays a list of functions associated with the functional plugin.
[0134] As can be seen from the above, in the embodiments of this application, the terminal device can display the object page provided by the functional plug-in, and the object page can display the multimedia components provided by the first application. Therefore, by adopting this application, on the one hand, the display effect of the functional plug-in can be improved in the first application; on the other hand, since the first application does not directly provide the original data of the first object to the functional plug-in, but encapsulates the original data of the first object to generate multimedia components, and then provides the multimedia components to the functional plug-in, the security of the original data of the first object can be improved.
[0135] Please see Figure 6 , Figure 6 This is a flowchart illustrating a data processing method provided in an embodiment of this application. The method can be implemented by a business server (e.g., the one described above). Figure 1 The business server 100 shown can execute the service, or it can be executed by a terminal device (e.g., the one described above). Figure 1The method can be executed by the terminal device 200a), or it can be executed interactively by the service server and the terminal device. For ease of understanding, this application embodiment uses the execution of the method by the terminal device as an example for illustration. Figure 6 As shown, the method may include at least the following steps.
[0136] Step S201: Display the plugin function page corresponding to the function plugin in the first application; the plugin function page includes target object information; the function plugin is provided by the second application.
[0137] For the specific implementation process of step S201, please refer to the above text. Figure 3 Step S101 in the corresponding embodiment will not be described in detail here.
[0138] Step S202: In response to the trigger operation for the target object information in the plugin function page, in the first application, determine the association between the first object and the second object identifier.
[0139] For the specific implementation process of step S202, please refer to the above text. Figure 2 The description in the corresponding embodiments or below Figure 8 Step S304 in the corresponding embodiment will not be described in detail here.
[0140] Step S203: When the association between the first object and the second object in the first application is a first association relationship, a first multimedia component including target object information is displayed on the first object page provided by the functional plugin; the first object refers to the object associated with the target object information in the second application; the second object refers to the object that performs the trigger operation on the target object information; the first multimedia component is provided to the functional plugin by the first application.
[0141] Step S204: When the association between the first object and the second object in the first application is a second association relationship, a second multimedia component including target object information is displayed on the second object page provided by the functional plugin; the relationship priority corresponding to the first association relationship is greater than the relationship priority corresponding to the second association relationship; the amount of content data included in the first multimedia component is greater than the amount of content data included in the second multimedia component; the second multimedia component is provided to the functional plugin by the first application.
[0142] Specifically, the second association relationship includes a communication association relationship; the second multimedia component includes a communication multimedia component corresponding to the communication association relationship; when the association relationship between the first object and the second object is a communication association relationship in the first application, the communication multimedia component, which includes target object information and communication object information associated with the communication association relationship, is displayed on the second object page provided by the functional plugin.
[0143] The communication multimedia component includes a first display control; in response to a trigger operation on the first display control, it displays first object data for the first object determined by the communication relationship on the object details page provided by the first application; the first object data includes the content included in the communication multimedia component.
[0144] Specifically, the second association relationship includes unfamiliar association relationships; the second multimedia component includes unfamiliar multimedia components corresponding to unfamiliar association relationships; when the association relationship between the first object and the second object is an unfamiliar association relationship in the first application, an unfamiliar multimedia component including target object information is displayed on the second object page provided by the functional plugin; wherein, the first association relationship includes communication association relationships, and the relationship priority corresponding to the communication association relationship is greater than the relationship priority corresponding to the unfamiliar association relationship.
[0145] If the second object page does not include the second display control provided by the functional plugin, then in response to the trigger operation for the unfamiliar multimedia component, a viewing failure message is displayed on the prompt page provided by the functional plugin; the viewing failure message is used to indicate that the first object and the second object are in an unfamiliar relationship; if the second object page includes the second display control provided by the functional plugin, then in response to the trigger operation for the second display control, a list of functions associated with the functional plugin is displayed on the display page provided by the functional plugin.
[0146] Based on steps S203-S204, when the association between the first object and the second object in the first application is a first association relationship or a communication association relationship, the display interface of the terminal device is as described above. Figure 2 as well as Figure 3 The description in the text will not be repeated here.
[0147] Please see also Figure 7 , Figure 7 This is a schematic diagram illustrating a data processing scenario as described in an embodiment of this application. For example... Figure 7As shown, terminal device 200a can display target object information on email details page 20a. When the second object triggers the target object information, terminal device 200a can respond to the triggering operation of the target object information on email details page 20a, confirming the association between the first object and the second object. When the association between the first object and the second object is an unfamiliar association, that is, the object data corresponding to the second object in the first application does not include the first object identifier and the target object information, the main program of the first application generates an unfamiliar multimedia component 60b for the unfamiliar association based on the target object information sent by the functional plugin. Therefore, terminal device 200a displays the unfamiliar multimedia component 60b on the second object page 60a provided by the functional plugin. It can be understood that the unfamiliar multimedia component 60b generated by the first application does not include the display control used to display the original data of the first object, because the first application does not contain the object data of the first object.
[0148] Please see again. Figure 7 When the second object triggers the unfamiliar multimedia component 60b, the terminal device 200a can display viewing failure information on the prompt page 60d provided by the function plugin, such as... Figure 7 The example message "Currently do not have permission to view information, please add bbb as a contact" illustrates this. When the second object triggers the second display control 60c provided by the function plugin, the terminal device 200a can display a function list 60e associated with the function plugin on the display page provided by the function plugin. In this embodiment, the second application is set as an email application, and the function plugin is an email plugin. At this time, the function list 60e can include the following functions: composing an email, viewing related emails (e.g., historical emails between the first and second objects), creating a new contact, and adding to an existing contact. It is understood that the functions in the function list 60e can be set according to the actual application scenario.
[0149] Understandable, Figure 7 The interfaces and controls shown are merely some forms of representation for reference. In actual business scenarios, developers can make relevant designs according to product requirements. This application does not limit the specific forms of the interfaces and controls involved.
[0150] Optionally, when the functional plugin receives the multimedia component returned by the main program of the first application, it can further configure the multimedia component, including specifying display fields and setting response functions (i.e., response components). If the first object is a contact of the second object in the first application (i.e., there is a first association or communication association between the first object and the second object), then when the second object triggers the multimedia component, the second object's data, i.e., the detailed information of the first object in the first application, will be displayed by default. If the first object is not a contact of the second object in the first application, for example, if there is an unfamiliar association between the two, then when the second object triggers the multimedia component, the terminal device will not respond, or will prompt that the second object does not have permission to view the first object's information. In addition, if the functional plugin is configured with a response component, then when the second object triggers the multimedia component, the functional plugin will call the response component to provide a list of functions.
[0151] In this embodiment, by responding to a trigger operation on the target object information in the plugin's functional page, the computer device can display a multimedia component corresponding to the target object information in the object page provided by the functional plugin. The functional plugin is provided by a second application different from the first application, and the multimedia component is provided to the functional plugin by the first application. As described above, the computer device can display the object page provided by the functional plugin, and this object page can display the multimedia component provided by the first application. Therefore, by adopting this application, on the one hand, the display effect of the functional plugin can be improved in the first application; on the other hand, since the first application does not directly provide the original data of the first object to the functional plugin, but instead encapsulates the original data of the first object to generate a multimedia component, and then provides the multimedia component to the functional plugin, the security of the original data of the first object can be improved.
[0152] Please see Figure 8 , Figure 8 This is a flowchart illustrating a data processing method provided in an embodiment of this application. The method can be implemented by a business server (e.g., the one described above). Figure 1 The business server 100 shown can execute the service, or it can be executed by a terminal device (e.g., the one described above). Figure 1 The method can be executed by the terminal device 200a), or it can be executed interactively by the service server and the terminal device. For ease of understanding, this application embodiment uses the execution of the method by the terminal device as an example for illustration. Figure 8 As shown, the method may include at least the following steps.
[0153] Step S301: Display the plugin function page corresponding to the function plugin in the first application; the plugin function page includes target object information; the function plugin is provided by the second application.
[0154] For the specific implementation process of step S301, please refer to the above text. Figure 3Step S101 in the corresponding embodiment will not be described in detail here.
[0155] Step S302: In response to the trigger operation for the target object information in the plugin function page, a data acquisition request for the target object information is sent to the main program in the first application through the function plugin.
[0156] Specifically, the terminal device responds to a trigger operation targeting the target object information in the functional plugin, obtains the first object identifier of the first object corresponding to the target object information in the functional plugin, and this first object identifier can uniquely identify the first object in the second application. A data retrieval request containing the first object identifier is then generated. The terminal device, through the functional plugin, sends the data retrieval request carrying the first object identifier to the main program in the first application.
[0157] Step S303: In the main program, according to the data acquisition request, obtain a set of A objects corresponding to the second object; A is a positive integer; the second object refers to the object that performs the trigger operation on the target object information.
[0158] Specifically, in the main program, the terminal device can obtain a set of A objects corresponding to the second object according to the data acquisition request. Each object in the set of objects has a first association relationship or communication association relationship with the second object. For ease of understanding, this application embodiment takes the first application example as an office application of an enterprise. Then, each department in the enterprise can be exemplified as a set of A objects, such as Enterprise Department 1, Enterprise Department 2, etc.
[0159] Step S304: Determine the association between the first object and the second object based on the first object and the A object sets; the first object refers to the object associated with the target object information in the second application.
[0160] Specifically, within a set of A objects, obtain B sets of objects that have a belonging relationship with the first object; the belonging relationship is used to characterize that all B sets of objects include the first object; B is a positive integer less than or equal to A; obtain the set labels corresponding to each of the B sets of objects; where a set label is used to characterize the association relationship between an object set and the first object; based on the B set labels, determine the association relationship between the first object and the second object; if there is no set of objects in the set of A objects that has a belonging relationship with the first object, then the unfamiliar association relationship is determined as the association relationship between the first object and the second object.
[0161] The specific process of determining the association between the first object and the second object based on B set labels may include: if B equals 1, then determine the association between the first object and the second object based on the set labels; if B is a positive integer greater than 1, then render the B set labels through the main program to obtain a set label component; the set label component includes selection controls corresponding to the B set labels respectively; obtain the set label component returned by the main program through a function plugin, create a selection page through the function plugin, and display the set label component on the selection page; respond to the trigger operation for the selection control in the set label component, determine the triggered selection control as the target selection control, and determine the association between the first object and the second object based on the set label corresponding to the target selection control;
[0162] Specifically, from the relational logic rules encapsulated in the main program, obtain the relational priorities corresponding to B set labels respectively; among the B set labels, determine the set label with the highest relational priority as the target set label; based on the target set label, determine the association relationship between the first object and the second object.
[0163] Understandably, in the first application, all objects in the A object sets are contact objects of the second object, such as colleagues or friends. The terminal device obtains the contact object identifier for each contact object in the functional plugin. Similarly, a contact object identifier can uniquely identify a contact object in the second application. Furthermore, the terminal device matches the contact object identifier corresponding to each contact object with the identifier of the first object. If the contact object identifiers corresponding to the A object sets are all different from the identifier of the first object, the terminal device can determine that there is no object set in the A object sets that has a belonging relationship with the first object. That is, the first object is not a contact object of the second object in the first application. Therefore, the terminal device can determine that the relationship between the first object and the second object is an unfamiliar relationship.
[0164] If, within the set of A objects, there exists a set of objects that includes a contact object identifier identical to the first object identifier, then that set of objects with the same contact object identifier as the first object is determined to be the set of objects with an attribution relationship to the first object. For example, the set of A objects may include a first object set and a second object set. The first contact object identifier of the first contact object in the first object set is equivalent to the first object identifier. Therefore, the terminal device can determine the first object set as the set of objects with an attribution relationship to the first object. Thus, the terminal device can obtain B sets of objects with an attribution relationship to the first object from the set of A objects.
[0165] Furthermore, the terminal device obtains the set tags corresponding to the aforementioned B object sets respectively. It can be understood that the set tags can represent the relationship between the first object and the second object. For example, if the first object set includes the first object, and the set tag corresponding to the first object set (referred to as the first set tag) is "Enterprise Department 1", then the relationship between the first object and the second object can be a colleague relationship. Optionally, if the second object is also in the first object set, then the relationship between the first object and the second object can be a colleague relationship within the same department. Optionally, if the second object is in the enterprise administration department (not belonging to the first object set), then the relationship between the first object and the second object can be a colleague relationship across departments. It can be understood that the above description is for ease of understanding of the relationship. In actual application, the relationship can be set according to the scenario, and this application embodiment does not limit this.
[0166] If B equals 1, meaning that among the A object sets, only one object set (designated as the first object set) includes the first object, then the terminal device can determine the association between the first object and the second object in the first application based on the first set label corresponding to the first object set. If B is a positive integer greater than 1, meaning that among the A object sets, multiple object sets include the first object, then the terminal device renders the B set labels in the main program to obtain the set label component. Through the functional plugin, the terminal device can obtain the collection label component returned by the main program and create a selection page through the functional plugin. Furthermore, the terminal device can display the collection label component on the selection page. This collection label component can include a selection control corresponding to each collection label. For example, B collection labels include a first collection label (i.e., the collection label corresponding to the first object collection) and a second collection label (i.e., the collection label corresponding to the second object collection). When the second object selects the selection control corresponding to the second collection label, the terminal device can respond to the trigger operation for the selection control corresponding to the second collection label, determine the selection control corresponding to the second collection label as the target selection control, and determine the association relationship between the first object and the second object based on the collection label corresponding to the target selection control (i.e., the second collection label). This method of determining the association relationship between the first object and the second object is performed in the functional plugin. Therefore, in step S104, through the functional plugin, the terminal device sends the association relationship between the first object and the second object to the main program so that the main program can generate a multimedia component based on the above association relationship.
[0167] Optionally, when there are multiple sets of objects that have a belonging relationship with the first object, the terminal device obtains the relationship priorities corresponding to the multiple set tags from the relationship logic rules encapsulated in the main program. For example, if the multiple set tags include the first object tag and the second object tag, and the relationship priority corresponding to the first object tag (e.g., the colleague tag) is greater than the relationship priority corresponding to the second object tag (e.g., the external friend tag), then the terminal device determines the association relationship between the first object and the second object in the main program based on the first object tag, such as a colleague relationship.
[0168] Optionally, the terminal device obtains the relationship priorities corresponding to A set tags from the relationship logic rules encapsulated in the main program. Among the A set objects, it selects the set object with the highest relationship priority as the target set object. It then obtains the contact object identifiers of the contact objects within the target set object and matches them with the first object identifier. If a contact object identifier exists for the target set that is identical to the first object identifier, the set tag corresponding to the target set (i.e., the set object with the highest relationship priority) is determined as the target set tag. Based on the target set tag, the terminal device determines the association relationship between the first and second objects. If no contact object identifier exists for the target set that is identical to the first object identifier, the set object with the second relationship priority is selected from the A set objects and used as the new target set object. The subsequent process is consistent with the process described above and will not be repeated. If none of the A set objects have an object set with a belonging relationship to the first object identifier, the terminal device can determine the unfamiliar association relationship as the association relationship between the first and second objects in the main program.
[0169] Step S305: Generate a multimedia component based on the association between the first object and the second object.
[0170] Specifically, through the functional plugin, the association between the first object and the second object is sent to the main program; in the main program, a multimedia component is generated based on the association between the first object and the second object.
[0171] Specifically, the main program retrieves the view container template corresponding to the association relationship configured by the functional plugin; the view container template includes M view sub-components; the M view sub-components include view sub-component C. d d is a positive integer, and d is less than or equal to M; based on the association relationship, obtain the multimedia data set for the first object in the first application; in the multimedia data set, obtain the data related to the view sub-component C. d Multimedia data E that matches the corresponding sub-component type d According to multimedia data E dFor view subcomponent C d Rendering is performed, and when all M view sub-components have finished rendering, the multimedia component corresponding to the view container template is obtained.
[0172] Among them, according to multimedia data E d For view subcomponent C d The specific rendering process may include: obtaining the data type filtering information configured for the first application by the management object corresponding to the second object; if the data type filtering information includes view sub-component C d The corresponding child component type will be the same as the view child component C. d The system configuration data that matches the corresponding sub-component type is rendered to the view sub-component C. d If the data type filtering information does not include the view subcomponent C d The corresponding sub-component type will then use multimedia data E d Rendered to view child component C d .
[0173] The functional plugin can call the interface provided by the main program of the first application to request the creation of a multimedia component for the first object. This interface can receive data acquisition requests carrying the identifier of the first object and the view container template corresponding to the association relationship.
[0174] Step S306: Obtain the multimedia components returned by the main program through the function plugin, create an object page through the function plugin, and display the multimedia components corresponding to the target object information on the object page.
[0175] This step can be found in the text above. Figure 2 as well as Figure 6 The corresponding embodiments are described in detail here and will not be repeated. Please refer to them together. Figure 9 , Figure 9 This is a flowchart illustrating a data processing method provided in an embodiment of this application. Figure 9As shown, in step S1, the functional plugin requests the creation of a multimedia component for the first object; in step S2, the main program obtains the identifier of the first object, obtains the object set of the second object in the first application, and queries the object set based on the identifier of the first object; in step S3, the main program confirms whether the first object is a contact object of the second object in the first application. If the first object is not a contact object of the second object in the first application, then step S4 is executed; if the first object is a contact object of the second object in the first application, then step S5 is executed; in step S4, the relationship between the first object and the second object is determined to be an unfamiliar relationship, an unfamiliar multimedia component is generated based on the target object information, the unfamiliar multimedia component is returned to the functional plugin, and step S9 is executed; in step S5, the main program further determines the relationship between the first object and the second object. If the relationship (e.g., a communication relationship) is not the first relationship... If the relationship is a colleague relationship, then proceed to step S6. If the relationship is the first relationship, then proceed to step S7. In step S6, the main program obtains the object information for the first object associated with the communication relationship, generates a communication multimedia component, returns the communication multimedia component to the functional plug-in, and proceeds to step S9. In step S7, the main program obtains data type filtering information and obtains the object information for the first object associated with the first relationship. In step S8, based on the data type filtering information and the object information for the first object associated with the first relationship, the main program generates the first multimedia component, returns the first multimedia component to the functional plug-in, and proceeds to step S9. In step S9, the functional plug-in configures the multimedia component, for example, by configuring a response component for the multimedia component or by configuring a third display control for unfamiliar relationships. In step S10, the multimedia component is displayed on the plug-in function page.
[0176] In this application, the main program does not expose the data acquisition interface of the original data of the first object. Instead, it provides the encapsulated data to the functional plugin in the form of a multimedia component. The functional plugin can embed the multimedia component into the plugin's functional page. Therefore, the terminal device can protect the data security of the first object while ensuring that the display effect of the multimedia component in the functional plugin is consistent with that of the main program.
[0177] In this embodiment, by responding to a trigger operation on the target object information in the plugin's functional page, the computer device can display a multimedia component corresponding to the target object information in the object page provided by the functional plugin. The functional plugin is provided by a second application different from the first application, and the multimedia component is provided to the functional plugin by the first application. As described above, the computer device can display the object page provided by the functional plugin, and this object page can display the multimedia component provided by the first application. Therefore, by adopting this application, on the one hand, the display effect of the functional plugin can be improved in the first application; on the other hand, since the first application does not directly provide the original data of the first object to the functional plugin, but instead encapsulates the original data of the first object to generate a multimedia component, and then provides the multimedia component to the functional plugin, the security of the original data of the first object can be improved.
[0178] Further, please see Figure 10 , Figure 10 This is a schematic diagram of the structure of a data processing apparatus provided in an embodiment of this application. The aforementioned data processing apparatus can be a computer program (including program code) running on a computer device; for example, the data processing apparatus is application software. This apparatus can be used to execute corresponding steps in the methods provided in the embodiments of this application. Figure 10 As shown, the data processing device 1 may include a first display module 11 and a second display module 12.
[0179] The first display module 11 is used to display the plugin function page corresponding to the function plugin in the first application; the plugin function page includes target object information; the function plugin is provided by the second application.
[0180] The second display module 12 is used to respond to the trigger operation of the target object information in the plugin function page, and to display the multimedia component corresponding to the target object information in the object page provided by the function plugin; the multimedia component is provided to the function plugin by the first application.
[0181] The specific functional implementation methods of the first display module 11 and the second display module 12 can be found in the above description. Figure 3 Steps S101-S102 in the corresponding embodiment will not be described again here.
[0182] Please see again Figure 10 The object page includes a first object page or a second object page; the multimedia component includes a first multimedia component or a second multimedia component.
[0183] The second display module 12 may include a first display unit 121 and a second display unit 122.
[0184] The first display unit 121 is configured to display a first multimedia component including target object information on the first object page provided by the functional plug-in when the association relationship between the first object and the second object is a first association relationship in the first application; the first object refers to the object associated with the target object information in the second application; the second object refers to the object that performs the trigger operation on the target object information.
[0185] The second display unit 122 is used to display a second multimedia component including target object information on the second object page provided by the functional plug-in when the association relationship between the first object and the second object is a second association relationship in the first application; the relationship priority corresponding to the first association relationship is greater than the relationship priority corresponding to the second association relationship; and the amount of content data included in the first multimedia component is greater than the amount of content data included in the second multimedia component.
[0186] The specific functional implementation methods of the first display unit 121 and the second display unit 122 can be found in the above description. Figure 2 The descriptions in the corresponding embodiments will not be repeated here.
[0187] Please see again Figure 10 The second association includes a communication association; the second multimedia component includes a communication multimedia component corresponding to the communication association.
[0188] The second display unit 122 is specifically used to display a communication multimedia component, including target object information and communication object information associated with the communication relationship, on the second object page provided by the functional plug-in when the association relationship between the first object and the second object is a communication association relationship in the first application.
[0189] The communication multimedia component includes a first display control;
[0190] The data processing device 1 may further include a third display module 13.
[0191] The third display module 13 is used to respond to a trigger operation on the first display control and display the first object data for the first object determined by the communication association in the object details page provided by the first application; the first object data includes the content included in the communication multimedia component.
[0192] The specific functional implementation methods of the second display unit 122 and the third display module 13 can be found in the above description. Figure 2 The descriptions in the corresponding embodiments will not be repeated here.
[0193] Please see again Figure 10The second association includes unfamiliar associations; the second multimedia component includes unfamiliar multimedia components corresponding to unfamiliar associations.
[0194] The second display unit 122 is specifically used to display an unfamiliar multimedia component including target object information on the second object page provided by the functional plug-in when the association relationship between the first object and the second object is an unfamiliar association relationship in the first application; wherein the first association relationship includes a communication association relationship, and the relationship priority corresponding to the communication association relationship is greater than the relationship priority corresponding to the unfamiliar association relationship.
[0195] The data processing device 1 may further include a fourth display module 14 and a fifth display module 15.
[0196] The fourth display module 14 is used to respond to the trigger operation for the unfamiliar multimedia component if the second object page does not include the second display control provided by the functional plugin, and display the viewing failure information in the prompt page provided by the functional plugin; the viewing failure information is used to indicate that the first object and the second object are in an unfamiliar relationship.
[0197] The fifth display module 15 is used to respond to a trigger operation on the second display control if the second object page includes a second display control provided by the function plugin, and display a list of functions associated with the function plugin in the display page provided by the function plugin.
[0198] The specific functional implementation methods of the second display unit 122, the fourth display module 14, and the fifth display module 15 can be found in the above description. Figure 6 Step S204 in the corresponding embodiment will not be described again here.
[0199] Please see again Figure 10 The multimedia component includes a third display control;
[0200] The data processing device 1 may further include a sixth display module 16 and a seventh display module 17.
[0201] The sixth display module 16 is used to respond to the trigger operation of the third display control if the functional plug-in is not configured with a response component, and to display second object data including target object information in the object page provided by the first application; the second object data includes the content included in the multimedia component;
[0202] The seventh display module 17 is used to respond to the trigger operation of the third display control if the function plugin is configured to respond to the response component, and to display the operation data associated with the response component in the object page provided by the function plugin.
[0203] The specific functional implementation methods of the sixth display module 16 and the seventh display module 17 can be found in the above description. Figure 3 Step S102 in the corresponding embodiment will not be described again here.
[0204] Please see again Figure 10 The first display module 11 may include: a third display unit 111, a fourth display unit 112 and a fifth display unit 113.
[0205] The third display unit 111 is used to display a function configuration page for configuring function plugins in the first application;
[0206] The fourth display unit 112 is used to respond to configuration operations for the function plugins in the function configuration page and to display trigger controls for the function plugins in the application function page of the first application.
[0207] The fifth display unit 113 is used to respond to the trigger operation of the trigger control for the functional plug-in and display the plug-in function page corresponding to the functional plug-in in the first application.
[0208] The specific functional implementation methods of the third display unit 111, the fourth display unit 112, and the fifth display unit 113 can be found in the above description. Figure 3 Step S101 in the corresponding embodiment will not be described again here.
[0209] Please see again Figure 10 The second display module 12 may include: a request sending unit 123, a component generation unit 124, and a sixth display unit 125.
[0210] The request sending unit 123 is used to respond to the trigger operation for the target object information in the plugin function page, and send a data acquisition request for the target object information to the main program in the first application through the function plugin.
[0211] The component generation unit 124 is used to generate data through the main program to obtain the requested multimedia component;
[0212] The sixth display unit 125 is used to obtain the multimedia components returned by the main program through the function plug-in, create an object page through the function plug-in, and display the multimedia components corresponding to the target object information in the object page.
[0213] The specific functional implementation methods of the request sending unit 123, the component generation unit 124, and the sixth display unit 125 can be found in the above description. Figure 8 Steps S302-S306 in the corresponding embodiment will not be described again here.
[0214] Please see again Figure 10The component generation unit 124 may include: a set acquisition subunit 1241, a relationship determination subunit 1242, and a component generation subunit 1243.
[0215] The collection retrieval subunit 1241 is used in the main program to retrieve a set of A objects corresponding to the second object based on the data retrieval request; A is a positive integer; the second object refers to the object that performs the trigger operation on the target object information;
[0216] The relationship determination subunit 1242 is used to determine the association relationship between the first object and the second object based on the first object and A sets of objects; the first object refers to the object associated with the target object information in the second application;
[0217] The component generation subunit 1243 is used to generate multimedia components based on the association between the first object and the second object.
[0218] The specific functional implementation methods of the set acquisition subunit 1241, the relationship determination subunit 1242, and the component generation subunit 1243 can be found above. Figure 8 Steps S303-S305 in the corresponding embodiment will not be described again here.
[0219] Please see again Figure 10 The relationship determination subunit 1242 may include: a first acquisition subunit 12421, a second acquisition subunit 12422, a first determination subunit 12423, and a second determination subunit 12424.
[0220] The first acquisition subunit 12421 is used to acquire B sets of objects that have a belonging relationship with the first object from A sets of objects; the belonging relationship is used to indicate that all B sets of objects include the first object; B is a positive integer less than or equal to A;
[0221] The second acquisition subunit 12422 is used to acquire the set labels corresponding to the B object sets respectively; wherein, a set label is used to represent the association relationship between an object set and the first object;
[0222] The first determining subunit 12423 is used to determine the association between the first object and the second object based on B set labels;
[0223] The second determining subunit 12424 is used to determine the unfamiliar association relationship as the association relationship between the first object and the second object if there is no set of objects in the A sets of objects that has a belonging relationship with the first object.
[0224] The specific functional implementation methods of the first acquisition subunit 12421, the second acquisition subunit 12422, the first determination subunit 12423, and the second determination subunit 12424 can be found above. Figure 8 Step S304 in the corresponding embodiment will not be described again here.
[0225] Please see again Figure 10 The first determining subunit 12423 is specifically used to determine the association between the first object and the second object based on the set label if B equals 1.
[0226] The first determining subunit 12423 is also specifically used to render the B collection labels through the main program if B is a positive integer greater than 1, to obtain a collection label component; the collection label component includes selection controls corresponding to the B collection labels respectively;
[0227] The first determining subunit 12423 is also specifically used to obtain the collection label component returned by the main program through the function plug-in, create a selection page through the function plug-in, and display the collection label component in the selection page;
[0228] The first determining subunit 12423 is also specifically used to respond to the triggering operation of the selection control in the collection label component, determine the triggered selection control as the target selection control, and determine the association relationship between the first object and the second object according to the collection label corresponding to the target selection control;
[0229] The component generates subunit 1243, which is specifically used to send the association relationship between the first object and the second object to the main program through the functional plugin;
[0230] The component generation subunit 1243 is also specifically used in the main program to generate multimedia components based on the association between the first object and the second object.
[0231] The specific functional implementation methods of the first determining subunit 12423 and the component generating subunit 1243 can be found in the above description. Figure 8 Step S304 in the corresponding embodiment will not be described again here.
[0232] Please see again Figure 10 The first determining subunit 12423 is specifically used to obtain the relation priorities corresponding to the B set labels from the relation logic rules encapsulated in the main program;
[0233] The first determining subunit 12423 is also specifically used to determine the set label with the highest relational priority among B set labels as the target set label;
[0234] The first determining subunit 12423 is also specifically used to determine the association between the first object and the second object based on the target set label.
[0235] The specific functional implementation of the component generation subunit 1243 can be found in the above description. Figure 8 Step S304 in the corresponding embodiment will not be described again here.
[0236] Please see again Figure 10 The component generation subunit 1243 may include: a third acquisition subunit 12431, a fourth acquisition subunit 12432, a fifth acquisition subunit 12433, and a third determination subunit 12434.
[0237] The third acquisition subunit 12431 is used to acquire, through the main program, the view container template configured by the functional plugin and corresponding to the association relationship; the view container template includes M view sub-components; the M view sub-components include view sub-component C. d d is a positive integer, and d is less than or equal to M;
[0238] The fourth acquisition subunit 12432 is used to acquire a set of multimedia data for the first object in the first application based on the association relationship;
[0239] The fifth acquisition sub-unit 12433 is used to acquire data from the multimedia data set related to the view sub-component C. d Multimedia data E that matches the corresponding sub-component type d ;
[0240] The third determining subunit 12434 is used to determine the multimedia data E. d For view subcomponent C d Rendering is performed, and when all M view sub-components have finished rendering, the multimedia component corresponding to the view container template is obtained.
[0241] The specific functional implementation methods of the third acquisition subunit 12431, the fourth acquisition subunit 12432, the fifth acquisition subunit 12433, and the third determination subunit 12434 can be found above. Figure 8 Step S305 in the corresponding embodiment will not be described again here.
[0242] Please see again Figure 10 The third determining subunit 12434 is specifically used to obtain the data type filtering information configured by the management object corresponding to the second object for the first application;
[0243] The third determining subunit 12434 is also specifically used if the data type filtering information includes the view subcomponent C. d The corresponding child component type will be the same as the view child component C.d The system configuration data that matches the corresponding sub-component type is rendered to the view sub-component C. d ;
[0244] The third determining subunit 12434 is also specifically used if the data type filtering information does not include the view subcomponent C. d The corresponding sub-component type will then use multimedia data E d Rendered to view child component C d .
[0245] The specific functional implementation of the third determining subunit 12434 can be found above. Figure 8 Step S305 in the corresponding embodiment will not be described again here.
[0246] In this embodiment, by responding to a trigger operation on the target object information in the plugin's functional page, the computer device can display a multimedia component corresponding to the target object information in the object page provided by the functional plugin. The functional plugin is provided by a second application different from the first application, and the multimedia component is provided to the functional plugin by the first application. As described above, the computer device can display the object page provided by the functional plugin, and this object page can display the multimedia component provided by the first application. Therefore, by adopting this application, on the one hand, the display effect of the functional plugin can be improved in the first application; on the other hand, since the first application does not directly provide the original data of the first object to the functional plugin, but instead encapsulates the original data of the first object to generate a multimedia component, and then provides the multimedia component to the functional plugin, the security of the original data of the first object can be improved.
[0247] Further, please see Figure 11 , Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 11 As shown, the computer device 1000 may include: at least one processor 1001, such as a CPU; at least one network interface 1004; a user interface 1003; a memory 1005; and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and a keyboard. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk drive. Optionally, the memory 1005 may also be at least one storage device located remotely from the aforementioned processor 1001. Figure 11As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.
[0248] exist Figure 11 In the computer device 1000 shown, the network interface 1004 provides network communication functionality; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0249] The first application displays the plugin function page corresponding to the plugin; the plugin function page includes target object information; the plugin is provided by the second application.
[0250] In response to a trigger operation targeting the target object information in the plugin's function page, the multimedia component corresponding to the target object information is displayed on the object page provided by the function plugin; the multimedia component is provided to the function plugin by the first application.
[0251] It should be understood that the computer device 1000 described in the embodiments of this application can execute the foregoing text. Figure 3 , Figure 6 ,as well as Figure 8 The description of the data processing method in the corresponding embodiments can also be performed as described above. Figure 10 The description of the data processing device 1 in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated here.
[0252] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions that are executed by a processor. Figure 3 , Figure 6 ,as well as Figure 8 For details on the data processing methods provided in each step, please refer to the above. Figure 3 , Figure 6 ,as well as Figure 8 The implementation methods provided for each step will not be elaborated here. Furthermore, the beneficial effects of using the same method will also not be described in detail.
[0253] The aforementioned computer-readable storage medium can be an internal storage unit of the data processing apparatus or computer device provided in any of the foregoing embodiments, such as a 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 and external storage units 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.
[0254] 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 the aforementioned... Figure 3 , Figure 6 ,as well as Figure 8 The description of the data processing method in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.
[0255] 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.
[0256] 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 the various examples have been generally described in terms of functionality in the foregoing description. 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.
[0257] The methods and related apparatuses 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 flowchart and / or structural diagram, as well as combinations of blocks in the flowchart and / or block diagram, 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 data processing device to create a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, generate instructions for implementing the process. Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data 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, which are implemented in a process Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data 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, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 A process or multiple processes and / or structures illustrate the steps of the functions specified in one or more boxes.
[0258] 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 data processing method, characterized in that, include: The first application displays the plugin function page corresponding to the function plugin; the plugin function page includes target object information; the function plugin is provided by the second application. In response to a trigger operation targeting the target object information in the plugin's function page, the plugin sends a data acquisition request for the target object information to the main program in the first application. In the main program, based on the data acquisition request, a set of A objects corresponding to the second object is obtained; A is a positive integer; the second object refers to the object that performs the trigger operation on the target object information; From the A sets of objects, obtain B sets of objects that have an attribution relationship with the first object; the attribution relationship is used to indicate that all B sets of objects include the first object; B is a positive integer less than or equal to A; the first object refers to the object associated with the target object information in the second application; Obtain the set labels corresponding to the B object sets respectively; wherein, a set label is used to represent the association relationship between an object set and the first object; Based on B set labels, determine the association between the first object and the second object; If there is no set of objects in the A object sets that has a belonging relationship with the first object, then the unfamiliar association relationship is determined as the association relationship between the first object and the second object; The main program obtains a view container template corresponding to the association between the first object and the second object, configured by the functional plugin; the view container template includes M view sub-components; the M view sub-components include view sub-component C. d d is a positive integer, and d is less than or equal to M; Based on the association between the first object and the second object, obtain the multimedia data set for the first object in the first application; In the multimedia data set, obtain the view sub-component C. d Multimedia data E that matches the corresponding sub-component type d ; According to the multimedia data E d For the view sub-component C d Rendering is performed, and when all M view sub-components have completed rendering, the multimedia component corresponding to the view container template is obtained; The multimedia component returned by the main program is obtained through the functional plugin, and the multimedia component corresponding to the target object information is displayed in the object page provided by the functional plugin; the multimedia component is provided by the first application to the functional plugin.
2. The method according to claim 1, characterized in that, The object page includes a first object page or a second object page; the multimedia component includes a first multimedia component or a second multimedia component; The multimedia component that displays the target object information in the object page provided by the functional plugin includes: When the association between the first object and the second object in the first application is a first association relationship, the first multimedia component including the target object information is displayed on the first object page provided by the functional plugin. When the association between the first object and the second object in the first application is a second association relationship, the second multimedia component including the target object information is displayed on the second object page provided by the functional plugin; the relationship priority corresponding to the first association relationship is greater than the relationship priority corresponding to the second association relationship; the amount of content data included in the first multimedia component is greater than the amount of content data included in the second multimedia component.
3. The method according to claim 2, characterized in that, The second association relationship includes a communication association relationship; the second multimedia component includes a communication multimedia component corresponding to the communication association relationship; When the association between the first object and the second object in the first application is a second association relationship, the second multimedia component, including the target object information, is displayed on the second object page provided by the functional plugin, including: When the association between the first object and the second object in the first application is the communication association, the communication multimedia component, which includes the target object information and the communication object information associated with the communication association, is displayed on the second object page provided by the functional plugin. The communication multimedia component includes a first display control; The method further includes: In response to a trigger operation on the first display control, the first object data for the first object, determined by the communication association, is displayed on the object details page provided by the first application; the first object data includes the content included in the communication multimedia component.
4. The method according to claim 2, characterized in that, The second association includes unfamiliar associations; the second multimedia component includes unfamiliar multimedia components corresponding to the unfamiliar associations. When the association between the first object and the second object in the first application is a second association relationship, the second multimedia component, including the target object information, is displayed on the second object page provided by the functional plugin, including: When the association between the first object and the second object in the first application is the unfamiliar association, the unfamiliar multimedia component including the target object information is displayed on the second object page provided by the functional plugin; wherein, the first association includes a communication association, and the relationship priority corresponding to the communication association is greater than the relationship priority corresponding to the unfamiliar association. The method further includes: If the second object page does not include the second display control provided by the functional plugin, then in response to the trigger operation for the unfamiliar multimedia component, a viewing failure message is displayed on the prompt page provided by the functional plugin; the viewing failure message is used to indicate that the first object and the second object are in the unfamiliar association relationship; If the second object page includes a second display control provided by the functional plugin, then in response to a trigger operation on the second display control, a list of functions associated with the functional plugin is displayed on the display page provided by the functional plugin.
5. The method according to claim 1, characterized in that, The multimedia component includes a third display control; The method further includes: If the functional plugin is not configured with a response component, then in response to the trigger operation of the third display control, second object data including the target object information is displayed on the object page provided by the first application; the second object data includes the content included in the multimedia component; If the functional plugin is configured with the response component, then in response to a trigger operation on the third display control, operation data associated with the response component will be displayed on the object page provided by the functional plugin.
6. The method according to claim 1, characterized in that, The plugin function page corresponding to the function plugin displayed in the first application includes: In the first application, a function configuration page for configuring the function plugin is displayed; In response to a configuration operation on the function plugin in the function configuration page, a trigger control for the function plugin is displayed on the application function page of the first application; In response to a trigger operation of the trigger control for the functional plugin, the plugin function page corresponding to the functional plugin is displayed in the first application.
7. The method according to claim 1, characterized in that, The step of determining the association between the first object and the second object based on B set labels includes: If B equals 1, then the association between the first object and the second object is determined based on the set label; If B is a positive integer greater than 1, then the main program renders the B collection labels to obtain a collection label component; the collection label component includes selection controls corresponding to the B collection labels respectively; The collection label component returned by the main program is obtained through the functional plugin, a selection page is created through the functional plugin, and the collection label component is displayed on the selection page; In response to a trigger operation on a selection control in the collection label component, the triggered selection control is identified as the target selection control, and the association between the first object and the second object is determined based on the collection label corresponding to the target selection control. The step of generating the multimedia component based on the association between the first object and the second object includes: The functional plugin sends the association relationship between the first object and the second object to the main program. In the main program, the multimedia component is generated based on the association between the first object and the second object.
8. The method according to claim 1, characterized in that, The step of determining the association between the first object and the second object based on B set labels includes: Obtain the relation priorities corresponding to the B set labels from the relational logic rules encapsulated in the main program; Among the B set labels, the set label with the highest relational priority is determined as the target set label; Based on the target set labels, determine the association between the first object and the second object.
9. The method according to claim 1, characterized in that, The multimedia data E d For the view sub-component C d Rendering includes: Obtain the data type filtering information configured for the first application by the management object corresponding to the second object; If the data type filtering information includes the view sub-component C d The corresponding sub-component type will be related to the view sub-component C. d The system configuration data that matches the corresponding sub-component type is rendered to the view sub-component C. d ; If the data type filtering information does not include the view subcomponent C d The corresponding sub-component type will then use the multimedia data E d Rendered to the view sub-component C d .
10. A computer device, characterized in that, include: The processor, memory, and network interface are connected to the memory and the network interface, wherein the network interface is used to provide data communication functions, the memory is used to store computer programs, and the processor is used to invoke the computer programs to cause the computer device to perform the method according to any one of claims 1 to 9.
11. 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-9.
12. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, the computer instructions being adapted to be read and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-9.