Information sharing method, device, electronic device and computer readable medium
By acquiring and detecting the content to be shared in the electronic device, and sharing the content in multiple display areas according to the interface type, the problem of a single information sharing function in the existing technology is solved, and the user experience and diversity of sharing functions are improved.
Patent Information
- Application Number
- CN202210530382.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-05-16
AI Technical Summary
The information sharing function of existing electronic devices in multi-display area mode is too single, resulting in poor user experience.
By obtaining the content to be shared by the user in the first display area, and detecting the drag operation to drag it to the second display area, the target interface type of the second display area is determined, and the target display content is determined based on the content to be shared and the interface type. , display the target display content in the target interface.
It enables users to conveniently and quickly complete information sharing between multiple display areas, and displays different content according to different interface types, improving user experience and providing diversified sharing functions.
Smart Images

Figure CN114840128B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to an information sharing method, device, electronic device and computer-readable medium. Background Art
[0002] With the development of science and technology, electronic devices are used more and more widely and have more and more functions, becoming one of the necessities in people's daily life. However, when the screen of an electronic device displays multiple display areas, the function of sharing information between the multiple display areas is too single, resulting in poor user experience. Summary of the invention
[0003] The present application proposes an information sharing method, device, electronic device and computer-readable medium to improve the above-mentioned defects.
[0004] In a first aspect, an embodiment of the present application provides an information sharing method, which is applied to an electronic device, wherein the display area of the electronic device includes a first display area and a second display area, and the method includes: obtaining content to be shared determined by a user in the first display area; when it is detected that the content to be shared is dragged to the second display area based on a drag operation input by the user, determining an interface type corresponding to a target interface displayed in the second display area; determining target display content corresponding to the content to be shared based on the content to be shared and the interface type, and displaying the target display content in the target interface.
[0005] In a second aspect, the embodiments of the present application also provide an information sharing device, which is applied to an electronic device, wherein the display area of the electronic device includes a first display area and a second display area, and the device includes: an acquisition module, a detection module, and a display module. The acquisition module is used to acquire the content to be shared determined by the user in the first display area; the detection module is used to determine the interface type corresponding to the target interface displayed in the second display area when detecting that the content to be shared is dragged to the second display area based on a drag operation input by the user; the display module is used to determine the target display content corresponding to the content to be shared based on the content to be shared and the interface type, and display the target display content in the target interface.
[0006] In a third aspect, an embodiment of the present application also provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the above method.
[0007] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.
[0008] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program / instructions, which implement the above method when executed by a processor.
[0009] The information sharing method, device, electronic device and computer-readable medium provided by the present application, the display area of the electronic device includes a first display area and a second display area. The content to be shared determined by the user in the first display area is obtained, and when it is detected that the content to be shared is dragged to the second display area based on the drag operation input by the user, the interface type corresponding to the target interface displayed by the second display is determined. Then, the target display content corresponding to the content to be shared is determined based on the content to be shared and the interface type, and the target display content is displayed in the target interface of the second display area. The present application can share the content to be shared in the first display area to the second display area through the drag operation input by the user, and can also determine the target display content displayed in the target interface of the content to be shared according to the interface type corresponding to the target interface displayed in the second display area. Therefore, when it comes to multiple display areas, users can not only complete the information sharing between multiple display areas conveniently and quickly, but also when users share different content to be shared between different types of interfaces, the content displayed on the interface is also different, and users can experience a variety of sharing functions.
[0010] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by practicing the embodiments of the present application. The purposes and other advantages of the embodiments of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 A schematic diagram of a single-screen terminal in a split-screen mode provided by an embodiment of the present application is shown;
[0013] Figure 2 A schematic diagram of an electronic device with overlapping display areas provided by an embodiment of the present application is shown;
[0014] Figure 3 A schematic diagram of a folding screen terminal provided in an embodiment of the present application is shown;
[0015] Figure 4 A schematic diagram of a flexible display screen terminal provided in an embodiment of the present application is shown;
[0016] Figure 5 A schematic diagram of a multi-display area mode of a folding screen terminal provided in an embodiment of the present application is shown;
[0017] Figure 6 A schematic diagram of an electronic device displaying multiple floating windows provided by an embodiment of the present application is shown;
[0018] Figure 7 A schematic diagram showing a flow chart of an information sharing method provided by an embodiment of the present application is shown;
[0019] Figure 8 A schematic diagram showing a flow chart of an information sharing method provided by another embodiment of the present application is shown;
[0020] Fig. 9 An interface schematic diagram of a target interface provided by an embodiment of the present application is shown as a content sending interface;
[0021] Fig.10 A schematic diagram of an interface for sending an original image to a picture provided by an embodiment of the present application is shown;
[0022] Fig.11 A schematic diagram of an interface for sending an original image to a picture provided by another embodiment of the present application is shown;
[0023] Fig.12 A schematic diagram of an interface for sending a picture with reduced definition provided by an embodiment of the present application is shown;
[0024] Fig.13 A schematic diagram of an interface for sending a picture with reduced definition provided by another embodiment of the present application is shown;
[0025] Fig.14 A schematic diagram showing a flow chart of an information sharing method provided by another embodiment of the present application is shown;
[0026] Fig.15 A schematic diagram of an interface for sharing link information provided by an embodiment of the present application is shown;
[0027] Fig.16 A schematic diagram of an interface for sharing link information provided by another embodiment of the present application is shown;
[0028] Fig.17A schematic diagram of an interface of a card-type display control provided in an embodiment of the present application is shown;
[0029] Fig.18 A schematic diagram of an interface of a card-type display control in an edit mode provided by an embodiment of the present application is shown;
[0030] Fig.19 A schematic diagram of an interface of an adjustment information display module provided in an embodiment of the present application is shown;
[0031] Fig. 20 A schematic diagram of an interface of a deletion information display module provided in an embodiment of the present application is shown;
[0032] Fig.21 A schematic diagram of an interface for exiting an edit mode provided in an embodiment of the present application is shown;
[0033] Fig. 22 A schematic diagram showing a flow chart of an information sharing method provided in yet another embodiment of the present application;
[0034] Fig.23 A schematic diagram of an interface for sharing text content and pictures provided in an embodiment of the present application is shown;
[0035] Fig.24 A schematic diagram of an interface for inserting content to be shared into text content of a target interface provided by an embodiment of the present application is shown;
[0036] Fig.25 A schematic diagram of an interface for updating a first insertion position provided in an embodiment of the present application is shown;
[0037] Fig.26 A schematic diagram of an interface after the placement of content to be shared is shown in an embodiment of the present application;
[0038] Fig. 27 A structural block diagram of an information sharing device provided in an embodiment of the present application is shown;
[0039] Fig.28 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;
[0040] Fig.29 A structural block diagram of a computer-readable storage medium provided in an embodiment of the present application is shown;
[0041] Fig.30 A computer program product provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0042] In order to make those skilled in the art better understand the present application scheme, the technical scheme in the present application embodiment will be clearly and completely described below in conjunction with the drawings in the present application embodiment. Obviously, the described embodiment is only a part of the present application embodiment, rather than all the embodiments. The components of the present application embodiment usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiment of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0043] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0044] With the development of science and technology, electronic devices are used more and more widely, with more and more functions, and have become one of the necessities in people's daily life. Electronic devices are usually provided with a screen, which can be a touch screen, for displaying content and receiving touch operation gestures input by the user. Based on the different materials and structures of the screen, electronic devices can be divided into single-sided screen terminals, double-sided screen terminals and folding screen terminals. Among them, the screen of the folding screen terminal can be a flexible display screen, and the screen shape can be switched from unfolded to folded through hardware structures such as hinges. In the related art, an electronic device with a folding screen can be in a folded state or an unfolded state. When in the unfolded state, the folding screen can have multiple display areas, and display content through multiple display areas. At this time, the size of the entire touch screen is larger.
[0045] Regardless of the type of terminal, the screen of the terminal can display one content through the entire display area of the screen, or different content can be displayed through different display areas on the screen. That is to say, the terminal can be divided into a single-area display mode and a multi-area display mode. In the single-area display mode, the entire screen is used as a display area for displaying an interface, while in the multi-area display mode, the entire screen is divided into multiple display areas, and each display area independently displays the content used to display the area. Each display area can be set as an independent operation area. When the display area receives a touch operation, it is determined that the touch operation is used to operate the area where the touch operation acts. Optionally, the electronic device can be switched from a single-area display mode to a multi-area display mode by splitting the screen.
[0046] Multiple display areas are shown below for different types of terminals. It should be noted that the interface diagram shown in this application is only shown as an example and is not limited to the type of terminal shown. It corresponds to any type of terminal, whether it is a folding screen, a single-sided screen, a double-sided screen or other types of screens, as long as the terminal has a touch screen and the touch screen can be divided into multiple display areas to independently display content, it is applicable to the methods and devices mentioned in the embodiments of this application.
[0047] like Figure 1 As shown, Figure 1 The electronic device 10 shown is a single-screen terminal. The electronic device 10 is in a split-screen mode. In the split-screen mode, the electronic device is divided into a plurality of display areas, wherein the plurality refers to at least 2, and the plurality of display areas do not overlap each other. Figure 1 As shown, two interfaces are displayed on the electronic device 10, namely a first interface 11 and a second interface 12. The two interfaces correspond to two different display areas, the first interface 11 corresponds to the first area, and the second interface 12 corresponds to the second area. The two display areas do not overlap with each other, and the first interface 11 and the second interface 12 each independently display the content to be displayed. Exemplarily, the first interface 11 and the second interface 12 may correspond to interfaces of different applications. For example, the first interface 11 is a web browsing interface of a browser-type application, and the second interface 12 is an interface of a social application.
[0048] like Figure 2 As shown, Figure 2 The screen of the electronic device 10 shown also includes multiple display areas, and the multiple display areas are not mutually non-overlapping. At least two display areas in each display area overlap with each other. For the overlapping area, the operation gesture obtained in the overlapping area can be determined to be used to operate the interface in the topmost area of the overlapping area, such as Figure 2 As shown, the multiple display areas include a third area 13 and a fourth area 14, wherein the interface displayed in the third area 13 is a web browsing interface, and the interface displayed in the fourth area 14 is a chat interface, and the fourth area 14 overlaps with the third area 13. When the user inputs an operation gesture to act on the fourth area 14, since the layer of the fourth area 14 is higher than the third area 13, the operation gesture will be determined by the system as a gesture acting on the chat interface displayed in the fourth area 14. Exemplarily, the fourth area 14 can be a floating window, and specifically, the floating window can be dragged, that is, the fourth area 14 can be changed to another display position.
[0049] In addition, with the development of technology, in order to allow users to experience a larger operating area and display area when splitting the screen, the electronic device can be a foldable screen mobile phone, so that when the electronic device is unfolded, the display area of the entire screen is larger than the display area of a single or dual screen, and, in the multi-display area mode, the maximum area that can be used for each window display area of the foldable screen is also larger than that of a single or dual screen.
[0050] like Figure 3 As shown, the electronic device 20 is a folding screen terminal, which may include a foldable housing assembly 110, a flexible display screen 120, and an electronic component (not shown in the figure), the electronic component is arranged in the foldable housing assembly 110, and the flexible display screen 120 is laid on the foldable housing assembly 110. The foldable housing assembly 110 is used to carry the flexible display screen 120 and protect the electronic component. The electronic component may include, but is not limited to, a central processing unit, a memory, a camera, a receiver, a fingerprint module, etc., and the specific electronic component may not be limited in the embodiment of the present application.
[0051] The foldable housing assembly 110 includes a first housing 111, a second housing 112 and a hinge mechanism 113, wherein the first housing 111 and the second housing 112 are respectively connected to the two sides of the hinge mechanism 113. The second housing 112 can be folded or unfolded relative to the first housing 111 through the hinge mechanism 113, so that the foldable housing assembly 110 drives the flexible display screen 120 to fold or unfold. When the foldable housing assembly 110 and the flexible display screen 120 are in a folded state, the volume of the electronic device 100 is relatively small, which is convenient for storage and carrying. When the foldable housing assembly 110 and the flexible display screen 120 are in an unfolded state, the volume of the electronic device 100 is relatively large, which is convenient for displaying information.
[0052] See also Figure 4In this embodiment, the flexible display screen 120 includes a first display portion 121 connected to the first shell 111, a second display portion 122 connected to the second shell 112, and a bent display portion 123 connected to the first display portion 121 and the second display portion 122. The first display portion 121, the second display portion 122, and the bent display portion 123 can form a plurality of display areas (for example, two display areas, three display areas, four display areas...N display areas) correspondingly. The first display portion 121 and the second display portion 122 are folded or unfolded relative to the first shell 111 and the second shell 112, respectively. The bent display portion 123 is bent or flattened as the first display portion 121 and the second display portion 122 are folded or unfolded. In some embodiments, the first display portion 121, the second display portion 122 and the bending display portion 123 may be an integral structure, so that the flexible display screen 120 is a whole-piece flexible display screen; or, in some other embodiments, the bending display portion 123 is a bendable flexible portion, and the first display portion 121 and the second display portion 122 may be non-flexible portions, and the first display portion 121 and the second display portion 122 are relatively folded or unfolded through the bending display portion 123. In this embodiment, when the first housing 111 and the second housing 112 are in a superimposed state, the first display portion 121 and the second display portion 122 are separated, so that the electronic device 100 presents a structure of an outward folding screen, so that the user can also observe the display content of the flexible display screen 120 when folded, thereby improving the convenience of using the electronic device 100. In some other embodiments, when the first shell 111 and the second shell 112 are overlapped, the first display portion 121 and the second display portion 122 are close to each other, so that the electronic device 100 presents an inward folding screen structure to prevent the flexible display screen 120 from being scratched and damaged.
[0053] It should be understood that the naming of the above-mentioned first display portion 121, the second display portion 122 and the bent display portion 123 is only provided for the convenience of description and does not serve as a structural limitation of the flexible display screen 120. In actual application scenarios, the first display portion 121, the second display portion 122 and the bent display portion 123 may have no obvious boundaries, or the flexible display screen 120 may appear in other division structures. For example, the flexible display screen 120 includes a first display portion 121 and a second display portion 122 connected to the first display portion 121, and the first display portion 121 and the second display portion 122 can rotate relative to each other to be folded or unfolded.
[0054] See also Figure 5 , Figure 5 A schematic diagram of a multi-display area mode of a folding screen terminal is shown, such as Figure 5As shown, the electronic device 20 is in split-screen mode, and the screen is divided into a first display area 21 and a second display area 22. Exemplarily, the first display area 21 and the second display area 22 respectively display interfaces of different applications, so that the user can use different applications or different interfaces in the two different display areas. Figure 5 The display area shown is Figure 1 The display areas shown are similar, the display areas do not overlap each other, and the display areas are adjacent to each other, and the display areas constitute the entire display area of the screen. Figure 6 As shown, relative to Figure 5 In the multi-display area mode of the electronic device 20, a plurality of floating windows are displayed on the screen, such as Figure 6 As shown, the multiple floating windows include a first window 23, a second window 24, a fifth window 25 and a sixth interface 26. The first window 23, the second window 24 and the fifth window 25 do not overlap with each other, but the first window 23, the second window 24 and the fifth window 25 all overlap with the sixth interface 26, that is, the first window 23, the second window 24 and the fifth window 25 all float above the sixth interface 26.
[0055] The display screen of an electronic device can display the interface that the user needs to operate or the content that the user is interested in. In order to record the display content of the page, the user can share information between multiple interfaces of the electronic device and send or copy and paste all or part of the display content of one interface to another interface.
[0056] However, the inventors found in their research that the information sharing function in the multi-display area mode is too single, resulting in a poor user experience. For example, in the multi-display area mode, a virtual sharing button can be displayed, and when the user clicks the virtual sharing button, a sharing channel can be output, and information sharing between display areas can be achieved based on the sharing channel.
[0057] Therefore, in order to overcome the above-mentioned defects, an embodiment of the present application provides an information sharing method. When a user shares different content to be shared between different types of interfaces, the content displayed on the interface is also different, and the user can experience a variety of sharing functions.
[0058] Specifically, see Figure 7 , Figure 7 A flow chart of an information sharing method provided in an embodiment of the present application is shown, which is applied to the above-mentioned electronic device, wherein the display area of the electronic device includes a first display area and a second display area. The method may include: S710 to S730.
[0059] S710: Obtain content to be shared determined by the user in the first display area.
[0060] When the screen of the electronic device includes multiple display areas, such as the aforementioned split screen mode or at least one floating window mode, in this state, the screen of the electronic device is divided into multiple display areas, and each display area can independently display the content to be displayed. Figure 5 The first display area 21 and the second display area 22 in the split screen mode are taken as an example, but it should be noted that the present application is not limited to Figure 5 The split-screen mode shown here is only used to illustrate the technical solution of the present application through an example.
[0061] When the electronic device is in a state of multiple display areas, the electronic device can detect operation gestures acting on the screen. For example, it can detect whether the screen is touched through the onTouchEvent class function of the operating system, thereby detecting touch operation gestures.
[0062] As an implementation, the content to be shared may be all or part of the display content in the display interface of the first display area. In some implementations, an operation gesture acting on the first display area may be detected, and the display content selected by the operation gesture in the display interface of the first display area may be used as the content to be shared.
[0063] S720: When it is detected that the content to be shared is dragged to the second display area based on a drag operation input by the user, determine an interface type corresponding to a target interface displayed in the second display area.
[0064] After acquiring the content to be shared, a touch operation on the content to be shared is detected. As an implementation mode, when it is detected that the touch operation on the content to be shared is a drag operation, the touch position of the drag operation is tracked and located on the screen, and the position of the drag operation on the screen is detected in real time. The touch position of the drag operation may be the position where the user's finger contacts the screen of the electronic device. Optionally, when the drag operation is implemented, that is, when the drag operation is not ended, that is, when the content to be shared is dragged based on the drag operation, the content to be shared may be displayed at the touch position of the drag operation, presenting an effect that the content to be shared moves with the user's finger.
[0065] When the touch position of the drag operation is located in the second display area, it means that the content to be shared is dragged to the second display area based on the drag operation, and the content to be shared acquired in the first display area will be shared to the second display area. For example, the horizontal and vertical coordinates of the touch position of the drag operation can be obtained through the event.getX() and event.getY() functions under the onTouchEvent class of the operating system, and then by determining whether the horizontal and vertical coordinates are within the area range of the second display area, it can be determined whether the content to be shared is dragged to the second display area based on the drag operation.
[0066] At this time, once it is determined that the content to be shared is dragged to the second display area based on the drag operation, the interface type corresponding to the target interface displayed in the second display area can be determined. Optionally, when the target interface displayed in the second display area is an interface of an application, the application type of the application can be determined first, and then the interface type corresponding to the target interface can be determined according to the application type.
[0067] Exemplarily, if the application displayed in the second display area is a social application, the interface type corresponding to the target interface may be a web browsing interface, a content sending interface, etc.; if the application displayed in the second display area is a browser, the interface type corresponding to the target interface may be a web browsing interface; if the application displayed in the second display area is a document processing application, the interface type corresponding to the target interface may be a content reading interface, a content editing interface, etc.
[0068] S730: Determine target display content corresponding to the content to be shared based on the content to be shared and the interface type, and display the target display content in the target interface.
[0069] As an implementation mode, different display contents can be displayed in the target interface of the second display area for different contents to be shared and different interface types, that is, when the contents to be shared are shared to target interfaces of different interface types, different display modes can be set for the target interfaces corresponding to the different interface types. Optionally, when the target interface supports sending the content to be shared in at least one sending mode, at least one guide message can be set for the content to be shared in the target interface, one guide message corresponds to one sending mode, and then the target display content displayed in the target interface is determined according to the at least one guide message. Optionally, when the target interface supports inserting the content to be shared into the text content in the target interface, the content to be shared can be inserted into the text content to obtain the target display content.
[0070] Therefore, the method provided in the embodiment of the present application obtains the content to be shared determined by the user in the first display area, and when it is detected that the content to be shared is dragged to the second display area based on the drag operation input by the user, the interface type corresponding to the target interface displayed by the second display is determined. Then, the target display content corresponding to the content to be shared is determined based on the content to be shared and the interface type, and the target display content is displayed in the target interface of the second display area. The present application can share the content to be shared in the first display area to the second display area through the drag operation input by the user, and can also determine the target display content displayed in the target interface of the content to be shared according to the interface type corresponding to the target interface displayed in the second display area. Therefore, when it comes to multiple display areas, users can not only complete the information sharing between multiple display areas conveniently and quickly, but also when users share different content to be shared between different types of interfaces, the content displayed on the interface is different, and users can experience a variety of sharing functions.
[0071] See also Figure 8 , Figure 8 A schematic diagram of a flow chart of an information sharing method provided by another embodiment of the present application is shown. The information sharing method can be applied to an electronic device, wherein the display area of the electronic device includes a first display area and a second display area. Figure 8 The process shown is described in detail, and the information sharing method may specifically include: S810 to S840.
[0072] S810: Acquire content to be shared determined by the user in the first display area.
[0073] S820: When it is detected that the content to be shared is dragged to the second display area based on a drag operation input by the user, determine an interface type corresponding to a target interface displayed in the second display area.
[0074] Steps S810 to S820 may refer to the corresponding contents in the aforementioned embodiment, and will not be described in detail in the embodiment of the present application.
[0075] S830: If the interface type is a content sending interface, determine at least one guide information based on the content to be shared, where the guide information is used to represent the sending modes supported by the content to be shared, and each guide information corresponds to a sending mode.
[0076] As an implementation mode, when it is determined that the interface type of the target interface is a content sending interface, the application displayed on the target interface at this time may be, for example, a social application. At this time, the target interface supports sending the content to be shared in at least one sending mode, and at least one guide information may be set for the content to be shared in the target interface. The guide information may be used to characterize the sending modes supported by the content to be shared, and each guide information corresponds to a sending mode. The target display content displayed in the target interface is then determined based on at least one guide information. Among them, when the content to be shared is different, the sending modes it supports are also different. For example, if the content to be shared is a picture type, the sending mode may include sending the original picture and sending with reduced definition; if the content to be shared is a text document, the sending mode may include sending in the form of a file and sending in the form of text, and so on.
[0077] In some typical embodiments, there may be a one-to-one correspondence between the guidance information and the sending modes, and the number of guidance information and the number of sending modes are equal.
[0078] S840: Generate the target display content based on at least one of the guidance information, and display the target display content in the target interface.
[0079] As an implementation mode, the target display content can be generated according to the at least one guidance information, and the target display content can be displayed in the target interface. It is understandable that if the guidance information is multiple (referring to two or more), a target display content can be generated for each guidance information. The target display content generated corresponding to each guidance information can be used to prompt the user of the sending mode represented by the guidance information, and can also provide the user with a selection entry for the sending mode.
[0080] For example, an operation button may be set for each guide information, and the operation button is used as the target display content corresponding to the guide information and displayed in the target interface. Furthermore, after each operation button is displayed in the target interface, if a touch operation is detected on a target operation button among at least one operation button, the content to be shared may be sent to the receiving end based on the sending mode corresponding to the target operation button.
[0081] In the embodiment of the present application, a preset range can be set for each operation button. When at least one operation button is displayed in the target interface, if it is detected that the touch operation input by the user is within the preset range of the target operation button in at least one operation button, it means that the touch operation acting on the target operation button is detected. At this time, the content to be shared can be sent to the receiving end based on the sending mode corresponding to the target operation button. Optionally, at least one non-overlapping sub-display area can be divided in the second display area, and each sub-display area is used as the preset range corresponding to an operation button. Exemplarily, taking two sending modes as an example, there are two operation buttons and two preset ranges, then the second display area can be divided into two upper and lower sub-display areas, or the second display area can be divided into two left and right sub-display areas, and a fan-shaped display area can be divided as a sub-display area in the lower left corner and lower right corner (or upper left corner and upper right corner, etc.) of the second display area, etc.
[0082] Optionally, when at least one operation button is displayed in the target interface, the touch operation detected by the user input may be a drag operation for the content to be shared in the aforementioned embodiment, that is, the above drag operation will continue to act on the content to be shared before the entire information sharing is completed. In the case where the interface type of the target interface in the second display area is a content sending interface, when it is detected that the content to be shared is dragged to the second display area based on the drag operation input by the user, the operation button corresponding to each guide information will be displayed in the target interface, and the touch position of the drag operation will be tracked and located on the screen, and the touch position of the drag operation in the second display area will be detected in real time. At the same time, when the drag operation is implemented, that is, when the drag operation is not completed, that is, when the content to be shared is dragged based on the drag operation, the content to be shared can be displayed at the touch position of the drag operation.
[0083] When it is detected that the touch position of the drag operation is within the preset range of the target operation button in at least one operation button, it means that the touch operation acting on the target operation button is detected. At this time, the content to be shared can be sent to the receiving end based on the sending mode corresponding to the target operation button.
[0084] For example, when the target interface type is a content sending interface, the content to be shared is a picture type. Fig. 9 As shown, in the electronic device 20, the display interface of the first display area 21 is the display interface of the gallery, and the target interface of the second display area 22 is the content sending interface. Among them, the content to be shared is the three pictures selected by the user in the first display area (see Fig. 9The position where the user's finger touches the screen during the dragging process is the touch position of the dragging operation (the position where the index finger touches the screen in the figure). It can be seen from the figure that the content to be shared is displayed at the touch position. And in the process of the user dragging the picture to the second display area, the two operation buttons "Send original image" and "Send thumbnail" can be displayed in the upper and lower sub-display areas 31 and 32 of the second display area, and the upper and lower text display areas are the preset ranges corresponding to the two operation buttons "Send original image" and "Send thumbnail", respectively, where the sending mode corresponding to "Send original image" is original image sending, and the sending mode corresponding to "Send thumbnail" is reduced definition sending.
[0085] Next, when it is detected that the user's touch position is within the preset range of "send original image" (ie, within the sub-display area 24), as shown in FIG. Fig.10 As shown in FIG. 1 , the arrow indicates the dragging direction of the dragging operation, the position of the finger in the solid line state indicates the touch position before dragging, and the position of the finger in the dotted line state indicates the position after dragging, that is, the dragging operation drags the content to be shared from the first display area 21 to the sub-display area 32 corresponding to "Send original image". Therefore, as Fig.11 As shown in the figure, the selected three pictures will be sent to the receiving end according to the sending mode of the original picture. When it is detected that the user's touch position is within the preset range of "Send thumbnail", as shown in the figure, Fig.12 and Fig.13 As shown, the dragging operation drags the content to be shared from the first display area 21 to the sub-display area 31 corresponding to "Send thumbnail", so the selected three pictures will be sent to the receiving end according to the sending mode of sending in reduced definition.
[0086] Therefore, the method provided in the embodiment of the present application can display target display content generated by at least one guidance information when sharing content in the content sending interface of one display area among multiple display areas to another display area, thereby providing users with multiple sending mode options, and determining which sending mode the user has selected by the user by detecting the position of the drag operation input by the user, allowing the user to complete the selection of the sending mode and the sending of the information to be shared with only one drag operation when sharing content, which is simple, convenient and fast.
[0087] See also Fig.14 , Fig.14 FIG. 1 is a flow chart of an information sharing method provided by another embodiment of the present application. The information sharing method can be applied to an electronic device, wherein the display area of the electronic device includes a first display area and a second display area. Fig.14 The process shown is described in detail, and the information sharing method may specifically include: S1410 to S1430.
[0088] S1410: Obtain content to be shared determined by the user in the first display area.
[0089] S1420: When it is detected that the content to be shared is dragged to the second display area based on a drag operation input by the user, determine an interface type corresponding to a target interface displayed in the second display area.
[0090] Steps S1410 to S1420 may refer to the corresponding contents in the aforementioned embodiments, and will not be described in detail in the embodiments of the present application.
[0091] S1430: If the interface type is a content editing interface and the content to be shared is link information, generate target display content based on the page content corresponding to the link information, and display the target display content in the target interface.
[0092] As an implementation mode, when it is determined that the interface type of the target interface is a content editing interface, the application displayed on the target interface can be, for example, a document processing application. At this time, if the content to be shared is link information, the page content corresponding to the link information can be obtained, and then the target display content is generated based on the page content. Optionally, all or part of the page content corresponding to the link information can be directly used as the target display content, or after extracting the preset content from the page content corresponding to the link information, the preset content can be processed as the target display content according to the preset format.
[0093] In some embodiments, a card-type display control may be generated based on the page content corresponding to the link information, and the card-type display control includes summary information, which is generated based on the link information and the page content corresponding to the link information. Then, the card-type display control may be used as the target display content and displayed in the target interface. For example, when the link information is dragged to the second display area as the information to be shared, the link information may be inserted into the content editing interface of the second display area, such as Fig.15 and Fig.16 When the link information is inserted into the content editing interface of the second display area, a link conversion button may also be displayed. When a touch operation acting on the link conversion button is detected, a card-type display control may be generated based on the page content corresponding to the link information and displayed in the content editing interface. The link conversion button may be, for example, Fig.16 The floating key of "Convert to Card" shown in the figure, when a click operation acting on the floating key of "Convert to Card" is detected, a card-type display control can be generated based on the page content corresponding to the link information.
[0094] Alternatively, if Fig.17As shown, the card-type display control may include at least one information display module, wherein each display module may display one or more information such as the "title", "link", "text", and "picture" of the summary information. The "title" of the summary information may be generated according to the page title of the page content, the "link" of the summary information may be generated according to the link information, the "text" of the summary information may be generated according to the text content of the page content, and the "picture" of the summary information may be generated according to the picture content of the page content. Optionally, at least one information display module included in the card-type display control may be displayed in the card-type display control according to a preset display position.
[0095] As an implementation, when a long press operation on the card-type display control is detected, the card-type display control can start an edit mode, and the edit mode can be used to receive an edit operation on the card-type display control and adjust the card-type display control according to the edit operation. If the card-type display control can include at least one information display module, the edit operation can include adjusting the display position of each information display module, and can also include deleting any information display module, etc. The card-type display control in the edit mode can be as follows: Fig.18 As shown in the figure, the solid circle at the position where the user's finger contacts the screen is used to represent a long press operation.
[0096] Further, after the editing mode is started, it can be detected whether there is a touch operation on the card-type display control. When it is detected that a target display module in at least one information display module is dragged to a target display position of the card-type display control based on a drag operation input by a user, the display position of the information display modules other than the target display module in the card-type display control can be adjusted.
[0097] Optionally, if the card-type display control includes at least one information display module, then after the card-type display control starts the editing mode, that is, in the editing mode, when it is detected that the target display module in at least one of the information display modules is dragged based on the drag operation input by the user, the display position of the target display module changes with the change of the drag operation input by the user. Optionally, the display position of the target display module can be the touch position corresponding to the drag operation. At the same time, the display position of the information display module other than the target display module in the card-type display control can be obtained, and the touch position corresponding to the drag operation at the end of the drag operation can be used as the target display position of the target display module. It is detected whether the target display position coincides with the display position of the information display module other than the target display module. If so, the target display module is moved to the target display position, and the display position of the information display module other than the target display module is adjusted. Exemplarily, please refer again to Fig.18 In the card-type display control, the information display modules displayed from top to bottom are "title" 41, "link" 42, "image" 43 and "text" 44. Fig.19 As shown, when the dragging operation drags the information display module corresponding to the "picture" 43 to the display position of the information display module corresponding to the "text" 44, the display position of the information display module corresponding to the "picture" 43 and the display position of the information display module corresponding to the "text" 44 can be exchanged with each other.
[0098] Optionally, after the card-type display control starts the edit mode, that is, in the edit mode, if a delete operation is detected for a target display module in at least one information display module, the target display module is deleted in the card-type display control. Exemplarily, in the edit mode, a delete button may be displayed on each information display module, and when a click operation for the delete button corresponding to the target display module is detected, the target display module may be deleted. Fig. 20 Shown and Fig.21 As shown, after clicking the delete button of the information display module corresponding to “picture” 43 , the remaining information display modules in the card-type display control are “title” 41 , “link” 42 and “text” 44 .
[0099] Optionally, after the card-type display control starts the edit mode, that is, in the edit mode, if a click operation is detected on an area other than the card-type display control in the target interface, the card-type display control can be exited from the edit mode. In addition, if the card-type display control is adjusted in the edit mode, the adjustment will be saved when exiting the edit mode. Fig.21As shown, the information display module corresponding to "Picture" is deleted in the editing mode. Then, when you click on the area other than the card-type display control in the target interface and exit the editing mode, the remaining information display modules in the card-type display control are "Title" 41, "Link" 42 and "Text" 44.
[0100] Therefore, the method provided in the embodiment of the present application can generate target display content based on the page content corresponding to the link information and display it in the target interface when sharing the link information in one display area among multiple display areas to the content editing interface of another display area. In addition, summary information can be generated based on the page content, and the summary information can be displayed in a card-type display control, and position operations, module deletion and other operations can be performed on at least one information display module in the card-type display control. Therefore, when the present application drags a link across interfaces and places it in the content editing interface, the link content can be fully previewed in the form of a card, which enriches the display method of the link and avoids repeated jumps to obtain link information.
[0101] See also Fig. 22 , Fig. 22 The flowchart of the information sharing method provided by another embodiment of the present application is shown. The information sharing method can be applied to an electronic device, and the display area of the electronic device includes a first display area and a second display area. Fig. 22 The process shown is described in detail, and the information sharing method may specifically include: S2210 to S2240.
[0102] S2210: Obtain content to be shared determined by the user in the first display area.
[0103] S2220: When it is detected that the content to be shared is dragged to the second display area based on a drag operation input by the user, determine an interface type corresponding to a target interface displayed in the second display area.
[0104] Steps S2210 to S2220 may refer to the corresponding contents in the aforementioned embodiments, and the embodiments of the present application will not be described in detail.
[0105] S2230: If the interface type is a content editing interface and the content to be shared includes at least one of text content and a picture, determine a first insertion position of the content to be shared in the text content in the target interface.
[0106] As an implementation mode, when it is determined that the interface type of the target interface is a content editing interface, the application displayed on the target interface may be, for example, a document processing application. At this time, if the content to be shared includes at least one of text content and a picture, the content to be shared may be inserted into the text content of the target interface to obtain the target display content. The first insertion position is the insertion position of the content to be shared in the text content of the target interface.
[0107] In one implementation, the end position of the text content in the target interface may be used as the first insertion position.
[0108] In other embodiments, the first insertion position may also be selected by the user. For example, when it is detected that the touch position of the drag operation in the aforementioned embodiment is located within the text content in the target interface, the touch position may be used as the first insertion position. That is to say, in this case, the above-mentioned drag operation will continue to act on the content to be shared before the entire information sharing is completed. In the case where the interface type of the target interface in the second display area is a content editing interface and the content to be shared includes at least one of text content and pictures, when the touch position of the above-mentioned drag operation is located within the text content in the target interface, the touch position of the drag operation in the content editing interface may be exemplarily used as the first insertion position. At the same time, when the drag operation is implemented, that is, when the drag operation is not completed, that is, when the content to be shared is dragged based on the drag operation, the content to be shared may be displayed at the touch position of the drag operation.
[0109] S2240: Inserting the content to be shared into the text content based on the first insertion position to obtain target display content.
[0110] After determining the first insertion position, the content to be shared can be inserted into the text content according to the first insertion position, thereby obtaining the target display content. Optionally, the content to be shared can be inserted into the first insertion position of the text content, thereby updating the text content, and then the updated text content can be adjusted according to the text typesetting format corresponding to the target interface to obtain the target display content. Among them, the text typesetting format may include font, font size, font color, paragraph spacing, image adaptation size, etc.
[0111] In addition, the user can also update the first insertion position. As an embodiment, when it is detected that the first insertion position is updated, the updated first insertion position can be used as the new first insertion position, and the operation of inserting the content to be shared into the text content based on the first insertion position to obtain the target display content is returned. It should be noted that before the above-mentioned drag operation is released, the first insertion position can be updated as the touch position of the drag operation is updated, and each time the first insertion position is updated, the target display content can be obtained and displayed in the target interface, that is, the user can preview the effect of the automatic adaptation of the text layout format of the text content of the target interface to the content to be shared during the dragging process, and when the effect of the automatic adaptation meets the user's needs, the current target display content can be saved through the user's confirmation operation (such as the release operation of the above-mentioned drag operation, etc.), thereby completing the placement of the content to be shared.
[0112] For example, when the target interface type is a content editing interface, the text content and pictures selected in the web browsing interface can be used as the content to be shared, such as Fig.23 At this time, the display area where the web browsing interface is located is the first display area. When it is detected that the information to be shared is dragged to the content editing interface on the screen based on the drag operation, the display area where the content editing interface is located is the second display area, and the content to be shared can be inserted into the content editing interface. The touch position of the drag operation in the content editing interface can be used as the first insertion position, such as Fig.24 As shown, when the touch position of the drag operation is at the starting position of the text content in the content editing interface, the starting position of the text content can be used as the first insertion position, and the content to be shared can be inserted into the first insertion position of the text content to obtain updated text content, and then the updated text content is adjusted according to the text typesetting format corresponding to the content editing interface to obtain the target display content.
[0113] In addition, before the drag operation is released, the first insertion position may be updated as the touch position of the drag operation is updated. Fig.25 As shown, when the touch position of the drag operation is at the end of the text content in the content editing interface, the end of the text content can be updated to a new first insertion position, and the operation of inserting the content to be shared into the text content based on the first insertion position to obtain the target display content can be returned. Optionally, before the drag operation is released, that is, before the user determines to save the target display content, the content to be shared after format adjustment can be highlighted by highlighting, graying out the background, bolding the text, and other preset processing methods. When a user confirmation operation (such as the release operation of the above-mentioned drag operation, etc.) is detected, Fig.26As shown, the preset processing method for the adjusted content to be shared can be canceled, so that the content to be shared after the format adjustment is consistent with the text typesetting format of the text content, thereby completing the placement of the content to be shared.
[0114] Therefore, the method provided in the embodiment of the present application, when sharing at least one of the text content and the picture in one display area among multiple display areas as information to be shared to the content editing interface in another display area, inserts the content to be shared into the first insertion position in the text content of the content editing interface to obtain the target display content, and displays it in the target interface. In addition, the touch position of the drag operation in the text content in the aforementioned embodiment can be used as the first insertion position, and the first insertion position can also be updated according to the update of the touch position of the drag operation, and the text content into which the content to be shared is inserted can also be adjusted according to the text typesetting format of the content editing interface, and finally the target display content is obtained. Therefore, when the present application drags graphic information across interfaces and places it into the content editing interface, the adaptation style and placement position of the information to be shared can be previewed in real time before the drag is released, which can improve the user experience while reducing the probability of user misoperation.
[0115] See also Fig. 27 , which shows a structural block diagram of an information sharing device provided in an embodiment of the present application, the device can be applied to an electronic device, the screen of the electronic device includes multiple display areas, the multiple display areas include a first display area and a second display area. The device may include: an acquisition module 2710, a detection module 2720 and a display module 2730.
[0116] Among them, the acquisition module 2710 is used to obtain the content to be shared determined by the user in the first display area; the detection module 2720 is used to determine the interface type corresponding to the target interface displayed in the second display area when it is detected that the content to be shared is dragged to the second display area based on the drag operation input by the user; the display module 2730 is used to determine the target display content corresponding to the content to be shared based on the content to be shared and the interface type, and display it in the target interface.
[0117] As an implementation manner, the device may further include: a display submodule, configured to display the content to be shared at the touch position of the dragging operation when the dragging operation is not completed.
[0118] Furthermore, the above-mentioned display module 2730 may include: a guidance information determination module, which is used to determine at least one guidance information based on the content to be shared if the interface type is a content sending interface, and the guidance information is used to characterize the sending modes supported by the content to be shared, and each guidance information corresponds to a sending mode; a first generation module, which is used to generate the target display content based on at least one of the guidance information, and display the target display content in the target interface.
[0119] On the basis of the aforementioned embodiment, further, the above-mentioned first generation module may include: a button determination module, used to determine the operation button corresponding to each guidance information, and the operation button serves as the target display content; a button display module, used to display each of the operation buttons in the target interface.
[0120] Based on the foregoing embodiment, as a method, the device may also include: a button detection module, used to detect a touch operation acting on a target operation button among at least one of the operation buttons; a sending module, used to send the content to be shared to a receiving end based on a sending mode corresponding to the target operation button.
[0121] Based on the foregoing embodiment, as another method, the button display module may include: a button display submodule, used to display each of the operation buttons in the target interface when the dragging operation is not completed; a sending submodule, used to send the content to be shared to the receiving end based on the sending mode corresponding to the target operation button when it is detected that the touch position of the dragging operation is within a preset range of the target operation button among the multiple operation buttons.
[0122] As an implementation manner, the content to be shared is of picture type, and the sending mode includes sending the original picture and sending with reduced definition.
[0123] Furthermore, the above-mentioned display module 2730 may also include: a second generation module, which is used to generate target display content based on the page content corresponding to the link information if the interface type is a content editing interface and the content to be shared is link information, and display the target display content in the target interface.
[0124] On the basis of the foregoing embodiment, further, the second generation module may include: a control generation module, used to generate a card-type display control based on the page content corresponding to the link information, the card-type display control includes summary information, the card-type display control serves as the target display content, and the summary information is generated based on the link information and the page content.
[0125] Furthermore, the device may also include: a long press detection module, used to detect a long press operation acting on the card-type display control; a control adjustment module, used to enable the card-type display control to start an editing mode, and the editing mode is used to receive an editing operation acting on the card-type display control and adjust the card-type display control according to the editing operation.
[0126] Furthermore, the device may also include: a position adjustment module, which is used to adjust the display position of the information display modules other than the target display module in the card-type display control when it is detected that the target display module in at least one of the information display modules is dragged to the target display position of the card-type display control based on a drag operation input by the user.
[0127] Furthermore, the device may also include: a control deletion module, which is used to delete the target display module in the card-type display control when a deletion operation acting on a target display module in at least one of the information display modules is detected.
[0128] Furthermore, the device may also include: an exit module, which is used to make the card-type display control exit the editing mode when a single-click operation acting on an area other than the card-type display control in the target interface is detected.
[0129] Furthermore, the above-mentioned display module 2730 may also include: a position determination module, which is used to determine the first insertion position of the content to be shared in the text content within the target interface if the interface type is a content editing interface and the content to be shared includes at least one of text content and a picture; and a third generation module, which is used to insert the content to be shared into the text content based on the first insertion position to obtain the target display content.
[0130] Based on the above embodiment, the position determination module may include: a position determination submodule, configured to, when it is detected that the touch position of the drag operation is located within the text content in the target interface, use the touch position as the first insertion position.
[0131] Based on the foregoing embodiment, the third generation module may include: a content update module, used to insert the content to be shared into the text content based on the first insertion position to obtain the updated text content; a content adjustment module, used to adjust the updated text content based on the text layout format corresponding to the target interface to obtain the target display content.
[0132] Based on the foregoing embodiment, the device may further include: a position update module, which, when detecting that the first insertion position is updated, uses the updated first insertion position as a new first insertion position, and returns to execute an operation of inserting the content to be shared into the text content based on the first insertion position to obtain the target display content.
[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0134] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0135] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0136] Please refer to Fig.28 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 2800 can be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 2800 in the present application may include one or more of the following components: a processor 2810, a memory 2820, and one or more applications, wherein the one or more applications may be stored in the memory 2820 and configured to be executed by one or more processors 2810, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0137] The processor 2810 may include one or more processing cores. The processor 2810 uses various interfaces and lines to connect the various parts of the entire electronic device 2800, and executes various functions and processes data of the electronic device 2800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 2820, and calling data stored in the memory 2820. Optionally, the processor 2810 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 2810 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 2810, but may be implemented separately through a communication chip.
[0138] The memory 2820 may include a random access memory (RAM) or a read-only memory (ROM). The memory 2820 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 2820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the terminal 2800 during use.
[0139] Please refer to Fig.29 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 2900 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0140] The computer readable storage medium 2900 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 2900 includes a non-transitory computer-readable storage medium. The computer readable storage medium 2900 has storage space for program code 2910 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 2910 can be compressed, for example, in an appropriate form.
[0141] Please refer to Fig.30 , which shows a computer program product 3000 provided in an embodiment of the present application, including a computer program / instruction 3010, which implements the above method when executed by a processor.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method of sharing information, It is characterized in that Applied to an electronic device, the display area of the electronic device includes a first display area and a second display area, and the method includes: Acquire content to be shared determined by the user in the first display area; When it is detected that the content to be shared is dragged to the second display area based on a drag operation input by the user, determining an interface type corresponding to a target interface displayed in the second display area; Determining target display content corresponding to the content to be shared based on the content to be shared and the interface type, and displaying the target display content in the target interface; The determining, based on the content to be shared and the interface type, target display content corresponding to the content to be shared, and displaying the target display content in the target interface includes: If the interface type is a content sending interface, at least one guide information is determined based on the content to be shared, the guide information is used to represent the sending modes supported by the content to be shared, and each guide information corresponds to a sending mode; Determine an operation button corresponding to each guide information, wherein the operation button serves as the target display content; When the dragging operation is not completed, displaying each of the operation buttons in the target interface; When it is detected that the touch position of the drag operation is within the preset range of a target operation button among the multiple operation buttons, the content to be shared is sent to the receiving end based on the sending mode corresponding to the target operation button, wherein the second display area is divided into at least one non-overlapping sub-display area, and each of the sub-display areas is a preset range corresponding to a single operation button.
2. The method according to claim 1, It is characterized in that The method further comprises: When the dragging operation is not completed, the content to be shared is displayed at the touch position of the dragging operation.
3. The method according to claim 1, It is characterized in that The step of determining an operation button corresponding to each guide information, wherein the operation button is used as the target display content, comprises: detecting a touch operation acting on a target operation button among at least one of the operation buttons; The content to be shared is sent to a receiving end based on the sending mode corresponding to the target operation button.
4. The method according to any one of claims 1 to 3, It is characterized in that The content to be shared is of picture type, and the sending mode includes sending the original picture and sending the picture in reduced definition.
5. The method according to claim 1, It is characterized in that The determining, based on the content to be shared and the interface type, target display content corresponding to the content to be shared, and displaying the target display content in the target interface includes: If the interface type is a content editing interface and the content to be shared is link information, target display content is generated based on the page content corresponding to the link information, and the target display content is displayed in the target interface.
6. The method according to claim 5, It is characterized in that The generating target display content based on the page content corresponding to the link information includes: A card-type display control is generated based on the page content corresponding to the link information, the card-type display control includes summary information, the card-type display control serves as the target display content, and the summary information is generated based on the link information and the page content.
7. The method according to claim 6, It is characterized in that The method further comprises: Detecting a long press operation on the card-type display control; The card-type display control is enabled to start an editing mode, where the editing mode is used to receive an editing operation acting on the card-type display control and adjust the card-type display control according to the editing operation.
8. The method according to claim 7, It is characterized in that The card-type display control further includes at least one information display module. After the card-type display control starts the editing mode, it also includes: When it is detected that a target display module in at least one of the information display modules is dragged to a target display position of the card-type display control based on a drag operation input by a user, the display positions of the information display modules other than the target display module in the card-type display control are adjusted.
9. The method according to claim 7, It is characterized in that The card-type display control further includes at least one information display module. After the card-type display control starts the editing mode, it also includes: When a deletion operation acting on a target display module in at least one of the information display modules is detected, the target display module is deleted in the card-type display control.
10. The method according to claim 7, It is characterized in that After the card-type display control starts the editing mode, the method further includes: When a single click operation acting on an area other than the card-type display control in the target interface is detected, the card-type display control is caused to exit the editing mode.
11. The method according to claim 1, It is characterized in that The determining, based on the content to be shared and the interface type, target display content corresponding to the content to be shared includes: If the interface type is a content editing interface and the content to be shared includes at least one of text content and a picture, determining a first insertion position of the content to be shared in the text content in the target interface; The to-be-shared content is inserted into the text content based on the first insertion position to obtain target display content.
12. The method according to claim 11, It is characterized in that The determining a first insertion position of the content to be shared in the text content in the target interface includes: When it is detected that the touch position of the drag operation is located within the text content in the target interface, the touch position is used as the first insertion position.
13. The method according to claim 11, It is characterized in that The inserting the to-be-shared content into the text content based on the first insertion position to obtain target display content includes: Inserting the to-be-shared content into the text content based on the first insertion position to obtain the updated text content; The updated text content is adjusted based on the text typesetting format corresponding to the target interface to obtain target display content.
14. The method according to claim 11, It is characterized in that The method further comprises: When it is detected that the first insertion position is updated, the updated first insertion position is used as a new first insertion position, and the operation of inserting the content to be shared into the text content based on the first insertion position to obtain the target display content is returned.
15. An information sharing device, It is characterized in that Applied to an electronic device, the display area of the electronic device includes a first display area and a second display area, and the device includes: An acquisition module, used to acquire the content to be shared determined by the user in the first display area; a detection module, configured to determine an interface type corresponding to a target interface displayed in the second display area when detecting that the content to be shared is dragged to the second display area based on a drag operation input by a user; The display module is used to determine the target display content corresponding to the content to be shared based on the content to be shared and the interface type, and display the target display content in the target interface; the determination of the target display content corresponding to the content to be shared based on the content to be shared and the interface type, and displaying the target display content in the target interface, including: if the interface type is a content sending interface, determining at least one guide information based on the content to be shared, the guide information is used to characterize the sending mode supported by the content to be shared, and each guide information corresponds to a sending mode; determining an operation button corresponding to each guide information, and the operation button serves as the target display content; if the drag operation is not ended, displaying each operation button in the target interface; when it is detected that the touch position of the drag operation is within a preset range of a target operation button among the multiple operation buttons, sending the content to be shared to a receiving end based on the sending mode corresponding to the target operation button, wherein at least one non-overlapping sub-display area is divided in the second display area, and each sub-display area serves as a preset range corresponding to an operation button.
16. An electronic device, It is characterized in that include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-14.
17. A computer readable medium, It is characterized in that The computer-readable medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method according to any one of claims 1 to 14.
18. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 14 is implemented.
