Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an information sharing method, an information sharing apparatus, and information sharing equipment provided by the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating an information sharing method applied to a first information sharing apparatus according to an embodiment of the present disclosure. The information sharing method applied to the first information sharing apparatus may include:
step 101: receiving a first input of a user in a case where the first information sharing device displays N first windows, where each of the N first windows includes one object in a target interface of the first information sharing device, and N is an integer greater than 1;
step 102: and responding to the first input, and sharing the target object included in the target first window selected by the first input in the N first windows to the second information sharing device.
Specific implementations of the above steps will be described in detail below.
In this embodiment of the application, when the first information sharing apparatus displays N first windows, the user may share, by performing the first input, a target object included in a target first window selected by the first input in the N first windows to the second information sharing apparatus. Therefore, according to the embodiment of the application, a part of objects on the first information sharing device can be shared to the second information sharing device, and other users can only know the objects shared by the first information sharing device through the second information sharing device but cannot know the objects not shared by the first information sharing device, so that information leakage in the first information sharing device can be avoided, and the safety of the information in the first information sharing device can be improved.
The objects in the embodiments of the present application include, but are not limited to, a status bar, a notification bar, an icon, a picture, and the like, and the objects in the embodiments of the present application may be set as needed.
An information sharing method applied to the first information sharing apparatus according to an embodiment of the present application will be described below with reference to fig. 2 as an example.
In fig. 2, three first windows, namely a first window W11, a first window W12 and a first window W13, are displayed on the screen of the first information sharing device; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. The target first window selected by the first input performed by the user is the first window W12, and the first window W12 including the object C2 is shared to the second information sharing apparatus.
In some possible implementations of embodiments of the present application,step 101 may include: a first input of a user to a target first window of the N first windows is received.
Taking the window shown in fig. 2 as an example, if the user drags the first window W13 or performs a sliding operation in the area of the first window W13, which indicates that the user performs the first input on the first window W13, the first window W13, including the object C3, is shared to the second information sharing device.
It is understood that, in the embodiment of the present application, the first window W13 is the above target first window.
In the embodiment of the application, a user can share an object included in a first window to a second information sharing device by executing an input to the first window in the N first windows, so that the method and the device are convenient and fast, and the information sharing efficiency can be improved.
In some possible implementations of embodiments of the present application,step 101 may include: first input of a target object in the N objects included in the N first windows by a user is received.
Taking the window shown in FIG. 2 as an example, the user drags the object C2 or clicks the object C2, which indicates that the user performs the first input on the object C2, and then the object C2 is shared to the second information sharing device.
It is understood that, in the embodiment of the present application, the first window W12 including the object C2 is the above-described target first window.
In the embodiment of the application, a user can share one object in the N objects to the second information sharing device by executing one input to the object, so that the method and the device are convenient and quick, and the information sharing efficiency can be improved.
In some possible implementations of the embodiment of the present application, beforestep 101, the information sharing method applied to the first information sharing apparatus provided in the embodiment of the present application may further include: and displaying N first controls corresponding to the N first windows, wherein the N first windows correspond to the N first controls one by one. Accordingly, step 101 may comprise: a first input by a user to a target first control of the N first controls is received.
An information sharing method applied to the first information sharing apparatus according to an embodiment of the present application will be described below with reference to fig. 3 as an example.
In fig. 3, three first windows and three first controls are displayed on the screen of the first information sharing device, the three first windows being a first window W11, a first window W12 and a first window W13, respectively; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. The three first controls are respectively a first control A1, a first control A2 and a first control A3; the first window W11 corresponds to the first control a1, the first window W12 corresponds to the first control a2, and the first window W13 corresponds to the first control A3. When the user drags the first control a2 or clicks the first control a2, which indicates that the user performs the first input on the first control a2, the object C2 included in the first window W12 corresponding to the first control a2 is shared to the second information sharing apparatus.
It is understood that, in the embodiment of the present application, the first control a2 is the above target first control, and the first window W12 corresponding to the first control a2 is the above target first window.
In the embodiment of the application, a user can share the object included in the window corresponding to the control to the second information sharing device by executing an input to the control corresponding to the window, so that the method and the device are convenient and quick, and the information sharing efficiency can be improved.
In some possible implementations of the embodiment of the present application, after receiving a first input of a user to a target first control of the N first controls, before sharing a target object included in the target first window selected by the first input in the N first windows to the second information sharing apparatus, the information sharing method provided by the embodiment of the present application may further include at least one of the following:
updating the display mode of the target first control to a first display mode, wherein the first display mode indicates that an object included in a first window corresponding to the target first control is an object to be shared;
and updating the display mode of the target object to a second display mode, wherein the second display mode indicates that the target object is an object to be shared.
In some possible implementations of embodiments of the present application, the first display mode includes, but is not limited to, filling the control with a preset color and increasing the brightness of the control, and the like, and the second display mode includes, but is not limited to, outlining the object with the preset color and increasing the brightness of the object, and the like.
In some possible implementations of the embodiments of the present application, the first display mode and the second display mode may be set according to actual requirements.
In the embodiment of the application, the display mode of the target first control is different from that of other first controls by updating the display mode of the target first control; updating the display mode of the target object to enable the display mode of the target object to be different from the display modes of other objects; the user can know which objects are to-be-shared objects through the display mode of the target first control or the display mode of the target object, and then the user can determine whether the to-be-shared objects are the objects to be shared, so that object mistaken sharing can be avoided, information leakage can be avoided, and information safety is improved.
In some possible implementations of the embodiment of the present application, before displaying N first controls corresponding to N first windows, the information sharing method provided in the embodiment of the present application may further include: and displaying first prompt information, wherein the first prompt information is used for prompting a user that information sharing is to be performed.
Next, an information sharing method applied to the first information sharing apparatus according to an embodiment of the present application will be described with reference to fig. 4 as an example.
In fig. 4, three first windows, a first window W11, a first window W12, and a first window W13, are displayed on the screen of the first information sharing device; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. First, first prompt information is displayed, and the first prompt information is used for prompting a user that information sharing is to be performed. In fig. 4, the first prompt message is "information is to be shared", and then three first controls corresponding to three first windows are displayed, the three first controls being a first control a1, a first control a2, and a first control A3, respectively; the first window W11 corresponds to the first control a1, the first window W12 corresponds to the first control a2, and the first window W13 corresponds to the first control A3.
In the embodiment of the application, the user can know that information sharing is to be performed by displaying the first prompt information, so that the user experience effect can be improved.
In some possible implementations of the embodiment of the present application, before displaying N first controls corresponding to N first windows, the information sharing method provided in the embodiment of the present application may further include: displaying second prompt information, wherein the second prompt information is used for prompting a user whether to share information; and receiving user input, wherein the user input is used for triggering and displaying N first controls corresponding to the N first windows.
Next, an information sharing method applied to the first information sharing apparatus according to an embodiment of the present application will be described with reference to fig. 5 as an example.
In fig. 5, three first windows, a first window W11, a first window W12, and a first window W13, are displayed on the screen of the first information sharing device; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. First, second prompt information is displayed, and the second prompt information is used for prompting a user whether to share information. In fig. 5, the second prompt message is "do or not perform information sharing? ", when the user clicks the" yes "button in fig. 5, three first controls corresponding to the three first windows are displayed, the three first controls being a first control a1, a first control a2, and a first control A3, respectively; the first window W11 corresponds to the first control a1, the first window W12 corresponds to the first control a2, and the first window W13 corresponds to the first control A3.
In the embodiment of the application, the user can decide whether to share information or not by displaying the second prompt information, so that the user experience effect can be improved.
In some possible implementations of embodiments of the present application,step 101 may include: receiving first input of a user to T first windows in the N first windows, wherein T is an integer not less than 2 and not more than N. Beforestep 102, the information sharing method provided in the embodiment of the present application may further include: and updating the T first windows into first target windows, wherein the first target windows are obtained by combining the T first windows and comprise all objects in the T first windows. Accordingly, step 102 may include: and sharing the object included in the first target window to the second information sharing device.
Next, an information sharing method applied to the first information sharing apparatus according to an embodiment of the present application will be described with reference to fig. 6 as an example.
In fig. 6, three first windows, a first window W11, a first window W12, and a first window W13, are displayed on the screen of the first information sharing device; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. When the user performs an input to the first window W12 and the first window W13, for example, the user holds the first window W12 and the first window W13 with different fingers at the same time, and then makes a closing gesture, the first window W12 and the first window W13 are merged into a first target window TW1, and the first target window TW1 includes an object C2 included in the first window W12 and an object C3 included in the first window W13. Then, the objects C2 and C3 are shared to the second information sharing apparatus.
In the embodiment of the present application, at least two windows can be merged, and the merged window includes all objects included in the at least two windows.
In some possible implementations of the embodiments of the present application, the target object in the embodiments of the present application may include content of a target area in a target file or a target interface.
Fig. 7 is a flowchart illustrating an information sharing method applied to a second information sharing apparatus according to an embodiment of the present application. The information sharing method applied to the second information sharing apparatus may include:
step 701: receiving a target object shared by a first information sharing device, wherein the target object is an object included in a target first window selected by a first input executed by a user in N first windows displayed by the first information sharing device, and N is an integer greater than 1;
step 702: and displaying the target object.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, a user sends a target object included in a target first window selected by first input in the N first windows to the second information sharing device by executing the first input, and the second information sharing device displays the received target object. Because the target first window is a window selected by the first input executed by the user in the N first windows displayed by the first information sharing device, according to the embodiment of the present application, a part of objects on the first information sharing device can be shared to the second information sharing device, and other users can only know the object shared by the first information sharing device through the second information sharing device, but cannot know the object not shared by the first information sharing device, so that leakage of information in the first information sharing device can be avoided, and the security of information in the first information sharing device can be improved.
In some possible implementations of embodiments of the present application,step 702 may include: and displaying the target object in a first display area on a screen of the second information sharing device, wherein the first display area is an area corresponding to the display position of the target first window.
For example, the display position of the target first window including the target object on the screen of the first information sharing device is an area surrounded by the following four pixel points (90, 80), (180, 80), (90, 160), (180, 160). The second information sharing device displays the object on an area surrounded by the following four pixel points (90, 80), (180, 80), (90, 160), (180, 160) on the screen of the second information sharing device when displaying the object. It is understood that the area surrounded by the pixel points (90, 80), (180, 80), (90, 160) and (180, 160) on the screen of the second information sharing device is the first display area. In the embodiment of the present application, the position of the first display area on the screen of the second information sharing device is the same position as the position of the target first window on the screen of the first information sharing device.
For another example, the screen resolution of the first information sharing device is 720 × 1280, and the screen resolution of the second information sharing device is 1280 × 768. The display position of the target first window including the target object on the screen of the first information sharing device is an area surrounded by the following four pixel points (90, 80), (180, 80), (90, 160), (180, 160). When the second information sharing device displays the target object, the target object is displayed in an area surrounded by the following four pixel points (160, 48), (320, 48), (160, 96), (320, 96) on the screen of the second information sharing device. It is understood that the area surrounded by the pixel points (160, 48), (320, 48), (160, 96), (320, 96) on the screen of the second information sharing device is the first display area. In the embodiment of the present application, the ratio of the coordinates of the center point of the first display area on the screen of the second information sharing device is the same as the ratio of the coordinates of the center point of the target first window on the screen of the first information sharing device.
In the embodiment of the application, the target object can be displayed in the area corresponding to the display position of the target first window on the screen of the second information sharing device, so that the user can know the position of the target object in the first information sharing device through the target object displayed by the second information sharing device.
In some possible implementations of embodiments of the present application, the target objects include M objects, M being an integer no greater than N; beforestep 702, the information sharing method applied to the second information sharing apparatus according to the embodiment of the present application may further include: displaying N second windows, wherein each second window in the N second windows comprises a second control, and the N second windows are in one-to-one correspondence with the N first windows; and receiving a second input of a user to a target second control in the N second controls, wherein the second input is used for triggering the display of a first object in a second window comprising the target second control, and the first object is an object included in a first window corresponding to the second window comprising the target second control in the M objects. Accordingly, step 702 may include: the first object is displayed within a second window that includes a target second control.
Next, an information sharing method applied to the second information sharing apparatus according to an embodiment of the present application will be described with reference to fig. 8 as an example.
In fig. 8, three first windows, a first window W11, a first window W12, and a first window W13, are displayed on the screen of the first information sharing device; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. The first information sharing apparatus transmits the object C2 and the object C3 to the second information sharing apparatus. Three second windows are displayed on the screen of the second information sharing apparatus, wherein the three second windows include a second window W21, a second window W22 and a second window W23, the second window W21 corresponds to the first window W11, the second window W22 corresponds to the first window W12, the second window W23 corresponds to the first window W13, the second window W21 includes a second control B1, the second window W22 includes a second control B2, and the second window W23 includes a second control B3. When the user drags the second control B2, indicating that the user performed a second input to the second control B2, object C2 is displayed within the second window W22. Since the user does not perform the second input to the second control B3, the object C3 transmitted at the first information sharing apparatus is not displayed in the second information sharing apparatus.
In the embodiment of the application, the user can select which information needs to be displayed and which information does not need to be displayed, and the experience effect of the user can be improved.
In some possible implementations of the embodiments of the present application, after displaying the first object in the second window including the target second control, the information sharing method applied to the second information sharing apparatus provided by the embodiments of the present application may further include: receiving third input of a user to K second windows in the N second windows, wherein K is an integer not less than 2 and not more than N; and responding to a third input, updating the K second windows into a second target window, wherein the second target window is obtained by combining the K second windows, and the second target window comprises all the objects in the K second windows.
Next, an information sharing method applied to the second information sharing apparatus according to an embodiment of the present application will be described with reference to fig. 9 as an example.
In fig. 9, three first windows, a first window W11, a first window W12, and a first window W13, are displayed on the screen of the first information sharing device; the first window W11 includes an object C1, the first window W12 includes an object C2, and the first window W13 includes an object C3. Three second windows are displayed on the screen of the second information sharing device, wherein the three second windows include a second window W21, a second window W22 and a second window W23, the second window W21 corresponds to the first window W11, the second window W22 corresponds to the first window W12, and the second window W23 corresponds to the first window W13. The second window W21 shows the object C1 transmitted by the first information sharing apparatus, the second window W22 shows the object C2 transmitted by the first information sharing apparatus, and the second window W23 includes the object C4.
When the user performs an input to the second window W21 and the second window W22, for example, the user holds the second window W21 and the second window W22 with different fingers at the same time, and then makes a closing gesture, the second window W21 and the second window W22 are merged into a second target window TW2, and the second target window TW2 includes objects C1 and C2.
When the user performs an input to the second window W22 and the second window W23, for example, the user holds the second window W22 and the second window W23 with different fingers at the same time, and then makes a closing gesture, the second window W22 and the second window W23 are merged into a second target window TW2, and the second target window TW2 includes objects C2 and C4.
In the embodiment of the present application, at least two windows can be merged, and the merged window includes all objects included in the at least two windows.
In some possible implementations of the embodiments of the present application, the first information sharing device may be an electronic device having a separate display chip.
In the embodiment of the application, the first information sharing device can share information by using the independent display chip without using a chip on a mainboard of the first information sharing device, so that the information sharing efficiency can be improved.
It should be noted that, in the information sharing method provided in the embodiment of the present application, the execution subject may be an information sharing apparatus, or a control module in the information sharing apparatus for executing the information sharing method. In the embodiment of the present application, an information sharing method performed by an information sharing apparatus is taken as an example to describe the information sharing apparatus provided in the embodiment of the present application.
Fig. 10 is a schematic structural diagram of a first information sharing device according to an embodiment of the present application. The firstinformation sharing apparatus 1000 may include:
afirst receiving module 1001, configured to receive a first input of a user when a first information sharing apparatus displays N first windows, where each of the N first windows includes an object in a target interface of the first information sharing apparatus, and N is an integer greater than 1;
thesharing module 1002 is configured to, in response to the first input, share a target object included in a target first window selected by the first input in the N first windows to the second information sharing apparatus.
In this embodiment of the application, when the first information sharing apparatus displays N first windows, the user may share, by performing the first input, a target object included in a target first window selected by the first input in the N first windows to the second information sharing apparatus. Therefore, according to the embodiment of the application, a part of objects on the first information sharing device can be shared to the second information sharing device, and other users can only know the objects shared by the first information sharing device through the second information sharing device but cannot know the objects not shared by the first information sharing device, so that information leakage in the first information sharing device can be avoided, and the safety of the information in the first information sharing device can be improved.
In some possible implementations of the embodiment of the present application, thefirst receiving module 1001 may be specifically configured to:
receiving a first input of a user to a target first window in the N first windows;
or, receiving a first input of a target object in the N objects included in the N first windows from a user.
In the embodiment of the application, a user can share an object included in a first window to a second information sharing device by performing one input on the first window in the N first windows, or can share the object to the second information sharing device by performing one input on one object in the N objects, so that the method and the device are convenient and fast, and the information sharing efficiency can be improved.
In some possible implementations of the embodiment of the present application, the firstinformation sharing apparatus 1000 provided in the embodiment of the present application may further include:
the first display module is used for displaying N first controls corresponding to N first windows, wherein the N first windows correspond to the N first controls one by one;
accordingly, thefirst receiving module 1001 may specifically be configured to:
a first input by a user to a target first control of the N first controls is received.
In the embodiment of the application, a user can share the object included in the window corresponding to the control to the second information sharing device by executing an input to the control corresponding to the window, so that the method and the device are convenient and quick, and the information sharing efficiency can be improved.
In some possible implementations of the embodiment of the present application, the firstinformation sharing apparatus 1000 provided in the embodiment of the present application may further include:
a first update module to at least one of:
updating the display mode of the target first control to a first display mode, wherein the first display mode indicates that an object included in a first window corresponding to the target first control is an object to be shared;
and updating the display mode of the target object to a second display mode, wherein the second display mode indicates that the target object is an object to be shared.
In the embodiment of the application, the display mode of the target first control is different from that of other first controls by updating the display mode of the target first control; updating the display mode of the target object to enable the display mode of the target object to be different from the display modes of other objects; the user can know which objects are to-be-shared objects through the display mode of the target first control or the display mode of the target object, and then the user can determine whether the to-be-shared objects are the objects to be shared, so that object mistaken sharing can be avoided, information leakage can be avoided, and information safety is improved.
In some possible implementations of the embodiment of the present application, thefirst receiving module 1001 may be specifically configured to:
receiving first input of a user to T first windows in the N first windows, wherein T is an integer not less than 2 and not more than N.
Correspondingly, the firstinformation sharing apparatus 1000 provided in this embodiment of the present application may further include:
and the second updating module is used for updating the T first windows into first target windows, the first target windows are obtained by combining the T first windows, and the first target windows comprise all objects in the T first windows.
Accordingly, thesharing module 1002 may be specifically configured to:
and sharing the object included in the first target window to the second information sharing device.
In the embodiment of the present application, at least two windows can be merged, and the merged window includes all objects included in the at least two windows.
In some possible implementations of embodiments of the present application, the target object may include content of a target area in a target file or target interface.
Fig. 11 is a schematic structural diagram of a second information sharing apparatus according to an embodiment of the present application. The secondinformation sharing apparatus 1100 may include:
asecond receiving module 1101, configured to receive a target object shared by a first information sharing apparatus, where the target object is an object included in a target first window selected by a first input performed by a user in N first windows displayed by the first information sharing apparatus, and N is an integer greater than 1;
afirst display module 1102 for displaying the target object.
In the embodiment of the application, a user sends a target object included in a target first window selected by first input in the N first windows to the second information sharing device by executing the first input, and the second information sharing device displays the received target object. Because the target first window is a window selected by the first input executed by the user in the N first windows displayed by the first information sharing device, according to the embodiment of the present application, a part of objects on the first information sharing device can be shared to the second information sharing device, and other users can only know the object shared by the first information sharing device through the second information sharing device, but cannot know the object not shared by the first information sharing device, so that leakage of information in the first information sharing device can be avoided, and the security of information in the first information sharing device can be improved.
In some possible implementations of the embodiment of the present application, thedisplay module 1102 may be specifically configured to:
and displaying the target object in a first display area on a screen of the second information sharing device, wherein the first display area is an area corresponding to the display position of the target first window.
In the embodiment of the application, the target object can be displayed in the area corresponding to the display position of the target first window on the screen of the second information sharing device, so that the user can know the position of the target object in the first information sharing device through the target object displayed by the second information sharing device.
In some possible implementations of embodiments of the present application, the target objects include M objects, M being an integer no greater than N; the secondinformation sharing apparatus 1100 provided in the embodiment of the present application may further include:
the second display module is used for displaying N second windows, wherein each of the N second windows comprises a second control, and the N second windows correspond to the N first windows one to one;
a second receiving module, configured to receive a second input of a user to a target second control in the N second controls, where the second input is used to trigger display of a first object in a second window that includes the target second control, and the first object is an object included in a first window that corresponds to the second window that includes the target second control in the M objects;
accordingly, thefirst display module 1102 may specifically be configured to:
the first object is displayed within a second window that includes a target second control.
In the embodiment of the application, the user can select which information needs to be displayed and which information does not need to be displayed, and the experience effect of the user can be improved.
In some possible implementations of the embodiment of the present application, the secondinformation sharing apparatus 1100 provided in the embodiment of the present application may further include:
the third receiving module is used for receiving third input of a user to K second windows in the N second windows, wherein K is an integer which is not less than 2 and not more than N;
and the third updating module is used for responding to a third input and updating the K second windows into second target windows, wherein the second target windows are obtained by combining the K second windows and comprise all the objects in the K second windows.
In the embodiment of the present application, at least two windows can be merged, and the merged window includes all objects included in the at least two windows.
The information sharing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The information sharing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
Thefirst sharing device 1000 provided in this embodiment of the present application can implement each process in the information sharing method embodiment applied to the first information sharing device in fig. 1 to fig. 6, and the secondinformation sharing device 1100 provided in this embodiment of the present application can implement each process in the information sharing method embodiment applied to the second information sharing device in fig. 7 to fig. 9, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 12, anelectronic device 1200 is further provided in an embodiment of the present application, and includes aprocessor 1201, amemory 1202, and a program or an instruction stored in thememory 1202 and executable on theprocessor 1201, where the program or the instruction is executed by theprocessor 1201 to implement the processes in the information sharing method embodiment applied to the first information sharing apparatus or the information sharing method embodiment applied to the second information sharing apparatus, and the same technical effects can be achieved, and are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 13 is a hardware configuration diagram of a first electronic device implementing an embodiment of the present application.
The firstelectronic device 1300 includes, but is not limited to: aradio frequency unit 1301, anetwork module 1302, anaudio output unit 1303, aninput unit 1304, asensor 1305, adisplay unit 1306, auser input unit 1307, aninterface unit 1308, amemory 1309, aprocessor 1310, and the like.
Those skilled in the art will appreciate that the firstelectronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 1310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The first electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the first electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
Theuser input unit 1307 is configured to receive a first input of a user when the first information sharing apparatus displays N first windows, where each of the N first windows includes one object in a target interface of the first information sharing apparatus, and N is an integer greater than 1.
Aprocessor 1310, configured to, in response to the first input, share a target object included in a target first window selected by the first input in the N first windows to the second information sharing device.
In this embodiment of the application, when the first information sharing apparatus displays N first windows, the user may share, by performing the first input, a target object included in a target first window selected by the first input in the N first windows to the second information sharing apparatus. Therefore, according to the embodiment of the application, a part of objects on the first information sharing device can be shared to the second information sharing device, and other users can only know the objects shared by the first information sharing device through the second information sharing device but cannot know the objects not shared by the first information sharing device, so that information leakage in the first information sharing device can be avoided, and the safety of the information in the first information sharing device can be improved.
In some possible implementations of the embodiment of the present application, theuser input unit 1307 may be specifically configured to:
receiving a first input of a user to a target first window in the N first windows;
or, receiving a first input of a target object in the N objects included in the N first windows from a user.
In the embodiment of the application, a user can share an object included in a first window to a second information sharing device by performing one input on the first window in the N first windows, or can share the object to the second information sharing device by performing one input on one object in the N objects, so that the method and the device are convenient and fast, and the information sharing efficiency can be improved.
In some possible implementations of the embodiment of the present application, thedisplay unit 1306 may be configured to display N first controls corresponding to N first windows, where the N first windows correspond to the N first controls one to one;
accordingly,user input unit 1307 may be specifically configured to:
a first input by a user to a target first control of the N first controls is received.
In the embodiment of the application, a user can share the object included in the window corresponding to the control to the second information sharing device by executing an input to the control corresponding to the window, so that the method and the device are convenient and quick, and the information sharing efficiency can be improved.
In some possible implementations of embodiments of the present application, theprocessor 1310 may be further configured to at least one of:
updating the display mode of the target first control to a first display mode, wherein the first display mode indicates that an object included in a first window corresponding to the target first control is an object to be shared;
and updating the display mode of the target object to a second display mode, wherein the second display mode indicates that the target object is an object to be shared.
In the embodiment of the application, the display mode of the target first control is different from that of other first controls by updating the display mode of the target first control; updating the display mode of the target object to enable the display mode of the target object to be different from the display modes of other objects; the user can know which objects are to-be-shared objects through the display mode of the target first control or the display mode of the target object, and then the user can determine whether the to-be-shared objects are the objects to be shared, so that object mistaken sharing can be avoided, information leakage can be avoided, and information safety is improved.
In some possible implementations of the embodiment of the present application, theuser input unit 1307 may be specifically configured to:
receiving first input of a user to T first windows in the N first windows, wherein T is an integer not less than 2 and not more than N.
Accordingly, theprocessor 1310 may be further configured to update the T first windows to a first target window, where the first target window is obtained by merging the T first windows, and the first target window includes all objects in the T first windows; and sharing the object included in the first target window to the second information sharing device.
In the embodiment of the present application, at least two windows can be merged, and the merged window includes all objects included in the at least two windows.
In some possible implementations of the embodiment of the present application, the firstelectronic device 1300 may further include a separate display chip.
It should be understood that in the embodiment of the present application, theinput Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and amicrophone 13042, and theGraphics processor 13041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. Thedisplay unit 1306 may include adisplay panel 13061, and thedisplay panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. Theuser input unit 1307 includes atouch panel 13071 andother input devices 13072. Atouch panel 13071, also referred to as a touch screen. Thetouch panel 13071 may include two parts, a touch detection device and a touch controller.Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Theprocessor 1310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 1310.
Fig. 14 is a hardware configuration diagram of a second electronic device implementing an embodiment of the present application.
The secondelectronic device 1400 includes, but is not limited to:radio unit 1401,network module 1402,audio output unit 1403,input unit 1404,sensor 1405,display unit 1406,user input unit 1407,interface unit 1408,memory 1409, andprocessor 1410.
Those skilled in the art will appreciate that the secondelectronic device 1400 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to theprocessor 1410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The second electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the second electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
Theuser input unit 1407 is configured to receive a target object shared by the first information sharing apparatus, where the target object is an object included in a target first window selected by a first input performed by a user in N first windows displayed by the first information sharing apparatus, and N is an integer greater than 1.
Adisplay unit 1406 for displaying the target object.
In the embodiment of the application, a user sends a target object included in a target first window selected by first input in the N first windows to the second information sharing device by executing the first input, and the second information sharing device displays the received target object. Because the target first window is a window selected by the first input executed by the user in the N first windows displayed by the first information sharing device, according to the embodiment of the present application, a part of objects on the first information sharing device can be shared to the second information sharing device, and other users can only know the object shared by the first information sharing device through the second information sharing device, but cannot know the object not shared by the first information sharing device, so that leakage of information in the first information sharing device can be avoided, and the security of information in the first information sharing device can be improved.
In some possible implementations of the embodiment of the present application, thedisplay unit 1406 may be specifically configured to:
and displaying the target object in a first display area, wherein the first display area is an area corresponding to the display position of the target first window.
In the embodiment of the application, the target object can be displayed in the area corresponding to the display position of the target first window on the screen of the second information sharing device, so that the user can know the position of the target object in the first information sharing device through the target object displayed by the second information sharing device.
In some possible implementations of embodiments of the present application, the target objects include M objects, M being an integer no greater than N; thedisplay unit 1406 may also be used to:
displaying N second windows, wherein each second window in the N second windows comprises a second control, and the N second windows are in one-to-one correspondence with the N first windows;
theuser input unit 1407 may further be configured to receive a second input, by the user, to a target second control in the N second controls, where the second input is used to trigger display of a first object in a second window that includes the target second control, and the first object is an object included in a first window, which corresponds to the second window that includes the target second control, in the M objects;
accordingly, thedisplay unit 1406 may be specifically configured to:
the first object is displayed within a second window that includes a target second control.
In the embodiment of the application, the user can select which information needs to be displayed and which information does not need to be displayed, and the experience effect of the user can be improved.
In some possible implementations of the embodiments of the present application, theuser input unit 1407 may be further configured to:
receiving third input of a user to K second windows in the N second windows, wherein K is an integer not less than 2 and not more than N;
theprocessor 1410, in response to a third input, may be configured to update the K second windows to a second target window, where the second target window is obtained by merging the K second windows, and the second target window includes all the objects in the K second windows.
In the embodiment of the present application, at least two windows can be merged, and the merged window includes all objects included in the at least two windows.
In some possible implementations of the embodiment of the present application, the secondelectronic device 1400 may further include a separate display chip.
It should be understood that in the embodiment of the present application, theinput Unit 1404 may include a Graphics Processing Unit (GPU) 14041 and amicrophone 14042, and theGraphics processor 14041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. Thedisplay unit 1406 may include adisplay panel 14061, and thedisplay panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. Theuser input unit 1407 includes atouch panel 14071 andother input devices 14072.Touch panel 14071, also referred to as a touch screen. Thetouch panel 14071 may include two parts of a touch detection device and a touch controller.Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Thememory 1409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Theprocessor 1410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 1410.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the information sharing method embodiment applied to the first information sharing apparatus or the information sharing method embodiment applied to the second information sharing apparatus, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the information sharing method embodiment applied to the first information sharing device or the information sharing method embodiment applied to the second information sharing device, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.