Information sharing method, device, storage medium and electronic device

By acquiring the information in the first information window on the terminal and automatically displaying it to the second information window, the problem of inefficient information sharing in the prior art is solved, and automatic sharing of information and improvement of user experience is achieved.

CN116600041BActive Publication Date: 2025-05-16ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310491373.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2025-05-16
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

In the prior art, information sharing is relatively low efficiency and requires human operation to achieve information sharing between different applications, resulting in low efficiency and poor user experience.

Method used

By acquiring the information received in the first information window of the terminal and setting it to automatically display it to the second information window in advance, automatic sharing of information is realized.

Benefits of technology

It improves the efficiency of information sharing and avoids the problems of untimely information sharing and poor user experience caused by human operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116600041B_ABST
    Figure CN116600041B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides an information sharing method, device, storage medium and electronic device, wherein the method comprises: obtaining first information received in a first information window of a terminal, wherein the first information is pre-set to be automatically displayed in a second information window; and displaying all or part of the first information in the second information window. The embodiment of the present invention solves the technical problem of low efficiency of information sharing existing in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of intelligent terminals, and in particular, to an information sharing method, device, storage medium and electronic device. Background Art

[0002] In recent years, with the popularity of handheld electronic devices such as smart phones, people's demand for using mobile phones to obtain and share information has increased dramatically. Mobile phones have become a vital tool for people to receive, send and share information. Such as express text messages, WeChat group notifications, and QQ messages. However, at present, the sharing of information content between various applications on mobile phones requires manual operation. There is no user-configurable automatic information sharing function. For example, when user A needs to share the information received in WeChat with other WeChat friends, user A needs to open the information first and long press the information, then select the forwarding object and click to send; and for information sharing between different applications, manual repetitive operations are often required to share this information. For example, when user A needs to share the received text message with WeChat friends, user A needs to open the information in the text message application first, long press and copy the information, and then open the WeChat application to find the WeChat friend dialog box to paste, send, etc. When it needs to be shared with multiple WeChat friends, it is also necessary to paste, send, etc. multiple times, which brings inconvenience to the user. It can be seen that the information sharing method in the related art has the problem of low efficiency.

[0003] Currently, no effective solution has been proposed for the technical problem of low efficiency of information sharing existing in relevant technologies. Summary of the invention

[0004] The embodiments of the present invention provide an information sharing method, device, storage medium and electronic device to at least solve the technical problem of low efficiency of information sharing existing in the related art.

[0005] According to one embodiment of the present invention, there is provided an information sharing method, comprising: acquiring first information received in a first information window of a terminal, wherein the first information is pre-set to be automatically displayed in a second information window; and displaying all or part of the first information in the second information window.

[0006] According to another embodiment of the present invention, there is provided an information sharing device, comprising: an acquisition module, used to acquire first information received in a first information window of a terminal, wherein the first information is pre-set to be automatically displayed in a second information window; and a display module, used to display all or part of the content of the first information in the second information window.

[0007] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0008] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0009] In an embodiment of the present invention, the first information received in the first information window of the terminal is obtained, wherein the first information is pre-set to be automatically displayed in the second information window; then, all or part of the first information is displayed in the second information window, that is, the purpose of automatically sharing the first information to the second information window is achieved, avoiding the problem that manual operation is required to achieve information sharing in the related art, which easily leads to untimely information sharing and poor user experience. Through this embodiment, the technical problem of low efficiency of information sharing existing in the related art is solved, and the effect of improving the efficiency of information sharing is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0011] Figure 1 is a hardware structure block diagram of a mobile terminal of an information sharing method according to an embodiment of the present invention;

[0012] Figure 2 is a flow chart of an information sharing method according to an embodiment of the present invention;

[0013] Figure 3 is an example of an information sharing scenario according to an embodiment of the present invention Figure 1 ;

[0014] Figure 4 is an example of an information sharing scenario according to an embodiment of the present invention Figure 2 ;

[0015] Figure 5 is an example diagram of the main interface of the information sharing function according to an embodiment of the present invention;

[0016] Figure 6 This is an example of adding an information sharing function interface according to an embodiment of the present invention. Figure 1 ;

[0017] Figure 7This is an example of adding an information sharing function interface according to an embodiment of the present invention. Figure 2 ;

[0018] Figure 8 This is an example of adding an information sharing function interface according to an embodiment of the present invention. Figure 3 ;

[0019] Fig. 9 This is an example of a sharing interface for an information sharing function according to an embodiment of the present invention. Figure 1 ;

[0020] Fig.10 This is an example of a sharing interface for an information sharing function according to an embodiment of the present invention. Figure 2 ;

[0021] Fig.11 is a flow chart of adding configuration according to an embodiment of the present invention;

[0022] Fig.12 is a flow chart of deletion configuration according to an embodiment of the present invention;

[0023] Fig.13 is an example diagram of an information sharing function deletion interface according to an embodiment of the present invention;

[0024] Fig.14 is a flow chart of an automatic information sharing switch according to an embodiment of the present invention;

[0025] Fig.15 is a software operation flow chart according to an embodiment of the present invention;

[0026] Fig.16 is a flow chart of adding configuration of automatic sharing of SMS according to an embodiment of the present invention;

[0027] Fig.17 This is a flowchart of automatically sharing text messages to WeChat according to an embodiment of the present invention;

[0028] Fig.18 is a structural block diagram of an information sharing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 is a hardware structure block diagram of a mobile terminal of the information sharing method according to an embodiment of the present invention, such as Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0032] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the information sharing method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0033] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0034] In this embodiment, a method for sharing information is provided. Figure 2 is a flow chart of an information sharing method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0035] Step S202, obtaining first information received in a first information window of a terminal, wherein the first information is preset to be automatically displayed in a second information window;

[0036] Step S204: display all or part of the first information in the second information window.

[0037] Through the above steps, the first information received in the first information window of the terminal is obtained, wherein the first information is pre-set to be automatically displayed in the second information window; then, all or part of the first information is displayed in the second information window, that is, the purpose of automatically sharing the first information to the second information window is achieved, avoiding the problem that manual operation is required to achieve information sharing in the related technology, which easily leads to untimely information sharing and poor user experience. Through this embodiment, the technical problem of low efficiency of information sharing existing in the related technology is solved, and the effect of improving the efficiency of information sharing is achieved.

[0038] Among them, the execution subject of the above steps can be a terminal, such as a mobile phone, or a PDA, or a PC, or the background of the terminal, or a software program, or the execution subject of the above steps can also be other processing devices or processing units with similar processing capabilities, but is not limited to this.

[0039] In the technical solution provided in the above step S202, the above steps are performed by the background (or software) of the mobile phone as an example for explanation. The information of the first information window can be pre-configured to be allowed to be shared with the second information window. For example, an information sharing list (or information sharing configuration file) can be configured. The information sharing list is used to record the window corresponding to the source path (such as the above first information window) and the window corresponding to the destination path (such as the above second information window), that is, there is a sharing relationship between the first information window and the second information window. For example, the source path is the access path of the first information window, and the destination path is the access path of the second information window. The background can scan the information sharing list (or information sharing configuration file) at a predetermined period, open the window corresponding to the source path (such as the above first information window) in the background, and simulate a touch screen long press event in the window corresponding to the opened source path to obtain the first information received in the first information window. For example, the first information can be copied for subsequent sharing of the first information to the second information window.

[0040] In the technical solution provided in the above step S204, the first information is displayed in the second information window. Optionally, the entire content of the first information can be displayed in the second information window, or part of the content of the first information can be displayed in the second information window. For example, when the information sharing function is configured in advance, a key information filtering function can be set. Optionally, when the first information contains key information, the entire content of the first information is automatically shared with the second information window, or, when the first information contains key information, the key information in the first information is first deleted, and then the remaining part of the content is automatically shared with the second information window. In practical applications, the first information can be compared with the shared information recorded in the information sharing list. The information sharing list can be used to record the information shared to the second information window, for example, the information shared to other information windows last time. Optionally, multiple pieces of information or all information shared to the second information window can also be recorded. If the first information is consistent or identical with the shared information recorded in the information sharing list, it indicates that the first information has been shared to the second information window. If the first information is inconsistent or different from the shared information recorded in the information sharing list, it indicates that the first information has not been shared to the second information window. Optionally, when the sharing function is configured for the first information window for the first time, the last piece of information in the first information window may be recorded in the information sharing list, or the shared information recorded in the information sharing list may be empty. When it is determined that the first information has not been shared to the second information window, all or part of the content of the first information may be automatically displayed in the second information window, thereby achieving the purpose of sharing the first information to the second information window. For example, the background may simulate a touch screen long press event at the information input box position of the second information window based on the second information window (i.e., the window corresponding to the above-mentioned destination path) that has a sharing relationship with the first information window recorded in the information sharing list, and then paste the first information obtained in step S202 into the information input box of the second information window, and simulate a touch screen click event at the information sending button position of the second information window, and send it out, thereby completing the sending of the first information to the second information window, so that the first information can be displayed in the second information window, thereby achieving the purpose of sharing the first information to the second information window.

