CN115016955B - Method and device for sharing information among multiple applications - Google Patents
Method and device for sharing information among multiple applicationsInfo
- Publication number
- CN115016955B CN115016955B CN202210489789.6A CN202210489789A CN115016955B CN 115016955 B CN115016955 B CN 115016955B CN 202210489789 A CN202210489789 A CN 202210489789A CN 115016955 B CN115016955 B CN 115016955B
- Authority
- CN
- China
- Prior art keywords
- mini
- program component
- shared
- sharing mechanism
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the disclosure provides a method and a device for sharing information among multiple applications, which are applied to the technical field of communication. The method comprises the steps of receiving an applet component adding instruction sent by a client, searching whether a shared applet component corresponding to the applet component exists in a sharing mechanism, if yes, updating the sharing mechanism, if not, updating the sharing mechanism and indicating the client to establish the shared applet component corresponding to the applet component, and sending information flow required by the applet component corresponding to the applet component to each shared applet component according to the sharing mechanism corresponding to each user ID. In this way, information sharing among applications can be realized, a user can acquire shared information of each application by entering an applet, user operation is reduced, and efficiency and convenience of using terminal equipment by the user are improved, so that user experience is improved, and the problem of complex operation that different applications are required to be switched to acquire corresponding information in the prior art can be solved.
Description
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a method and a device for sharing information among multiple applications.
Background
In the Internet communication big data age, users need to acquire own interested information streams from different applications respectively, the operation is complex, the users need to constantly switch among different applications to acquire the wanted information, the use feeling of the users is poor, and the information streams among different applications may have repeated problems.
Disclosure of Invention
The disclosure provides a method, a device, equipment and a storage medium for sharing information among multiple applications.
According to a first aspect of the present disclosure, a method of information sharing among multiple applications is provided. The method comprises the following steps:
receiving an applet component addition instruction sent by a client;
Searching whether a shared applet component corresponding to the applet component exists in a sharing mechanism;
If not, updating the sharing mechanism and indicating the client to establish a sharing applet component corresponding to the applet component;
And sending the information flow required by the corresponding applet component to each shared applet component according to the sharing mechanism corresponding to each user ID.
Further, the sharing mechanism comprises a user ID, a sharing applet component, a corresponding applet component and an association relationship between applications corresponding to the applet component, wherein the sharing applet component is one or more.
Further, the sharing mechanism stores the user IDs separately.
Further, the updating the sharing mechanism includes:
Corresponding application information is obtained from the applet component information carried in the applet component adding instruction, and the applet component and the corresponding application are newly established in the association relationship among the shared applet component, the corresponding applet component and the application corresponding to the applet component.
Further, the method includes sending a prompt to the client to establish a shared applet component corresponding to the applet component.
According to a second aspect of the present disclosure, an apparatus for information sharing among multiple applications is provided. The device comprises:
The receiving module is used for receiving an applet component adding instruction sent by the client;
the searching module is used for searching whether a shared applet component corresponding to the applet component exists in the sharing mechanism;
The execution module is used for executing the following steps according to the result of the search module:
If not, updating the sharing mechanism and indicating the client to establish a sharing applet component corresponding to the applet component;
and the sending module is used for sending the information flow required by the corresponding applet component to each shared applet component according to the sharing mechanism corresponding to each user ID.
According to a third aspect of the present disclosure, an electronic device is provided. The electronic device comprises a memory and a processor, the memory having stored thereon a computer program, the processor implementing the method as described above when executing the program.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method as according to the first and/or second aspects of the present disclosure.
According to the method and the device for sharing information among multiple applications, the information sharing among the applications is realized through the sharing applet component, and the user can acquire the shared information of the applications by entering one applet, so that the user operation is reduced, the efficiency and the convenience degree of using the terminal equipment by the user are improved, and the user experience is improved.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. For a better understanding of the present disclosure, and without limiting the disclosure thereto, the same or similar reference numerals denote the same or similar elements, wherein:
FIG. 1 illustrates a flow chart of a method of information sharing among multiple applications according to an embodiment of the present disclosure;
FIG. 2 illustrates a block diagram of an apparatus for information sharing among multiple applications according to an embodiment of the present disclosure;
Fig. 3 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" is merely an association relation describing the association object, and means that three kinds of relations may exist, for example, a and/or B, and that three kinds of cases where a exists alone, while a and B exist alone, exist alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Fig. 1 illustrates a flow chart of a method 100 of information sharing among multiple applications according to an embodiment of the present disclosure. The method 100 comprises the following steps:
and step 110, receiving an applet component addition instruction sent by the client.
In some embodiments, for example, in a client such as WeChat, a user with user ID "iduser" wants to obtain news from the newwave, an applet component add instruction for the newwave news applet is sent to the server by the client, so that the server receives the applet component add instruction and looks up the corresponding sharing mechanism according to user ID "iduser".
In some embodiments, the applet component addition instructions include user ID information, applet component corresponding application information, and the like.
Step 120, searching whether a shared applet component corresponding to the applet component exists in the sharing mechanism.
Further, the sharing mechanism comprises a user ID, a sharing applet component, a corresponding applet component and an association relationship between applications corresponding to the applet component, wherein the sharing applet component is one or more.
Further, the sharing mechanism stores the user IDs separately.
In some embodiments, the association between applet components, corresponding applet components, and applet component corresponding applications is shared in a sharing mechanism, e.g., news-like, shared applet components (news) - - "new wave news" applet components- - -new wave (corresponding applications), shared applet components (news) - - "Tencent news" applet components- - -Tencent (corresponding applications), shared applet components (news) - - - "today's headline news" applet components- - -today's headline (corresponding applications), shared applet components (news) - - "search fox news" applet components- - -search fox (corresponding applications), and the like. There may be multiple groups of corresponding applet components and associations between applications corresponding to the applet components under a class of shared applet components.
In some embodiments, the sharing mechanism stored with user ID, such as the sharing mechanism of user iduser, iduser- -sharing applet component (news) - - "New wave News" applet component- - - -New wave (corresponding application).
Specifically, the server receives the applet component add instruction, such as the "new wave news" applet component add instruction, in step 110, and then looks for whether there is a shared applet component (news) corresponding to the "new wave news" applet component in the sharing mechanism.
In some embodiments, after receiving an applet component addition instruction sent by a client, a server first sends a prompt message to the client about whether to establish a shared applet component corresponding to the applet component, if a confirmation instruction for the prompt message sent by the client is received, step 110 is executed, and if a cancellation instruction for the prompt message sent by the client is received, the applet component is added to the client according to the applet component addition instruction.
And step 130, if yes, updating the sharing mechanism.
Further, the update sharing mechanism includes:
Corresponding application information is obtained from the applet component information carried in the applet component adding instruction, and the applet component and the corresponding application are newly established in the association relationship among the shared applet component, the corresponding applet component and the application corresponding to the applet component.
Specifically, according to the search result of step 120, if a shared applet component corresponding to the applet component is found, for example, a shared applet component (news) corresponding to a "new wave news" applet component is found, and the corresponding application of the "new wave news" applet component is obtained as "new wave", then a new wave "applet component (corresponding application) is created in the association relationship between the corresponding applet component of the shared applet component (news) and the corresponding application of the applet component.
And 140, if not, updating the sharing mechanism and indicating the client to establish the sharing applet component corresponding to the applet component.
Further, the update sharing mechanism includes:
Corresponding application information is obtained from the applet component information carried in the applet component adding instruction, and the applet component and the corresponding application are newly established in the association relationship among the shared applet component, the corresponding applet component and the application corresponding to the applet component.
Specifically, according to the search result of step 120, if a shared applet component corresponding to the applet component is not found, such as a shared applet component (news) corresponding to a "new wave news" applet component is not found, then the shared applet component (news) is newly built in the sharing mechanism, the correspondence between the "new wave news" applet component and the corresponding shared applet component is that the "new wave news" applet component—new wave (corresponding application), and the client is instructed to build the shared applet component (news) corresponding to the "new wave news" applet component.
And step 150, according to the sharing mechanism corresponding to each user ID, sending the information flow required by the corresponding applet component to each shared applet component.
Specifically, the server side obtains information flows from each application program, and sends the information flows required by the corresponding applet components to each shared applet component according to the sharing mechanism corresponding to each user ID.
In some embodiments, the server side obtains the news-like information stream through the application "new wave" corresponding to the "new wave news" applet component, and sends the information stream to the shared applet component (news) of iduser according to the sharing mechanism corresponding to, for example, user ID iduser, and displays the information stream to the user iduser on the user page.
Through the above operation, the news class requirements of the user can be realized through the shared applet component (news), and the news class requirements do not need to be acquired from the newwave news applet component, the messenger news applet component, the today's headline news applet component, the fox news applet component and the like.
According to the embodiment of the disclosure, the following technical effects are achieved:
Through sharing the applet assembly, realize the information sharing among each application, the user gets into an applet and can acquire the shared information of each application, has reduced user's operation, has improved efficiency and the convenient degree that the user used the terminal equipment to promote user experience.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Fig. 2 illustrates a block diagram of an apparatus 200 for information sharing among multiple applications according to an embodiment of the present disclosure. As shown in fig. 2, the apparatus 200 includes:
And the receiving module 210 is configured to receive an applet component addition instruction sent by the client.
And the searching module 220 is configured to search for whether a shared applet component corresponding to the applet component exists in the sharing mechanism.
An execution module 230, configured to execute the following steps according to the result of the search module:
If not, updating the sharing mechanism and indicating the client to establish a sharing applet component corresponding to the applet component.
And the sending module 240 is configured to send, to each of the shared applet components, the information flow required by the corresponding applet component according to the sharing mechanism corresponding to each user ID.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the described modules may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
According to an embodiment of the disclosure, the disclosure further provides an electronic device, a readable storage medium.
Fig. 3 shows a schematic block diagram of an electronic device 300 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
The device 300 comprises a computing unit 301 that may perform various suitable actions and processes in accordance with a computer program stored in a Read Only Memory (ROM) 302 or loaded from a storage unit 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 may also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other by a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Various components in the device 300 are connected to the I/O interface 305, including an input unit 306, such as a keyboard, mouse, etc., an output unit 307, such as various types of displays, speakers, etc., a storage unit 308, such as a magnetic disk, optical disk, etc., and a communication unit 309, such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized 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 of information sharing among multiple applications. For example, in some embodiments, a method of information sharing among multiple applications may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 300 via the ROM 302 and/or the communication unit 309. When the computer program is loaded into RAM 303 and executed by computing unit 301, one or more steps of a method of information sharing between multiple applications described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform a method of information sharing among multiple applications in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be a special or general purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These 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 the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user, for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210489789.6A CN115016955B (en) | 2022-05-06 | 2022-05-06 | Method and device for sharing information among multiple applications |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210489789.6A CN115016955B (en) | 2022-05-06 | 2022-05-06 | Method and device for sharing information among multiple applications |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115016955A CN115016955A (en) | 2022-09-06 |
| CN115016955B true CN115016955B (en) | 2026-01-23 |
Family
ID=83069304
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210489789.6A Active CN115016955B (en) | 2022-05-06 | 2022-05-06 | Method and device for sharing information among multiple applications |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115016955B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116668968B (en) * | 2023-07-25 | 2023-10-13 | 西安优光谱信息科技有限公司 | Cross-platform communication information processing method and system |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110704718A (en) * | 2019-09-19 | 2020-01-17 | 安徽信果网络科技有限公司 | Library for intelligent query of WeChat small program |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109754097A (en) * | 2017-11-06 | 2019-05-14 | 北京国双科技有限公司 | Long-range court's trial implementation method and device |
| CN110022341B (en) * | 2018-01-10 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Data transmission method and related equipment |
| CN109558536A (en) * | 2018-11-15 | 2019-04-02 | 安徽信果网络科技有限公司 | One kind obtained automatically based on wechat small routine news, screening system and method |
| CN112583867B (en) * | 2019-09-27 | 2023-01-31 | 百度在线网络技术(北京)有限公司 | Sharing method and device of intelligent household electrical appliance, electronic equipment and medium |
| CN111464429B (en) * | 2020-03-31 | 2022-09-23 | 高新兴科技集团股份有限公司 | WeChat applet multi-item compatible sharing method, system, storage medium and equipment |
| CN113905334B (en) * | 2021-06-03 | 2022-10-11 | 荣耀终端有限公司 | Information sharing method and device |
-
2022
- 2022-05-06 CN CN202210489789.6A patent/CN115016955B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110704718A (en) * | 2019-09-19 | 2020-01-17 | 安徽信果网络科技有限公司 | Library for intelligent query of WeChat small program |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115016955A (en) | 2022-09-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110659246B (en) | Container-based file mounting method and device and electronic equipment | |
| CN112925623B (en) | Task processing method, device, electronic device and medium | |
| CN113572833B (en) | Cloud mobile phone maintenance method and device, electronic equipment and storage medium | |
| EP4247103A1 (en) | Method and apparatus for determining satellite backhaul information | |
| CN112866391A (en) | Message pushing method and device, electronic equipment and storage medium | |
| CN112084395B (en) | Search method, search device, electronic device and storage medium | |
| CN111343235A (en) | Data processing method and device, access system, electronic equipment and storage medium | |
| CN113242358A (en) | Audio data processing method, device and system, electronic equipment and storage medium | |
| CN115016955B (en) | Method and device for sharing information among multiple applications | |
| US20260100922A1 (en) | Instant messaging chat information processing method, storage medium and electronic device | |
| CN113691403A (en) | Topological node configuration method, related device and computer program product | |
| CN112559867B (en) | Business content output methods, devices, equipment, storage media and program products | |
| CN112632384A (en) | Data processing method and device for application program, electronic equipment and medium | |
| CN111694680A (en) | Application communication method, device, equipment and storage medium | |
| CN115514718B (en) | Data interaction method, control layer and equipment based on data transmission system | |
| CN114328557B (en) | Data processing method, device, electronic device and storage medium | |
| CN114564133B (en) | Application display method, device, equipment and medium | |
| CN109213815B (en) | Method, apparatus, server terminal, and readable medium for controlling execution times | |
| CN113760487B (en) | Service processing method and device | |
| CN113612848A (en) | Internet of things data receiving method, Internet of things platform and Internet of things system | |
| CN115080229A (en) | Resource object management method and device | |
| CN115664842B (en) | Communication link setting method, device, equipment and storage medium | |
| CN114329197B (en) | Method, electronic device and program product for feeding back target data to user terminal | |
| CN112583897A (en) | Data destination creating method and device of rule engine, electronic equipment and storage medium | |
| CN114202308B (en) | Service processing method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |