A method and apparatus for sharing information among multiple applications

By managing user IDs and establishing a sharing mechanism between applications, information sharing among multiple applications is achieved, solving the problem of cumbersome operations for users switching between different applications to obtain information and improving the user experience.

CN115016955BActive Publication Date: 2026-01-23LETV NEW GENERATION (BEIJING) CULTURE MEDIA CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210489789.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-06
Publication Date
2026-01-23
Estimated Expiration
2042-05-06

AI Technical Summary

Technical Problem

In the era of big data in internet communication, users need to switch between different applications to obtain information, which is cumbersome and results in duplicate information flow, leading to a poor user experience.

Method used

The sharing mechanism manages the relationships between user IDs, shared mini-program components, and applications, receives instructions to add mini-program components, updates the sharing mechanism, and establishes shared mini-program components to achieve information flow sharing.

Benefits of technology

Users can access information from multiple applications through a mini-program component, reducing operational steps and improving the efficiency and user experience of terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115016955B_ABST
    Figure CN115016955B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a method and device for sharing information among multiple applications, which are applied to the technical field of communication. The method comprises receiving a mini-program component adding instruction sent by a client; checking whether a shared mini-program component corresponding to the mini-program component exists in a sharing mechanism; if yes, updating the sharing mechanism; if not, updating the sharing mechanism and instructing the client to establish a shared mini-program component corresponding to the mini-program component; and sending information flow required by the corresponding mini-program component to each shared mini-program component according to the sharing mechanism corresponding to each user ID. In this way, information sharing among applications can be realized, and a user can obtain shared information of each application by entering a mini-program, thereby reducing user operations, improving the efficiency and convenience of using a terminal device, and thus improving user experience, and the problem of complicated operations in the prior art that different applications need to be switched to obtain corresponding information can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to a method and apparatus for information sharing among multiple applications. Background Technology

[0002] In the era of big data in internet communication, users need to obtain information streams of interest from different applications, which is cumbersome and requires constant switching between different applications to obtain the desired information. This results in a poor user experience, and there may also be duplicate information streams between different applications. Summary of the Invention

[0003] This disclosure provides a method, apparatus, device, and storage medium for information sharing among multiple applications.

[0004] According to a first aspect of this disclosure, a method for information sharing among multiple applications is provided. The method includes:

[0005] Receive instructions from the client to add mini-program components;

[0006] The sharing mechanism is used to check if a shared mini-program component exists that corresponds to the mini-program component.

[0007] If yes, update the sharing mechanism; if no, update the sharing mechanism and instruct the client to create a shared mini-program component corresponding to the mini-program component.

[0008] Based on the sharing mechanism corresponding to each user ID, the information flow required by the corresponding mini-program component is sent to each of its shared mini-program components.

[0009] Furthermore, the sharing mechanism includes the association between user ID, shared mini-program components, corresponding mini-program components, and applications corresponding to mini-program components, wherein the shared mini-program components can be one or more.

[0010] Furthermore, the sharing mechanism stores each user ID separately.

[0011] Furthermore, the update of the sharing mechanism includes:

[0012] Obtain the corresponding application information from the mini-program component information carried in the mini-program component addition instruction, and create a new association relationship between the mini-program component and its corresponding application in the association relationship between the shared mini-program component, the corresponding mini-program component and the application corresponding to the mini-program component.

[0013] Furthermore, the method also includes sending a prompt message to the client asking whether to create a shared mini-program component corresponding to the mini-program component.

[0014] According to a second aspect of this disclosure, an apparatus for information sharing among multiple applications is provided. The apparatus includes:

[0015] The receiving module is used to receive instructions from the client to add mini-program components.

[0016] The search module is used to search within the sharing mechanism for whether a shared mini-program component corresponding to the mini-program component exists.

[0017] The execution module is used to perform the following steps based on the result of the search module:

[0018] If yes, update the sharing mechanism; if no, update the sharing mechanism and instruct the client to create a shared mini-program component corresponding to the mini-program component.

[0019] The sending module is used to send the information stream required by each user's corresponding mini-program component to each of its shared mini-program components according to the sharing mechanism corresponding to each user ID.

[0020] According to a third aspect of this disclosure, an electronic device is provided. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described above.

[0021] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the methods as described in the first and / or second aspects of this disclosure.

[0022] This disclosure provides a method and apparatus for information sharing among multiple applications. By sharing a mini-program component, information sharing among various applications can be achieved. Users can access shared information from various applications simply by entering a mini-program, reducing user operations and improving the efficiency and convenience of using terminal devices, thereby enhancing the user experience.

[0023] It should be understood that the description in the Summary of the Invention is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0024] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. The drawings are provided for a better understanding of the invention and are not intended to limit the scope of this disclosure. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0025] Figure 1 A flowchart illustrating a method for information sharing among multiple applications according to an embodiment of the present disclosure is shown;