[0041] It should be noted that in the above embodiment, the first information window can be an information window of a certain application (or APP), such as a conversation window of a mobile phone text message, or a conversation window of WeChat, or an information window of other applications, or multiple information windows corresponding to multiple APPs. Similarly, the second information window can be an information window of a certain application (or APP), or multiple information windows corresponding to multiple APPs. The above-mentioned first information window and the above-mentioned second information window can be different information windows in different applications, or different information windows in the same application. That is, the above-mentioned first information window can be one information window or multiple information windows. Similarly, the above-mentioned second information window can be one information window or multiple information windows. The above-mentioned information sharing list can record the sharing relationship between one information window and another information window, or record the sharing relationship between a first information window and multiple second information windows, that is, a one-to-many sharing relationship, or can also record the sharing relationship between multiple first information windows and one second information window, wherein the information sharing list is used to record the path of the window, such as the source path and the destination path. Through the above embodiment, the purpose of automatically sharing the first information in the first information window to the second information window can be achieved, avoiding the problem that the information sharing in the related art requires manual operation to achieve information sharing, which easily leads to untimely information sharing and poor user experience. The technical problem of low efficiency of information sharing in the related art is solved, and the effect of improving the efficiency of information sharing and the effect of improving the user experience are achieved.

[0042] In an optional embodiment, acquiring the first information received in the first information window in the terminal includes: opening the first information window in the background of the terminal; and acquiring the first information in the first information window.

[0043] Optionally, the execution subject of the above embodiment may be the background of the terminal, such as the background of a mobile phone. The background of the terminal may open the first information window. In the embodiment of the present application, an information sharing list (or information sharing configuration file) may be pre-configured, wherein the information sharing list may include one or more information sharing items, each information sharing item representing the sharing relationship between the first information window (or called the information source window) and the second information window (or called the information destination window). It can also be said that each information sharing item represents the sharing relationship between the source path (such as the access path of the first information window) and the destination path (such as the access path of the second information window), that is, sharing the received first information in the first information window to the second information window. It should be noted that the first information window and the second information window It does not specifically refer to a certain information window. The above-mentioned first information window can be an information window of an application (or APP), or multiple information windows of multiple applications. Similarly, the above-mentioned second information window can also be an information window of a certain application (or APP), or multiple information windows of multiple applications. Optionally, the above-mentioned first information window and the second information window can also be different information windows in the same application (or APP). The background of the terminal can scan the above-mentioned information sharing list (or information sharing configuration file) regularly or at a predetermined period. For example, one or more information sharing items in the information sharing list can be scanned one by one, and then the first information window in each information sharing item can be opened to obtain the first information in the first information window. Through this embodiment, the purpose of opening the first information window through the terminal background and obtaining the first information in the first information window is achieved.

[0044] In an optional embodiment, opening the first information window in the background of the terminal includes: obtaining a shared source path recorded in a pre-configured information sharing item, wherein the shared source path and the shared destination path are recorded in the information sharing item, the shared source path is an access path of the first information window, the shared destination path is an access path of the second information window, and the information sharing item is used to indicate that the information received in the first information window is shared to the second information window; opening the first information window whose access path is the shared source path.

[0045] Optionally, in the above embodiment, the background of the terminal can obtain the sharing source path (corresponding to the above source path) recorded in the pre-configured information sharing item. As described in the above embodiment, the pre-configured information sharing list may include one or more information sharing items, each of which represents the sharing relationship between the first information window (or referred to as the information source window) and the second information window (or referred to as the information destination window), wherein the information sharing item records the access path of the first information window (i.e., the sharing source path) and the access path of the second information window (i.e., the sharing destination path). For example, information sharing item 1 records the sharing relationship between the mobile phone SMS conversation window 1 and the WeChat conversation window 2, and information sharing item 2 records the sharing relationship between the WeChat conversation window 3 and the QQ conversation window 4; in this way, the background of the terminal can obtain the sharing source path recorded in the information sharing item by scanning the information sharing list (or information sharing configuration file), or scanning each information sharing item in the information sharing list one by one, and then open the first information window corresponding to the sharing source path. Through this embodiment, the terminal background obtains the sharing source path in the information sharing item to open the first information window.

[0046] In an optional embodiment, displaying all or part of the first information in the second information window includes: obtaining an information sharing list, wherein the information sharing list is used to represent an information set received in the first information window and shared with the second information window, and the information sharing list includes one of the following: the information set, and characteristic values ​​of each information in the information set; if the information set represented by the information sharing list does not include the first information, displaying all or part of the first information in the second information window.

[0047] Optionally, in the above embodiment, an information sharing list can be obtained, wherein the information sharing list can record the information set received in the first information window and shared with the second information window, and the information sharing list can include the information set or the characteristic value of each information in the information set. For example, the information set can be one or more information contents themselves, and the characteristic value of each information in the information set can be the characteristic value corresponding to each information in the one or more information, such as the characteristic value of the information content, and the characteristic value can be a hash value or a receiving sequence number of the information, etc.; when the above-mentioned first information is not included in the information set in the information sharing list, it means that the first information has not been shared with the second information window. At this time, the first information can be shared with the second information window, that is, the first information can be displayed in the second information window. Optionally, all or part of the content of the first information can be displayed.

[0048] In an optional embodiment, before displaying all or part of the first information in the second information window, it can also be determined whether the first information has not been shared to the second information window. For example, determining whether the first information has not been shared to the second information window includes: obtaining the shared information recorded in the information sharing list, wherein the information sharing list is used to record the information received in the first information window and shared to the second information window; determining whether the shared information includes the first information; if the shared information does not include the first information, determining that the first information has not been shared to the second information window; or obtaining the latest shared information recorded in the information sharing list, wherein the information sharing list is used to record the information received in the first information window and shared to the second information window; determining whether the latest shared information is the first information; if the latest shared information is not the first information, determining that the first information has not been shared to the second information window; or obtaining the shared information in the information sharing list. Recording characteristic values ​​of shared information, wherein the information sharing list is used to record characteristic values ​​of information received in the first information window and shared with the second information window; determining whether the characteristic values ​​of the shared information include the characteristic values ​​of the first information; if the characteristic values ​​of the shared information do not include the characteristic values ​​of the first information, determining that the first information has not been shared with the second information window; or obtaining characteristic values ​​of the latest shared information recorded in the information sharing list, wherein the information sharing list is used to record characteristic values ​​of information received in the first information window and shared with the second information window; determining whether the characteristic value of the latest shared information is equal to the characteristic value of the first information; if the characteristic value of the latest shared information is not equal to the characteristic value of the first information, determining that the first information has not been shared with the second information window.

[0049] Optionally, different implementations can be used to determine whether the first information has not been shared to the second information window. For example, by obtaining the shared information recorded in the information sharing list, and then determining whether the shared information includes the first information. If the shared information does not include the first information, it can be determined that the first information has not been shared to the second information window, and the first information can be shared to the second information window. If the shared information includes the first information, it can be determined that the first information has been shared to the second information window, and there is no need to share the first information to the second information window to avoid repeatedly sharing (or sending) the first information to the second information window. In this embodiment, the information sharing list is used to record information received in the first information window and shared to the second information window.

[0050] Optionally, the shared information recorded in the information sharing list can be obtained to determine whether the latest information shared is the first information. If the latest information shared is not the first information, it can be determined that the first information has not been shared to the second information window, and the first information can be shared to the second information window; if the latest information shared is the first information, it can be determined that the first information has been shared to the second information window, and there is no need to share the first information to the second information window. In this embodiment, the information sharing list is used to record information received in the first information window and shared to the second information window. Optionally, the information sharing list can record one latest shared information or multiple shared information.

[0051] Optionally, the information sharing list can also be used to record the characteristic values ​​of information received in the first information window and shared with the second information window, and then compare the characteristic values ​​of the first information with the characteristic values ​​of the information shared in the information sharing list. If the characteristic values ​​of the shared information do not include the characteristic values ​​of the first information, it can be determined that the first information has not been shared to the second information window. If the characteristic values ​​of the shared information include the characteristic values ​​of the first information or are the same as the characteristic values ​​of the first information, it can be determined that the first information has been shared to the second information window.

