Method and apparatus for displaying information in an application program
The introduction of a sharing platform that standardizes data formats and facilitates information transfer between application programs addresses the inefficiencies of multiple negotiations, enhancing the efficiency of information interaction.
Patent Information
- Application Number
- JP2023547830
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-04-30
- Filing Date
- 2022-02-23
- Publication Date
- 2025-04-14
- Estimated Expiration
- 2042-02-23
AI Technical Summary
The lack of a uniform definition for information to be transferred between different application programs hinders efficient information interaction, requiring negotiation for each application program involved.
A sharing platform is introduced that receives display requests from application programs, retrieves display target information based on provided identifiers, and provides a display carrier for rendering this information, eliminating the need for individual negotiations between applications.
This solution enables seamless and efficient information transfer between multiple application programs by standardizing data formats and reducing resource consumption on communication negotiations.
Smart Images

Figure 0007661509000001 
Figure 0007661509000002 
Figure 0007661509000003
Abstract
Description
[Technical field]
[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application filed with the China Patent Office on April 30, 2021, bearing application number 202110486256.8 and entitled "Method and Apparatus for Displaying Information in an Application Program," the entire contents of which are incorporated herein by reference. [Technical field] FIELD OF THE DISCLOSURE This application relates to the field of computer processing technology, and more particularly to a method and apparatus for displaying information in an application program. [Background technology]
[0002] With the emergence of different application programs, there are scenarios where information interaction occurs between different application programs, but there is a lack of a unified definition of the information that needs to be transferred between different applications, which makes it impossible to transfer information normally between different application programs. In some scenarios, negotiation can be performed between different application programs, and information transfer can be realized only after the negotiation is established. When one application program performs information interaction with multiple other application programs, it needs to negotiate with each application program, which reduces the efficiency of information interaction. Summary of the Invention [Problem to be solved by the invention]
[0003] In view of this, the embodiments of the present application provide a method and apparatus for displaying information in an application program, which realizes free transfer of information between multiple application programs and improves the efficiency of information interaction.
[0004] In order to solve the above problems, the technical solutions provided in the embodiments of the present application are as follows: [Means for solving the problem]
[0005] In a first aspect of an embodiment of the present application, a method for displaying information in an application program is provided, the method including a step of a shared platform receiving a display request sent from a display side, the display request including an identifier of information to be displayed, the information to be displayed being generated by a providing side based on a data standard of the shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed, and a step of the shared platform obtaining the information to be displayed according to the identifier.
[0006] In a specific implementation form, the step of the shared platform acquiring the information to be displayed according to the identifier includes a step of the shared platform searching for and acquiring the information to be displayed locally according to the identifier, or a step of the shared platform sending a request message to the providing side to acquire the information to be displayed according to the identifier and receiving a response message sent from the providing side, the response message including the information to be displayed.
[0007] In a specific implementation, the method further includes a step of, in response to loading of the display side onto the shared platform, the shared platform providing a display carrier to the display side, such that the display side displays the information to be displayed via the display carrier.
[0008] In a specific implementation, the information to be displayed has a corresponding display component, which is used to indicate how the information to be displayed is to be displayed.
[0009] In a specific implementation, a display carrier provided by the shared platform is used to provide an execution environment for the display component.
[0010] In a specific implementation, the method further includes a step in which, when information to be displayed corresponding to the identifier changes, the sharing platform receives a notification message sent from the provider, the notification message including the identifier.
[0011] In a specific implementation, the notification message further includes the updated information to be displayed.
[0012] In a specific implementation form, after the shared platform receives the notification message, the method further includes a step of the shared platform determining whether or not the display target information corresponding to the identifier is in a state in which it is displayed, and a step of the shared platform obtaining updated display target information in response to the display target information corresponding to the identifier being in a state in which it is displayed, so that the display side displays the updated display target information.
[0013] In a specific implementation, the method further includes the sharing platform locally storing the updated display target information.
[0014] In a specific implementation, the data standard indicates the type that corresponds to the field.
[0015] In a second aspect of an embodiment of the present application, a method for displaying information in an application program is provided, the method including: a step in which, in response to a user's trigger operation, a display side obtains information to be displayed by a shared platform, the information to be displayed being generated by a providing side based on a data standard of the shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; and a step in which the display side displays the information to be displayed.
[0016] In a specific implementation form, the step of the display side acquiring the information to be displayed through the shared platform includes a step in which the display side sends a display request including an identifier of the information to be displayed to the shared platform, causing the shared platform to search for the information to be displayed locally according to the identifier of the information to be displayed, or to request the information to be displayed from the providing side.
[0017] In a specific implementation form, the step of the display side displaying the information to be displayed includes a step in which the display side displays the information to be displayed according to a display component corresponding to the information to be displayed, the display component being used to indicate a display method of the information to be displayed, and the display component being provided by the providing side.
[0018] In a specific implementation form, the step of the display side displaying the display target information includes a step of the display side loading a display carrier and displaying the display target information based on the display carrier, wherein the display carrier is provided by the sharing platform and is a carrier for displaying the display target information.
[0019] In a particular implementation, the information to be displayed has extensibility capabilities, which are used to indicate operations that a user can perform on the information to be displayed.
[0020] In a specific implementation, the expansion capabilities are coupled to the display side.
[0021] In a specific implementation, the extension capabilities are decoupled from the display side.
[0022] In a specific implementation, the method further includes a step in which, in response to a user's trigger operation on the information to be displayed, the display side outputs an extension control corresponding to the extension capability or an extension result corresponding to the extension capability.
[0023] In a specific implementation, the extended capabilities include the ability to perform tag addition operations on the information to be displayed or the ability to perform comment operations on the information to be displayed.
[0024] In a specific implementation, the method further includes a step of entering a tag addition page in response to a user's trigger operation on a tag control of the information to be displayed, and a step of the display side receiving tag information input by the user on the tag addition page and displaying the information to be displayed in association with the added tag information.
[0025] In a specific implementation form, the method further includes a step of entering a comment page in response to a user's trigger operation on a comment control of the information to be displayed, and a step of the display side receiving comment content entered by the user on the comment page and displaying the information to be displayed in association with the comment content.
[0026] In a third aspect of an embodiment of the present application, a method for displaying information in an application program is provided, the method including a step of a providing side generating information to be displayed according to a data standard provided by a shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; a step of the providing side deciding whether to cache the information to be displayed in the shared platform; and a step of the providing side transmitting the information to be displayed to the shared platform after deciding to cache the information to be displayed in the shared platform.
[0027] In a specific implementation, after the step of the provider generating the information to be displayed according to a data standard provided by the sharing platform, the method further includes a step of the provider packaging extension capabilities into the information to be displayed.
[0028] In a specific implementation, the expansion capabilities are coupled to the display side.
[0029] In a specific implementation, the extension capabilities are decoupled from the display side.
[0030] In a specific implementation, the provider stores a correspondence between the extension capabilities and the display.
[0031] A fourth aspect of an embodiment of the present application provides a system for displaying information in an application program, the system including an interaction object and a sharing platform, the sharing platform providing a data standard used by the interaction object to generate information to be displayed in accordance with the data standard, the data standard being used to indicate fields that need to be displayed in the information to be displayed, the sharing platform further being used to provide the information to be displayed to the interaction object in response to a display request sent from the interaction object, the display request including an identifier of the information to be displayed.
[0032] In a specific implementation, the shared platform includes a data management module and a display carrier.
[0033] In a specific implementation, the data management module performs information interaction with the interaction object.
[0034] In a specific implementation, the data management module further stores the display target information.
[0035] In a specific implementation, the display carrier displays the display target information at a preset position of the interaction object based on loading of the interaction object.
[0036] In a specific implementation, when the display target information changes, the data management module further receives a notification message sent from the interaction object, the notification message including the identifier.
[0037] In a specific implementation form, the data management module further determines whether the display target information corresponding to the identifier is in a displayed state, and in response to the display target information corresponding to the identifier being in a displayed state, the data management module sends an update message including the identifier to the display carrier, and the display carrier calls back the updated display target information and displays the updated display target information on the interaction object.
[0038] In a specific implementation, the interaction object is a display side for displaying the display target information, or a provider side for providing the display target information.
[0039] In a fifth aspect of an embodiment of the present application, there is provided an apparatus for displaying information in an application program, the apparatus including: a receiving unit for receiving a display request sent from a display side, the display request including an identifier of information to be displayed, the information to be displayed being generated by the providing side based on a data standard of the shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; and an acquiring unit for acquiring the information to be displayed according to the identifier.
[0040] In a sixth aspect of an embodiment of the present application, there is provided an apparatus for displaying information in an application program, the apparatus including: an acquisition unit for acquiring information to be displayed by a shared platform in response to a user's trigger operation, the information to be displayed being generated by a provider based on a data standard of the shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; and a display unit for displaying the information to be displayed.
[0041] In a seventh aspect of an embodiment of the present application, an apparatus for displaying information in an application program is provided, the apparatus including: a generation unit for generating information to be displayed according to a data standard provided by a shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; a determination unit for determining whether to cache the information to be displayed in the shared platform; and a transmission unit for transmitting the information to be displayed to the shared platform after determining to cache the information to be displayed in the shared platform.
[0042] In an eighth aspect of an embodiment of the present application, there is provided an electronic device comprising one or more processors and a memory for storing one or more programs, the one or more programs, when executed by the one or more processors, causing the one or more processors to realize a method of displaying information in an application program described in the first aspect, the second aspect or the third aspect.
[0043] In a ninth aspect of an embodiment of the present application, a computer-readable storage medium is provided, the computer-readable storage medium having stored therein instructions which, when executed on an apparatus, cause the apparatus to perform a method of displaying information in an application program as described in the first aspect, the second aspect or the third aspect.
[0044] In a tenth aspect of an embodiment of the present application, there is provided a computer program product, the computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program comprising program code for performing a method of displaying information in an application program according to the first aspect, the second aspect or the third aspect.
[0045] Thus, the embodiments of the present application have the following beneficial effects: The technical solution disclosed in the embodiments of the present application provides a shared platform, and a provider creates transferable display target information according to a data standard provided by the shared platform, and provides the information to the shared platform. When one side (display side) wants to display information of the other side (provider side), the display side sends a display request including an identifier of the display target information to the shared platform. After receiving the display request, the shared platform obtains the display target information according to the identifier in the display request, so that the display side can display the display target information. Thus, according to the technical solution provided in the embodiments of the present application, when there are multiple display sides, each display side and the provider side do not need to negotiate data communication, and the display target information provided by the provider side can be displayed, which reduces the resources occupied by the communication negotiation and improves the efficiency of information interaction. [Brief description of the drawings]
[0046] [Figure 1] FIG. 2 is a schematic diagram of information interaction. [Diagram 2] FIG. 2 is a schematic diagram of information interaction provided by an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of a shared platform structure provided by an embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of an application scene provided by an embodiment of the present application; [Diagram 5]4 is a flow chart of a method for displaying information in an application program provided by an embodiment of the present application; [Figure 6] 4 is a flowchart of another method for displaying information in an application program provided by an embodiment of the present application; [Figure 7] FIG. 2 is a system structural diagram of displaying information in an application program provided by an embodiment of the present application; [Figure 8] FIG. 2 is a structural diagram of a device for displaying information in an application program provided by an embodiment of the present application; [Figure 9] FIG. 11 is another structural diagram of a device for displaying information in an application program provided by an embodiment of the present application; [Figure 10] FIG. 11 is a structural diagram of yet another device for displaying information in an application program provided by an embodiment of the present application; [Figure 11] 1 is a structural diagram of an electronic device provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0047] In order to make the above objectives, features and advantages of the present application more comprehensible, the following examples of the present application are further described in detail in combination with drawings and specific embodiments.
[0048] During the research of traditional information interaction, the inventor found that when different application programs perform information interaction, there is no unified definition of information format between different application programs, so when different application programs transfer information between them, they need to perform a separate data communication negotiation, so that the data format provided by the data provider is adapted to the display requirement of the display side, and information can be transferred after the negotiation is established. For example, as shown in FIG. 1, when an instant messaging (IM) application 101 displays information in a calendar schedule application 103, the two first perform a communication negotiation, and after the negotiation is established, the calendar schedule application 103 provides information conforming to the IM specification to the IM, so that the IM can display the information provided by the calendar schedule application 103. When a cloud document application 102 displays information in the calendar schedule application 103, the two perform a communication negotiation, so that the calendar schedule application 103 provides information conforming to the cloud document application specification to the cloud document application 102, and further realizes information transfer. When there is information transfer between a large number of applications, one application needs to negotiate with each of the other applications 105, which occupies a large amount of resources and reduces the efficiency of information transfer.
[0049] Based on this, the embodiment of the present application provides a sharing platform, which allows different applications to flexibly appear according to the data standard provided by the sharing platform, and create interactable information segments, thereby realizing free transfer of information. As shown in Fig. 2, the providing side can include, for example, a calendar schedule application 103, a group card application 104, and other applications 105, etc., and provide interactable information segments, i.e., information to be displayed, to the sharing platform 300. The displaying side can include, for example, an IM 101, a cloud document 102, etc., and obtain the information to be displayed through the sharing platform 300, and then display the information to be displayed, thereby reducing the negotiation process between the providing side and the displaying side, and improving the efficiency of information transfer.
[0050] It should be noted that the display side and the providing side in the embodiments of the present application refer to different applications, and the two different applications may be independent applications with corresponding services provided by different service sides, or the two applications may be two different application modules with a certain association relationship with corresponding services provided by the same service side. For example, the display side belongs to an application of a first collaboration platform, and the providing side is an application of a second collaboration platform, and the first collaboration platform and the second collaboration platform correspond to different servers. Or, the display side and the providing side are from the same collaboration platform, for example, the display side is an IM of the first collaboration platform, and the providing side is an email application in the first collaboration platform, etc.
[0051] Method Example In order to facilitate understanding of the technical solution provided by this application, the following first describes the sharing platform in the embodiment of this application.
[0052] Please refer to FIG. 3, which is a schematic diagram of a shared platform structure provided by an embodiment of the present application. As shown in FIG. 3, the shared platform 300 includes: a data management module 301 and a display carrier 302 .
[0053] The data management module 301 is used to realize information interaction between different applications and manage data. The data management module 301 can provide data standards to each provider, which are used to indicate fields that need to be displayed in the display target information provided by the provider, and can further indicate the type corresponding to each display field. The provider converts its internal information into data in a standard format according to the data standard. The display target information may be a data summary or data description provided by the provider, and the display target information includes display fields defined by the data standard. For example, the provider is a cloud document, and the fields in the display target information provided by it may include document title, author, document link, authority, etc., and the field type may be a character type. Specifically, the data management module 301 receives a display request sent from the display side, and obtains display target information corresponding to the identifier according to the identifier in the display request.
[0054] Specifically, the data management module 301 can further provide data caching capability and store the display target information. Whether the data management module 301 is allowed to cache the display target information is determined by the provider. For example, if the provider determines that the provided display target information includes sensitive data, the provider can choose not to cache the display target information in the data management module. Alternatively, the provider can choose to cache some non-sensitive data of the display target information in the data management module.
[0055] As can be understood, when the data management module 301 is allowed to cache the display target information, after receiving a display request transmitted from the display side, the data management module 301 can locally search and acquire the display target information according to the identifier of the display target information in the display request. When the data management module 301 is not allowed to cache the display target information, after receiving a display request transmitted from the display side, the data management module sends a request message to the providing side to request the display target information by the request message.
[0056] In a possible embodiment, the data management module 301 is further used for data synchronization. For example, when the display target information is changed, the provider can send a notification message to the data management module 301, the notification message includes an identifier of the display target information, and notifies the data management module 301 through the notification message that the display target information corresponding to the identifier has been updated. The notification message can also include the updated display target information.
[0057] After the data management module 301 receives the notification message, it judges whether the display target information corresponding to the identifier is in a displayed state, and if the display target information is in a displayed state, the data management module sends an update message including the identifier to the display carrier 302. After receiving the update message, the display carrier 302 provides the updated display target information to the display side by calling back the updated display target information. If the display target information corresponding to the identifier is not displayed and the updated display target information is allowed to be cached in the data management module 301, the data management module 301 updates the display target information. If the updated display target information is not allowed to be cached in the data management module 301, the updated display target information is discarded if the notification message includes the updated display target information.
[0058] For example, as shown in FIG. 4, the data management module 301 can provide an application programming interface (API), such as an event subscription webhook interface, to the outside, support the provider 100 to perform data synchronization via Hypertext Transfer Protocol (HTTP), and further establish an internal long link with the display carrier 302 and transfer data via the long link.
[0059] The display carrier 302 is used to provide an environment for the display side 200 to display the information to be displayed. Specifically, the display side 200 can accumulate display carriers, and when the display side 200 displays the information to be displayed, the display carrier is loaded to display the information.
[0060] In a possible embodiment, the display side can provide not only the display target information but also the display components corresponding to the display target information, and the display components are used to define the display format of the display target information. Each display target information can only correspond to one display component, thereby ensuring that the display target information can have the same display format when displayed on different display sides. Specifically, the display carrier 302 provides an execution environment for the display components.
[0061] Based on the shared platform provided above, the following describes the method for displaying information in an application program provided by the embodiments of the present application in combination with the drawings.
[0062] Please refer to FIG. 5, which is a flowchart of a method for displaying information in an application program provided by an embodiment of the present application. As shown in FIG. 5, the method may include S501 to S504. S501: The display side transmits a display request to the sharing platform.
[0063] In this embodiment, when detecting a user trigger operation, the display side sends a display request including an identifier (ID) of the information to be displayed to the sharing platform. Specifically, the display side can collect display carriers, so the display side sends a display request to the data management module through the display carrier. For example, a cloud document collects a display carrier of a sharing platform, and when a user needs to display a group card in the cloud document, the cloud document will send an ID corresponding to the group card to the data management module of the sharing platform through the display carrier in response to the user's trigger operation.
[0064] S502: The shared platform acquires information to be displayed in response to a display request.
[0065] As can be seen from the above embodiment, the shared platform can provide data caching capability, and can cache the display target information provided by each provider in the data management module, but whether the shared platform caches the display target information is determined by the provider. On this basis, the shared platform can obtain the display target information in the following manner:
[0066] On the one hand, when the display target information is stored on the shared platform side, after the shared platform receives a display request, it locally searches and obtains the display target information corresponding to the identifier according to the identifier in the display request. When storing the display target information, the shared platform can further store a correspondence relationship table between the display target information and the identifier, and query the display target information according to the correspondence relationship table.
[0067] On the other hand, when the display target information is not stored on the shared platform side, the shared platform, after acquiring a display request, generates a request message according to the display request, transmits the request message to the provider side, and receives a response message including the display target information transmitted from the provider side. The request message includes an identifier of the display target message. The display target information may be generated by the provider side in advance according to a data standard provided by the shared platform, for example, the IM may perform a standardization process on the group card in the development stage, or may be generated according to a data standard when the provider side senses a need (for example, receives a request message). The timing at which the provider side generates the display target information may be determined according to the actual application situation, and this embodiment is not limited here. The specific realization of the provider side will be described in the subsequent embodiment.
[0068] S503: The sharing platform transmits the information to be displayed to the display side.
[0069] S504: The display side displays the information to be displayed.
[0070] Specifically, the display side can collect the display carrier of the shared platform, so that after the data management module of the shared platform obtains the display target information, the data management module sends the display target information to the display carrier, and the display carrier can display the display target information at the preset position of the display side according to the load of the display side.
[0071] In a possible embodiment, the providing side can provide not only the display target information but also a display component that matches the display target information, and the display component is used to indicate the display manner of the display target information. The display component can ensure that different display sides display the display target information in a unified display manner. Specifically, when the display side displays the display target information, it displays the display target information according to the display component corresponding to the display target information. The display carrier accumulated by the display side can provide an execution environment for the display component. That is, when the display side displays the display target information, it does not need to directly load the display target information, but only loads the display carrier, and further loads the display target information on the display carrier, thereby realizing logical separation between the display side and the display target information, improving the security between the display side and the display target information, and avoiding the display target information carrying malicious information affecting the normal use of the display side.
[0072] In a possible embodiment, the display target information may further have an extension capability, which is used to indicate an operation that the user can perform on the display target information. For example, the extension capability may be an ability to perform a tag addition operation on the display target information, or an ability to perform a comment operation on the display target information, etc. In this embodiment, the extension capability may be divided into a general extension capability and a personalized extension capability based on the relationship between the extension capability and the display side. The general extension capability means that the extension capability is decoupled from the display side, that is, the extension capability can be embodied in each display side regardless of the display side. For example, the capability of the tag addition operation can be realized in each display side such as IM, cloud document, calendar, etc. For the general extension capability, when the provider generates the display target information, the provider may package the general extension capability in the outer layer of the display target information. When the display side displays the display target information, the provider may output an extension component corresponding to the general extension capability or an extension result corresponding to the general capability. For example, when the display target information is displayed in IM, a tag control is displayed in response to a user's trigger operation on the display target information. Alternatively, after a tag is added to the information to be displayed, the corresponding tag name can be further displayed.
[0073] Specifically, after the display side outputs the tag control, in response to the user's trigger operation on the tag control, the display side enters a tag addition page, receives the tag information input by the user on the tag addition page, and displays the information to be displayed in association with the added tag information. For example, the information to be displayed is added to the tag page indicated by the tag information. The tag information input by the user may include a tag name, and the tag name input by the user may be an existing tag name or a new tag name.
[0074] The personalized extension capability means that the extension capability is combined with the display side, and is some extension capability "having the characteristics of the display side" provided by the display side. For example, the IM in the FlyBook Kit is a Pin function provided by the information to be displayed, and the cloud document is a comment operation function provided by the information to be displayed. Regarding the personalized extension capability, the provider can package the extension capability into the information to be displayed according to the extension capability provided by the display side in advance. Alternatively, the provider stores the correspondence between the personalized extension capability and the display side in advance, and when the provider senses the needs of a certain display side for the information to be displayed, it packages the personalized extension capability corresponding to the display side into the information to be displayed.
[0075] Specifically, in response to a user's trigger operation on a comment control of the information to be displayed, a comment page is entered, and the display side receives the comment content entered by the user on the comment page and displays the information to be displayed in association with the comment content.
[0076] Based on the above embodiment, the interaction between the information provider and the sharing platform will be described below in conjunction with the drawings.
[0077] Please refer to FIG. 6, which is a flowchart of another method for displaying information in an application program provided by an embodiment of the present application. As shown in FIG. 6, the method includes: S601 to S606. S601: The provider generates information to be displayed according to a data standard provided by a sharing platform.
[0078] In this embodiment, any application can generate display target information according to a data standard provided by the shared platform, which is used to indicate the fields that need to be displayed in the display target information, and can further indicate the type of each field.
[0079] In a possible embodiment, after the provider generates the display target information according to the data standard, it can further package the extension capability into the display target information, and the extension capability is used to indicate that the user can operate the display target information. The extension capability can be coupled to the display side, and the extension capability is provided by the display side, or the extension capability is decoupled from the display side, that is, the extension capability is independent of the display side. For the realization of the extension capability, please refer to the related description in the embodiment shown in FIG. 5.
[0080] S602: The provider determines whether to cache the display target information in the shared platform, and if so, executes S603 to S604, and if not, executes S605 to S606.
[0081] After the providing side generates the display target information, it can determine whether or not to cache the display target information in the shared platform. Specifically, it can determine whether or not to cache the display target information depending on whether or not the display target information includes confidential data. For example, if the display target information includes confidential data, it can not cache the display target information in the shared platform. If the display target information does not include confidential data, it can cache the display target information in the shared platform. Alternatively, if the display target information includes confidential data, it can cache some non-confidential data in the shared platform. Specifically, if the providing side determines that the display target information can be cached in the shared platform, it executes S603 to S604 and transmits the display target information to the shared platform. If the providing side determines that the display target information should not be cached in the shared platform, it executes S605 to S606 and transmits an identifier of the display target information to the shared platform.
[0082] S603: The provider transmits the information to be displayed to the sharing platform.
[0083] S604: The shared platform caches the display target information.
[0084] The provider can send not only the information to be displayed but also an identifier corresponding to the information to be displayed to the shared platform, so that the shared platform can store the correspondence between the identifier and the information to be displayed.
[0085] S605: The provider transmits an identifier of the information to be displayed to the sharing platform.
[0086] S606: The sharing platform stores the identifier of the information to be displayed.
[0087] If the shared platform is not allowed to store the information to be displayed, the provider transmits an identifier of the information to be displayed to the shared platform, and the shared platform stores the identifier.
[0088] In addition, since the display side can collect the display carriers of the shared platform, the display side can obtain the identifier of the information to be displayed and store the identifier. When the display side needs to display the information to be displayed, it can request the corresponding information to be displayed via the identifier. That is, the display side does not need to store the information to be displayed, but only needs to store the identifier corresponding to the information to be displayed, thereby reducing the occupation of the storage space of the display side.
[0089] In a possible embodiment, when the display target information corresponding to the identifier is changed, the provider can further send a notification message including the identifier of the display target information to the sharing platform, and the notification message is used to notify the sharing platform that the display target information corresponding to the identifier has been updated. The notification message can further include the updated display target information.
[0090] In a possible embodiment, after receiving the notification message, the shared platform can further determine whether the display target information corresponding to the identifier is in a display state, and in response to the display target information corresponding to the identifier being in a display state, the shared platform obtains the updated display target information, thereby displaying the updated display target information on the display side. Specifically, if the providing side allows the shared platform to store the display target information, the shared platform can update the locally stored display target information after receiving the notification message.
[0091] System Example Based on the above embodiments, an information interaction system is provided in an embodiment of the present application, which is described below in conjunction with the drawings.
[0092] Referring to Figure 7, this figure is a system structure diagram for displaying information in an application program provided by an embodiment of the present application. As shown in Figure 7, the system may include an interaction object 701 and a shared platform 300. The shared platform 300 provides a data standard, and the interaction objects are used to generate information to be displayed according to the data standard, and the data standard is used to indicate the fields that need to be displayed in the information to be displayed. The shared platform 300 is used to provide the display target information to the interaction object in response to a display request sent from the interaction object, the display request including an identifier of the display target information.
[0093] In a possible embodiment, the shared platform includes a data management module and a display carrier. For the implementation of the data management module and the display carrier, reference can be made to the relevant description of the embodiment shown in FIG.
[0094] In a possible embodiment, the data management module performs information interaction with the interaction object. When the interaction object is a display side, the interaction between the data management module and the interaction object can be referred to in the related description in the embodiment shown in Figure 3 and Figure 5. When the interaction object is a provider side, the interaction between the data management module and the interaction object can be referred to in the related description in the embodiment shown in Figure 3 and Figure 6.
[0095] In a possible embodiment, the data management module is further used to store the information to be displayed. For a specific implementation of the data management module, reference can be made to the relevant description in the embodiment shown in FIG.
[0096] In a possible embodiment, the display carrier is used to display the display target information at the preset position of the interaction object according to the loading of the interaction object. For the specific implementation of the display carrier, please refer to the relevant description in the embodiment shown in FIG. 3 or FIG. 5.
[0097] In a possible embodiment, when the display target information is changed, the data management module is further used to receive a notification message including the identifier sent from the interaction object. For a specific implementation of the data management module, reference may be made to the related description in the embodiment shown in FIG. 6.
[0098] In a possible embodiment, the data management module further determines whether the display target information corresponding to the identifier is in a display state, and in response to the display target information corresponding to the identifier being in a display state, the data management module sends an update message including the identifier to the display carrier, and the display carrier calls back the updated display target information, and displays the updated display target information on the interaction object. For specific implementations of the data management module and the display carrier, reference may be made to the relevant descriptions in the embodiments shown in FIG. 3 or FIG. 5.
[0099] In a possible embodiment, the interaction object is a provider 7011 for providing the information to be displayed, or a displayer 7012 for displaying the information to be displayed.
[0100] As can be seen from the above, the providing side creates transferable display target information according to the data standard provided by the sharing platform, and provides it to the sharing platform. When one side (the displaying side) wants to display the information of the other side (the providing side), the displaying side sends a display request including an identifier of the display target information to the sharing platform. After receiving the display request, the sharing platform obtains the display target information according to the identifier in the display request, so that the displaying side can display the display target information. In this way, according to the technical solution provided by the embodiment of the present application, when there are multiple displaying sides, each displaying side and the providing side do not need to negotiate data communication, and the display target information provided by the providing side can be displayed, which reduces the resources occupied by the communication negotiation and improves the efficiency of information interaction.
[0101] Device Example Based on the above method embodiment, an embodiment of the present application provides an apparatus for displaying information in an application program, which is described below in conjunction with the drawings.
[0102] Referring to FIG. 8, this figure is a structural diagram of an apparatus for displaying information in an application program provided by an embodiment of the present application, where the apparatus 800 can realize the function of a shared platform, and the apparatus can include a receiving unit 801 and an acquiring unit 802. The receiving unit 801 receives a display request sent from a displaying side, the display request including an identifier of information to be displayed, the information to be displayed is generated by a providing side according to a data standard of the sharing platform, and the data standard is used to indicate a field that needs to be displayed in the information to be displayed; The obtaining unit 802 obtains the display target information according to the identifier.
[0103] In a specific implementation form, the acquisition unit 802 searches for and acquires the information to be displayed locally according to the identifier, or sends a request message to the providing side to acquire the information to be displayed according to the identifier, and receives a response message sent from the providing side, where the response message includes the information to be displayed.
[0104] In a specific implementation, the apparatus further includes a providing unit (not shown), The providing unit provides a display carrier to the display side in response to loading of the display side on the device, so that the display side displays the display target information via the display carrier.
[0105] In a specific implementation, the information to be displayed has a corresponding display component, which is used to indicate how the information to be displayed is to be displayed.
[0106] In a specific implementation, a display carrier provided by the device is used to provide an execution environment for the display component.
[0107] In a specific implementation, the receiving unit 801 is further used to receive a notification message sent from the provider when the display target information corresponding to the identifier changes, and the notification message includes the identifier.
[0108] In a specific implementation, the notification message further includes the updated information to be displayed.
[0109] In a specific implementation, the apparatus further includes a judging unit (not shown); A judging unit judges whether the display target information corresponding to the identifier is in a display state after receiving the notification message; The acquisition unit 802 further acquires updated display target information in response to the display target information corresponding to the identifier being in a displayed state, so that the display side displays the updated display target information.
[0110] In a specific implementation, the device further includes a storage unit (not shown); The storage unit locally stores the updated display target information.
[0111] In a specific implementation, the data standard indicates the type that corresponds to the field.
[0112] For the implementation of each unit in this embodiment, reference can be made to the relevant description of the shared platform in the above method embodiment, and this embodiment will not be described in detail here.
[0113] Referring to FIG. 9, this figure is another structural diagram of an apparatus for displaying information in an application program provided by an embodiment of the present application, where the apparatus can realize the function of the display side, and the apparatus can include an acquisition unit 901 and a display unit 902. The acquiring unit 901 acquires display target information through a shared platform in response to a trigger operation by a user, the display target information being generated by a provider according to a data standard of the shared platform, and the data standard is used to indicate fields that need to be displayed in the display target information; The display unit 902 displays the information to be displayed.
[0114] In a specific implementation, the acquisition unit 901 specifically sends a display request including an identifier of the information to be displayed to the sharing platform, so that the sharing platform searches for the information to be displayed locally according to the identifier of the information to be displayed, or requests the information to be displayed from the providing side.
[0115] In a specific implementation form, the display unit 902 specifically displays the information to be displayed according to a display component corresponding to the information to be displayed, the display component is used to indicate the display manner of the information to be displayed, and the display component is provided by the providing side.
[0116] In a specific implementation, the display unit 902 specifically loads a display carrier and displays the display target information based on the display carrier, and the display carrier is provided by the sharing platform and is a carrier for displaying the display target information.
[0117] In a specific implementation, the information to be displayed has extensibility capabilities to indicate operations that a user can perform on the information to be displayed.
[0118] In a specific implementation, the expansion capabilities are coupled to the display side.
[0119] In a specific implementation, the extension capabilities are decoupled from the display side.
[0120] In a specific implementation, the device further includes an output unit (not shown); The output unit outputs an extension control corresponding to the extension capability or an extension result corresponding to the extension capability in response to a user's trigger operation on the display target information.
[0121] In a specific implementation, the extended capabilities include the ability to perform tag addition operations on the information to be displayed or the ability to perform comment operations on the information to be displayed.
[0122] In a specific implementation, the device further includes a jump unit and an additional unit; a jump unit for entering a tag addition page in response to a user's trigger operation on a tag control of the display target information; The adding unit receives the tag information input by the user on the tag adding page, and displays the display target information in association with the added tag information.
[0123] In a specific implementation, the device further includes a jump unit and an additional unit; a jump unit for entering a comment page in response to a user's trigger operation on a comment control of the display target information; The additional unit receives comment content input by the user on the comment page, and displays the display target information in association with the comment content.
[0124] For the realization of each unit in this embodiment, the relevant description on the display side can be referred to, and the embodiment will not be described in detail here.
[0125] Referring to Figure 10, this figure is yet another device structure diagram for displaying information in an application program provided by an embodiment of the present application, where the device can realize the function of the providing side, and the device may include a generating unit 1001, a determining unit 1002, and a sending unit 1003. The generating unit 1001 generates the display target information according to a data standard provided by a sharing platform, the data standard being used to indicate fields that need to be displayed in the display target information; A determining unit 1002 determines whether to cache the display target information in the sharing platform; After determining that the display target information is to be cached in the sharing platform, the sending unit 1003 sends the display target information to the sharing platform.
[0126] In a specific implementation, the apparatus further includes a packaging unit (not shown), A packaging unit packages the display target information with an extension capability.
[0127] In a specific implementation, the expansion capabilities are coupled to the display side.
[0128] In a specific implementation, the extension capabilities are decoupled from the display side.
[0129] In a specific implementation, the device stores a correspondence between the extension capabilities and the display sides.
[0130] For the implementation of each unit in this embodiment, the relevant descriptions on the provider side in the above embodiment can be referred to, and the present embodiment will not be described in detail here.
[0131] Referring to FIG. 11, a structural schematic diagram of an electronic device (e.g., a terminal device or a server in FIG. 11) 1100 suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 11 is merely an example and should not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.
[0132] 11, the electronic device 1100 may include a processing unit (e.g., a central processing unit, a graphic processor, etc.) 1101, which may perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 1102 or loaded from a storage device 1108 into a random access memory (RAM) 1103. The RAM 1103 further stores various programs and data necessary for the operation of the electronic device 1100. The processing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0133] Typically, the I / O interface 1105 can be connected to input devices 1106, including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyro, and the like; output devices 1107, including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices 1108, including, for example, a magnetic tape, a hard disk, and the like; and a communication device 1109. The communication device 1109 allows the electronic device 1100 to communicate wirelessly or via wires with other devices to exchange data. Although FIG. 11 illustrates the electronic device 1100 having various devices, it should be understood that it is not necessary to implement or include all of the devices shown. Instead, more or fewer devices may be implemented or included.
[0134] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowcharts can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102. When the computer program is executed by the processing device 1101, it performs the above-mentioned functions defined in the method of the embodiment of the present application.
[0135] The electronic device provided by the embodiments of the present disclosure and the method for displaying information in an application program provided by the above embodiments belong to the same inventive concept, and for technical details not described in detail in this embodiment, reference can be made to the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0136] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, realizes the method of displaying information in an application program provided by the above embodiment.
[0137] It should be noted that the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium, or a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (electrical programmable ROM, EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (compact disc ROM, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagating in baseband or as part of a carrier wave, the data signal carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer-readable signal medium may be any computer-readable medium, except for a computer-readable storage medium, which may transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.The program code contained in the computer readable medium can be transmitted by any suitable medium, including, but not limited to, electrical wire, fiber optic cable, RF (radio frequency), etc., or any suitable combination of the above.
[0138] In some embodiments, clients and servers may communicate using any network protocol now known or later developed, such as HyperText Transfer Protocol (HTTP), and may be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local network ("LAN"), a wide area network ("WAN"), the World Wide Web (e.g., the Internet), an end-to-end network (e.g., an ad-hoc end-to-end network), and any other network now known or later developed.
[0139] The computer-readable medium may be included in the electronic device, or may be separate from and not located on the electronic device.
[0140] When the computer-readable medium carries one or more programs and the one or more programs are executed by the electronic device, the electronic device a step of receiving a display request sent by a displaying side, the display request including an identifier of information to be displayed, the information to be displayed being generated by a providing side based on a data standard of the sharing platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; The sharing platform can execute a step of obtaining the display target information according to the identifier.
[0141] Or, the electronic device: In response to a trigger operation by a user, a display side acquires display target information through a shared platform, the display target information being generated by a provider side based on a data standard of the shared platform, and the data standard is used to indicate fields that need to be displayed in the display target information; The display side can execute a step of displaying the display target information.
[0142] Or, the electronic device: A provider generates information to be displayed according to a data standard provided by a sharing platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; The provider determines whether to cache the display target information in the shared platform; After determining to cache the display target information in the sharing platform, the providing side can execute a step of transmitting the display target information to the sharing platform.
[0143] The computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and further including, but not limited to, conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a single stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. When a remote computer is involved, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., connecting via the Internet using an Internet service provider).
[0144] The flowcharts and block diagrams in the drawings illustrate architecture, functions, and operations that can be realized according to the system, method, and computer program product of various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, program segment, or part of code, which includes one or more executable instructions for implementing a certain logical function. It should be noted that in some alternative implementations, the functions shown in the blocks may occur in a different order from the order shown in the figures. For example, two blocks shown in succession may actually be executed essentially in parallel, or in some cases in the reverse order, depending on the functions involved. Also, each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be realized in a dedicated system by hardware, or in a combination of dedicated hardware and computer instructions, for executing a certain function or operation.
[0145] The units according to the embodiments of the present disclosure may be implemented in a software or hardware manner. The names of the units / modules, if any, do not constitute limitations on the units themselves.
[0146] The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that may be utilized include, but are not limited to, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0147] In the present disclosure, a machine-readable medium may be a tangible medium, which may contain or store a program for use by or in conjunction with an instruction execution system, device or machine. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or machine, or any suitable combination of the above. More specific examples of machine-readable storage media include an electrical connection by one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact magnetic disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0148] In addition, each embodiment in this specification will be described step by step, and each embodiment will focus on the differences from other embodiments, and the same or similar parts between each embodiment may be referred to each other. The system or device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so it will be briefly described, and the relevant parts may be referred to the method part.
[0149] In this application, it should be understood that "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the related relationship of related objects, and indicates that three types of relationships can exist, for example, "A and / or B" can indicate three situations: only A exists, only B exists, and A and B exist simultaneously, and A and B may be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. "At least one of the following" or similar expressions means any combination of these terms, including any combination of single terms or multiple terms. For example, at least one of a, b, or c can indicate a, b, c, "a and b", "a and c", "b and c", or "a, b and c", and a, b, c may be single or multiple.
[0150] It should be noted that relational terms such as "first" and "second" are merely intended to distinguish an entity or operation from other entities or operations and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprise", "comprises", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or device that includes a set of elements includes not only those elements but also other elements not expressly listed or inherent elements of such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprises" does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.
[0151] The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination thereof. The software module may be located in a Random Access Memory (RAM), memory, a Read Only Memory (ROM), an Electrically Programmable ROM, an Electrically Erasable Programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0152] The above description of the disclosed embodiments will enable one skilled in the art to make or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Thus, the present application is not limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. 1. A method for displaying information in an application program executed by an apparatus, comprising: a step of receiving a display request sent by a displaying side, the display request including an identifier of information to be displayed, the information to be displayed being generated by a providing side based on a data standard of the sharing platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; The shared platform acquires the display target information according to the identifier; in response to loading of the display side onto the sharing platform, the sharing platform provides a display carrier to the display side, so that the display side displays the display target information via the display carrier; The method of claim 1, further comprising:
2. The step of the shared platform acquiring the display target information in response to the identifier includes: The shared platform searches for and acquires the display target information from a local area according to the identifier; or The shared platform transmits a request message to the provider to acquire the display target information according to the identifier, and receives a response message transmitted from the provider, the response message including the display target information.
2. The method of claim 1 .
3. The display target information has a corresponding display component, and the display component is used to indicate a display method of the display target information.
3. The method according to claim 1 or 2.
4. a display carrier provided by the shared platform is used to provide an execution environment for the display component; 4. The method according to claim 3 .
5. When the display target information corresponding to the identifier is changed, the sharing platform further includes a step of receiving a notification message sent from the provider, the notification message including the identifier; 3. The method according to claim 1 or 2.
6. The notification message further includes updated display target information.
6. The method of claim 5 .
7. After the sharing platform receives the notification message, The sharing platform determines whether the display target information corresponding to the identifier is in a state in which it is displayed; In response to the display target information corresponding to the identifier being in a display state, the shared platform acquires updated display target information, and the display side displays the updated display target information.
6. The method of claim 5 .
8. the sharing platform further includes a step of locally storing the updated display target information; 8. The method according to claim 6 or 7.
9. the data standard indicates a type corresponding to the field; 3. The method according to claim 1 or 2.
10. 1. A method for displaying information in an application program executed by an apparatus, comprising: A step of a display side acquiring display target information by a shared platform in response to a trigger operation by a user, the display target information being generated by a provider side based on a data standard of the shared platform, the data standard being used to indicate fields that need to be displayed in the display target information; The display side displays the display target information, The step of displaying the display target information by the display side includes: The display side loads a display carrier and displays the display target information based on the display carrier, the display carrier being provided by the sharing platform and being a carrier for displaying the display target information. A method comprising:
11. The step of the display side acquiring the display target information through a shared platform includes: The display side transmits a display request including an identifier of the information to be displayed to the sharing platform, whereby the sharing platform searches for the information to be displayed locally according to the identifier of the information to be displayed, or requests the information to be displayed from the providing side.
11. The method of claim 10.
12. The step of displaying the display target information by the display side includes: The display side displays the information to be displayed according to a display component corresponding to the information to be displayed, the display component being used to indicate a display method of the information to be displayed, and the display component being provided by the providing side.
12. The method according to claim 10 or 11.
13. the display target information has an extensibility capability, the extensibility capability being used to indicate operations that a user can perform on the display target information; 12. The method according to claim 10 or 11.
14. The expansion capability is coupled to the display side.
14. The method of claim 13.
15. The expansion capability is decoupled from the display side.
14. The method of claim 13.
16. In response to a user's trigger operation on the display target information, the display side further includes a step of outputting an extension control corresponding to the extension capability or an extension result corresponding to the extension capability.
14. The method of claim 13.
17. The extension capability is used to indicate a capability to perform a tag addition operation on the information to be displayed or a capability to perform a comment operation on the information to be displayed.
14. The method of claim 13.
18. Entering a tag addition page in response to a user's trigger operation on a tag control of the information to be displayed; The display side further includes a step of receiving tag information input by the user on the tag addition page, and displaying the display target information in association with the added tag information.
20. The method of claim 17 .
19. Entering a comment page in response to a user's trigger operation on a comment control of the display target information; The display side further includes a step of receiving comment content input by the user on the comment page, and displaying the display target information in association with the comment content.
20. The method of claim 17 .
20. 1. A method for displaying information in an application program executed by an apparatus, comprising: A step in which a provider generates information to be displayed according to a data standard provided by a sharing platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; the provider determines whether to cache the display target information in the shared platform; After determining to cache the display target information in the shared platform, the providing side transmits the display target information to the shared platform, so that the display side displays the display target information through a display carrier provided by the shared platform. A method comprising:
21. After the step in which the provider generates the display target information according to the data standard provided by the sharing platform, The provider further includes packaging an extension capability into the information to be displayed.
21. The method of claim 20.
22. The expansion capability is coupled to the display side.
22. The method of claim 21 .
23. The expansion capability is decoupled from the display side; 22. The method of claim 21 .
24. The provider stores a correspondence relationship between the extension capability and the display device.
23. The method of claim 22.
25. 1. A system for displaying information in an application program, the system including an interaction object and a sharing platform; the shared platform provides a data standard such that the interaction objects generate display target information in accordance with the data standard, the data standard being used to indicate fields that need to be displayed in the display target information; The sharing platform further provides the display target information to the interaction object in response to a display request transmitted from the interaction object, the display request including an identifier of the display target information; The shared platform includes a display carrier for displaying the display target information at a preset position of the interaction object based on loading of the interaction object. A system characterized by:
26. the shared platform includes a data management module; 26. The system of claim 25.
27. The data management module performs information interaction with the interaction object.
27. The system of claim 26.
28. The data management module further stores the display target information.
28. A system according to claim 26 or 27.
29. When the display target information is changed, the data management module further receives a notification message including the identifier, the notification message being sent from the interaction object.
28. A system according to claim 26 or 27.
30. The data management module further determines whether the display target information corresponding to the identifier is in a display state; In response to display target information corresponding to the identifier being in a displayed state, the data management module transmits an update message including the identifier to the display carrier; The display carrier calls back the updated display target information, and displays the updated display target information on the interaction object; 30. The system of claim 29.
31. The interaction object is a display side for displaying the display target information or a provider side for providing the display target information. A system according to any one of claims 25 to 27.
32. 1. An apparatus for displaying information in an application program, comprising: a receiving unit for receiving a display request sent from a displaying side, the display request including an identifier of information to be displayed, the information to be displayed being generated by a providing side based on a data standard of a shared platform, the data standard being used to indicate fields that need to be displayed in the information to be displayed; an acquisition unit for acquiring the display target information according to the identifier; a providing unit, in response to loading of the display side on the device, providing a display carrier to the display side, so that the display side displays the display target information via the display carrier; An apparatus comprising:
33. 1. An apparatus for displaying information in an application program, comprising: an acquisition unit for acquiring display target information by a shared platform in response to a trigger operation by a user, the display target information being generated by a provider based on a data standard of the shared platform, the data standard being used to indicate fields that need to be displayed in the display target information; a display unit for displaying the display target information; The display unit is further used for loading a display carrier and displaying the display target information based on the display carrier, the display carrier being provided by the sharing platform and being a carrier for displaying the display target information. An apparatus comprising:
34. 1. An apparatus for displaying information in an application program, comprising: a generating unit for generating information to be displayed according to a data standard provided by a sharing platform, said data standard being used to indicate fields that need to be displayed in said information to be displayed; a determining unit for determining whether to cache the display target information in the shared platform; a sending unit, after determining that the display target information is cached in the sharing platform, sending the display target information to the sharing platform, so that a display side displays the display target information through a display carrier provided by the sharing platform; An apparatus comprising:
35. An electronic device, one or more processors; a memory for storing one or more programs; said one or more programs, when executed by said one or more processors, causing said one or more processors to implement a method for displaying information in an application program according to any one of claims 1 to 24; 1. An electronic device comprising:
36. A computer readable storage medium having instructions stored thereon which, when executed on a device, cause the device to perform a method for displaying information in an application program according to any one of claims 1 to 24. A computer-readable storage medium comprising:
37. A computer program comprising a program code for executing a method for displaying information in an application program according to any one of claims 1 to 24. A computer program comprising:
Citation Information
Patent Citations
Data processing method and device based on multiple application platforms and storage medium
CN111400393A
Information sharing device and recording medium therefor
JP2000267914A