[0026] Figure 2 A block diagram of an apparatus for information sharing between multiple applications according to an embodiment of the present disclosure is shown;

[0027] Figure 3 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0029] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0030] Figure 1 A flowchart of a method 100 for information sharing among multiple applications according to an embodiment of the present disclosure is shown. Method 100 includes:

[0031] Step 110: Receive the mini-program component addition instruction sent by the client.

[0032] In some embodiments, such as in a WeChat client, a user with the user ID "iduser" who wants to access news from Sina sends a command to the server to add a mini-program component for the Sina News mini-program. The server then receives the command and looks up the corresponding sharing mechanism based on the user ID "iduser".

[0033] In some embodiments, the instructions for adding a mini-program component include user ID information, application information corresponding to the mini-program component, etc.

[0034] Step 120: In the sharing mechanism, check if there is a shared mini-program component corresponding to the mini-program component.

[0035] Furthermore, the sharing mechanism includes the association between user ID, shared mini-program components, corresponding mini-program components, and applications corresponding to mini-program components, wherein the shared mini-program components can be one or more.

[0036] Furthermore, the sharing mechanism stores each user ID separately.

[0037] In some embodiments, the sharing mechanism establishes the following relationships between shared mini-program components, their corresponding mini-program components, and the applications they correspond to: For example, in the news category, the shared mini-program component (News) --- "Sina News" mini-program component --- Sina (corresponding application); the shared mini-program component (News) --- "Tencent News" mini-program component --- Tencent (corresponding application); the shared mini-program component (News) --- "Toutiao News" mini-program component --- Toutiao (corresponding application); the shared mini-program component (News) --- "Sohu News" mini-program component --- Sohu (corresponding application), etc. A single category of shared mini-program components can have multiple sets of corresponding mini-program components and their corresponding applications.

[0038] In some embodiments, a sharing mechanism that stores user IDs, such as the user iduser sharing mechanism: iduser---shared mini-program component (news)---"Sina News" mini-program component---Sina (corresponding application).

[0039] Specifically, the server receives the mini-program component addition instruction in step 110, such as the "Sina News" mini-program component addition instruction, and then searches in the sharing mechanism for whether there is a shared mini-program component (news) corresponding to the "Sina News" mini-program component.

[0040] In some embodiments, after receiving the mini-program component addition instruction sent by the client, the server first sends a prompt message to the client asking whether to create a shared mini-program component corresponding to the mini-program component. If the server receives a confirmation instruction from the client regarding the prompt message, step 110 is executed. If the server receives a cancellation instruction from the client regarding the prompt message, the server adds the mini-program component to the client according to the mini-program component addition instruction.

[0041] Step 130: If yes, update the sharing mechanism.

[0042] Furthermore, the update sharing mechanism includes:

[0043] Obtain the corresponding application information from the mini-program component information carried in the mini-program component addition instruction, and create a new association relationship between the mini-program component and its corresponding application in the association relationship between the shared mini-program component, the corresponding mini-program component and the application corresponding to the mini-program component.

[0044] Specifically, based on the search results of step 120, if a shared mini-program component corresponding to the mini-program component is found, such as a shared mini-program component (news) corresponding to the "Sina News" mini-program component, and the application corresponding to the "Sina News" mini-program component is obtained as "Sina", then a new "Sina News" mini-program component---Sina (corresponding application) is created in the association relationship between the mini-program component corresponding to the shared mini-program component (news) and the application corresponding to the mini-program component.

[0045] Step 140: If not, update the sharing mechanism and instruct the client to create a shared mini-program component corresponding to the mini-program component.

[0046] Furthermore, the update sharing mechanism includes:

[0047] Obtain the corresponding application information from the mini-program component information carried in the mini-program component addition instruction, and create a new association relationship between the mini-program component and its corresponding application in the association relationship between the shared mini-program component, the corresponding mini-program component and the application corresponding to the mini-program component.

[0048] Specifically, based on the search results of step 120, if no shared mini-program component corresponding to the mini-program component is found, such as no shared mini-program component (news) corresponding to the "Sina News" mini-program component, then a new shared mini-program component (news) is created in the sharing mechanism, and the correspondence between the "Sina News" mini-program component and the corresponding shared mini-program component is established: "Sina News" mini-program component --- Sina (corresponding application), and the client is instructed to create a shared mini-program component (news) corresponding to the "Sina News" mini-program component.

[0049] Step 150: Based on the sharing mechanism corresponding to each user ID, send the information flow required by the corresponding mini-program component to each of its shared mini-program components.

[0050] Specifically, the server obtains information streams from each application and, based on the sharing mechanism corresponding to each user ID, sends the information streams required by the corresponding mini-program components to each of its shared mini-program components.

[0051] In some embodiments, the server obtains news information streams through the application "Sina" corresponding to the "Sina News" mini-program component, and sends the information streams to the shared mini-program component (news) of iduser according to, for example, the sharing mechanism corresponding to the user ID iduser, and displays it to the user iduser on the user page.

[0052] Through the above operations, users' news-related needs can be met by sharing the mini-program component (news), without having to obtain it separately from the "Sina News" mini-program component, "Tencent News" mini-program component, "Toutiao News" mini-program component, "Sohu News" mini-program component, etc.

[0053] According to the embodiments of this disclosure, the following technical effects are achieved:

[0054] By sharing mini-program components, information sharing between applications is achieved. Users can access shared information from various applications simply by entering a mini-program, reducing user operations and improving the efficiency and convenience of using terminal devices, thereby enhancing the user experience.

[0055] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this disclosure.

[0056] The above is an introduction to the method embodiments. The following describes the solution described in this disclosure further through device embodiments.

[0057] Figure 2 A block diagram of an inter-application information sharing apparatus 200 according to an embodiment of the present disclosure is shown. Figure 2 As shown, the device 200 includes:

[0058] The receiving module 210 is used to receive the mini-program component addition instruction sent by the client.

[0059] The search module 220 is used to search in the sharing mechanism for whether there is a shared mini-program component corresponding to the mini-program component.

[0060] Execution module 230 is used to perform the following steps based on the result of the search module:

[0061] If yes, update the sharing mechanism; if no, update the sharing mechanism and instruct the client to create a shared mini-program component corresponding to the mini-program component.

[0062] The sending module 240 is used to send the information stream required by each user's corresponding mini-program component to each of its shared mini-program components according to the sharing mechanism corresponding to each user ID.

[0063] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the described module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0064] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.

[0065] Figure 3 A schematic block diagram of an electronic device 300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0066] Device 300 includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 302 or a computer program loaded from storage unit 308 into random access memory (RAM) 303. The RAM 303 may also store various programs and data required for the operation of device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via bus 304. Input / output (I / O) interface 305 is also connected to bus 304.

[0067] Multiple components in device 300 are connected to I / O interface 305, including: input unit 306, such as keyboard, mouse, etc.; output unit 307, such as various types of monitors, speakers, etc.; storage unit 308, such as disk, optical disk, etc.; and communication unit 309, such as network card, modem, wireless transceiver, etc. Communication unit 309 allows device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0068] The computing unit 301 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as a method for sharing information between multiple applications. For example, in some embodiments, a method for sharing information between multiple applications can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed on device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the method for sharing information between multiple applications described above can be performed. Alternatively, in other embodiments, computing unit 301 may be configured in any other suitable manner (e.g., by means of firmware) to perform a method of information sharing between multiple applications.

[0069] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0070] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0071] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0072] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0073] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0074] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0075] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0076] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for information sharing among multiple applications, characterized in that, include: Receive instructions from the client to add mini-program components; The sharing mechanism searches for the existence of a shared mini-program component corresponding to the mini-program component; the sharing mechanism includes the association between user ID, shared mini-program component, corresponding mini-program component, and application corresponding to mini-program component. If yes, update the sharing mechanism; if no, update the sharing mechanism and instruct the client to create a shared mini-program component corresponding to the mini-program component. Based on the sharing mechanism corresponding to each user ID, the information flow required by the corresponding mini-program component is sent to each of its shared mini-program components.

2. The method according to claim 1, characterized in that, The shared mini-program component can be one or more.

3. The method according to claim 1, characterized in that, The sharing mechanism stores each user ID separately.

4. The method according to claim 1, characterized in that, The updated sharing mechanism includes: Obtain the corresponding application information from the mini-program component information carried in the mini-program component addition instruction, and create a new association relationship between the mini-program component and its corresponding application in the association relationship between the shared mini-program component, the corresponding mini-program component and the application corresponding to the mini-program component.

5. The method according to claim 1, characterized in that, It also includes sending a prompt message to the client asking whether to create a shared mini-program component corresponding to the mini-program component.

6. A device for information sharing among multiple applications, characterized in that, include: The receiving module is used to receive instructions from the client to add mini-program components. The search module is used to search in the sharing mechanism for whether there is a shared mini-program component corresponding to the mini-program component; the sharing mechanism includes the association between user ID, shared mini-program component, corresponding mini-program component, and application corresponding to mini-program component; The execution module is used to perform the following steps based on the result of the search module: If yes, update the sharing mechanism; if no, update the sharing mechanism and instruct the client to create a shared mini-program component corresponding to the mini-program component. The sending module is used to send the information stream required by each user's corresponding mini-program component to each of its shared mini-program components according to the sharing mechanism corresponding to each user ID.

7. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

8. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Library for intelligent query by WeChat applet

    CN110704718A