[0052] Optionally, the information sharing list can be used to record the characteristic values ​​of information received in the first information window and shared with the second information window, and then compare the characteristic values ​​of the first information with the characteristic values ​​of the latest information shared in the information sharing list. If the characteristic value of the latest information shared is not equal to the characteristic value of the first information, it can be determined that the first information has not been shared to the second information window. If the characteristic value of the latest information shared is equal to the characteristic value of the first information, it can be determined that the first information has been shared to the second information window.

[0053] In an optional embodiment, the characteristic value includes a receiving sequence number, wherein the receiving sequence number is used to indicate the receiving order of information received in the first information window; or the characteristic value includes an information coding value, wherein the information coding value is used to uniquely identify the information received in the first information window.

[0054] Optionally, in the above embodiment, the above characteristic value may include a receiving sequence number, for example, a receiving sequence number of information received in the first information window, or the above characteristic value may include an information coding value, which can be used to uniquely identify the information received in the first information window. For example, the characteristic value of the information may be an information content characteristic value obtained by algorithmically processing the information content, such as a hash value of the information content.

[0055] In an optional embodiment, the method further includes: saving the first information into the information sharing list; or saving the characteristic value of the first information into the information sharing list.

[0056] In the above embodiment, after the first information is shared to the second information window, that is, after all or part of the first information is displayed in the second information window, the above information sharing list can be updated, for example, the first information is saved to the information sharing list. In actual application, the information sharing list can record one or more pieces of information received in the first information window and shared to the second information window. Optionally, the information sharing list can also record only the latest piece of information received in the first information window and shared to the second information window. In this way, after the above first information is shared to the second information window, the first information can be added to the information sharing list and used as the latest information that has been shared. Alternatively, the first information can be updated to the information sharing list to replace the latest piece of information previously recorded in the information sharing list, that is, the first information is used as the latest information that has been shared in the information sharing list. As an optional solution, the feature value corresponding to the above first information can also be saved to the information sharing list. Similar to the above, the information sharing list can record multiple feature values ​​of multiple pieces of shared information, or only record the feature value of the latest piece of information that has been shared. Optionally, in actual applications, after obtaining the first information in the first information window, the first information can be compared with the shared information recorded in the information sharing list (which can be multiple shared information or the latest shared information). If it is determined that the two are different, it means that the first information has not been shared to the second information window. At this time, the first information can be updated to the information sharing list first, and then the first information can be sent to the second information window.

[0057] In an optional embodiment, displaying all or part of the first information in the second information window includes: when key information is pre-set and the first information contains the key information, displaying all or part of the first information in the second information window.

[0058] In the above embodiment, in actual application, when the terminal configures the sharing function, a sharing rule can be set for whether the information received in the first information window is shared to the second information window. For example, the information received in the first information window can be directly shared to the second information window, and the information received in the first information window can be filtered (or screened) by setting key information before sharing it to the second information window. For example, the key information can be a keyword or a key word, and the keyword or key word can be one or more. If the key information is set in advance, when the first information contains the key information, the first information can be shared to the second information window, that is, the entire content of the first information is displayed in the second information window, that is, this situation is suitable for sharing some of the first information to the second information window in a targeted manner; or, if the key information is set in advance, when the first information contains the key information, the key information contained in the first information can be deleted to obtain the second information, and then the second information can be shared to the second information window, that is, part of the content of the first information is displayed in the second information window.

[0059] Optionally, all or part of the content of the first information can also be shared to the second information window in the following manner, that is, all or part of the content of the first information can be displayed in the second information window: in a case where the key words and / or keywords to be filtered are set in advance, the key words and / or keywords are searched for in the first information; in a case where the key words and / or keywords are found in the first information, the all content of the first information is sent to the second information window, wherein the second information window is used to display the all content of the received first information; in a case where the key words and / or keywords are not found in the first information, the first information is refused to be sent to the second information window; and / or in a case where the key words and / or keywords to be filtered are set in advance, the key words and / or keywords are searched for in the first information; in a case where the key words and / or keywords are found in the first information, the first information is refused to be sent to the second information window. The keyword and / or the key word in the first information is deleted to obtain the second information, and the second information is sent to the second information window, that is, part of the content of the first information is sent to the second information window, wherein the second information window is used to display the received second information, that is, the second information window is used to display part of the content of the first information; when the keyword and / or the key word are not found in the first information, the first information is sent to the second information window, that is, the whole content of the first information is sent to the second information window, wherein the second information window is used to display the received first information; and / or when the keyword and / or the key word to be filtered are not set in advance, the first information is sent to the second information window, wherein the second information window is used to display the received first information, that is, when the keyword and / or the key word to be filtered are not set in advance, the whole content of the first information is shared with the second information window.

[0060] In the above embodiment, in actual application, when the terminal configures the sharing function, a sharing rule can be set for whether the information received in the first information window is shared to the second information window. For example, all the information received in the first information window can be shared to the second information window. The information received in the first information window can also be filtered (or screened) by setting keywords and / or keywords before sharing it to the second information window. For example, optionally, only when the information received in the first information window (such as the above-mentioned first information) contains one or more keywords and / or keywords, the first information is shared to the second information window. This can avoid excessive information sharing, resulting in the user corresponding to the second information window frequently receiving shared information, which is easy to cause trouble; optionally, the information received in the first information window (such as the above-mentioned first information) can also be filtered by keywords and / or keywords. For example, some sensitive or personal privacy information that may be contained in the first information is filtered out and then shared to the second information window. This can achieve the purpose of protecting the user's personal privacy and achieve the effect of improving the user's experience. In actual application, different sharing rules can be set as needed, or switching between different sharing rules can be performed.

[0061] Optionally, when the keywords and / or key words to be filtered are pre-set, if the keywords and / or key words are found in the first information, the first information is sent to the second information window; or, if the keywords and / or key words are not found in the first information, the first information is refused to be sent to the second information window, that is, the first information is not sent to the second information window.

[0062] Optionally, when the keywords and / or key words to be filtered are pre-set, if the keywords and / or key words are found in the first information, the keywords and / or key words contained in the first information are deleted to obtain the second information, and then the second information is sent to the second information window; alternatively, if the keywords and / or key words are not found in the first information, the first information can be sent directly to the second information window.

[0063] Optionally, in actual application, the keywords and / or key words to be filtered may not be set, that is, all the information received by the first information window is shared with the second information window.

[0064] In an optional embodiment, the first information window is an information window in a first application in the terminal, and the second information window is an information window in a second application, wherein the first application and the second application are different applications; or the first information window and the second information window are different information windows in the first application in the terminal.

[0065] In the above embodiment, the first information window may be an information window of a first application in the terminal, such as an information window of a text message, or an information window of WeChat, or an information window of QQ, or an information window of other applications (or APPs) such as Weibo and Douyin, and the second information window may be an information window in the second application, and the second information window may also be an information window of a text message, or an information window of WeChat, or an information window of QQ, or an information window of other applications such as Weibo and Douyin, or an information window such as a notepad or a memo; optionally, the first application and the second application may be different applications, for example, the first information window is an information window in QQ, and the second information window is an information window in WeChat, such as Figure 3 As shown; Optionally, the first information window and the second information window are different information windows in the first application of the terminal. For example, the first information window is a conversation window with friend 1 in WeChat of the terminal, and the second information window is a conversation window with friend 2 in WeChat of the terminal, such as Figure 4 It should be noted that Figure 3 , Figure 4 It is just an example. The second information window may not be a window for chatting with friends. For example, it may be an information window of a file transfer assistant in WeChat. The second information window may also be an information window such as a notepad or a memo.

[0066] In an optional embodiment, the first information window is a first conversation window in the first application, wherein the first conversation window is a conversation window between a first account and a second account, and the first account is a login account of the first application.

[0067] In the above embodiment, the first information window may be a first conversation window in the first application, for example, a conversation window with a QQ friend, or a conversation window with a WeChat friend, or other windows, and the first information window may receive the first information.

[0068] In an optional embodiment, when the second information window is an information window in a second application, the second information window is a session window in the second application; or when the first information window and the second information window are different information windows in a first application in the terminal, the first information window and the second information window are different session windows in the first application.

[0069] Optionally, the second information window may be an information window in a second application in the terminal. For example, the first information window is a conversation window in QQ, and the second information window is a conversation window in WeChat. Figure 3 As shown, the second information window may also be an information recording window in a second application, such as an information recording window in an application such as a notepad or memo.

