Content sharing method, electronic equipment and storage medium
By dividing areas between the first screen and the second screen of the electronic device and using the screen of the electronic device itself to realize content sharing, the problem that content sharing in the prior art needs to rely on a communication network, and the convenience and flexibility of content sharing are improved.
Patent Information
- Application Number
- CN202311345163.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, content sharing needs to rely on communication networks, resulting in inconvenience.
By dividing areas between the first screen and the second screen of the electronic device and using the screen of the electronic device itself to realize content sharing, the user can observe the shared content through the second area and the second screen of the first screen.
It realizes content sharing without relying on communication networks, improving the convenience and flexibility of content sharing.
Smart Images

Figure CN119847461A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and in particular to a content sharing method, electronic device, storage medium and computer program product. Background Art
[0002] At present, people use electronic devices to share content in more and more occasions. For example, when user A browses content A on an electronic device, he can send content A to user B's electronic device via a communication network to share content A with user B.
[0003] However, in the prior art, content sharing usually needs to be achieved with the help of a communication network, which brings inconvenience to content sharing. Summary of the invention
[0004] Some implementations of the present application provide a content sharing method, an electronic device, and a computer-readable storage medium. The present application is introduced from multiple aspects below, and the implementations and beneficial effects of the following aspects can be referenced to each other.
[0005] In a first aspect, the present application provides a content sharing method for an electronic device, wherein the electronic device includes a first screen and a second screen, and the first screen and the second screen are respectively located on opposite sides of the electronic device; the method includes: receiving a first operation in a display state of the first screen; in response to the first operation, determining a first area and a second area in a display area of the first screen, the first area being used to display a user interface of the electronic device, and the second area being used to display shared content; displaying the shared content in the second area, and sharing the shared content displayed in the second area on the second screen.
[0006] According to the implementation mode of the present application, different users can observe the shared content through the second area of the first screen and the second screen respectively, that is, the electronic device can realize content sharing through its own screen, thereby realizing content sharing without relying on a communication network, so as to improve the convenience of content sharing.
[0007] In some embodiments, the shared content is the content selected by the user in the first area after receiving the first operation; or the shared content is the content displayed in the second area of the first screen when the first operation is received. According to the embodiments of the present application, the user can independently select the shared content, or the electronic device can use the original displayed content in the second area as the shared content, thereby improving the flexibility and convenience of content sharing.
[0008] In some embodiments, the method further includes: receiving a second operation for inputting annotation content for the shared content; in response to the second operation, displaying the annotation content in a second area of the first screen, and sharing the displayed annotation content on the second screen.
[0009] According to an implementation manner of the present application, users may also annotate shared content to further improve the content sharing experience.
[0010] In some embodiments, the second operation is a touch operation on the second area of the first screen, or a touch operation on the second screen. According to the embodiments of the present application, both the user at the front and the user at the back of the electronic device can annotate the shared content, which is conducive to enhancing the interactivity of the content sharing process.
[0011] In some embodiments, receiving the second operation includes: receiving the second touch operation on the second area of the first screen while receiving the first touch operation on the second screen; and using the first touch operation as the second operation. The embodiments of the present application can improve the accuracy of the electronic device's response.
[0012] In some embodiments, when the shared content is content selected by the user in the first area after receiving the first operation, the method further includes: receiving a third operation, the third operation being used to select new shared content in the user interface; in response to the third operation, updating the shared content in the second area of the first screen and the second screen to the new shared content, and clearing the annotation content in the second area of the first screen and the second screen.
[0013] According to the implementation manner of the present application, the user can modify the shared content as needed to improve the flexibility of content sharing.
[0014] In some embodiments, the method further includes: in response to the third operation, displaying a selection list in the second area of the first screen and the second screen, the selection list including a first option corresponding to the shared content and a second option corresponding to the new shared content; receiving a fifth operation, the fifth operation is used to select the first option in the selection list; in response to the fifth operation, re-updating the new sharing in the second area of the first screen and the second screen to the shared content. According to the embodiments of the present application, the user can conveniently switch between different shared content.
[0015] In some embodiments, the electronic device is a folding screen device, the first screen includes a first sub-screen and a second sub-screen that can be relatively folded or unfolded; determining the first area and the second area in the display area of the first screen includes: determining the display area of the first sub-screen as the first area, and determining the display area of the second sub-screen as the second area. The embodiments of the present application can reduce the impact on the original display interface of the electronic device.
[0016] In some implementations, determining the second area in the display area of the first screen includes: receiving a fourth operation, the fourth operation being used to select a shared area in the display area of the first screen; and determining the selected shared area as the second area. According to implementations of the present application, the user can select the shared area independently.
[0017] In some embodiments, the electronic device is a folding screen device, the first screen includes a first sub-screen and a second sub-screen that can be relatively folded or unfolded; in response to a first operation, determining the first area and the second area in the display area of the first screen includes: in response to the first operation, determining that the angle between the first sub-screen and the second sub-screen is greater than or equal to the first angle, and determining the first area and the second area in the display area of the first screen. The embodiments of the present application are conducive to users clearly observing shared content.
[0018] In some embodiments, the first angle is any angle between 60° and 90°.
[0019] In some embodiments, displaying the annotation content in the second area of the first screen includes: creating a first layer in the second area of the first screen and displaying the annotation content on the first layer; wherein the first layer is located at the top layer of each display layer in the second area; and / or, displaying the annotation content on the second screen includes: creating a second layer on the second screen and displaying the annotation content on the second layer; wherein the second layer is located at the top layer of each display layer of the second screen. The embodiments of the present application are conducive to users to clearly observe the annotation content.
[0020] In some implementations, the first layer is a blank layer, and / or the second layer is a blank layer. The implementations of the present application can reduce the occlusion of the first layer and / or the second layer on the content of other layers.
[0021] In some embodiments, the electronic device includes a system control module and a split-screen unit; receiving a first operation includes: the system control module receives the first operation; in response to the first operation, determining a first area and a second area in the display area of the first screen, including: the system control module sends a split-screen instruction to the split-screen unit in response to the first operation; the split-screen unit determines the first area and the second area in the display area of the first screen in response to the split-screen instruction.
[0022] In some embodiments, the electronic device also includes an annotation unit; after the split-screen unit determines the first area and the second area in the display area of the first screen, the method further includes: the split-screen unit sends a notification of split-screen completion to the annotation unit; in response to receiving the notification of split-screen completion, the annotation unit creates a first layer in the second area of the first screen and a second layer on the second screen.
[0023] In some embodiments, the electronic device also includes a touch algorithm unit and a display unit; receiving a second operation includes: the touch algorithm unit receives the second operation; in response to the second operation, the annotation content is displayed in the second area of the first screen, and the annotation content is shared and displayed on the second screen, including: the touch algorithm unit obtains the screen touch data corresponding to the second operation in response to receiving the second operation; the touch algorithm unit sends the screen touch data to the annotation unit; the annotation unit draws the annotation content on the first layer and the second layer respectively according to the screen touch data; the annotation unit sends the layer data of the first layer and the layer data of the second layer including the annotation content to the display unit; the display unit displays the layer data of the first layer in the second area of the first screen to display the annotation content in the second area; and displays the layer data of the second layer on the second screen to share the annotation content on the second screen.
[0024] In some embodiments, the size of the second area of the first screen is the same as the size of the second screen. According to embodiments of the present application, the display size of the shared content observed by the user at the front and back of the electronic device may be substantially the same.
[0025] In some implementations, the shared content includes at least one of a picture, a document, an application program interface, and an electronic device desktop image.
[0026] In some implementations, the first operation is an operation performed on a first control displayed on the first screen.
[0027] In a second aspect, the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device; a processor, when the processor executes the instructions in the memory, the electronic device can execute the method provided by any implementation of the first aspect of the present application. The beneficial effects that can be achieved in the second aspect can refer to the beneficial effects of the method provided by any implementation of the first aspect, and will not be repeated here.
[0028] In a third aspect, the present application provides a computer-readable storage medium, in which instructions are stored, and when the instructions are executed on a computer, the computer can execute the method provided by any implementation of the first aspect of the present application. The beneficial effects that can be achieved in the third aspect can refer to the beneficial effects of the method provided by any implementation of the first aspect, and will not be repeated here.
[0029] In a fourth aspect, the present application provides a computer program product, wherein the program code included in the computer program product, when executed by a computer or a processor, enables the computer or the processor to execute the method provided by any implementation of the fourth aspect of the present application. The beneficial effects that can be achieved in the fourth aspect can refer to the beneficial effects of the method provided by any implementation of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Schematic diagram of application scenarios of the content sharing method provided in the embodiment of the present application Figure 1 ;
[0031] Figure 2 Schematic diagram of application scenario of the content sharing method provided in the embodiment of the present application Figure 2 ;
[0032] Figure 3A Schematic diagram of the screen setting method of the electronic device provided in the embodiment of the present application Figure 1 ;
[0033] Figure 3B Schematic diagram of the screen setting method of the electronic device provided in the embodiment of the present application Figure 2 ;
[0034] Figure 3C Schematic diagram of the folding method of the electronic device provided in the embodiment of the present application Figure 1 ;
[0035] Figure 3D Schematic diagram of the folding method of the electronic device provided in the embodiment of the present application Figure 2 ;
[0036] Figure 4A Schematic diagram 3 of the screen setting method of the electronic device provided in the embodiment of the present application;
[0037] Figure 4B Schematic diagram 4 of the screen setting method of the electronic device provided in the embodiment of the present application;
[0038] Figure 5 An exemplary process of the content sharing method provided in the embodiment of the present application Figure 1 ;
[0039] Fig. 6A Schematic diagram of the shared opening operation provided in the embodiment of the present application Figure 1 ;
[0040] Figure 6B Schematic diagram of the area division method provided in the embodiment of the present application Figure 1 ;
[0041] Figure 6C Schematic diagram of the area division method provided in the embodiment of the present application Figure 2 ;
[0042] Fig.6D Schematic diagram of the initialization interface of the shared area provided in the embodiment of the present application Figure 1 ;
[0043] Fig. 6EA schematic diagram of an electronic device provided in an embodiment of the present application at an unfolded angle;
[0044] Fig. 7A A schematic diagram of a content selection operation provided in an embodiment of the present application;
[0045] Figure 7B Schematic diagram of the content sharing interface provided in the embodiment of the present application Figure 1 ;
[0046] Figure 7C Schematic diagram of the content sharing interface provided in the embodiment of the present application Figure 2 ;
[0047] Figure 8 An exemplary process of the content sharing method provided in the embodiment of the present application Figure 2 ;
[0048] Fig. 9A Schematic diagram of annotation operation provided in the embodiment of the present application Figure 1 ;
[0049] Fig. 9B Schematic diagram 3 of the content sharing interface provided in the embodiment of the present application;
[0050] Fig. 10A Schematic diagram of the shared content switching method provided in the embodiment of the present application Figure 1 ;
[0051] Fig. 10B Schematic diagram 4 of the content sharing interface provided in the embodiment of the present application;
[0052] Fig. 10C Schematic diagram of the content sharing interface provided in the embodiment of the present application Figure 5 ;
[0053] Fig. 10D Schematic diagram of the shared content switching method provided in the embodiment of the present application Figure 2 ;
[0054] Fig. 10E Schematic diagram 6 of the content sharing interface provided in the embodiment of the present application;
[0055] Fig.11A Schematic diagram 3 of the shared content switching method provided in the embodiment of the present application;
[0056] Fig. 11B Schematic diagram 7 of the content sharing interface provided in the embodiment of the present application;
[0057] Fig.12 An exemplary flowchart of the content sharing method provided in the embodiment of the present application is shown in FIG3;
[0058] Fig.13ASchematic diagram of the shared opening operation provided in the embodiment of the present application Figure 2 ;
[0059] Fig. 13B Schematic diagram 3 of the area division method provided in the embodiment of the present application;
[0060] Fig. 13C Schematic diagram 4 of the area division method provided in the embodiment of the present application;
[0061] Fig.13D Schematic diagram of the content sharing interface provided in the embodiment of the present application Figure 8 ;
[0062] Fig.14A Schematic diagram of annotation operation provided in the embodiment of the present application Figure 2 ;
[0063] Fig. 14B Schematic diagram 9 of the content sharing interface provided in the embodiment of the present application;
[0064] Fig.15A Schematic diagram 4 of the sharing content switching method provided in the embodiment of the present application;
[0065] Fig. 15B Schematic diagram 10 of a content sharing interface provided in an embodiment of the present application;
[0066] Fig. 15C Schematic diagram of the area division method provided in the embodiment of the present application Figure 5 ;
[0067] Fig.15D Schematic diagram 6 of the area division method provided in the embodiment of the present application;
[0068] Fig.15E Schematic diagram of the shared area initialization interface provided in the embodiment of the present application Figure 2 ;
[0069] Fig.15F Schematic diagram 11 of a content sharing interface provided in an embodiment of the present application;
[0070] Fig.16A A schematic diagram of the module structure of an electronic device provided in an embodiment of the present application is shown;
[0071] Fig. 16B A diagram showing the relationship between the modules provided in the embodiment of the present application and the hardware of the electronic device;
[0072] Fig.17 A schematic diagram showing the internal interaction of the content sharing method provided by an embodiment of the present application is shown;
[0073] Fig.18 A schematic structural diagram of an electronic device is shown.
[0074] Fig.19 A block diagram of an electronic device provided by an embodiment of the present application is shown;
[0075] Fig. 20 A schematic diagram of the structure of a system on chip (SoC) provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0076] As mentioned above, people use electronic devices to share content in more and more occasions. In some embodiments, the screen of the electronic device may include a sharing area and a browsing area, and the browsing area may display multiple objects (e.g., object a1, object a2, object a3, and object a4, etc.). When the user selects an object to be shared (e.g., object a1) in the browsing area, the electronic device may display the object identifier of the object in the sharing area. Afterwards, the electronic device may synchronize the content of the sharing area to other devices in the target group through a communication network, so that all members of the target group can see the content in the sharing area (i.e., the object identifier of object a1).
[0077] In this embodiment, the electronic device shares content with other devices via a communication network, which brings inconvenience to content sharing. For example, content sharing cannot be performed when there is no network.
[0078] To this end, the present application provides a content sharing method that can realize content sharing between different users without relying on a communication network. Figure 1 and Figure 2 , the electronic device 100 may include a first screen 10 and a second screen 20, and the first screen 10 and the second screen 20 may be located at opposite sides of the electronic device 100. For example, the first screen 10 may be located at the front of the electronic device 100, and the second screen 20 may be located at the back of the electronic device 100. In this way, when user A observes the first screen 10, user B may observe the second screen 20.
[0079] User A can turn on the content sharing mode of the electronic device 100 by operating the electronic device 100. When the electronic device 100 turns on the content sharing mode, the first screen 10 can be divided into a first area 11 and a second area 12. The first area 11 can be used to display a user interface, such as the desktop of the electronic device 100, an application interface (which may include a shopping application interface, a document application interface, etc.), etc., and the second area 12 is used to display shared content. User A can select content to be shared (for example, picture P1) in the first area 11. When user A selects content to be shared, the electronic device 100 can display the content to be shared in the second area 12 and share the content to be shared in the second screen 20. It can be understood that user A can observe the shared content through the second area 12 of the first screen 10 ("content to be shared" is called "shared content" after the sharing interface is displayed), and user B can observe the shared content through the second screen 20, that is, both user A and user B can observe the shared content. In other words, the present application can realize content sharing through the screen of the electronic device 100 itself, and can realize content sharing without relying on a communication network, thereby improving the convenience of content sharing.
[0080] In the embodiment of the present application, the user interface of the electronic device 100 is an interface that can be provided by the application or operating system of the electronic device 100, for example, a desktop, a negative one screen interface, a drop-down menu interface, an application interface of a system application (for example, settings, alarm clock, weather, application market, etc.), or an application interface of a third-party application (for example, a shopping application, a travel application, a short video application, etc.). The sharing interface of the electronic device 100 is an interface for displaying shared content. For example, when a user selects content to be shared, the electronic device 100 can display the content on the sharing interface.
[0081] The method provided in the present application can be applied to various electronic devices 100 having at least two or more screens arranged on opposite sides, such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) devices / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc., and the present application does not limit them.
[0082] Several exemplary configuration methods for electronic device screens are described below.
[0083] (1) Example 1 of screen setting method of electronic device 100. In this example, electronic device 100 is a folding screen device. Figure 3Ashows a front view of the electronic device in an unfolded state, Figure 3B A rear view of the electronic device in an unfolded state is shown.
[0084] refer to Figure 3A and 3B , the electronic device 100 includes a first screen 10 located on the front thereof and a second screen 20 located on the back thereof. It can be understood that when the electronic device 100 is in the unfolded state, user A and user B can respectively observe the first screen 10 and the second screen 20 of the electronic device 100. In some embodiments, in order to save power consumption of the electronic device 100, when the electronic device 100 is in the unfolded state, the default state of the second screen 20 is the screen-off state (for example, the second screen 20 is a black screen).
[0085] In some embodiments, reference Figure 3C , the electronic device 100 may be an external folding screen device. In this embodiment, the two parts of the electronic device (part M1 and part M2, respectively) may be folded relative to each other along the R1 direction. During the folding process of the electronic device 100, the first screen 10 is folded into two "back-to-back" parts, which may be referred to as the first sub-screen 10a and the second sub-screen 10b, respectively. When the electronic device 100 is in a fully folded state, the first sub-screen 10a and the second sub-screen 10b may be parallel to each other and located on opposite surfaces of the electronic device 100, respectively, and the second screen is located inside the electronic device 100 (i.e., the second screen is not visible to the user).
[0086] In some embodiments, reference Figure 3D , the electronic device 100 may be an inner folding screen device. In this embodiment, the two parts of the electronic device 100 (part M1 and part M2) can be folded relative to each other along the R2 direction. During the folding process of the electronic device 100, the first screen 10 is folded into two "face-to-face" parts, which are also respectively referred to as the first sub-screen 10a and the second sub-screen 10b. When the electronic device 100 is in a fully folded state, the first sub-screen 10a and the second sub-screen 10b are located inside the electronic device 100 (invisible to the user), and the second screen is located on one side surface of the electronic device 100.
[0087] exist FIG. 3A to FIG. 3D In the example shown, the second sub-screen 10b and the second screen 20 have substantially the same size. In some examples, the sizes of the second sub-screen 10b and the second screen 20 may be different, for example, the size of the second screen 20 is smaller than the size of the second sub-screen 10b, and illustratively, the size of the second screen 20 may be 0.4 to 0.6 times the size of the second sub-screen 10b.
[0088] In addition, in the embodiment of the present application, the electronic device 100 may be a foldable device that folds left and right. That is, when the electronic device 100 is in the unfolded state, the first sub-screen 10a and the second sub-screen 10b are respectively located on the left and right sides of the first screen 10. In other examples, the electronic device 100 may also be a foldable device that folds up and down, that is, when the electronic device 100 is in the unfolded state, the first sub-screen 10a and the second sub-screen 10b are respectively located on the upper and lower sides of the first screen 10.
[0089] (2) Example 2 of the screen setting method of the electronic device 100 In this example, the electronic device 100 is a non-foldable device, that is, in each use state of the electronic device 100, the screen of the electronic device 100 will not be folded. Figure 4A shows a front view of a non-foldable electronic device, Figure 4B A rear view of a non-foldable electronic device is shown.
[0090] refer to Figure 4A and Figure 4B , the electronic device 100 includes a first screen 10 located on the front thereof and a second screen 20 located on the back thereof. It is understood that user A and user B can observe the first screen 10 and the second screen 20 of the electronic device 100 respectively. In some embodiments, the first screen 10 and the second screen 20 are arranged back to back, and the area of the second screen 20 is smaller than the area of the first screen 10. For example, the area of the second screen 20 is 0.3 to 0.6 times the size of the first screen 10. In addition, for ease of observation, the second screen 20 can be located on the upper side of the back of the electronic device 100, but the present application is not limited thereto. In some embodiments, the second screen 20 can also be located at other positions on the back of the electronic device 100.
[0091] In the electronic device 100 described above, the first screen 10 may be the screen mainly used by the user of the electronic device 100. The user may use the main functions of the electronic device 100 through the first screen 10, for example, watching videos or web pages, playing games, using shopping applications, etc. Therefore, the first screen 10 may be referred to as the "main screen" of the electronic device 100. The second screen 20 may be the auxiliary screen of the electronic device 100. The user may obtain prompt information of the electronic device 100, for example, date, weather, current power, etc., through the second screen 20 when the electronic device 100 is in a low power consumption state (for example, when the electronic device 100 is in a folded state, or when the first screen 100 is not lit). Therefore, the second screen 20 may be referred to as the "secondary screen" of the electronic device.
[0092] In some embodiments, in order to save power consumption of the electronic device 100, when the first screen 10 is in the display state, the second screen 20 can be in the off state by default (for example, the second screen 20 is black).
[0093] Next, electronic equipment Figure 3A and Figure 3B Taking the internal folding screen device shown as an example, the content sharing method provided by the embodiment of the present application is introduced. However, it can be understood that the present application is not limited to this.
[0094] In the content sharing method provided in the embodiment of the present application, the execution entity of each step may be the electronic device 100 .
[0095] In addition, for ease of understanding, the following text is combined with Figure 2 The scenario shown is introduced, that is, user A shares content with user B through electronic device 100. User A is the main user of the electronic device. During the use of the electronic device, user A faces the first screen 10 of the electronic device, and user B faces the second screen 20 of the electronic device.
[0096] [Example 1]
[0097] An embodiment of the present application provides a content sharing method. When the electronic device 100 is in a content sharing mode, user A and user B can respectively observe the shared content through the first screen 10 and the second screen 20 of the electronic device 100, thereby achieving content sharing without the aid of a communication network.
[0098] Figure 5 The exemplary steps of the display method provided by the embodiment of the present application are shown. Figure 5 , the content sharing method provided in the embodiment of the present application includes:
[0099] S110: When the first screen 10 is in the display state, a sharing mode start operation (or “first operation”) is received.
[0100] For example, refer to Fig. 6A , when the user is using the electronic device 100, the first screen 10 can be controlled to be in a display state. In the embodiment of the present application, the current display interface of the first screen 10 is an application interface (specifically, the interface of the shopping application A). In some embodiments, the current display interface of the first screen 10 can also be other interfaces such as the desktop and the negative one screen interface. In addition, in the embodiment of the present application, the current display mode of the electronic device 100 is split-screen display. In some embodiments, the display mode of the electronic device 100 can also be full-screen mode.
[0101] When the first screen 10 is in the display state, the user can perform a sharing mode activation operation on the electronic device 100 to activate the content sharing mode of the electronic device 100 .
[0102] In the embodiment of the present application, a sharing control 31 (as a first control) may be displayed on the first screen 10, and the sharing mode activation operation may be an operation (e.g., a click operation) acting on the sharing control 31. In some embodiments, the sharing mode activation operation may also be a voice command operation, an operation on a setting button (e.g., a long press operation on a virtual home button), etc., which is not limited in the embodiment of the present application.
[0103] In addition, in the embodiment of the present application, the sharing control 31 can be displayed above the user interface of the electronic device 100 to facilitate the user to turn on the content sharing mode. In some embodiments, the sharing control 31 can also be set in other locations, for example, in the control interface or setting application of the electronic device 100.
[0104] S120: In response to the sharing mode start operation, a first area 11 and a second area 12 are determined in the display area of the first screen 10, the first area 11 is used to display the user interface of the electronic device 100, and the second area 12 is used to display the sharing interface.
[0105] refer to Figure 6B After the electronic device 100 receives the sharing mode start operation, the electronic device 100 can perform area division, that is, the electronic device 100 divides the display area of the first screen 10 into a first area 11 and a second area 12. For easy observation, Figure 6B The first area 11 and the second area 12 are framed by dotted lines.
[0106] In the embodiment of the present application, the electronic device 100 determines the display area of the first sub-screen as the first area 11, and determines the display area of the second sub-screen as the second area 12. Exemplarily, the size of the second area 12 is the same or substantially the same as the size of the second screen 20, so that in the subsequent content sharing process, the second area 12 and the second screen 20 have similar display effects.
[0107] In some embodiments, the electronic device 100 may add a separator 32 between the first area 11 and the second area 12 to prompt the user that the first screen 10 of the electronic device 100 is divided into different display areas. In addition, the separator 32 may be set to be draggable, that is, the user can adjust the size of the first area 11 and the second area 12 by dragging the separator 32. For example, when the user drags the separator 32 to the left, the area of the first area 11 is reduced and the area of the second area 12 is expanded. In some embodiments, the size of the first area 11 and the second area 12 is not adjustable, and the size displayed by the second area 12 is the same as the size displayed by the second screen 20.
[0108] In some embodiments, the first area 11 and the second area 12 may also be interchanged. For example, the first area 11 is located on the right side of the first screen 10, and the second area 12 is located on the left side of the first screen 10. In addition, in addition to the first area 11 and the second area 12, other areas may also exist in the display area of the first screen 10, such as the notification bar area 13.
[0109] In some embodiments (for example, when the electronic device 100 is a non-folding screen device), the first area 11 and the second area 12 may also be determined in other ways. Figure 6C The electronic device 100 sets the first area 11 and the second area 12 in a "picture-in-picture" or "floating window" manner. That is, the first area 11 substantially fills the display area of the first screen 10, and the second area 12 is a local area floating above the first area 11.
[0110] In the embodiment of the present application, the first area 11 is used to display the user interface of the electronic device 100. Fig. 6A and Figure 6B Before and after the area division, the display content of the first area 11 can remain unchanged to maintain a good display effect. In some embodiments, after the area division, the electronic device 100 can also reduce the original display content of the first screen 10 and display it in the first area 11.
[0111] The second area 12 is used to display the sharing interface. That is, the second area 12 is used to display the subsequent content to be shared. For example, before the content to be shared is determined, the second area 12 can display an initialization interface, which can be a default display page in black, white, or gray, or a self-defined interface with a specific background color or pattern, which is not specifically limited here.
[0112] In some embodiments, before receiving the sharing mode start operation, in order to save power consumption of the electronic device 100, the second screen 20 can be in a screen-off state. Fig.6D , the electronic device 100 can also turn on the second screen 20 and display the initialization interface on the second screen 20. The specific content of the initialization interface is not limited in the embodiment of the present application. In some embodiments, the initialization interface of the second screen 20 can be the same as the initialization interface of the second area 12, for example, both are black display pages.
[0113] In some embodiments, reference Fig. 6E, considering that when the electronic device 100 is in a folded state or close to a folded state, the second screen 20 of the electronic device 100 cannot be effectively observed. To ensure the sharing effect, the electronic device 100 first determines the unfolding angle of the electronic device 100 before performing area division. Only when the unfolding angle of the electronic device 100 (i.e., the angle β between the first sub-screen 10a and the second sub-screen 10b) is above a predetermined angle (or "first angle"), the content sharing mode is turned on and the area division is performed. Otherwise, the electronic device 100 does not turn on the content sharing mode.
[0114] The specific value of the predetermined angle is not limited in the present embodiment, as long as the first screen 10 and the second screen 20 can be observed by different users respectively. In some embodiments, the predetermined angle is any angle between 60° and 90°, for example, 75°, 90°, etc.
[0115] S130: receiving a content selection operation for the first area 11, where the content selection operation is used to select content to be shared in the user interface.
[0116] For example, refer to Fig. 7A After the first area 11 and the second area 12 are determined in the display area of the first screen 10 , user A can perform a content selection operation in the first area 11 , where the content selection operation is used to select content to be shared in the user interface displayed in the first area 11 .
[0117] In the embodiment of the present application, the content selection operation is a box selection operation for the content to be shared. For ease of understanding, this article uses picture P1 as an example of the content to be shared. In some embodiments, the content to be shared can also be text, links, etc., which is not limited in the present application.
[0118] After the user selects the picture P1 with a finger, a stylus, etc., the electronic device 100 can display a confirmation control. When the user clicks the confirmation control, the content selection operation can be completed. In some embodiments, the content selection operation can also be other operations, for example, an operation of dragging the content to be shared from the first area 11 to the second area 12, a long press operation, a double-click operation, a swipe operation, a right-click operation, etc. on the content to be shared, which is not limited in the embodiments of the present application. In addition, the content to be shared can be part of the content in the first area 11, or all of the content in the first area 11.
[0119] S140 : In response to the content selection operation, display the content to be shared in the second area 12 , and share and display the content to be shared on the second screen 20 .
[0120] For example, refer to Figure 7B and Figure 7CIn response to the user's content selection operation on the shared content (i.e., the picture P1), the electronic device 100 may display a sharing interface 45 in the second area 12, and the sharing interface 45 includes the picture P1. In addition, the electronic device 100 may also display a sharing interface 46 in the second screen 20, and the sharing interface 46 also includes the picture P1. In this way, user A located in front of the electronic device 100 can observe the picture P1 through the second area 12 of the first screen 10, and user B located in the back of the electronic device 100 can observe the picture P1 through the second screen 20.
[0121] In some embodiments, the second area 12 of the first screen 10 and the second screen 20 can synchronously display the shared content to further enhance the user's sharing experience. In addition, the size / position of the picture P1 on the second screen 20 can be substantially the same as the size / position of the picture P1 in the second area 12, so that users (e.g., user A and user B) on both sides of the electronic device 100 have substantially the same viewing experience.
[0122] In summary, through the content sharing method provided in the embodiment of the present application, users on both sides of the electronic device 100 can observe the shared content, thereby realizing content sharing without relying on a communication network, thereby improving the convenience of content sharing. In addition, the embodiment of the present application can realize content sharing through one electronic device 100, without the need for cooperation of multiple devices, and has high applicability.
[0123] In an embodiment of the present application, the second screen 20 can only display the content to be shared selected by user A, and will not display other content in the first area 11 of the first screen 10 except the content to be shared, thereby effectively protecting user privacy and improving the security and privacy of the sharing process.
[0124] In the embodiment of the present application, when the user needs to end the content sharing mode, the user can click the sharing control 31 again to make the electronic device 100 exit the content sharing mode and restore the normal display mode. In other embodiments, the user can also fold the electronic device 100 so that the unfolding angle β of the electronic device 100 is below a preset angle (for example, 60° to 90°) to make the electronic device 100 exit the content sharing mode.
[0125] [Example 2]
[0126] The embodiment of the present application is based on embodiment 1. Based on embodiment 1, the user can also annotate the shared content to further improve the content sharing experience.
[0127] Figure 8 The exemplary steps of the display method provided by the embodiment of the present application are shown. Figure 8 , the content sharing method provided in the embodiment of the present application includes:
[0128] S210: When the first screen 10 is in the display state, a sharing mode start operation is received.
[0129] S220: In response to the sharing mode start operation, a first area 11 and a second area 12 are determined in the display area of the first screen 10, the first area 11 is used to display the user interface of the electronic device 100, and the second area 12 is used to display the sharing interface.
[0130] S230: receiving a content selection operation for the first area 11, where the content selection operation is used to select content to be shared in the user interface.
[0131] S240 : In response to the content selection operation, display the content to be shared in the second area 12 , and share and display the content to be shared on the second screen 20 .
[0132] Steps S210 to S240 are substantially the same as steps S110 to S140 in the first embodiment, and thus reference may be made to the description in the first embodiment, and no further description is given.
[0133] S250: receiving an annotation operation (as the second operation), where the annotation operation is used to input annotation content for the shared content (as the first content).
[0134] refer to Fig. 9A When the shared content (ie, the picture P1 ) is displayed in the second area 12 and the second screen 20 , the user may perform an annotation operation on the electronic device 100 to input annotation content for the picture P1 .
[0135] In the embodiment of the present application, the annotation operation may be a touch operation applied to the second area 12 or the second screen 20. Specifically, the annotation operation may be a touch operation applied by user A to the second area 12 of the first screen 10, or a touch operation applied by user B to the second screen 20. That is, both user A and user B may annotate the shared content, thereby facilitating the interaction of the content sharing process. In some embodiments, the annotation operation may also be allowed to be performed by only one user (e.g., user A). In some embodiments, the annotation operation may also be other operations other than the touch operation, such as a voice command operation.
[0136] The following is an example of user A performing an annotation operation. The process of user B performing an annotation operation is substantially the same as that of user A and will not be described in detail.
[0137] refer to Fig. 9A, user A can write annotation content E1 (e.g., "→45 yuan") in the second area 12 by finger or stylus to perform the annotation operation. In other examples, the annotation content can be any content input by the user through touch, such as annotation lines, local marking symbols, etc. on the picture P1, which is not limited in this application.
[0138] In some embodiments, the shared area may also display editing controls for editing the annotation content, for example, an erase control 33 for erasing the annotation content, an undo control 34 for undoing the annotation operation, etc., which are not described in detail one by one.
[0139] In some embodiments, it is considered that user A and user B may perform annotation operations on the electronic device 100 at the same time, that is, when user A performs a touch operation on the first area 11 of the first screen 10 (as a first touch operation), user B performs a touch operation on the second screen 20 at the same time (as a second touch operation). In this embodiment, in order to improve the accuracy of the response of the electronic device 100, the touch operation acting on the main screen (that is, the first screen 10) is regarded as a valid operation. That is, when the electronic device 100 receives the first touch operation and the second touch operation at the same time, the first touch operation is regarded as a valid annotation operation, and only the first touch operation is responded to, while the second touch operation is ignored. It should be noted that "simultaneously" does not mean the absolute same time, and the "simultaneous" reception of the first touch operation and the second touch operation allows a deviation within a certain range, for example, the first touch operation and the second touch operation differ by 0.1s, 0.2s, 0.5s, etc.
[0140] S260 : In response to the annotation operation, the annotation content is displayed in the second area 12 of the first screen 10 , and the annotation content is shared and displayed on the second screen 20 .
[0141] For example, see Fig. 9A , when user A completes the annotation operation, the electronic device 100 can display the annotation content E1 (ie, "→45 yuan") in the second area 12 of the first screen 10. Fig. 9B , the electronic device 100 can synchronously display the annotation content E1 on the second screen 20, so that both user A and user B can observe the annotation content E1.
[0142] It can be understood that in some embodiments, when the annotation operation is a touch operation of user B on the second screen 20 , the electronic device 100 can synchronously display the annotation content input by user B in the second area 12 of the first screen 10 .
[0143] In some embodiments, the specific process of the electronic device 100 displaying the annotation content in the second area 12 of the first screen 10 may be: the electronic device 100 creates a first layer in the second area 12 of the first screen 10, and displays the annotation content on the first layer. The first layer may be located at the top layer of each display layer of the second area 12. In this way, the annotation content may not be covered by other display content in the second area 12, so that the user can observe the annotation content.
[0144] Exemplarily, the first layer may be a blank layer, so as to be able to be used to display the annotation content while avoiding blocking the content of the underlying layer, such as the picture P1, thereby improving the display effect after the annotation content and the shared content are superimposed.
[0145] Similarly, the specific content of the electronic device 100 displaying the annotation content on the second screen 20 may be: the electronic device 100 creates a second layer on the second screen 20, and displays the annotation content on the second layer. The second layer may be located at the top layer of each display layer of the second screen 20. In addition, the second layer may also be a blank layer. The creation method and display effect of the second layer can refer to the description of the first layer, and will not be described in detail here.
[0146] After the second area 12 and the second screen 20 share and display the picture P1, when it is necessary to end the sharing of the picture P1 and replace it with a new content sharing, the method provided in the embodiment of the present application may further include the following steps:
[0147] S310: A new content selection operation (as a third operation) is received, where the content selection operation is used to select new content to be shared in the user interface.
[0148] refer to Fig. 10A When the electronic device 100 shares and displays the picture P1 in the second area 12 of the first screen 10 and the second screen 20, the user can perform a new content selection operation on the electronic device 100 to select new content to be shared (for example, picture P2) in the first area 11. The specific method of the content sharing operation is described in step S130 and will not be described in detail.
[0149] S320 : In response to the new content selection operation, the first content in the second area 12 of the first screen 10 and the second screen 20 is updated to the new content to be shared, and the annotation content in the second area 12 of the first screen 10 and the second screen 20 is cleared.
[0150] refer to Fig. 10B In response to the new content selection operation, the electronic device 100 replaces the picture P1 in the second area 12 of the first screen 10 with the picture P2, and clears the annotation content E1 in the second area 12. Fig. 10C, the electronic device 100 can synchronously replace the picture P1 on the second screen 20 with the picture P2, and clear the annotation content E1 on the second screen 20. It can be understood that at this time, user A and user B can respectively observe the new shared content (ie, picture P2).
[0151] Similarly, reference Fig. 10B and Fig. 10C After the second area 12 and the second screen 20 share the displayed image P2, user A or user B can perform an annotation operation on the electronic device 100, for example, input the annotation content E2. At this time, the electronic device 100 can share the displayed annotation content E2 on the second area 12 and the second screen 20.
[0152] S330: Displaying a selection list in the second area 12 of the first screen 10 and the second screen 20, the selection list including a first option corresponding to the initial shared content (eg, picture P1) and a second option corresponding to the new shared content (ie, picture P2).
[0153] refer to Fig. 10B and Fig. 10C In response to the new content selection operation, the electronic device 100 can display a selection list 36 in the second area 12 and the display area of the second screen 20 while updating the shared content. The selection list 36 includes a first option 36a and a second option 36b. The first option 36a corresponds to the picture P1, and the second option 36b corresponds to the picture P2. In the embodiment of the present application, the first option 36a and the second option 36b are arranged side by side. In some embodiments, the first option 36a and the second option 36b can also be arranged in a stacked manner.
[0154] S340: A selection operation for the first option is received (as the fifth operation).
[0155] For example, refer to Fig. 10D When user A clicks the first option 36a in the second area 12 of the first screen 10, the electronic device 100 can receive the selection operation of the first option 36a. Alternatively, when user B clicks the first option in the display area of the second screen 20, the electronic device 100 can also receive the selection operation of the first option.
[0156] S350: In response to the selection operation of the first option, the shared content in the second area 12 of the first screen 10 and the second screen 20 is updated to the initial shared content (eg, the picture P1).
[0157] refer to Fig. 10DWhen the electronic device 100 receives the selection operation of the first option 36a, the display content of the second area 12 of the first screen 10 can be updated from the picture P2 to the picture P1, and the annotation content E2 of the picture P2 can be cleared. Fig. 10E , the electronic device 100 can synchronously update the display content of the second screen 20 from the picture P2 to the picture P1, and clear the annotation content E2 of the picture P2.
[0158] It is understandable that the user can repeat step S310 and step S320 to select more content to be shared. When the user selects new content to be shared, new options can be added to the selection list to facilitate the user to switch between different shared content.
[0159] For example, refer to Fig.11A , the user can add two new shared contents (picture P3 and picture P4), and the third option 36c and the fourth option 36d can be added to the selection list 36. The third option 36c corresponds to the picture P3, and the fourth option 36d corresponds to the picture P4. Fig. 11B , the electronic device 100 can share the display picture P4 in the second area 12 of the first screen 10 and the second screen 20.
[0160] In addition, it should be noted that, in the above, for ease of understanding, each shared content is selected from the same application interface (i.e., the interface of shopping application A). The present application is not limited to this. In other embodiments, different shared content can come from different interfaces, for example, shared content 1 comes from the interface of application A (e.g., shopping application), shared content 2 comes from the interface of application B (e.g., music application), shared content 3 comes from the desktop, etc., which will not be described one by one.
[0161] In summary, the embodiment of the present application provides a content sharing method, where users can add annotations to shared content to improve the convenience of interaction between users and enhance user experience. In addition, users can also conveniently switch between different shared content to further improve the convenience of content sharing.
[0162] In addition, for other details not described in the embodiments of the present application, such as the method for the electronic device 100 to exit the content sharing mode, etc., reference can be made to the description in the first embodiment and will not be repeated here.
[0163] [Example 3]
[0164] The embodiment of the present application is based on the embodiment 1. The difference between the embodiment of the present application and the embodiment 1 is that in the embodiment 1, the shared content is the content selected by the user in the first area 11 of the first screen 10; in the embodiment of the present application, the shared content is a part of the user interface located on the first screen 10 (specifically, the user interface located in the second area 12).
[0165] Specifically, see Fig.12 The content sharing method provided in the embodiment of the present application includes the following steps:
[0166] S410: When the first screen 10 displays the first user interface, a sharing mode activation operation (as a first operation) is received.
[0167] For example, refer to Fig.13A , the first screen 10 of the electronic device 100 can display the interface of the shopping application A (as an example of the first user interface) in a split screen display manner. The left half of the first screen 10 displays the content A1 of the shopping application A (for example, the main page content), and the right half of the first screen 10 displays the content A2 of the shopping application (for example, the content of the detail page).
[0168] At this time, the user can perform a sharing mode activation operation on the electronic device 100. Specifically, a sharing control 31 (as a first control) is displayed on the first screen 10, and the sharing mode activation operation is a click operation on the sharing control 21. That is, after the user clicks the sharing control 31, the electronic device 100 activates the content sharing mode.
[0169] In some embodiments, the sharing mode activation operation may also be other operations, such as voice command operation, etc. For details, please refer to the description in step S110 above and will not be repeated here.
[0170] In some embodiments, the first user interface may also be Fig.13A For other interfaces other than the shown interface, for example, the full-screen interface of the shopping application A, the desktop of the electronic device 100, etc., please refer to the description in the above step S110 for details and will not be described in detail.
[0171] S420: In response to the sharing mode start operation, a first area 11 and a second area 12 are determined in the display area of the first screen 10, the first area 11 is used to display the content A1 of the first user interface, and the second area 12 is used to display the content A2 of the first user interface.
[0172] refer to Fig. 13BAfter the electronic device 100 receives the sharing mode start operation, the electronic device 100 can perform area division, that is, the electronic device 100 determines the first area 11 and the second area 12 in the display area of the first screen 10. Exemplarily, the electronic device 100 determines the display area of the first sub-screen as the first area 11, and determines the display area of the second sub-screen as the second area 12. For easy observation, Fig. 13B The first area 11 and the second area 12 are framed by dotted lines.
[0173] It can be understood that the first area 11 corresponds to the left half of the first screen 10, and the content displayed therein is content A1; the second area 12 corresponds to the right half of the first screen 10, and the content displayed therein is content A2. That is, in the embodiment of the present application, since the display mode of the electronic device 100 is a split-screen display mode, the display contents of the first area 11 and the second area 12 remain substantially unchanged before and after the area division, which is beneficial to the continuity of the display of the electronic device 100. In addition, the contents in the first area 11 and the second area 12 are both relatively complete contents, which is beneficial to the user (e.g., user B) on the back of the electronic device 100 observing the complete content during the subsequent content sharing process.
[0174] However, the present application is not limited thereto. In some embodiments, the electronic device 100 may also be in full screen display mode. Fig. 13C When the electronic device 100 is in full-screen display mode, the first area 11 and the second area 12 can respectively display a portion of the content of the main page of the shopping application A.
[0175] In addition, in some embodiments, the first area 11 and the second area 12 may also have other deformation modes, for example, the sizes of the first area 11 and the second area 12 are adjustable, the second area 12 is in a "picture-in-picture" or "floating window" mode, etc. For details, please refer to the description in step S120 above and will not be repeated here.
[0176] S430 : Sharing the content A2 of the first user interface displayed on the second screen 20 .
[0177] refer to Fig.13D After the electronic device 100 turns on the content sharing mode, the content (i.e., content A2) of the second area 12 of the first screen 10 can be shared on the second screen 20. In this way, user A located in front of the electronic device 100 can observe content A2 through the second area 12 of the first screen 10 (refer to Fig. 13B ), user B located at the back of the electronic device 100 can observe content A2 through the second screen 20 (refer to Fig.13D ) to achieve content sharing. Exemplarily, the second area 12 of the first screen 10 and the second screen 20 can synchronously display the shared content to further improve the user's sharing experience.
[0178] S440: An annotation operation (as a third operation) is received, and the annotation operation is used to input annotation content for the content A2.
[0179] refer to Fig.14A When the shared content (ie, content A2) is displayed in the second area 12 and the second screen 20, the user may perform an annotation operation on the electronic device 100 to input annotation content (eg, annotation content E3) for the content A2.
[0180] The execution method of the user annotation operation is substantially the same as the execution method of the user annotation operation in the above step S250, so reference may be made to the above description and no further elaboration is given.
[0181] S450 : In response to the annotation operation, the annotation content is displayed in the second area 12 of the first screen 10 , and the annotation content is shared and displayed on the second screen 20 .
[0182] For example, refer to Fig.14A , when user A completes the annotation operation, the electronic device 100 displays the annotation content E3 (ie, "→ orange") in the second area 12 of the first screen 10. Fig. 14B , the electronic device 100 can synchronously display the annotation content E3 on the second screen 20, so that both user A and user B can observe the annotation content E3.
[0183] The manner in which the electronic device 100 displays the annotation content on the second area 12 of the first screen 10 and the second screen 20 is substantially the same as the above step S260 , so reference may be made to the above description and no further elaboration is given.
[0184] In addition, the user can also switch the shared content of the electronic device 100. For example, when the shared content A2 is displayed in the second area 12, refer to Fig.15A and Fig. 15B , if the user clicks the label of "Cup C", the display content of the second area 12 is switched to the detailed content of content A3 (i.e., "Cup C"). It can be understood that at this time, the shared content is switched from content A2 to content A3, and the electronic device 100 can synchronously display content A3 in the second area 12 and the second screen 20.
[0185] In summary, the embodiment of the present application provides a content sharing method, where users on both sides of the electronic device 100 can observe the shared content, thereby achieving content sharing without relying on a communication network, thereby improving the convenience of content sharing. In addition, the embodiment of the present application can achieve content sharing through one electronic device 100, without the need for multiple devices to cooperate, and has high applicability.
[0186] In addition, for other details not described in the embodiments of the present application, for example, a method for the electronic device 100 to exit the content sharing mode, reference can be made to the descriptions in Embodiment 1 and Embodiment 2, and no further description is given.
[0187] It can be understood that the above embodiments are only exemplary descriptions of the technical solutions of the present application, and those skilled in the art may make other modifications.
[0188] For example, in the above embodiment, after receiving the sharing mode start operation, the electronic device 100 determines the first area 11 and the second area 12 in the display area of the first screen 10 according to a preset rule. In some embodiments, the electronic device 100 can also determine the first area 11 and the second area 12 according to user designation.
[0189] Specifically, after the user performs a sharing mode start operation to make the electronic device 100 enter the content sharing mode, the user may further perform a sharing area selection operation (as a fourth operation). The present application does not limit the specific manner of the sharing area selection operation. Fig. 15C The user can select the sharing area S on the first screen 10 by circling the area. Alternatively, the user can also select the sharing area S on the first screen 10 by using a specific control (eg, a rectangular selection control).
[0190] In addition, the specific location of the shared area S is not limited in the present embodiment. In some embodiments, when the electronic device 100 is a folding screen device, the shared area S can be as follows: Fig. 15C The area S shown may also be the display area of the second sub-screen 10b (i.e., as described above). Figure 6B As another example, in some embodiments, when the electronic device 100 is a non-foldable device, Fig.15D As shown, the shared area S can be Fig.15D The area S shown can be specifically determined according to user operations.
[0191] After the user completes the sharing area selection operation, the electronic device 100 can determine the sharing area S selected by the user as the second area 12, and can determine the first area 11 in other areas of the first screen 10 except the second area 12. As described above, the first area 11 is used to display the user interface, and the second area 12 is used to display the shared content.
[0192] In some embodiments, reference Fig.15EWhen the electronic device 100 determines the second area 12, the second area 12 may display an initialization interface, such as a display page in black, white or gray, or an interface with a specific background color or pattern. When the user selects shared content in the first area 11, the electronic device 100 may display the shared content in the second area 12 and may synchronously display the shared content on the second screen 20. The manner in which the electronic device 100 synchronously displays the shared content in the second area 12 and the second screen 20 may refer to the description of steps S130 and S140 above, and will not be described in detail.
[0193] In some embodiments, reference Fig.15F After the electronic device 100 determines the second area 12, the content displayed in the second area 12 may remain unchanged, that is, it is still the content displayed before determining the second area 12. At this time, the content displayed in the second area 12 is the shared content, and the electronic device 100 can synchronously display the shared content on the second screen 20.
[0194] Fig.16A A schematic diagram of the module structure of the electronic device 100 provided in an embodiment of the present application is shown. Fig. 16B FIG. 1 shows the relationship between each module and the hardware of the electronic device 100. Fig.16A and Fig. 16B , the electronic device 100 may include a system control module M100, a display module M200, a touch screen module M300 and a screen sharing module M400.
[0195] Each module can run on a processor (e.g., CPU) of the electronic device 100. The processor is connected to a storage device, and each module can write data / instructions to the storage device (e.g., ROM) of the electronic device 100, and can also read data / instructions from the storage device. The display module M200 controls the display, and the touch screen module M300 can control the touch panel (TP).
[0196] The system control module M100 can receive a user's control operation on the electronic device 100. For example, the system control module M100 can receive a sharing mode start operation, a sharing mode end operation, etc. from the user. The system control module M100 can also write instructions in the memory. For example, when the system control module M100 receives the sharing mode start operation, it can write an instruction for powering on the display or the touch panel in the memory.
[0197] The display module M200 is used to provide display capabilities and graphical interface drawing capabilities. The display module M200 includes a display driver unit M210 and a display effect unit M220. Among them, the display driver unit M210 is an interface between the operating system of the electronic device 100 and the display screen of the electronic device 100 (for example, LCD), and can control the opening and closing of the display screen and the display initialization interface, etc. The display effect unit M220 (for example, the surfaceflinger unit of the Android system) is used to control the display content of the display screen, for example, controlling the display screen to display a user interface, controlling the display screen to display an image of a specific layer (for example, an annotation content layer), etc.
[0198] The touch module (or "TP module") M300 is used to capture the user's touch trajectory and convert the electrical signal into a digital signal. The touch module M300 includes a touch drive unit M310 (or "TP drive unit") and a touch algorithm unit M320 (or "TP algorithm unit"). The touch drive unit M310 is the interface between the operating system of the electronic device 100 and the touch panel, and can enable or disable the touch panel.
[0199] The touch algorithm unit M320 can detect the touch position of the user on the touch panel and generate corresponding touch track data according to the touch position of the user.
[0200] The screen sharing module M400 is used to provide split-screen capabilities and screen sharing capabilities. The screen sharing module M400 includes an annotation unit M410 and a split-screen unit M420. The split-screen unit M420 can divide the display screen into areas, for example, dividing the display area of the first screen 10 into a first area 11 and a second area 12, and can create layers in each display area. The annotation unit M410 can draw a corresponding trajectory image based on the touch trajectory data, and the trajectory image can be understood as the annotation content input by the user. The annotation content M410 can also add the annotation content to a predetermined layer for subsequent display screen display.
[0201] The following combination Fig.16A and Fig. 16B The internal implementation process of the content sharing method provided by the embodiment of the present application is introduced. Fig.16A and Fig. 16B, in the display state of the first screen 10, the system control module M100 can receive the user's sharing mode start operation (step ①). After receiving the sharing mode start operation, the system control module M100 sends a first power-on instruction to the display driver unit M210 (step ②). For example, the system control module M100 can write the first power-on instruction to the memory through the processor, and the display driver unit M210 then reads the first power-on instruction from the memory through the processor. After receiving the first power-on instruction, the display driver unit M210 powers on the second screen 20.
[0202] The system control module M100 also sends a second power-on instruction to the touch drive unit M310 (step ③). Similarly, the system control module M100 can write the second power-on instruction into the memory through the processor, and the touch drive unit M310 reads the second power-on instruction from the memory through the processor. After receiving the second power-on instruction, the touch drive unit M310 enables the touch panel of the second screen 20.
[0203] In addition, the system control module M100 also sends a split screen instruction to the split screen unit M420 (step ④). After receiving the split screen instruction, the split screen unit M420 divides the display area of the first screen 10 into areas, for example, determining a first area 11 and a second area 12 in the display area of the first screen 10.
[0204] After the screen splitting unit M420 completes the area division, the user can perform a content selection operation in the first area 11 of the first screen 10 to select the content to be shared. When the user completes the content selection operation, the display module M200 can control the second area 12 of the first screen 10 and the second screen 20 to synchronously display the content to be shared.
[0205] In addition, after completing the area division, the split screen unit M420 sends a notification of the completion of the split screen to the annotation unit M410 (step ⑤). After receiving the notification of the completion of the split screen, the annotation unit M410 can create a blank layer in the shared area (the second area 12 of the first screen 10 and the display area of the second screen 20).
[0206] After completing the layer creation, the annotation unit M410 sends a notification of the completion of the layer creation to the touch algorithm unit M320 (step ⑥). After receiving the notification of the completion of the split screen, the touch algorithm unit M320 captures the touch trajectory of the user on the shared area (that is, the touch operation trajectory of the user on the touch panel corresponding to the shared area), and sends the touch trajectory data to the annotation unit M410 (step ⑦). After receiving the touch trajectory data, the annotation unit M410 draws the annotation content on the blank layer created by the annotation unit M410, and sends the layer data with the added annotation content to the display effect unit M220 (step ⑧). After receiving the layer data with the added annotation content, the display effect unit M220 controls the display screen to display the annotation content, for example, controls the second area 12 of the first screen 10 and the second screen 20 to synchronously display the annotation content.
[0207] Fig.17 The internal interaction diagram of the content sharing method provided by the embodiment of the present application is shown. Fig.17 The content sharing method provided in the embodiment of the present application may include the following steps:
[0208] S401: The system control module M100 receives a sharing mode start operation and enters a content sharing mode.
[0209] The system control module M100 can monitor the user's operation on the electronic device 100 to receive the sharing mode start operation. The sharing mode start operation can be to share the control (refer to Fig. 6A ) click operation, etc., the specific execution method can refer to the operation described in step S110 above, and will not be repeated here.
[0210] In some embodiments, when the system control module M100 receives a sharing mode start operation, it can control the electronic device 100 to enter the content sharing mode.
[0211] In some embodiments, after receiving the sharing mode start operation, the system control module M100 determines the unfolding angle of the electronic device 100. Only when the unfolding angle of the electronic device 100 (i.e., the angle β between the first sub-screen 10a and the second sub-screen 10b) is above a predetermined angle (e.g., 60° to 90°), the electronic device 100 is controlled to enter the content sharing mode.
[0212] S402: The system control module M100 sends a first power-on instruction to the display driving unit M210.
[0213] After controlling the electronic device 100 to start the content sharing mode, the system control module M100 sends a first power-on instruction to the display driving unit M210 .
[0214] S403 : the display driving unit M210 powers on the second screen 20 .
[0215] After receiving the first power-on instruction, the display driving unit M210 powers on the second screen 20. After the second screen 20 is powered on, an initialization interface may be displayed. The initialization interface may be a black, gray, or other display page. For details, please refer to the description in step S120 above, and no further description is given.
[0216] S404: the system control module M100 sends a second power-on instruction to the touch driving unit M310.
[0217] After controlling the electronic device 100 to start the content sharing mode, the system control module M100 sends a second power-on instruction to the display and touch control driving unit M310 .
[0218] S405 : The touch driving unit M310 powers on the second screen 20 .
[0219] After receiving the second power-on instruction, the touch driving unit M310 powers on the second screen 20. After the touch driving unit M310 powers on the second screen 20, it can receive a touch operation on the second screen 20 by the user.
[0220] S406: The system control module M100 sends a screen splitting instruction to the screen splitting unit M420.
[0221] After controlling the electronic device 100 to start the content sharing mode, the system control module M100 sends a first power-on instruction to the display driving unit M210 .
[0222] S407 : The screen splitting unit M420 determines a first area 11 and a second area 12 in the display area of the first screen 10 .
[0223] In response to receiving the split screen instruction, the split screen unit M420 determines a first area 11 and a second area 12 in the display area of the first screen 10. The first area 11 is used to display the user interface of the electronic device 100, and the second area 12 is used to display the sharing interface. The division method of the first area 11 and the second area 12 can be as follows: Figure 6B For details of the method shown, etc., please refer to the description of step S120 above and will not be described in detail.
[0224] After the screen splitting unit M420 divides the first area 11 and the second area 12, the second area 12 may display an initialization interface, for example, a display page in black, gray, etc. For details, please refer to the description in step S120, which will not be described in detail.
[0225] After the screen splitting unit M420 completes the area division, the user can perform a content selection operation in the first area 11 of the first screen 10 to select the content to be shared. When the user completes the content selection operation, the display module M200 can control the second area 12 of the first screen 10 and the second screen 20 to synchronously display the content to be shared.
[0226] S408: The screen splitting unit M420 sends a notification of screen splitting completion to the annotation unit M410.
[0227] After completing the area division, the screen splitting unit M420 sends a notification of screen splitting completion to the annotation unit M410.
[0228] S409 : The annotation unit M410 creates a layer in the shared area. In the embodiment of the present application, the shared area includes the second area 12 of the first screen 10 and the display area of the second screen 20 .
[0229] In response to receiving the notification that the split screen is completed, the annotation unit M410 creates a first layer in the second area 12 of the first screen 10 and creates a second layer in the display area of the second screen 20. The first layer can be located at the top layer of each display layer in the second area 12, and the second layer can be located at the top layer of each display layer in the second screen 20. Exemplarily, both the first layer and the second layer are blank layers.
[0230] S410: The annotation unit M410 sends a notification of layer creation completion to the touch algorithm unit M320.
[0231] After completing the layer creation, the screen splitting unit M420 sends a notification of layer creation completion to the touch algorithm unit M320.
[0232] S411: The touch algorithm unit M320 obtains touch trajectory data of the user acting on the shared area.
[0233] In response to receiving the notification that the split screen is completed, the touch algorithm unit M320 starts monitoring the user's touch operation on the second area 12 of the first screen 10 and / or the user's touch operation on the second screen 20 to obtain touch trajectory data corresponding to the touch operation.
[0234] In some embodiments, when the user performs touch operations on the second area 12 of the first screen 10 and the second screen 20 at the same time, the touch algorithm unit M320 regards the touch operation on the second area 12 of the first screen 10 as a valid operation and ignores the touch operation on the second screen 20.
[0235] S411: The touch algorithm unit M320 sends the touch trajectory data to the annotation unit M410.
[0236] After acquiring the touch trajectory data, the screen splitting unit M420 sends the trajectory data to the annotation unit M410.
[0237] S413: The annotation unit M410 generates annotation content according to the touch track data, and adds the annotation content to the first layer and the second layer.
[0238] It can be understood that after annotation content is added to the first layer and the second layer, the layer data of the first layer and the layer data of the second layer both include image data of the annotation content.
[0239] S414: The annotation unit M410 sends the layer data of the first layer and the layer data of the second layer to the display effect unit M220.
[0240] S415: The display effect unit M220 controls the first area 11 of the first screen 10 to display the layer data of the first layer, and controls the second screen 20 to display the layer data of the second layer.
[0241] Since the layer data of the first layer includes the image data of the annotation content, after the first area 11 of the first screen 10 displays the layer data of the first layer, the user can observe the annotation content in the first area 11 of the first screen 10, for example, Fig. 9A The annotation content E1 shown, Fig. 10B The annotation content E2 shown, Fig.14A The annotation content shown is E3, etc.
[0242] Similarly, since the layer data of the second layer includes the image data of the annotation content, after the second screen 20 displays the layer data of the second layer, the user can observe the annotation content on the second screen 20, for example, Fig. 9B The annotation content E1 shown, Fig. 10C The annotation content shown is E2, etc.
[0243] S416: The system control module M100 receives a sharing mode closing operation and exits the content sharing mode.
[0244] When the electronic device 100 is in the content sharing mode, the system control module M100 can monitor the user's closing operation of the sharing mode. When the system control module M100 monitors the closing operation of the sharing mode, it can control the electronic device 100 to exit the content sharing mode and restore the normal display mode, for example, Fig. 6A Display mode.
[0245] Among them, the sharing mode exit operation can be an operation of the user clicking the sharing control again, for example, when the user clicks the sharing control 31 again, the electronic device 100 can exit the content sharing mode; it can also be an operation of the user folding the electronic device 100, for example, when the user folds the unfolded angle β of the electronic device 100 to below a preset angle (for example, 60°~90°), the electronic device 100 can exit the content sharing mode, etc., and this application is not limited to this.
[0246] Fig.18 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0247] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0248] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0249] The processor can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.
[0250] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0251] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, and a subscriber identity module (SIM) interface.
[0252] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0253] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple groups of I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. The PCM interface can also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example: the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to achieve Bluetooth function. The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via a CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via a DSI interface to implement the display function of the electronic device 100.
[0254] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0255] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0256] The USB connector 130 is a connector that complies with USB standard specifications and can be used to connect the electronic device 100 and peripheral devices. Specifically, it can be a standard USB connector (such as a Type C connector), a Mini USB connector, a Micro USB connector, etc.
[0257] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB connector 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0258] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0259] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0260] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0261] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0262] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0263] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near tield communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0264] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0265] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0266] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0267] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0268] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0269] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0270] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0271] The video codec is used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record videos in multiple coding formats.
[0272] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0273] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0274] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0275] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
[0276] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals of vibrating bones of the human body. The bone conduction sensor 180M can also contact the human body's pulse to receive blood pressure beating signals.
[0277] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0278] The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0279] Reference now Fig.19, shown is a block diagram of an electronic device 400 according to one embodiment of the present application. The electronic device 400 may include one or more processors 401 coupled to a controller hub 403. For at least one embodiment, the controller hub 403 communicates with the processor 401 via a multi-drop bus such as a front side bus (FSB), a point-to-point interface such as a QuickPath Interconnect (QPI), or a similar connection 406. The processor 401 executes instructions that control general types of data processing operations. In one embodiment, the controller hub 403 includes, but is not limited to, a graphics & memory controller hub (GMCH) (not shown) and an input / output hub (IOH) (which can be on a separate chip) (not shown), wherein the GMCH includes a memory and a graphics controller and is coupled to the IOH.
[0280] The electronic device 400 may also include a coprocessor 402 and a memory 404 coupled to a controller hub 403. Alternatively, one or both of the memory and the GMCH may be integrated within the processor (as described in this application), with the memory 404 and the coprocessor 402 being directly coupled to the processor 401 and the controller hub 403, with the controller hub 403 being in a single chip with the IOH.
[0281] The memory 404 may be, for example, a dynamic random access memory (DRAM), a phase change memory (PCM), or a combination of the two. The memory 404 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. The computer-readable storage medium stores instructions, specifically, temporary and permanent copies of the instructions.
[0282] The instructions stored in the memory 404 may include: when executed by at least one of the processors, causing the electronic device to implement the following Figure 5 , Figure 8 , Fig.12 , Fig.17 Instructions for the method shown.
[0283] In one embodiment, the coprocessor 402 is a special-purpose processor, such as, for example, a high-throughput Many Integrated Core (MIC) processor, a network or communication processor, a compression engine, a graphics processor, a general-purpose computing on graphics processing units (GPGPU), or an embedded processor. The optional nature of the coprocessor 402 is indicated by a dashed line in FIG. Fig.19 middle.
[0284] In one embodiment, the electronic device 400 may further include a network interface (Network Interface Controller, NIC) 406. The network interface 406 may include a transceiver for providing a radio interface for the electronic device 400, and then communicating with any other suitable device (such as a front-end module, an antenna, etc.). In various embodiments, the network interface 406 may be integrated with other components of the electronic device 400. The network interface 406 may implement the functions of the communication unit in the above-mentioned embodiments.
[0285] The electronic device 400 may further include an input / output (I / O) device 405. The I / O 405 may include: a user interface designed to enable a user to interact with the electronic device 400; a peripheral component interface designed to enable peripheral components to interact with the electronic device 400; and / or a sensor designed to determine environmental conditions and / or location information related to the electronic device 400.
[0286] It is worth noting that Fig.19 This is for illustrative purposes only. Fig.19 It is shown that the electronic device 400 includes multiple devices such as a processor 401, a controller hub 403, a memory 404, etc.; however, in actual applications, the device using the methods of the present application may include only a portion of the devices in the electronic device 400, for example, it may include only the processor 401 and the network interface 406. Fig.19 The properties of optional devices are shown with dotted lines.
[0287] Reference now Fig. 20 , which is a block diagram of a system on chip (SoC) 500 according to an embodiment of the present application. Fig. 20 In the , similar components have the same reference numerals. In addition, the dashed boxes are optional features of more advanced SoCs. Fig. 20In the embodiment, SoC 500 includes: an interconnect unit 550 coupled to a processor 510; a system agent unit 580; a bus controller unit 590; an integrated memory controller unit 540; a group or one or more coprocessors 520, which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a static random access memory (SRAM) unit 530; and a direct memory access (DMA) unit 560. In one embodiment, the coprocessor 520 includes a special-purpose processor, such as, for example, a network or communication processor, a compression engine, a general-purpose computing on graphics processing units (GPGPU), a high-throughput MIC processor, or an embedded processor.
[0288] The static random access memory unit 530 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. The computer-readable storage medium stores instructions, and more specifically, stores temporary and permanent copies of the instructions.
[0289] like Fig. 20 The SoC shown can be respectively set in electronic devices. When the SoC is set in the electronic device, the static random access memory unit 530 stores instructions, which may include: when executed by at least one of the processors, the electronic device implements the following Figure 5 , Figure 8 , Fig.12 , Fig.17 Instructions for the method shown.
[0290] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0291] Each method implementation mode of the present application can be implemented in the form of software, magnetic components, firmware, etc.
[0292] Program code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0293] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described herein is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0294] One or more aspects of at least one embodiment may be implemented by representative instructions stored on a computer-readable storage medium, which represent various logics in a processor, and when the instructions are read by a machine, the machine makes logic for performing the techniques described herein. These representations, known as "Intellectual Property (IP) cores," may be stored on tangible computer-readable storage media and provided to multiple customers or production facilities to be loaded into a manufacturing machine that actually manufactures the logic or processor.
[0295] In some cases, the instruction converter can be used to convert instructions from a source instruction set to a target instruction set. For example, the instruction converter can transform (e.g., using static binary transformation, dynamic binary transformation including dynamic compilation), deform, simulate, or otherwise convert instructions into one or more other instructions to be processed by the core. The instruction converter can be implemented in software, hardware, firmware, or a combination thereof. The instruction converter can be on the processor, outside the processor, or partially on the processor and partially outside the processor.
Claims
1. A content sharing method, used in an electronic device, characterized in that: The electronic device comprises a first screen and a second screen, wherein the first screen and the second screen are respectively located on opposite sides of the electronic device; The method comprises: In a display state of the first screen, a first operation is received; In response to the first operation, determining a first area and a second area in a display area of the first screen, the first area being used to display a user interface of the electronic device, and the second area being used to display shared content; The shared content is displayed in the second area, and the shared content in the second area is shared and displayed on the second screen.
2. The method according to claim 1, characterized in that The shared content is content selected by the user in the first area after receiving the first operation, or the shared content is content displayed in the second area of the first screen when receiving the first operation.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: receiving a second operation for inputting annotation content for the shared content; In response to the second operation, the annotation content is displayed in the second area of the first screen, and the annotation content is shared and displayed on the second screen.
4. The method according to claim 3, characterized in that The second operation is a touch operation applied to a second area of the first screen, or a touch operation applied to the second screen.
5. The method according to claim 4, characterized in that The receiving of the second operation comprises: While receiving the first touch operation applied to the second area of the first screen, receiving the second touch operation applied to the second screen; The first touch operation is used as the second operation.
6. The method according to claim 3, characterized in that When the shared content is content selected by the user in the first area after receiving the first operation, the method further includes: receiving a third operation, wherein the third operation is used to select new shared content in the user interface; In response to the third operation, the shared content in the second area of the first screen and the second screen is updated to the new shared content, and the annotation content in the second area of the first screen and the second screen is cleared.
7. The method according to claim 6, characterized in that The method further comprises: In response to the third operation, displaying a selection list in the second area of the first screen and the second screen, the selection list including a first option corresponding to the shared content and a second option corresponding to the new shared content; receiving a fifth operation, wherein the fifth operation is used to select the first option in the selection list; In response to the fifth operation, the second area of the first screen and the new sharing in the second screen are re-updated to the shared content.
8. The method according to any one of claims 1 to 7, characterized in that: The electronic device is a folding screen device, and the first screen includes a first sub-screen and a second sub-screen that can be folded or unfolded relative to each other; The determining the first area and the second area in the display area of the first screen includes: The display area of the first sub-screen is determined as a first area, and the display area of the second sub-screen is determined as a second area.
9. The method according to any one of claims 1 to 7, characterized in that: The determining the second area in the display area of the first screen includes: receiving a fourth operation, wherein the fourth operation is used to select a sharing area in the display area of the first screen; The selected shared area is determined as the second area.
10. The method according to any one of claims 1 to 9, characterized in that: The electronic device is a folding screen device, and the first screen includes a first sub-screen and a second sub-screen that can be folded or unfolded relative to each other; In response to the first operation, determining a first area and a second area in a display area of the first screen includes: In response to the first operation, it is determined that the angle between the first sub-screen and the second sub-screen is greater than or equal to a first angle, and a first area and a second area are determined in a display area of the first screen.
11. The method according to claim 10, characterized in that The first angle is any angle between 60° and 90°.
12. The method according to claim 3, characterized in that The displaying of the annotation content in the second area of the first screen includes: Creating a first layer in the second area of the first screen, and displaying the annotation content on the first layer; wherein the first layer is located at the top layer of each display layer in the second area; and / or, The displaying of the annotation content on the second screen includes: A second layer is created on the second screen, and the annotation content is displayed on the second layer; wherein the second layer is located at the top layer of each display layer of the second screen.
13. The method according to claim 12, characterized in that The first layer is a blank layer, and / or the second layer is a blank layer.
14. The method according to claim 3, characterized in that The electronic device comprises a system control module and a split screen unit; The receiving of the first operation comprises: the system control module receiving the first operation; In response to the first operation, determining a first area and a second area in a display area of the first screen includes: The system control module sends a screen splitting instruction to the screen splitting unit in response to the first operation; The screen splitting unit determines the first area and the second area in a display area of the first screen in response to the screen splitting instruction.
15. The method according to claim 13, characterized in that The electronic device further comprises an annotation unit; After the screen splitting unit determines the first area and the second area in the display area of the first screen, the method further includes: The screen splitting unit sends a notification of screen splitting completion to the annotation unit; In response to receiving the notification of completion of the split screen, the annotation unit creates a first layer in the second area of the first screen and creates a second layer in the second screen.
16. The method according to claim 14, characterized in that The electronic device also includes a touch algorithm unit and a display unit; The receiving of the second operation comprises: the touch control algorithm unit receiving the second operation; In response to the second operation, displaying the annotation content in the second area of the first screen, and sharing and displaying the annotation content on the second screen, comprises: In response to receiving the second operation, the touch algorithm unit acquires screen touch data corresponding to the second operation; The touch algorithm unit sends the screen touch data to the annotation unit; The annotation unit draws the annotation content on the first layer and the second layer respectively according to the screen touch data; The annotation unit sends the layer data of the first layer and the layer data of the second layer including the annotation content to the display unit; The display unit displays the layer data of the first layer in the second area of the first screen to display the annotation content in the second area; and displays the layer data of the second layer on the second screen to share and display the annotation content on the second screen.
17. The method according to any one of claims 1 to 16, characterized in that: The size of the second area of the first screen is the same as the size of the second screen.
18. The method according to any one of claims 1 to 16, characterized in that The shared content includes at least one of a picture, a document, an application program interface, and an electronic device desktop image.
19. The method according to any one of claims 1 to 16, characterized in that: The first operation is an operation acting on a first control displayed on the first screen.
20. An electronic device, characterized in that: include: a memory for storing instructions executed by one or more processors of the electronic device; A processor, when the processor executes the instructions in the memory, can enable the electronic device to execute the method according to any one of claims 1 to 19.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, can enable the computer to execute any one of the methods of claims 1 to 19.
22. A computer program product, characterized in that The program code included in the computer program product, when executed by a computer or a processor, enables the computer or the processor to execute the method according to any one of claims 1 to 19.