[0070] Optionally, the first information window and the second information window may be different information windows in the same application of the terminal. For example, the first information window and the second information window are respectively conversation windows with different friends (or different accounts) in QQ, or the first information window and the second information window are both conversation windows with different friends (or different accounts) in WeChat, such as Figure 4 That is, the information sharing in the embodiment of the present application can be realized between different information windows of different applications, or can be realized between different information windows of the same application.

[0071] In an optional embodiment, before the first information is received in the first information window of the terminal, the method further includes: generating an information sharing item in response to a configuration instruction, wherein the information sharing item includes a sharing destination path, the sharing destination path is an access path of the second information window, and the information sharing item is used to indicate that all or part of the first information is displayed in the second information window.

[0072] In the above embodiment, the information sharing function can be configured in advance, that is, the information sharing items can be configured. For example, if you want to share the latest information received in the text message with friends in WeChat, or share it to WeChat's file transfer assistant for your own viewing, or share it to the information recording window in the notepad and other applications. When receiving the configuration instruction, respond to the configuration instruction to generate an information sharing item, the information sharing item includes a sharing destination path, the configuration instruction can be an instruction triggered based on the system setting interface, or an instruction triggered based on the information window interface, that is, the system setting interface can be used as the entry for configuring the information sharing function, and the first information can be set to be automatically displayed in the second information window to display all or part of the first information in the second information window; the information window interface can also be used as the entry for configuring the information sharing function, for example, in the information window (such as the aforementioned first information window), long press the information content and set the sharing destination path in the pop-up menu. The sharing destination path is the access path of the second information window. In actual applications, multiple information sharing items can be configured as needed.

[0073] In an optional embodiment, the generating of the information sharing item in response to the configuration instruction includes: in response to the sharing destination path configuration instruction, displaying a sharing destination path confirmation window on the terminal; in response to a selection instruction for the second information window obtained in the sharing destination path confirmation window, configuring the access path of the second information window to the sharing destination path in the information sharing item.

[0074] In the above embodiment, in response to the shared destination path configuration instruction, a shared destination path confirmation window is displayed in the terminal, and then in response to the selection instruction of the second information window obtained in the shared destination path confirmation window, for example, when the shared destination path confirmation window is displayed in the terminal, the user can switch the interface to the destination path window to be shared, for example, switch to the conversation window with a WeChat friend in the WeChat application, and select or confirm the window. Optionally, in actual application, confirmation can also be made in the shared destination path confirmation window, at which time the access path of the second information window can be configured as the shared destination path in the information sharing item. Through this embodiment, the setting of the shared destination path is realized.

[0075] In an optional embodiment, in response to a shared destination path configuration instruction, displaying a shared destination path confirmation window on the terminal includes: in response to the shared destination path configuration instruction obtained in the first information window, displaying the shared destination path confirmation window on the terminal; in response to the configuration instruction, generating an information sharing item includes: in response to the selection instruction, configuring the access path of the first information window to the shared source path in the information sharing item.

[0076] In the above embodiment, when the information window interface is used as the entry for configuring the information sharing function, for example, in response to the shared destination path configuration instruction obtained in the first information window, a shared destination path confirmation window is displayed in the terminal, for example, the information content or the blank space can be long pressed in the first information window, and then the shared destination path confirmation window is displayed in the terminal; and then in response to the selection instruction of the second information window obtained in the shared destination path confirmation window, the access path of the second information window is configured as the shared destination path, and the access path of the first information window is also configured as the shared source path. That is, when the information window (such as the aforementioned first information window) interface is used as the entry for configuring the information sharing function, while completing the shared destination path setting, the access path of the first information window is also configured as the shared source path by default, thereby generating an information sharing item, which includes the shared destination path and the shared source path.

[0077] In an optional embodiment, generating an information sharing item in response to a configuration instruction includes: displaying a shared source path confirmation window on the terminal in response to a shared source path configuration instruction; and configuring an access path of the first information window to be the shared source path in the information sharing item in response to a selection instruction for the first information window obtained in the shared source path confirmation window.

[0078] In the above embodiment, in response to the configuration instruction, generating the information sharing item also includes: in response to the sharing source path configuration instruction, displaying the sharing source path confirmation window in the terminal, and then responding to the selection instruction of the first information window obtained in the sharing source path confirmation window. For example, when the sharing source path confirmation window is displayed in the terminal, the user can switch the interface to the source path window to be shared, for example, switch to the conversation window with a friend in the mobile phone text message application, and select or confirm the window. Optionally, in actual application, confirmation can also be made in the sharing source path confirmation window, and the access path of the first information window can be configured as the sharing source path in the information sharing item. For example, when the system setting interface is used as the entry for configuring the information sharing function, the sharing destination path and the sharing source path can be set separately, thereby generating an information sharing item, and the information sharing item includes the sharing destination path and the sharing source path.

[0079] In an optional embodiment, generating an information sharing item in response to a configuration instruction may also include: in response to a first trigger instruction, displaying a source path confirmation window on the terminal, wherein a first button for configuring the shared source path is displayed in the source path confirmation window; when the source path confirmation window stays on the first information window, in response to a first confirmation instruction executed on the first button, determining whether the access path of the first information window is a valid shared source path; if the access path of the first information window is a valid shared source path, configuring the access path of the first information window as the shared source path in the information sharing item; in response to a second trigger instruction, displaying a destination path confirmation window on the terminal, wherein a second button for configuring the shared destination path is displayed in the destination path confirmation window; when the destination path confirmation window stays on the second information window, in response to a second confirmation instruction executed on the second button, determining whether the access path of the second information window is a valid shared destination path; if the access path of the second information window is a valid shared destination path, configuring the access path of the second information window as the shared destination path in the information sharing item; wherein the target configuration instruction includes the first trigger instruction, the second trigger instruction, the first confirmation instruction, and the second confirmation instruction.

[0080] In the above embodiment, the settings can be made in the main interface of the information sharing function of the terminal, such as Figure 5 As shown, the user can click Add Configuration in the main interface of the information sharing function to prepare to configure the information sharing items, and then enter the information automatic sharing function adding interface, as shown Figure 6 As shown, when a first trigger instruction is received, the first trigger instruction may be a click Figure 6In response to the first trigger instruction, a source path confirmation window is displayed on the terminal. For example, in actual applications, a floating box may be displayed on the terminal (such as a mobile phone) to indicate that the source path is currently being configured. Figure 7 As shown, at this time, the user can use the mobile phone as usual, switch the mobile phone interface to the information source window (corresponding to the above-mentioned first information window) that needs to share information, for example, switch to a conversation box in QQ, that is, the window corresponding to the shared source path, such as Figure 3 In the conversation box with friend Zhang xx, the above-mentioned source path confirmation window (such as a floating box) can be displayed on the terminal all the time. When the source path confirmation window stays on the first information window, the user can click the confirmation (or OK) button (that is, the above-mentioned first button) of the source path confirmation window. At this time, in response to the first confirmation instruction executed on the first button, it can be further determined whether the access path of the first information window is a valid path. Only when the access path of the first information window is a valid shared source path can the access path of the first information window be configured as the shared source path in the information sharing item; if the access path of the first information window is an invalid shared source path, when the user clicks the confirmation button of the source path confirmation window, a prompt message may pop up to remind the user to reselect the information window corresponding to the valid shared source path, so as to complete the configuration of the shared source path in the information sharing item. At this time, it will return to Figure 6 In the interface shown in FIG. 1 , when receiving the second trigger instruction, the second trigger instruction may be a click Figure 6 In response to the second trigger instruction, a destination path confirmation window is displayed on the terminal. For example, in actual applications, a floating box may be displayed on the terminal (such as a mobile phone), such as Figure 8 , indicating that the destination path is currently being configured. At this time, the user can use the mobile phone as usual and switch the mobile phone interface to the information destination window (corresponding to the above-mentioned second information window) where information sharing is required. For example, switch to a conversation box in WeChat, that is, the window corresponding to the shared destination path, such as Figure 3In the conversation box with WeChat friend Li x, the above-mentioned destination path confirmation window (such as a floating box) can be displayed on the terminal all the time. When the destination path confirmation window stays on the second information window, the user can click the confirmation (or OK) button (i.e., the second button) of the destination path confirmation window. At this time, in response to the second confirmation instruction executed on the second button, it can be further determined whether the access path of the second information window is a valid path. Only when the access path of the second information window is a valid shared source path, the access path of the second information window can be configured as the shared destination path in the information sharing item; if the access path of the second information window is an invalid shared source path, when the user clicks the confirmation button of the destination path confirmation window, a prompt message can be popped up to remind the user to reselect the information window corresponding to the valid shared destination path, so that the configuration of the shared destination path in the information sharing item can be completed. The configuration of the information sharing item can be completed through the above steps, that is, the information sharing item can be generated. In actual applications, other information sharing items can also be configured in the same way as above, and finally a configuration file for automatic information sharing or an information sharing configuration list (corresponding to the aforementioned information sharing list) can be generated.

[0081] In an optional embodiment, determining whether the access path of the first information window is a valid shared source path includes: determining whether the first information window is a first session window in a first application in the terminal, wherein the first session window is a session window between a first account and a second account, and the first account is a login account of the first application; in the case where the first information window is the first session window in the first application, determining that the access path of the first information window is a valid shared source path; or determining whether the access path of the first information window contains first predetermined information, wherein the first predetermined information includes at least one of the following: an identifier of an application to which the first information window belongs, an identifier of the first information window, and a characteristic value of the last information in the first information window; in the case where the access path of the first information window contains the first predetermined information, determining that the access path of the first information window is a valid shared source path.

[0082] In the above embodiment, it can be determined whether the first information window is the first conversation window in the first application of the terminal. When it is determined that the first information window is the conversation window in the first application of the terminal, it can be determined that the access path of the first information window is a valid shared source path; if the first information window is not a conversation window, for example, the first information window is an address book window or a notepad window, it can be determined that the access path of the first information window is invalid. Optionally, it can also be determined whether the access path of the first information window contains the first predetermined information, for example, the first predetermined information includes at least one of the following: the identifier of the application to which the first information window belongs (such as QQ, or WeChat, or other application package name), the identifier of the first information window (such as the name of the information window), the characteristic value of the last information in the first information window (such as the information encoding value of the last information, or the content characteristic value, or the receiving sequence number of the last information, etc.), when it is determined that the access path of the first information window contains the first predetermined information, it can be determined that the access path is a valid shared source path; on the contrary, when it is determined that the access path of the first information window does not contain the first predetermined information, it is considered that the access path is invalid. Through this embodiment, whether the shared source path is valid can be effectively determined when configuring the information sharing item.

[0083] In an optional embodiment, determining whether the access path of the second information window is a valid shared destination path includes: determining whether the second information window is a second session window in a second application in the terminal, wherein the second session window is a session window between a third account and a fourth account, and the third account is a login account of the second application; in the case where the second information window is the second session window in the second application, determining that the access path of the second information window is a valid shared destination path; or determining whether the second information window is an information recording window in the second application; in the case where the second information window is the information recording window in the second application, determining that the access path of the second information window is a valid shared destination path; or determining whether the second information window is the third session window in the first application, wherein the third session window is a session window between the first account and the fifth account, and the first account is a login account of the first application; in the case where the second information window is the third session window in the first application, determining that the access path of the second information window is a valid shared destination path; or determining whether the access path of the second information window contains second predetermined information, wherein the second predetermined information at least includes position information of the information input box of the second information window and position information of the information sending button of the second information window; in the case where the access path of the second information window contains the second predetermined information, determining that the access path of the second information window is a valid shared destination path.

[0084] In the above embodiment, by determining whether the second information window is a second conversation window in the second application of the terminal, when it is determined that the second information window is a conversation window in the second application of the terminal, it can be determined that the access path of the second information window is a valid sharing destination path; if the second information window is not a conversation window, for example, the second information window is a WeChat address book window, or a WeChat Moments window, or a WeChat general information list, it can be determined that the access path of the second information window is an invalid sharing destination path.

[0085] Optionally, by determining whether the second information window is an information recording window in the second application, such as the information recording window of a notepad or the information recording window of a memo, when it is determined that the second information window is an information recording window in the second application, it can be determined that the access path of the second information window is a valid shared destination path; otherwise, the access path of the second information window is considered to be invalid.

[0086] Optionally, it is also possible to determine whether the second information window is the third session window in the first application, that is, whether it is a different session window in the same application as the first information window. When it is determined that the second information window is the third session window in the first application, that is, it is a different session window in the same application as the aforementioned first session window, it can be determined that the access path of the second information window is a valid shared destination path. Otherwise, the access path of the second information window is considered to be invalid.

[0087] Optionally, in actual applications, it is also possible to determine whether the access path of the second information window contains the second predetermined information. For example, the second predetermined information may include the location information of the information input box of the second information window and the location information of the information sending button of the second information window, or in addition to the above two types of information, it may also include and at least one of the following: the identifier of the application to which the second information window belongs (such as QQ, or WeChat, or other application package name), the identifier of the second information window (such as the name of the information window), etc. When it is determined that the access path of the second information window contains the second predetermined information, it can be determined that the access path is a valid shared destination path; on the contrary, when it is determined that the access path of the second information window does not contain the second predetermined information, it is considered that the access path is invalid. As an optional solution, the above-mentioned second predetermined information can also be set to include the location information of the information input box of the information recording window in the second application. Through this embodiment, when configuring the information sharing item, it is possible to effectively determine whether the shared destination path is valid.

[0088] In an optional embodiment, generating an information sharing item in response to a configuration instruction may also include: displaying a menu option on the first information window in response to a third trigger instruction, wherein the third trigger instruction is used to indicate a long press touch instruction received by the first information window; configuring the access path of the first information window to be the shared source path in the information sharing item in response to a fourth trigger instruction, and displaying a destination path confirmation window on the terminal, wherein the fourth trigger instruction is used to indicate an instruction that a target option of the menu option is selected, and displaying a third button for configuring the shared destination path in the destination path confirmation window; when the destination path confirmation window stays on the second information window, determining whether the access path of the second information window is a valid shared destination path in response to a third confirmation instruction executed on the third button; when the access path of the second information window is a valid shared destination path, configuring the access path of the second information window to be the shared destination path in the information sharing item; wherein the target configuration instruction includes the third trigger instruction and the fourth trigger instruction.

[0089] As an optional technical solution, information sharing items can also be generated in the following manner. For example, the first information window interface of the terminal can be set to display menu options on the first information window (or display optional items in a floating box) in response to a third trigger instruction. The third trigger instruction can be a long press touch instruction received by the first information window, such as Fig. 9 As shown, in response to the fourth trigger instruction, the access path of the first information window is configured as the shared source path in the information sharing item, and a destination path confirmation window is displayed on the terminal. For example, the fourth trigger instruction can be in Fig. 9 Click the target option (such as Fig. 9 In the "Add Information Sharing" in the command triggered, this is equivalent to determining that the current first information window is the shared source path window, and you can enter Figure 6 The interface shown in the figure, then click the Add Information Destination Path button to enter the interface for adding the target path, and the destination path confirmation window is displayed on the terminal, as shown in the figure below: Figure 8 or, in response to the fourth trigger instruction, click Fig. 9 After selecting the target option in the target path, the target path interface is directly entered, and a target path confirmation window is displayed on the terminal to indicate that the target path is currently being configured. The subsequent operations are similar to those in the above embodiment. At this time, the user can use the mobile phone as usual and switch the mobile phone interface to the information target window (corresponding to the above second information window) where information sharing is required. For example, switch to a conversation box in WeChat, that is, the window corresponding to the shared target path, such as Figure 3In the dialog box with WeChat friend Li x, the above-mentioned destination path confirmation window (such as a floating box) can be displayed on the terminal all the time. When the destination path confirmation window stays on the second information window, the user can click the confirmation (or OK) button (i.e., the third button, similar to the aforementioned second button) of the destination path confirmation window. At this time, in response to the third confirmation instruction executed on the third button, it can be further determined whether the access path of the second information window is a valid path. Only when the access path of the second information window is a valid shared destination path can the access path of the second information window be configured as the shared destination path in the information sharing item; if the access path of the second information window is an invalid shared source path, a prompt message may pop up after the user clicks the confirmation button of the destination path confirmation window to remind the user to reselect the information window corresponding to the valid shared destination path, so as to complete the configuration of the shared destination path in the information sharing item. That is, after long pressing on the information content of the first information window, an information sharing to the preset target path can be initiated. Optionally, in response to the third trigger instruction, a menu option is displayed on the first information window, such as Fig. 9 As shown, if the user clicks Fig. 9 After sharing the information in to an existing group, you can enter Fig.10 The sharing function sharing interface is shown, and then select the sharing item, such as Fig.10 Information sharing 1, or information sharing 2, or express information sharing, that is, long press on the information content in the first information window to initiate an information sharing setting.

[0090] The above steps can complete the configuration of information sharing items, that is, generate information sharing items. In actual applications, other information sharing items can be configured in the same way as above, and finally an automatic information sharing configuration file or information sharing configuration list (corresponding to the aforementioned information sharing list) can be generated.

[0091] Obviously, the above described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The present invention will be described in detail below in conjunction with specific embodiments.

[0092] Taking information sharing on mobile phones as an example, in the related technologies, after receiving a text message, if you want to share the content of the text message to applications such as WeChat, QQ, Alipay, and Douyin, you have to manually copy the content of the message, then open the corresponding application window to paste and send it, in order to achieve the purpose of information sharing. The related technologies do not implement a user-configurable automatic information sharing function.

[0093] The following is an explanation of the functional configuration of automatic information sharing in an embodiment of the present invention. Fig.11 is a flow chart of adding configuration according to an embodiment of the present invention, the flow includes:

[0094] S1102: Find the automatic information sharing function interface in the settings, such as Figure 5 As shown, click Add Configuration to enter the automatic sharing function adding interface, as shown Figure 6 As shown, click to add information source path (corresponding to the aforementioned shared source path) and enter S1104;

[0095] S1104: When adding an information source path, a floating box (corresponding to the aforementioned shared source path confirmation window) will be displayed on the system user interface UI, indicating that the information source path of the information sharing function is currently being configured, such as Figure 7 At this time, the user operates the mobile phone as usual, switches the mobile phone interface to the information window that needs to share information content, that is, the designated information source window (corresponding to the aforementioned first information window), clicks the OK (or Confirm) button on the floating box (corresponding to the aforementioned first button), and enters S1106;

[0096] S1106: When adding an information destination path (corresponding to the aforementioned sharing destination path), the system UI will display a floating box (corresponding to the aforementioned sharing destination path confirmation window), indicating that the destination path of the information sharing function is currently being configured. At this time, the user uses the mobile phone as usual, switches the mobile phone interface to the destination information window to be shared, that is, the designated information destination window (corresponding to the aforementioned second information window), clicks the OK (or Confirm) button on the floating box (corresponding to the aforementioned second button), and enters S1108;

[0097] S1108: Determine whether the information path recorded in S1104 and S1106 is valid, that is, whether the package name of the message application software APK (Android application package), the name of the information window, the system display resolution, the characteristic value of the content of the last message in the current information window, and the location information of the send button in the current information window are recorded. If valid, proceed to S1110, otherwise proceed to S1112.

[0098] For configurations that have already added the same information sharing path, the user is prompted that the information sharing already exists and whether to continue. If yes, proceed to S1110; otherwise, proceed to S1112.

[0099] S1110: This step is keyword setting, which can be skipped (by default, all updated information meets the automatic sharing rules). Enter S1114;

[0100] If keywords are set, information will be automatically shared only when the information updated in the information source window contains the preset keywords.

[0101] S1112: Do not generate or update the automatic sharing configuration information list in the system (corresponding to the aforementioned information sharing list). S1114: Generate a configuration file for this automatic information sharing (this configuration may be named and identified). Enter S1116;

[0102] S1116: Complete the entire adding configuration process.

[0103] It should be noted that the above step S1110 is not necessary, that is, when the judgment result of the above step S1108 is valid, the process proceeds to step S1114. In actual applications, it can be selected whether to set keyword filtering according to needs.

[0104] Optionally, you can add configuration as follows:

[0105] S1118: In the information window (corresponding to the first information window mentioned above), long press the information content, a selection menu appears, and enter S1120;

[0106] S1120: Click to add information sharing (corresponding to the aforementioned target option), enter S1106, and then execute the same steps S1106-S1116 as above.

[0107] Fig.12 This is a flow chart of deleting configuration according to an embodiment of the present invention, and the flow includes:

[0108] S1202: Find the automatic information sharing function interface in the settings, such as Figure 5 As shown, click Delete Configuration to enter S1204;

[0109] S1204: The display interface displays the information sharing items that have been configured, such as Fig.13 As shown. Enter S1206;

[0110] S1206: confirm which one or several information sharing items (or configuration information items) need to be deleted, select OK (or confirm), and then enter S1208;

[0111] S1208: The system deletes the corresponding information sharing configuration item and updates the shared configuration information list.

[0112] S1210: End the deletion process.

[0113] The automatic information sharing function in this embodiment can be controlled by the automatic information sharing switch to be turned on or off. Fig.14 is a flow chart of an automatic information sharing switch according to an embodiment of the present invention, the flow chart includes:

[0114] S1402, turn on the automatic information sharing switch;

[0115] S1404, loading a preset shared configuration information list;

[0116] S1406, determining whether the configuration information is valid;

[0117] S1408, if the result of the judgment in the above step S1406 is yes, turn on the automatic information sharing configuration switch sub-item, and then go to step S1412;

[0118] S1410, when the judgment result of the above step S1406 is no, the automatic information sharing fails to be turned on, that is, the automatic information sharing function is turned off;

[0119] S1412, determining whether the message path is valid;

[0120] S1414, if the result of the judgment in the above step S1412 is yes, the automatic information sharing sub-item (corresponding to the above information sharing item) is successfully turned on, that is, the automatic information sharing function is turned on;

[0121] When the judgment result of the above step S1412 is no, the process proceeds to step S1410, and the automatic information sharing fails to be turned on, that is, the automatic information sharing function is turned off.

[0122] After completing the configuration of the automatic information sharing function, you can implement automatic information sharing by following the steps below. Fig.15 is a software operation flow chart according to an embodiment of the present invention, the flow includes:

[0123] S1502: At a certain interval, according to the automatic sharing configuration information list (corresponding to the aforementioned information sharing list), scan and detect the information source path of each information sharing item one by one. After detecting the first information sharing item, detect the second information sharing item, and so on, in a continuous cycle.

[0124] S1504: According to the information sharing item content saved in the automatic sharing configuration information list, an information sharing source path window is opened in the background.

[0125] S1506: In the opened source information path window (corresponding to the aforementioned first information window), simulate a touch screen long press event to obtain and copy the last piece of information in the current window (corresponding to the aforementioned first information). Enter S1508;

[0126] S1508: Determine whether the current information source information window has any information update (compare the last information of the information source in the shared configuration information list with the current information content). If there is any update, update the last information content of the shared configuration information list and then enter S1510; otherwise, enter S1502;

[0127] S1510: Determine whether the information sharing item is configured with a keyword filtering function. If not, proceed to S1212; if the keyword filtering function is configured, proceed to S1514;

[0128] S1512: Based on the content of the information sharing item saved in the sharing configuration information list, the information destination path window of the information sharing item is opened in the background (corresponding to the aforementioned second information window), and at the message input box position, a long press of the touch screen is simulated to paste the information content just copied, and then at the send button position, a touch screen click event is simulated to complete the sending.

[0129] S1514: Determine whether the updated information content contains the preset keyword. If so, proceed to S1512; otherwise, proceed to S1502.

[0130] According to the embodiment of the present invention, in the function configuration interface, in the information automatic sharing function configuration, the information source window to be shared and the information destination window to be shared are configured. When the function module detects that there is information update in the information source window, the updated information content is immediately copied and automatically pasted (shared) to the previously configured destination window through a software method. The entire information sharing process does not require human participation, and all software is automatically implemented.

[0131] In order to more clearly understand the embodiments of the present application, the following description will be given using the example of automatically sharing express text messages to WeChat.

[0132] Fig.16 1 is a flow chart of adding configuration of automatic sharing of SMS according to an embodiment of the present invention, and the flow includes:

[0133] S1602: Click Add Configuration

[0134] In the phone settings, find the information sharing switch page (similar to the above automatic information sharing function interface). Click the Add Configuration button.

[0135] S1604: Specify the SMS window to be shared

[0136] A floating box (corresponding to the aforementioned shared source path confirmation window) appears on the phone screen, displaying the information shared source path selection. At this time, just like normal operation, switch the phone interface to the SMS dialog box to be shared (corresponding to the aforementioned first message window). Click the OK (or Confirm) button in the smart control source floating box. The system records the current interface information window path (corresponding to the aforementioned shared source path), SMS application name, and session name.

[0137] S1606: Specify the SMS content sharing destination window

[0138] A floating box (corresponding to the aforementioned sharing destination path confirmation window) appears on the phone screen, indicating that the information sharing destination path is being selected. At this time, just like the usual operation, switch the phone interface to the information dialog box to be shared in WeChat (corresponding to the aforementioned second information window). Click the confirmation button in the information sharing floating box. The system records the current interface information window path as the information destination path (corresponding to the aforementioned sharing destination path) information.

[0139] S1608: Determine whether the setting is valid

[0140] Determine whether the information sharing source path and destination path are valid. If valid, proceed to S1610; otherwise, proceed to S1612;

[0141] S1610: Locally generate (update) configuration information list

[0142] The previously configured information source path and destination path are updated to the configuration information list (corresponding to the aforementioned shared configuration information list).

[0143] S1612: Configuration file not generated

[0144] The configuration path is abnormal and the configuration information list is not updated.

[0145] S1614: End the configuration process

[0146] End the configuration.

[0147] Fig.17 This is a flowchart of automatically sharing text messages to WeChat according to an embodiment of the present invention, and the process includes:

[0148] S1702: Scan configuration information list

[0149] When the mobile phone is running and the invented function is turned on, the invented function module will periodically scan the source information short message window path in the configuration information list (corresponding to the aforementioned shared configuration information list).

[0150] S1704: Switch to SMS interface in the background

[0151] According to the content of the SMS information sharing item saved in the configuration information list, the information sharing source path window is opened in the background, that is, the previously recorded SMS information dialog window (corresponding to the aforementioned first information window).

[0152] S1706: Get SMS content

[0153] In the opened SMS window interface, the software simulates a touch screen long press event to obtain and copy the last message in the current window (corresponding to the aforementioned first message). Enter S1708;

[0154] S1708: Determine whether the SMS content is updated

[0155] Compare the last piece of information of the information source in the shared configuration information list with the current information content (corresponding to the aforementioned first information) to see whether they are consistent. If they are inconsistent (i.e., there is an update), proceed to S1710; otherwise, proceed to S1702;

[0156] S1710: Whether to share the updated SMS content

[0157] Determine whether the SMS sharing item is configured with a keyword filtering function. If not, proceed to S1712; if the keyword filtering function is configured, proceed to S1714;

[0158] S1712: Forward the updated SMS content to WeChat

[0159] According to the information sharing item content saved in the SMS information sharing configuration information list, the information destination path window of the SMS sharing item (corresponding to the aforementioned first information window), i.e., the WeChat information dialogue window, is opened in the background. At the preset WeChat information input box position, a touch screen long press is simulated to paste the information content just copied, and at the send button position, a touch screen click event is simulated to complete the sending.

[0160] S1714: Determine whether the SMS content satisfies the keyword sharing rule

[0161] Determine whether the updated SMS content contains the preset shared keyword. If so, proceed to S1712; otherwise, proceed to S1702.

[0162] The information sharing method in the embodiment of the present invention can be applied to sharing between different applications (or APPs), such as sharing text messages to WeChat as mentioned above, and can also be shared between different windows of the same application, for example, automatic sharing of WeChat messages (i.e., WeChat sharing to WeChat), automatically sharing the received message sent by WeChat friend 1 to WeChat friend 2 (or multiple WeChat friends, or WeChat group, etc.). For the automatic sharing embodiment of WeChat messages, the control flow is the same as that of the above-mentioned embodiment of automatic sharing of text messages to WeChat, and the only difference is the different information path selected in the configuration stage, which will not be repeated here. Through the embodiment of the present invention, information sharing between different applications can be realized, and information sharing within the same application can also be realized.

[0163] In the above embodiment, the mobile phone can realize an automatic information sharing function to pre-set the sharing path of specific information. The specific information is shared to other specified paths by default, and this information sharing is cross-application. In the information sharing rules, the user can configure the information sharing filtering rules: that is, all information content keywords are not filtered, or information content is selectively shared according to preset keywords.

[0164] In the embodiment of the present invention, during the use of a mobile phone, if a certain application information on the mobile phone is to be forwarded to other mobile phone applications, the invention function can be turned on in advance, and the information forwarding and sharing rules can be configured in advance; during the use of a mobile phone, if a certain application information on the mobile phone is to be forwarded to other windows in the application, the invention function can be turned on in advance, and the information forwarding and sharing rules can be configured in advance. The embodiment of the present application can be applied not only to mobile phone terminals, but also to terminal devices such as PADs, PCs, and PADs.

[0165] The embodiment of the present invention provides users with a function that can automatically forward information from a certain application on a mobile phone to another application or multiple applications. Through this embodiment of the invention, users do not need to operate their mobile phones to forward certain information. The following effects can be achieved: 1) It saves mobile phone users from frequent and repeated operations, bringing convenience to specific information sharing operations; 2) It can realize the rapid sharing of specific information, solving various problems caused by untimely information sharing for users; 3) This function is user-configurable, providing users with multi-channel sharing path settings and multi-rule information automatic sharing settings, taking into account both user information privacy and user frequent operations, to achieve the effect of improving user experience.

[0166] The explanations of the relevant terms in this embodiment are shown in Table 1.

[0167] Table 1

[0168]

[0169] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0170] In the present embodiment, an information sharing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.

[0171] Fig.18is a structural block diagram of an information sharing device according to an embodiment of the present invention. Fig.18 As shown, the device comprises:

[0172] An acquisition module 1802 is used to acquire first information received in a first information window of a terminal, wherein the first information is preset to be automatically displayed in a second information window;

[0173] The display module 1804 is used to display all or part of the first information in the second information window.

[0174] In an optional embodiment, the acquisition module 1802 includes: an opening unit, configured to open the first information window in the background of the terminal; and a first acquisition unit, configured to acquire the first information in the first information window.

[0175] In an optional embodiment, the above-mentioned opening unit includes: a first acquisition sub-unit, used to acquire a shared source path recorded in a pre-configured information sharing item, wherein the shared source path and the shared destination path are recorded in the information sharing item, the shared source path is the access path of the first information window, the shared destination path is the access path of the second information window, and the information sharing item is used to indicate that the information received in the first information window is shared to the second information window; an opening sub-unit, used to open the first information window whose access path is the shared source path.

[0176] In an optional embodiment, the above-mentioned display module 1804 includes: a second acquisition unit, used to acquire an information sharing list, wherein the information sharing list is used to represent the information set received in the first information window and shared to the second information window, and the information sharing list includes one of the following: the information set, the characteristic value of each information in the information set; a first display unit, used to display all or part of the first information in the second information window when the information set represented by the information sharing list does not include the first information.

[0177] In an optional embodiment, the characteristic value includes a receiving sequence number, wherein the receiving sequence number is used to indicate the receiving order of information received in the first information window; or the characteristic value includes an information coding value, wherein the information coding value is used to uniquely identify the information received in the first information window.

[0178] In an optional embodiment, the above-mentioned device further includes: a first saving module, used to save the first information into the information sharing list; or a second saving module, used to save the characteristic value of the first information into the information sharing list.

[0179] In an optional embodiment, the display module 1804 includes: a second display unit, configured to display all or part of the first information in the second information window when key information is preset and the first information contains the key information.

[0180] In an optional embodiment, the above-mentioned display module 1804 includes: a first search unit, which is used to search for the keywords and / or keywords to be filtered in the first information when the keywords and / or keywords to be filtered are pre-set; a first sending unit, which is used to send the entire content of the first information to the second information window when the keywords and / or keywords are found in the first information, wherein the second information window is used to display the entire content of the received first information; a processing unit, which is used to refuse to send the first information to the second information window when the keywords and / or keywords are not found in the first information; and / or a second search unit, which is used to search for the keywords and / or keywords in the first information when the keywords and / or keywords to be filtered are pre-set. The keyword; a second sending unit, used to delete the keyword and / or the keyword in the first information when the keyword and / or the keyword are found in the first information, to obtain second information, and send the second information to the second information window, wherein the second information window is used to display the received second information; a third sending unit, used to send the first information to the second information window when the keyword and / or the keyword are not found in the first information, wherein the second information window is used to display the received first information; and / or a fourth sending unit, used to send the first information to the second information window when the keyword and / or the keyword to be filtered are not set in advance, wherein the second information window is used to display the received first information.

[0181] In an optional embodiment, the first information window is an information window in a first application in the terminal, and the second information window is an information window in a second application, wherein the first application and the second application are different applications; or the first information window and the second information window are different information windows in the first application in the terminal.

[0182] In an optional embodiment, when the second information window is an information window in the second application, the second information window is a session window in the second application; or, when the first information window and the second information window are different information windows in the first application in the terminal, the first information window and the second information window are different session windows in the first application.

[0183] In an optional embodiment, the above-mentioned device also includes: a generation module, which is used to generate an information sharing item in response to a configuration instruction before the first information is received in the first information window of the terminal, wherein the information sharing item includes a sharing destination path, and the sharing destination path is an access path of the second information window. The information sharing item is used to indicate that all or part of the content of the first information is displayed in the second information window.

[0184] In an optional embodiment, the above-mentioned generation module includes: a third display unit, used to display a shared destination path confirmation window on the terminal in response to a shared destination path configuration instruction; a first configuration unit, used to configure the access path of the second information window to the shared destination path in the information sharing item in response to a selection instruction for the second information window obtained in the shared destination path confirmation window.

[0185] In an optional embodiment, the above-mentioned third display unit includes: a display subunit, used to display the shared destination path confirmation window on the terminal in response to the shared destination path configuration instruction obtained in the first information window; the above-mentioned generation module also includes: a second configuration unit, used to configure the access path of the first information window to the shared source path in the information sharing item in response to the selection instruction.

[0186] In an optional embodiment, the above-mentioned generation module also includes: a fourth display unit, used to display a shared source path confirmation window in the terminal in response to a shared source path configuration instruction; a third configuration unit, used to configure the access path of the first information window to the shared source path in the information sharing item in response to a selection instruction for the first information window obtained in the shared source path confirmation window.

[0187] In an optional embodiment, the above-mentioned generation module includes: a first response unit, which is used to display a source path confirmation window on the terminal in response to a first trigger instruction, wherein a first button for configuring the shared source path is displayed in the source path confirmation window; a second response unit, which is used to determine whether the access path of the first information window is a valid shared source path in response to a first confirmation instruction executed on the first button when the source path confirmation window stays on the first information window; a fourth configuration unit, which is used to configure the access path of the first information window as the shared source path in the information sharing item when the access path of the first information window is a valid shared source path; a third response unit, which is used to respond to the second trigger instruction , displaying a destination path confirmation window on the terminal, wherein a second button for configuring the shared destination path is displayed in the destination path confirmation window; a fourth response unit, used to determine whether the access path of the second information window is a valid shared destination path in response to a second confirmation instruction executed on the second button when the destination path confirmation window stays on the second information window; a fifth configuration unit, used to configure the access path of the second information window as the shared destination path in the information sharing item when the access path of the second information window is a valid shared destination path; wherein the target configuration instruction includes the first trigger instruction, the second trigger instruction, the first confirmation instruction and the second confirmation instruction.

[0188] In an optional embodiment, the second response unit includes: a first determination subunit, used to determine whether the first information window is a first session window in a first application in the terminal, wherein the first session window is a session window between a first account and a second account, and the first account is a login account of the first application; a second determination subunit, used to determine that an access path of the first information window is a valid shared source path when the first information window is the first session window in the first application; or a third determination subunit, used to determine whether the access path of the first information window contains first predetermined information, wherein the first predetermined information includes at least one of the following: an identifier of an application to which the first information window belongs, an identifier of the first information window, and a characteristic value of the last piece of information in the first information window; a fourth determination subunit, used to determine that the access path of the first information window is a valid shared source path when the access path of the first information window contains the first predetermined information.

[0189] In an optional embodiment, the fourth response unit includes: a fifth determination subunit, used to determine whether the second information window is a second session window in the second application in the terminal, wherein the second session window is a session window between a third account and a fourth account, and the third account is a login account of the second application; a sixth determination subunit, used to determine that the access path of the second information window is a valid shared destination path when the second information window is the second session window in the second application; or a seventh determination subunit, used to determine whether the second information window is an information recording window in the second application; an eighth determination subunit, used to determine that the access path of the second information window is a valid shared destination path when the second information window is the information recording window in the second application; or a ninth determination subunit, used to determine that the whether the second information window is the third session window in the first application, wherein the third session window is a session window between the first account and the fifth account, and the first account is a login account of the first application; a tenth determining subunit, used to determine that the access path of the second information window is a valid shared destination path when the second information window is the third session window in the first application; or an eleventh determining subunit, used to determine whether the access path of the second information window contains second predetermined information, wherein the second predetermined information at least includes position information of the information input box of the second information window and position information of the information sending button of the second information window; a twelfth determining subunit, used to determine that the access path of the second information window is a valid shared destination path when the access path of the second information window contains the second predetermined information.

[0190] In an optional embodiment, the above-mentioned generation module includes: a fifth response unit, which is used to display a menu option on the first information window in response to a third trigger instruction, wherein the third trigger instruction is used to indicate a long press touch instruction received by the first information window; a sixth response unit, which is used to configure the access path of the first information window as the shared source path in the information sharing item in response to a fourth trigger instruction, and display a destination path confirmation window on the terminal, wherein the fourth trigger instruction is used to indicate an instruction that a target option of the menu option is selected, and a third button for configuring the shared destination path is displayed in the destination path confirmation window; a seventh response unit, which is used to determine whether the access path of the second information window is a valid shared destination path in response to a third confirmation instruction executed on the third button when the destination path confirmation window stays on the second information window; a sixth configuration unit, which is used to configure the access path of the second information window as the shared destination path in the information sharing item when the access path of the second information window is a valid shared destination path; wherein the target configuration instruction includes the third trigger instruction and the fourth trigger instruction.

[0191] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0192] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above method embodiments are executed.

[0193] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0194] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0195] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0196] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0197] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0198] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An information sharing method, characterized in that: include: Acquire first information received in a first information window of a terminal, wherein the first information is preset to be automatically displayed in a second information window; the first information window is an information window in a first application in the terminal, and the second information window is an information window in a second application, wherein the first application and the second application are different applications; Displaying all or part of the first information in the second information window includes: Acquire an information sharing list, wherein the information sharing list is used to represent the information set received in the first information window and shared with the second information window, and the information sharing list includes one of the following: the information set, and a feature value of each information in the information set; In a case where the information set represented by the information sharing list does not include the first information, all or part of the first information is displayed in the second information window.

2. The method according to claim 1, characterized in that The characteristic value includes a receiving sequence number, wherein the receiving sequence number is used to indicate a receiving order of information received in the first information window; or The characteristic value includes an information coding value, wherein the information coding value is used to uniquely identify the information received in the first information window.

3. The method according to claim 1, characterized in that The method further comprises: saving the first information to the information sharing list; or The characteristic value of the first information is saved in the information sharing list.

4. The method according to claim 1, characterized in that: The displaying of all or part of the first information in the second information window includes: When key information is preset and included in the first information, all or part of the first information is displayed in the second information window.

5. The method according to claim 1, characterized in that In the case where the second information window is an information window in the second application, the second information window is a session window in the second application; or In the case where the first information window and the second information window are different information windows in a first application in the terminal, the first information window and the second information window are different session windows in the first application.

6. The method according to any one of claims 1 to 4, characterized in that Before acquiring the first information received in the first information window of the terminal, the method further includes: In response to the configuration instruction, an information sharing item is generated, wherein the information sharing item includes a sharing destination path, the sharing destination path is the access path of the second information window, and the information sharing item is used to indicate that all or part of the first information is displayed in the second information window.

7. The method according to claim 6, characterized in that The generating of information sharing items in response to the configuration instruction comprises: In response to the sharing destination path configuration instruction, displaying a sharing destination path confirmation window on the terminal; In response to the selection instruction of the second information window obtained in the sharing destination path confirmation window, the access path of the second information window is configured as the sharing destination path in the information sharing item.

8. The method according to claim 7, characterized in that The step of displaying a shared destination path confirmation window on the terminal in response to the shared destination path configuration instruction includes: In response to the shared destination path configuration instruction acquired in the first information window, displaying the shared destination path confirmation window on the terminal; The generating of the information sharing item in response to the configuration instruction includes: in response to the selection instruction, configuring the access path of the first information window as the shared source path in the information sharing item.

9. The method according to claim 7, characterized in that: The generating of information sharing items in response to the configuration instruction comprises: In response to the shared source path configuration instruction, displaying a shared source path confirmation window at the terminal; In response to the selection instruction of the first information window obtained in the shared source path confirmation window, the access path of the first information window is configured as the shared source path in the information sharing item.

10. An information sharing device, characterized in that: include: an acquisition module, configured to acquire first information received in a first information window of a terminal, wherein the first information is preset to be automatically displayed in a second information window; the first information window is an information window in a first application in the terminal, and the second information window is an information window in a second application, wherein the first application and the second application are different applications; A display module is used to obtain an information sharing list, wherein the information sharing list is used to represent the information set received in the first information window and shared with the second information window, and the information sharing list includes one of the following: the information set, the characteristic value of each information in the information set; when the information set represented by the information sharing list does not include the first information, all or part of the content of the first information is displayed in the second information window.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program is executed by a processor to perform the method according to any one of claims 1 to 9.

12. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 9 through the computer program.

Citation Information

Patent Citations

  • Information sharing method, mobile terminal and computer storage medium

    CN111010479A

  • Information sharing method and device, electronic equipment and readable storage medium

    CN114327706A