WO2021093844A1 - Sharing control method and electronic device - Google Patents

Sharing control method and electronic device Download PDF

Info

Publication number
WO2021093844A1
WO2021093844A1 PCT/CN2020/128635 CN2020128635W WO2021093844A1 WO 2021093844 A1 WO2021093844 A1 WO 2021093844A1 CN 2020128635 W CN2020128635 W CN 2020128635W WO 2021093844 A1 WO2021093844 A1 WO 2021093844A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
content
input
sharing
screen area
Prior art date
Application number
PCT/CN2020/128635
Other languages
French (fr)
Chinese (zh)
Inventor
谢青宇
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021093844A1 publication Critical patent/WO2021093844A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a sharing control method and electronic equipment.
  • the embodiments of the present invention provide a sharing control method and an electronic device to solve the problem that the private information of the sharer is leaked due to the sharing of the screen.
  • an embodiment of the present invention provides a sharing control method, which can be applied to a second electronic device, and the method includes: sharing the information of the first object with the second electronic device through the first screen area on the first electronic device.
  • the first image is the image when the first content is displayed in the first screen area;
  • the target instruction is used to instruct the first electronic device to modify the first content or adjust the output parameters of the first content; wherein, the target input is on the first image Or, the target input is an input to a functional control displayed on the second electronic device.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device may be a second electronic device.
  • the electronic device includes: a receiving module, a display module, a generating module, and a sending module.
  • the receiving module is used to receive the first image sent by the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area;
  • the display module is used to display the first image received by the receiving module An image, the first image is the image when the first content is displayed in the first screen area;
  • the receiving module is also used to receive the user's target input for the first image displayed by the display module;
  • the generating module is used to receive the target according to the receiving module Input to generate a target instruction; a sending module for sending the target instruction generated by the generating module to the first electronic device; wherein the target instruction is used to instruct the first electronic device to modify the first content or adjust the output parameters of the first content; target input It is an input on the first image, or the target input is an input to a function control displayed
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor, the above-mentioned second aspect can be implemented. Shared control method steps.
  • an embodiment of the present invention provides a sharing control device/equipment, including the device/equipment configured to execute the sharing control method of the first aspect or the second aspect described above.
  • the first electronic device in the case that the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area meets the target condition, the first electronic device can stop sharing the first object with the second electronic device.
  • the device shares the first object;
  • the target condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content is the first object
  • the content in, the second content and the third content are arbitrary content except the first object.
  • the first electronic device shares the first object with the second electronic device
  • the content shared by the first electronic device with the second electronic device is covered by content other than the first object, or the sharing
  • the first electronic device since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object with the second electronic device.
  • Contents other than the object so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer’s private information is not leaked.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 7 is the fourth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention.
  • FIG. 8 is the fifth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention.
  • FIG. 9 is a third schematic diagram of a sharing control method provided by an embodiment of the present invention.
  • FIG. 10 is the sixth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention.
  • FIG. 14 is a fifth schematic diagram of a sharing control method provided by an embodiment of the present invention.
  • 16 is the second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 17 is the third structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in this document are used to distinguish different objects, rather than to describe a specific order of objects.
  • first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe a specific order of interfaces.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiment of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements and so on.
  • Embodiments of the present invention provide a sharing control method and electronic device.
  • the first electronic device shares a first object with a second electronic device through a first screen area
  • the first screen area meets the target condition
  • the first electronic device may stop sharing the first object with the second electronic device; wherein the target condition may be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area;
  • the first content is the content in the first object
  • the second content and the third content are any content other than the first object.
  • the first electronic device shares the first object with the second electronic device
  • the content shared by the first electronic device with the second electronic device is covered by other content except the first object or the shared content
  • the first electronic device since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the content other than the first object with the second electronic device. In this way, it is possible to ensure that the private information of the sharer is not leaked when the sharer uses the electronic device to share the object with the shareee.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application layer may include the shared application (that is, the shared application) in the embodiment of the present invention.
  • the first electronic device can share content with the second electronic device through the sharing application, for example, sharing the first object.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the application in the embodiment of the present invention may include two parts.
  • one part refers to a service running in the background of an electronic device, which is used to detect user-triggered input and determine the shared object (such as this The first object in the embodiment of the invention); the other part refers to the content displayed on the screen of the electronic device, such as a sharing window displayed on the screen of the first electronic device for displaying shared content.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the sharing control method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the control method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the sharing control method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
  • the execution subject of the sharing control method provided in the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the sharing control method, and the specifics may be determined according to actual usage requirements.
  • the embodiments of the present invention are not limited.
  • an electronic device is taken as an example to illustrate the sharing control method provided by the embodiment of the present invention.
  • the first user when a user (hereinafter may be referred to as the first user) needs to share the electronic device of the first user (hereinafter may be referred to as electronic device A) with another user (hereinafter may be referred to as the second user)
  • electronic device A When a certain/certain object (hereinafter may be referred to as object M), the first user can trigger the electronic device A to pass a screen area (for example, the first screen area in the embodiment of the present invention) to the second user's electronic device (hereinafter It can be called the electronic device B) to share the object M, so that the second electronic device can display the content of the object M, so that the first user can share the object M with the second user.
  • object M a certain/certain object
  • the first user can trigger the electronic device A to pass a screen area (for example, the first screen area in the embodiment of the present invention) to the second user's electronic device (hereinafter It can be called the electronic device B) to share the object M, so that the second electronic device can display the
  • the electronic device A may display the content in the object M in the screen area, and take a screenshot of the screen area to obtain an image of the screen area, and send the image of the screen area to the electronic device B in real time, and the electronic device B After receiving the image of the screen area, the image of the screen area can be displayed.
  • the electronic device A can share the object M with the electronic device B, and the first user can share the object M with the second user.
  • the embodiment of the present invention may share the object M with the electronic device B on the electronic device A through the above-mentioned screen area.
  • the electronic device A updates the content of the object M displayed in the screen area to content other than the object M, or displays content other than the object M in the screen area
  • the electronic device A A can stop sharing the object M with the electronic device B, that is, stop the sharing process. In this way, it is possible to prevent the electronic device A from sharing content other than the object M with the electronic device B, thereby ensuring that the sharer's private information is not leaked when the sharer shares the object with the shareee through his electronic device.
  • an embodiment of the present invention provides a sharing control method.
  • the method may include the following S201 and S202.
  • S201 The first electronic device shares the first object with the second electronic device through the first screen area.
  • the first electronic device may determine the first screen area according to the display area of the content in the first object on the screen of the first electronic device, and then the first electronic device may take a screenshot of the first screen area in real time.
  • the first object can be shared with the second electronic device through the first screen area.
  • the first electronic device may display the first object in a window (hereinafter may be called a shared window) of a shared application (hereinafter may be referred to as a shared application) installed on the first electronic device
  • a shared window a window of a shared application
  • the content in the first object that is, the first electronic device can show the content in the first object to the user through the sharing window.
  • the above-mentioned first screen area may be an area where the shared window is located on the screen of the first electronic device.
  • the second electronic device may receive the image of the first screen area sent by the first electronic device through the shared application installed by the second electronic device, and display the received image in the sharing window of the shared application.
  • the user of the second electronic device can view the content in the first object displayed in the first screen area through the second electronic device in real time.
  • the first object may be any possible object such as a picture, video, application (ie application), or file, etc., which may be specifically determined according to actual usage requirements, and the embodiment of the present invention does not limit it.
  • the first electronic device may also share the video screen in the video with the second electronic device through the first screen area and the second electronic device.
  • the audio corresponding to the video screen may also share the video screen in the video with the second electronic device through the first screen area and the second electronic device.
  • the number of the second electronic device may be one or multiple, that is, the first electronic device may share the first object with one electronic device, or may share the first object with multiple electronic devices.
  • An object can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the number of the second electronic devices mentioned in the embodiments of the present invention is not limited, that is, the second electronic devices mentioned in the embodiments of the present invention are not limited in number.
  • the electronic device may be one second electronic device or multiple second electronic devices.
  • the above-mentioned target condition may be any one of the following: the first electronic device updates the first content displayed on the first screen area to the second content (a possible implementation), and the first The electronic device displays the third content in the first screen area (another possible implementation manner).
  • the above-mentioned first content is the content in the first object, and the above-mentioned second content and the above-mentioned third content may be any content other than the first object.
  • the foregoing second content and third content may be any possible content such as push messages, conversation messages, videos, pictures, documents, or interfaces, etc., which can be specifically determined according to actual usage requirements.
  • the implementation of the present invention The examples are not limited.
  • the above-mentioned first screen area may be a process in which the first electronic device shares the first object with the second electronic device, and the content in the first object (for example, the first content) is in the first electronic device.
  • the first electronic device shares the first object with the second electronic device, if the content in the first object changes in the display area on the screen of the first electronic device, the first screen area also occurs accordingly.
  • the change that is, in which area on the screen of the electronic device the content in the first object is displayed, and which area is the first screen area in the embodiment of the present invention.
  • the first electronic device can Let area 31 be the first screen area.
  • the first electronic device updates and displays the first content in the area 32, that is, the display area 30 of the first content is located in the area 32 at this time, then the first electronic device can display Area 32 serves as the first screen area.
  • the size of the first screen area may be greater than or equal to the display size of the first content on the screen of the first electronic device.
  • the first screen area is the display area of the first content on the screen of the first electronic device, for example,
  • the first screen area may be the area shown by 30 in Figure 3(a); when the size of the first screen area is larger than the display size of the first content on the screen of the first electronic device, the first screen area may It includes the display area of the first content on the screen and the blank area near the display area.
  • the first screen area may be the area shown in 31 in (a) of FIG. 3 or 32 in (b) of FIG. 3 The area shown (that is, the area shown by 30 and the blank area near it are included).
  • the first electronic device can stop taking screenshots of the first screen area and stop sending the image of the first screen area to the second electronic device .
  • the second electronic device may keep displaying the last image received by the second electronic device, that is, the first electronic device.
  • the last image of the first screen area sent by the device may be kept displaying the last image received by the second electronic device, that is, the first electronic device.
  • the target condition is that the first electronic device updates the first content displayed in the first screen area to the second content
  • the update of the first content displayed in a screen area to the second content may include the following two situations:
  • Case 1 The first electronic device exits the shared application, that is, the first electronic device ends the running of the shared application or switches the shared application to run in the background.
  • the first electronic device may determine to update the shared window to the shared application , Then the first electronic device can stop sharing the first object with the second electronic device.
  • the first electronic device receives a user's first input.
  • the user who operates the first electronic device may be the user of the first electronic device
  • the user who operates the second electronic device may be the user of the second electronic device
  • the first electronic device may first send a request message for sharing the first object to the second electronic device, and then, After the user of the second electronic device (ie, the aforementioned second user) confirms to share the first object, that is, after the first electronic device receives the screen sharing confirmation message sent by the second electronic device, the first electronic device can pass through the first screen area Share the first object with the second electronic device.
  • the above-mentioned first object may be the sharer (that is, the user of the first electronic device, that is, the first user) who needs to share with the shareee (that is, the user of the second electronic device, that is, the user of the second electronic device). The second user).
  • the above-mentioned first input may include a first sub-input of the user to the first object and a second sub-input of the user to the target control, where the target control may be used to trigger the shared object.
  • the above-mentioned S201a can be specifically implemented by the following S201a1 and S201a2.
  • the first electronic device selects the first object, and displays the target control.
  • the above-mentioned first object may include multiple sub-objects, and when the above-mentioned first object includes multiple sub-objects, the above-mentioned first sub-input may include multiple third sub-inputs.
  • the three sub-inputs can be used to trigger the selection of a sub-object.
  • the first sub-input may include 4 third sub-inputs
  • Each third sub-input can be used to trigger the selection of a document, that is, as shown in Figure 7, the user can respectively long-press on document A, document B, document C, and document D to trigger the first electronic device to select document A, Document B, Document C, and Document D, and display target control E.
  • the above-mentioned first content may be the content in the first object displayed on the screen of the first electronic device.
  • the above target controls can be used to trigger shared objects.
  • the first electronic device sharing the first content in the first object with the second electronic device may mean that the first electronic device starts to share the first content in the first object with the second electronic device.
  • the first electronic device may share the other content with the second electronic device.
  • the above-mentioned target control may be used to indicate the entrance of the shared application.
  • the user triggers the first electronic device to select the first object through the first sub-input
  • the user can trigger the first electronic device to run the shared application through the input of the target control (such as the aforementioned second sub-input)
  • the first electronic device can display the first content in the sharing window of the sharing application, and share the first content with the second electronic device.
  • the first electronic device sharing the first content in the first object with the second electronic device may be the first electronic device sharing the first screen area with the second electronic device (it may be the aforementioned shared window ), the content in the first object.
  • the above-mentioned first input may also include a fourth sub-input, and the fourth sub-input may be used to trigger
  • the first electronic device updates the first content displayed in the first screen area to the fourth content.
  • the first electronic device may continue to share the fourth content in the first object with the second electronic device. In this way, the first electronic device can share all the content in the first object with the second electronic device through the first screen area, that is, the first object can be shared with the second electronic device.
  • the first object includes two pictures, the first picture and the second picture
  • the picture currently displayed in the first screen area is the first picture (that is, the first electronic device shares the first picture with the second electronic device at this time).
  • a picture that is, the first content
  • the user can trigger the first electronic device to update the first picture displayed in the first screen area to the second picture through the fourth sub-input.
  • the first electronic device may continue to share the second picture with the second electronic device.
  • the user can select the content that he needs to share through one sub-input (for example, the above-mentioned first sub-input), and trigger the first electronic device to send to the second sub-input (for example, the above-mentioned second sub-input).
  • the electronic device shares the content, that is, the user can trigger the first electronic device to share any content that the user needs to share with the second electronic device (for example, the aforementioned first object), so the flexibility and accuracy of the shared object can be improved.
  • the first electronic device can run the shared application and the "shopping" application, and the shared application window 83 (ie, the first screen Area) displays the interface 84 of the "shopping" application (that is, the above-mentioned first content), and shares the interface 84 with the second electronic device (specifically, the first electronic device sends an image of the sharing window 83 to the second electronic device), namely The first electronic device displays the first content in the first screen area, and shares the first content in the first object with the second electronic device. It can be understood that after the second electronic device receives the image sent by the first electronic device, as shown in (c) in FIG. 8, the second electronic device may display the image 86 in the sharing window 85 of the sharing application.
  • the user can also input on an interface of the "shopping" application (for example, the fourth sub-input above) to trigger the first electronic device to display the "shopping" application in the sharing window.
  • Interface so that the first electronic device shares the interface with the second electronic device.
  • the user first triggers the first electronic device to select the first object, and then triggers the first electronic device to run the shared application to exemplarily describe the sharing control method provided by the embodiment of the present invention.
  • the user may also first trigger the first electronic device to run the shared application, and then trigger the first electronic device to select the first object through the shared application, and then after the first electronic device selects the first object, the first electronic device may The first content in the first object is displayed in the screen area, and the first content is shared with the second electronic device.
  • the user can trigger the first electronic device to share the first object with the second electronic device through the first input, that is, the user can trigger the first electronic device to share content with the second electronic device through the input according to the sharing requirement (for example, the first object), so that the flexibility and convenience of sharing content with the second electronic device can be improved, and the human-computer interaction performance can be improved.
  • the sharing requirement For example, the first object
  • the sharing control method provided in the embodiment of the present invention may further include the following S203.
  • the first electronic device when the first electronic device shares the first object with the second electronic device again, (1) the first electronic device can stop sharing the first object with the second electronic device from the first electronic device , The content of the first object displayed in the first screen area starts, and the first object is shared with the second electronic device again; or (2), the first electronic device can transfer from the first electronic device to the second electronic device When the first object is shared, starting from the content in the first object displayed in the first screen area, the first object is shared with the second electronic device again, that is, the first electronic device can share the first object with the second electronic device from the beginning.
  • the display order of the 2 pictures in the first screen area is: the third picture and the fourth picture, that is, it can be understood that the first electronic device starts to pass the first When the screen area shares the first object with the second electronic device, and the picture displayed in the first screen area is the third picture, then as shown in Figure 10 (a), if the first electronic device stops sharing with the second electronic device When the first object is the first object, the fourth picture 91 is displayed in the first screen area 90; then in the above (1), as shown in (b) in Figure 10, when the first electronic device shares the first electronic device with the second electronic device again, When the object is selected, the picture currently displayed in the first screen area 90 may be the fourth picture 91; or, in the above (2), as shown in (c) in FIG. 10, when the first electronic device reconnects to the second electronic device When the device shares the first object, the picture currently displayed in the first screen area 90 may be the third picture 92.
  • the first electronic device since the first electronic device can share the first object with the second electronic device by sending the image of the first screen area to the second electronic device, the first electronic device passes through the first object.
  • the screen of the second electronic device can display the image of the first screen area (such as the first image below) sent by the first electronic device in real time, so that the second electronic device
  • the user of the device ie, the aforementioned second user
  • the content displayed in the first screen area of the first electronic device through the second electronic device that is, the content shared by the first electronic device to the second electronic device.
  • control sharing method provided in the embodiment of the present invention may further include the following S204-S210.
  • the second electronic device receives the first image sent by the first electronic device, and displays the first image.
  • the above-mentioned first image may be an image when the first content is displayed in the first screen area.
  • the second electronic device may display the first image in the sharing window of the sharing application to show the first image to the user of the second electronic device in real time.
  • the display effect of the first image in the second electronic device may be the same as or different from the display effect of the first image in the first electronic device. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the second user can set the output effect of the first content according to his needs.
  • An input is executed on the electronic device, and the input can trigger the second electronic device to acquire the modified content or the parameter triggered by the second user, and according to the content or the parameter, generate an instruction to instruct the first electronic device to modify the first content or Adjust the target instruction of the output parameter of the first content, and then the second electronic device can send the target instruction to the first electronic device so that the first electronic device can modify the first content or adjust the output parameter of the first content according to the target instruction .
  • the first electronic device modifies the first content or adjusts the output parameters of the first content
  • the first content shared by the first electronic device with the second electronic device can meet the needs of the second user.
  • the above-mentioned output parameters may include any possible parameters such as display parameters, media parameters (for example, audio parameters), etc., which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the second electronic device receives a user's target input for the first image.
  • the second electronic device generates a target instruction according to the target input, and sends the target instruction to the first electronic device.
  • S207 The first electronic device receives the target instruction.
  • the first electronic device modifies the first content or adjusts the output parameter of the first content according to the target instruction.
  • the above-mentioned target input may be performed by the user of the second electronic device, that is, the second user, that is, the shareee.
  • the above-mentioned target input can be used to trigger the second electronic device to generate a target instruction; the second electronic device can obtain the content or parameter corresponding to the above-mentioned target input (that is, the content or parameter that is triggered by the second user to modify or the parameter that triggers the adjustment), and according to the first The parameter generates the target instruction.
  • the above-mentioned target input may be the user's input on the first image, or it may be the user's input to the functional controls displayed on the second electronic device, which can be specifically determined according to actual usage requirements.
  • the embodiments of the invention are not limited.
  • the sharing window when the second electronic device displays the first image in the sharing window, the sharing window may also display functional controls for modifying content or adjusting output parameters. And if the above-mentioned first objects are different, the at least one function control displayed in the sharing window of the second electronic device may also be different.
  • Example 1 Taking the first object as a picture as an example, the aforementioned at least one functional control may include: trimming control, filter control, light effect control, graffiti control, text adding control, display parameter adjustment control, and so on. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the above-mentioned trimming control can be used to trigger the adjustment of the picture size
  • the above-mentioned filter control can be used to trigger the addition of special filter effects
  • the above-mentioned light effect control can be used to trigger the addition of light effects
  • the above-mentioned graffiti control can be used to trigger the addition of graffiti
  • the above text The add control can be used to trigger the addition of text
  • the above display parameter adjustment control can be used to trigger the adjustment of the brightness, contrast, and sharpness of the picture display.
  • Example 2 Taking the first object as a document as an example, the aforementioned at least one functional control may include: a text input control, a text deletion control, a comment control, and so on. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the aforementioned text input control can be used to trigger the addition of text
  • the aforementioned text deletion control can be used to trigger the deletion of text
  • the aforementioned comment control can be used to trigger the addition of remarks.
  • Example 3 Taking the first object as a video as an example, the above-mentioned at least one functional control may include: a rewind control, a pause control, a volume control, a fast forward control, etc., which can be determined according to actual usage requirements, and the embodiment of the present invention does not limit it .
  • the second user can slide right on the brightness adjustment control 131 (that is, the second user Perform the eighth sub-input) to trigger the second electronic device to obtain the brightness value corresponding to the eighth sub-input (that is, the parameter that the second user triggers to increase), and then the second electronic device can generate an instruction to indicate the An electronic device increases the target instruction of the display brightness of picture one, so that after receiving the target instruction, the first electronic device can increase the display brightness of picture one, that is, the first electronic device adjusts the display brightness of the first content according to the target instruction. Display parameters.
  • the foregoing embodiment is based on the principle of screen sharing as an example, and exemplarily describes the sharing control method provided by the embodiment of the present invention.
  • the realization idea of the sharing control method provided by the embodiment of the present invention can also be applied to multiple people to modify a file stored in an electronic device (hereinafter referred to as a target file, which can be at least one of the following: pictures, documents) And video) content of the scene (hereinafter referred to as scene A).
  • a target file which can be at least one of the following: pictures, documents) And video content of the scene
  • scene A the sharing control method provided by the embodiment of the present invention can be implemented by sharing source files and modifying instructions (for example, the following first instruction and second instruction).
  • members who participate in jointly modifying the above-mentioned target file may be referred to as members of the shared circle, for example, the user of the first electronic device and the user of the second electronic device described below.
  • an embodiment of the present invention provides a sharing control method, and the method may include the following S301-S310.
  • the first electronic device sends a target file to the second electronic device, and displays the first target content in the sharing application interface.
  • the second electronic device receives the target file, and displays the first target content in the sharing application interface.
  • the aforementioned target file may be a file shared by the first electronic device to the second electronic device, that is, a shared file.
  • the aforementioned first target content may be the content in the target file.
  • the first electronic device may send the target file to the second electronic device through a shared application installed in the first electronic device.
  • the second electronic device may receive the target file sent by the first electronic device through the sharing application installed in the second electronic device.
  • the foregoing target file may be any possible file such as a document, a picture, and a video, and may be specifically determined according to actual use requirements, and the embodiment of the present invention does not limit it.
  • the first electronic device may send a file sending request message to the second electronic device through the sharing application.
  • the first electronic device may send the target file to the second electronic device through the sharing application.
  • the above-mentioned file sending request message may be triggered by the user of the first electronic device to send the first electronic device.
  • the first electronic device receives the first instruction.
  • the first electronic device modifies the first target content displayed in the first electronic device according to the first instruction.
  • the first electronic device receives the user's fourth input of the first target content.
  • the first electronic device According to the fourth input, the first electronic device generates a second instruction for triggering modification of the first target content, and according to the second instruction, modifies the first target content displayed in the first electronic device, and sends it to the second electronic device. Send the second command.
  • the second electronic device modifies the first target content of the target file displayed in the second electronic device according to the second instruction.
  • the foregoing fourth input may be an input performed by a user of the first electronic device.
  • the aforementioned fourth input can be used to trigger the modification of the first target content.
  • the target file in the first electronic device and the target file in the second electronic device are both the result of the joint action of the above first instruction and the second instruction; that is, After performing the above S301-S310, the content of the target file in the first electronic device is the same as the content of the target file in the second electronic device.
  • the target file is a document
  • the content of the target file before modification is "Put washing powder and cigarette butts in water. After they are dissolved, use them to clean the glass window, and the effect is good.”
  • the first instruction is in "Cigarette Butts” Add the instruction of ", smoking leftover” before
  • the second instruction is the instruction of adding the text "ten” after the "effect”.
  • the content of the target file in the first electronic device is "Put the washing powder and cigarette butts left over from smoking in the water. After they are dissolved, they can be used to clean the windows. The effect is very good.”
  • Second The content of the target file in the electronic device is "Put washing powder and cigarette butts left over from smoking in water, and after they are dissolved, use them to clean the glass windows. The effect is very good.”
  • each user who participates in modifying the target file can trigger the modification of the target file stored in the electronic device through an electronic device (for example, the above-mentioned first electronic device and the second electronic device), and can synchronously trigger the modification Share the target file saved in the electronic device of other members of the circle, so that multiple people can modify the same target file, so that the efficiency of modifying the target file can be improved on the basis of meeting the modification needs of multiple people.
  • an electronic device for example, the above-mentioned first electronic device and the second electronic device
  • the shared application interface of the first electronic device (hereinafter may be referred to as the first interface) and the shared application interface of the second electronic device (hereinafter may be referred to as the second interface) may include the first The target control, the first target control can be used to trigger the members in the sharing circle to further select the members of the sharing instruction.
  • the first electronic device sends the target file to electronic device 3 and electronic device 4, then if the electronic device 3 If the user needs to modify the target file together with the user of the electronic device 4, the user of the electronic device 3 can trigger the electronic device 3 to select the electronic device 4 by inputting the first target control displayed on the second interface of the electronic device 3. Then, after the electronic device 3 selects the electronic device 4, the electronic device 3 can send the first instruction generated by the user of the electronic device 3 to the electronic device 4, and can avoid sending the first instruction to the first electronic device, thereby avoiding The first electronic device shares the first instruction generated by the electronic device 3.
  • each member of the sharing circle can further select the members of the sharing instruction among the members of the sharing circle, it is possible to further narrow the range of members who jointly modify the target file on the basis of ensuring that multiple people modify the target file together. Further implement small-scale modifications among the members of the sharing circle, which can further improve the flexibility of modifying the target file.
  • the first interface and the second interface may further include a second target control
  • the second target control may be used to trigger an invitation to other users except members of the sharing circle to jointly modify the target file. That is, in the process that the user of the first electronic device and the user of the second electronic device jointly modify the target file, the user of the first electronic device and the user of the second electronic device can both trigger the invitation to delete by inputting the second target control.
  • the user of the first electronic device and the user other than the user of the second electronic device for example, a friend user of the first electronic device or a friend user of the second electronic device, hereinafter may be referred to as a friend user jointly modify the target file.
  • the electronic device of the user who triggered the invitation may send the most recently modified target file to the electronic device of the friend user.
  • the sharing control methods shown in the above-mentioned method drawings are all exemplified in conjunction with a drawing in the embodiment of the present invention.
  • the sharing control method shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
  • an embodiment of the present invention provides an electronic device 150.
  • the electronic device 150 may be a first electronic device, and the electronic device may include a sharing module 151.
  • the sharing module 151 can be used to stop sharing the first object with the second electronic device if the first screen area meets the target condition when the first object is shared with the second electronic device through the first screen area;
  • the condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content can be the content in the first object, the second content and
  • the third content may be any content other than the first object.
  • the above-mentioned electronic device 150 may further include a first receiving module 152.
  • the first receiving module 152 may be used to receive a user's first input, and the first input may be an input that triggers sharing of the first object; the sharing module 151 may also be used to respond to the first input received by the first receiving module 152, The first object is shared with the second electronic device through the first screen area.
  • the foregoing first input may include a user's first sub-input to the first object and a second sub-input to the target control, and the target control may Used to trigger shared objects;
  • the above-mentioned sharing module 151 may include: a display sub-module and a sharing sub-module.
  • the display sub-module can be used to select the first object in response to the first sub-input and display the target control; and in response to the second sub-input, the first content is displayed in the first screen area; the sharing sub-module can be used to In response to the second sub-input, the first content in the first object displayed by the display sub-module is shared with the second electronic device.
  • the above-mentioned sharing module 151 can also be used to stop sharing the first object with the second electronic device, if the display submodule cancels the display of the third content displayed in the first screen area or changes the display of the third content displayed in the first screen area.
  • the second content is updated to the first content, the first object is shared with the second electronic device again.
  • the foregoing electronic device 150 may further include a processing module 153 and a second receiving module 154.
  • the second receiving module 154 can be used to receive the target instruction sent by the second electronic device when the sharing module 151 shares the first object with the second electronic device; the processing module 153 can be used to receive according to the second receiving module 154 The target instruction to modify the first content or adjust the output parameters of the first content.
  • the aforementioned sharing module 151 may also be used to share the first content adjusted output parameter with the second electronic device after the processing module 153 modifies the first content or adjusts the output parameter of the first content. content.
  • the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area satisfies the target condition, the first electronic device can stop sending the first object to the second electronic device. 2.
  • the electronic device shares the first object; where the target condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; where the first content Is the content in the first object, and the second content and the third content are arbitrary content except the first object.
  • the first electronic device shares the first object with the second electronic device
  • the content shared by the first electronic device with the second electronic device is covered by content other than the first object, or the sharing
  • the first electronic device since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object with the second electronic device.
  • Contents other than the object so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer’s private information is not leaked.
  • an embodiment of the present invention provides an electronic device 180.
  • the electronic device 180 may be a second electronic device.
  • the electronic device 180 may include: a receiving module 181, a display module 182, a generating module 183, and a sending module 184 .
  • the receiving module 181 may be used to receive the first image sent by the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area, and the first image may be the first screen area
  • the display module 182 can be used to display the first image received by the receiving module 181;
  • the receiving module 181 can also be used to receive the user's target input for the first image displayed by the display module 182;
  • the generation module 183 can be used to generate a target instruction according to the target input received by the receiving module 181;
  • the sending module 184 can be used to send the target instruction generated by the generation module 183 to the first electronic device; wherein, the target instruction can be used to instruct the first electronic device
  • the device modifies the first content or adjusts the output parameters of the first content.
  • the target input may be the user's input on the first image, or the target input may be the user's input to the function control displayed on the second electronic device.
  • the above-mentioned receiving module 181 may also be used to receive the second image sent by the first electronic device after the sending module 184 sends the target instruction to the first electronic device; the display module 182 may also The first image used to update the first image may be the second image received by the receiving module 181, and the second image may be the image of the first screen area after the first electronic device executes the target instruction on the first content.
  • An embodiment of the present invention provides an electronic device, the terminal device may be a second terminal device, and the second terminal device may receive the first object when the first electronic device shares the first object with the second electronic device through the first screen area.
  • An electronic device sends a first image, and displays the first image (the image when the first content is displayed for the first screen area); and receives the user's target input for the first image; and according to the target input, generates an instruction for the first image
  • An electronic device modifies the first content or adjusts the target instruction of the output parameter of the first content, and sends the target instruction to the first electronic device; after the first electronic device receives the target instruction, the first electronic device can modify the first electronic device according to the target instruction.
  • the second user ie, the user of the second electronic device
  • the first user operates to trigger the modification or adjustment on the first electronic device, thus simplifying the process of triggering the modification of the shared content and triggering the adjustment of the output parameters of the shared content, and improves the human-computer interaction performance.
  • the electronic device 180 provided in the embodiment of the present invention can implement each process implemented by the second electronic device shown in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • FIG. 19 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , Processor 110, and power supply 111 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 19 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 110 is configured to share the first object with the second electronic device through the first screen area, if the first screen area If the target condition is met, the sharing of the first object with the second electronic device is stopped; where the target condition is any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area.
  • the first content is the content in the first object, the second content and the third content are any content except the first object.
  • the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area satisfies the target condition, the first electronic device can stop sending the first object to the second electronic device. 2.
  • the electronic device shares the first object; where the target condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; where the first content Is the content in the first object, and the second content and the third content are arbitrary content except the first object.
  • the first electronic device shares the first object with the second electronic device
  • the content shared by the first electronic device with the second electronic device is covered by content other than the first object, or the sharing
  • the first electronic device since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object with the second electronic device.
  • Contents other than the object so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer’s private information is not leaked.
  • An embodiment of the present invention provides an electronic device, the terminal device may be a second terminal device, and the second terminal device may receive the first object when the first electronic device shares the first object with the second electronic device through the first screen area.
  • An electronic device sends a first image, and displays the first image (the image when the first content is displayed for the first screen area); and receives the user's target input for the first image; and according to the target input, generates an instruction for the first image
  • An electronic device modifies the first content or adjusts the target instruction of the output parameter of the first content, and sends the target instruction to the first electronic device; after the first electronic device receives the target instruction, the first electronic device can modify the first electronic device according to the target instruction.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the interface unit 108 is an interface for connecting an external device and the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention further provides an electronic device, including a processor 110 as shown in FIG. 19, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer
  • the program is executed by the processor 110, each process of the foregoing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present invention also provides a sharing control device/equipment, including the device/equipment configured to execute the sharing control method in the foregoing method embodiment.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a sharing control method and an electronic device, which relate to the technical field of communications, and are used for solving the problem of the leakage of private information of a sharer as a result of sharing a screen. The solution comprises: where a first electronic device shares, by means of a first screen area, a first object with a second electronic device, if the first screen area satisfies a target condition, stopping the sharing of the first object with the second electronic device, wherein the target condition is any one of the following: updating a first content displayed in the first screen area to a second content, and displaying a third content in the first screen area, wherein the first content is the content in the first object, and the second content and the third content are any content other than the first object.

Description

共享控制方法及电子设备Sharing control method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年11月15日在中国提交的中国专利申请号No.201911117941.2的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911117941.2 filed in China on November 15, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种共享控制方法及电子设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a sharing control method and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的功能越来越丰富。例如,可以通过屏幕共享技术将一个电子设备的一个屏幕区域上显示的内容实时共享给其它电子设备,即可以通过共享屏幕区域,实现该屏幕区域内显示的内容的共享。With the development of communication technology, the functions of electronic devices are becoming more and more abundant. For example, the content displayed on a screen area of an electronic device can be shared with other electronic devices in real time through screen sharing technology, that is, the content displayed in the screen area can be shared by sharing the screen area.
然而,由于内容的共享是基于共享显示该内容的屏幕区域实现的,因此该屏幕区域中显示的所有内容均会被共享。例如,假设在电子设备1的用户通过电子设备1的屏幕区域1向电子设备2共享一个视频的过程中,若该屏幕区域1上叠加显示一个聊天界面,则电子设备1可以将该聊天界面也共享给电子设备2。However, since content sharing is realized based on sharing the screen area where the content is displayed, all the content displayed in the screen area will be shared. For example, suppose that when a user of electronic device 1 shares a video with electronic device 2 through screen area 1 of electronic device 1, if a chat interface is superimposed on screen area 1, electronic device 1 can also use the chat interface. Share to electronic device 2.
如此,按照上述方法,由于共享者的电子设备(例如上述电子设备1)可以将共享屏幕区域(例如上述屏幕区域1)内显示的所有内容均共享给其他用户,因此可能导致共享者的隐私信息被泄露。In this way, according to the above method, since the sharer’s electronic device (such as the above electronic device 1) can share all the content displayed in the shared screen area (such as the above screen area 1) with other users, this may result in the sharer’s private information Was leaked.
发明内容Summary of the invention
本发明实施例提供一种共享控制方法及电子设备,以解决因共享屏幕导致共享者的隐私信息被泄露的问题。The embodiments of the present invention provide a sharing control method and an electronic device to solve the problem that the private information of the sharer is leaked due to the sharing of the screen.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本发明实施例提供了一种共享控制方法,该方法可以应用于第一电子设备,该方法包括:在通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则停止向第二电子设备共享第一对象;其中,目标条件为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。In the first aspect, an embodiment of the present invention provides a sharing control method, which can be applied to a first electronic device, and the method includes: in the case of sharing a first object with a second electronic device through a first screen area, if If the first screen area meets the target condition, the sharing of the first object with the second electronic device is stopped; where the target condition is any one of the following: update the first content displayed in the first screen area to the second content, The area displays the third content; the first content is the content in the first object, and the second content and the third content are any content except the first object.
第二方面,本发明实施例提供了一种共享控制方法,该方法可以应用于第二电子设备,该方法包括:在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,接收第一电子设备发送的第一图像,并显示第一图像;且接收用户针对第一图像的目标输入;并根据目标输入,生成目标指令,并向第一电子设备发送目标指令;其中,第一图像为第一屏幕区域显示第一内容时的图像;目标指令用于指示第一电子设备修改第一内容或调整第一内容的输出参数;其中,目标输入为在第一图像上的输入,或者,目标输入为对第二电子设备显示的功能控件的输入。In a second aspect, an embodiment of the present invention provides a sharing control method, which can be applied to a second electronic device, and the method includes: sharing the information of the first object with the second electronic device through the first screen area on the first electronic device. In this case, receiving the first image sent by the first electronic device and displaying the first image; and receiving the user's target input for the first image; and according to the target input, generating the target instruction, and sending the target instruction to the first electronic device; The first image is the image when the first content is displayed in the first screen area; the target instruction is used to instruct the first electronic device to modify the first content or adjust the output parameters of the first content; wherein, the target input is on the first image Or, the target input is an input to a functional control displayed on the second electronic device.
第三方面,本发明实施例提供了一种电子设备,该电子设备可以为第一电子设备,该电子设备包括共享模块。共享模块,用于在通过第一屏幕区域向第二电子设备共享 第一对象的情况下,若第一屏幕区域满足目标条件,则停止向第二电子设备共享第一对象;其中,目标条件为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。In a third aspect, an embodiment of the present invention provides an electronic device. The electronic device may be a first electronic device, and the electronic device includes a sharing module. The sharing module is used to stop sharing the first object with the second electronic device if the first screen area meets the target condition when the first object is shared with the second electronic device through the first screen area; wherein the target condition is Any one of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content is the content in the first object, the second content and the third content are Anything except the first object.
第四方面,本发明实施例提供了一种电子设备,该电子设备可以为第二电子设备,该电子设备包括:接收模块、显示模块、生成模块和发送模块。接收模块,用于在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,接收第一电子设备发送的第一图像;显示模块,用于显示接收模块接收的第一图像,第一图像为第一屏幕区域显示第一内容时的图像;接收模块,还用于接收用户针对显示模块显示的第一图像的目标输入;生成模块,用于根据接收模块接收的目标输入,生成目标指令;发送模块,用于向第一电子设备发送生成模块生成的目标指令;其中,目标指令用于指示第一电子设备修改第一内容或调整第一内容的输出参数;目标输入为在第一图像上的输入,或者,目标输入为对第二电子设备显示的功能控件的输入。In a fourth aspect, an embodiment of the present invention provides an electronic device. The electronic device may be a second electronic device. The electronic device includes: a receiving module, a display module, a generating module, and a sending module. The receiving module is used to receive the first image sent by the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area; the display module is used to display the first image received by the receiving module An image, the first image is the image when the first content is displayed in the first screen area; the receiving module is also used to receive the user's target input for the first image displayed by the display module; the generating module is used to receive the target according to the receiving module Input to generate a target instruction; a sending module for sending the target instruction generated by the generating module to the first electronic device; wherein the target instruction is used to instruct the first electronic device to modify the first content or adjust the output parameters of the first content; target input It is an input on the first image, or the target input is an input to a function control displayed on the second electronic device.
第五方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时可以实现上述第一方面的共享控制方法的步骤。In the fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor. The computer program can implement the above-mentioned first aspect when the computer program is executed by the processor. Shared control method steps.
第六方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时可以实现上述第二方面的共享控制方法的步骤。In a sixth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, the above-mentioned second aspect can be implemented. Shared control method steps.
第七方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时可以实现上述第一方面或第二方面的共享控制方法的步骤。In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the sharing control of the first aspect or the second aspect can be realized. Method steps.
第八方面,本发明实施例提供了一种共享控制装置/设备,包括所述装置/设备被配置成用于执行如上述第一方面或第二方面的共享控制方法。In an eighth aspect, an embodiment of the present invention provides a sharing control device/equipment, including the device/equipment configured to execute the sharing control method of the first aspect or the second aspect described above.
在本发明实施例中,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则第一电子设备可以停止向第二电子设备共享第一对象;其中,目标条件可以为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。通过该方案,在第一电子设备向第二电子设备共享第一对象的过程中,当第一电子设备向第二电子设备共享的内容被除第一对象之外的其它内容覆盖,或者该共享的内容被更新为除第一对象之外的其它内容时,由于第一电子设备可以停止向第二电子设备共享该第一对象,因此可以避免第一电子设备向第二电子设备共享除第一对象之外的其他内容,从而可以在共享者通过其电子设备向被共享者共享对象的情况下,保证共享者的隐私信息不被泄露。In the embodiment of the present invention, in the case that the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area meets the target condition, the first electronic device can stop sharing the first object with the second electronic device. The device shares the first object; the target condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content is the first object The content in, the second content and the third content are arbitrary content except the first object. With this solution, when the first electronic device shares the first object with the second electronic device, when the content shared by the first electronic device with the second electronic device is covered by content other than the first object, or the sharing When the content of is updated to content other than the first object, since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object with the second electronic device. Contents other than the object, so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer’s private information is not leaked.
附图说明Description of the drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的共享控制方法的示意图之一;FIG. 2 is one of the schematic diagrams of a sharing control method provided by an embodiment of the present invention;
图3为本发明实施例提供的共享控制方法应用的界面示意图之一;3 is one of the schematic diagrams of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图4为本发明实施例提供的共享控制方法应用的界面示意图之二;4 is the second schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图5为本发明实施例提供的共享控制方法应用的界面示意图之三;5 is the third schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图6为本发明实施例提供的共享控制方法的示意图之二;Fig. 6 is a second schematic diagram of a sharing control method provided by an embodiment of the present invention;
图7为本发明实施例提供的共享控制方法应用的界面示意图之四;FIG. 7 is the fourth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图8为本发明实施例提供的共享控制方法应用的界面示意图之五;FIG. 8 is the fifth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图9为本发明实施例提供的共享控制方法的示意图之三;FIG. 9 is a third schematic diagram of a sharing control method provided by an embodiment of the present invention;
图10为本发明实施例提供的共享控制方法应用的界面示意图之六;10 is the sixth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图11为本发明实施例提供的共享控制方法的示意图之四;FIG. 11 is a fourth schematic diagram of a sharing control method provided by an embodiment of the present invention;
图12为本发明实施例提供的共享控制方法应用的界面示意图之七;12 is the seventh schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图13为本发明实施例提供的共享控制方法应用的界面示意图之八;FIG. 13 is the eighth schematic diagram of the interface of the application of the sharing control method provided by the embodiment of the present invention;
图14为本发明实施例提供的共享控制方法的示意图之五;FIG. 14 is a fifth schematic diagram of a sharing control method provided by an embodiment of the present invention;
图15为本发明实施例提供的电子设备的结构示意图之一;15 is one of the structural schematic diagrams of the electronic device provided by the embodiment of the present invention;
图16为本发明实施例提供的电子设备的结构示意图之二;16 is the second structural diagram of an electronic device provided by an embodiment of the present invention;
图17为本发明实施例提供的电子设备的结构示意图之三;FIG. 17 is the third structural diagram of an electronic device provided by an embodiment of the present invention;
图18为本发明实施例提供的电子设备的结构示意图之四;18 is a fourth structural diagram of an electronic device provided by an embodiment of the present invention;
图19为本发明实施例提供的电子设备的硬件示意图。FIG. 19 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本文中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一电子设备和第二电子设备等是用于区别不同的电子设备,而不是用于描述界面的特定顺序。The terms "first" and "second" in this document are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first electronic device and the second electronic device are used to distinguish different electronic devices, rather than to describe a specific order of interfaces.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiment of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "plurality" means two or more than two, for example, a plurality of elements means two or more elements and so on.
本发明实施例提供一种共享控制方法及电子设备,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则第一电子设备可以停止向第二电子设备共享第一对象;其中,目标条件可以为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;其中,第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。通过该方案,在第一电子设备向第二电子设备共享第一对象的过程中,当第一电子设备向第二电子设备共享的内容被除第一对象之外的其它内容覆盖或者该共享的 内容被更新为除第一对象之外的其它内容时,由于第一电子设备可以停止向第二电子设备共享第一对象,因此可以避免第一电子设备向第二电子设备共享除第一对象之外的其它内容,从而可以在共享者通过电子设备向被共享者共享对象的情况下,保证共享者的隐私信息不被泄露。Embodiments of the present invention provide a sharing control method and electronic device. In the case that the first electronic device shares a first object with a second electronic device through a first screen area, if the first screen area meets the target condition, the first electronic device The device may stop sharing the first object with the second electronic device; wherein the target condition may be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; Among them, the first content is the content in the first object, and the second content and the third content are any content other than the first object. With this solution, when the first electronic device shares the first object with the second electronic device, when the content shared by the first electronic device with the second electronic device is covered by other content except the first object or the shared content When the content is updated to content other than the first object, since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the content other than the first object with the second electronic device. In this way, it is possible to ensure that the private information of the sharer is not leaked when the sharer uses the electronic device to share the object with the shareee.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍本发明实施例提供的共享控制方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the sharing control method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。示例性的,应用程序层可以包括本发明实施例中的共享应用程序(即共享应用)。第一电子设备可以通过该共享应用向第二电子设备共享内容,例如共享第一对象。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system. Exemplarily, the application layer may include the shared application (that is, the shared application) in the embodiment of the present invention. The first electronic device can share content with the second electronic device through the sharing application, for example, sharing the first object.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
一般,本发明实施例中的应用程序可以包括两部分,以共享应用程序为例,一部分是指运行在电子设备后台的服务(service),用于检测用户触发的输入,确定共享对象(例如本发明实施例中的第一对象);另一部分是指显示在电子设备屏幕上的内容,例如第一电子设备屏幕上显示的用于显示共享内容的共享窗口。Generally, the application in the embodiment of the present invention may include two parts. Taking a shared application as an example, one part refers to a service running in the background of an electronic device, which is used to detect user-triggered input and determine the shared object (such as this The first object in the embodiment of the invention); the other part refers to the content displayed on the screen of the electronic device, such as a sharing window displayed on the screen of the first electronic device for displaying shared content.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的共享控制方法的软件程序,从而使得该共享控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的共享控制方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program that implements the sharing control method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The control method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the sharing control method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc., the non-mobile terminal may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
本发明实施例提供的共享控制方法的执行主体可以为上述的电子设备,也可以为 该电子设备中能够实现该共享控制方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的共享控制方法进行示例性的说明。The execution subject of the sharing control method provided in the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the sharing control method, and the specifics may be determined according to actual usage requirements. The embodiments of the present invention are not limited. In the following, an electronic device is taken as an example to illustrate the sharing control method provided by the embodiment of the present invention.
本发明实施例中,当一个用户(以下可以称为第一用户)需求向另一个用户(以下可以称为第二用户)共享第一用户的电子设备(以下可以称为电子设备A)中的某个/某些对象(以下可以称为对象M)时,第一用户可以触发电子设备A通过一个屏幕区域(例如本发明实施例中的第一屏幕区域)向第二用户的电子设备(以下可以称为电子设备B)共享该对象M,从而第二电子设备可以显示该对象M的内容,如此,可以实现第一用户向第二用户共享该对象M。具体的,电子设备A可以在该屏幕区域显示该对象M中的内容,并对该屏幕区域截屏,以得到该屏幕区域的图像,并向电子设备B实时发送该屏幕区域的图像,电子设备B接收到该屏幕区域的图像之后,可以显示该屏幕区域的图像。从而,可以实现电子设备A向电子设备B共享该对象M,进而实现第一用户向第二用户共享该对象M。In the embodiment of the present invention, when a user (hereinafter may be referred to as the first user) needs to share the electronic device of the first user (hereinafter may be referred to as electronic device A) with another user (hereinafter may be referred to as the second user) When a certain/certain object (hereinafter may be referred to as object M), the first user can trigger the electronic device A to pass a screen area (for example, the first screen area in the embodiment of the present invention) to the second user's electronic device (hereinafter It can be called the electronic device B) to share the object M, so that the second electronic device can display the content of the object M, so that the first user can share the object M with the second user. Specifically, the electronic device A may display the content in the object M in the screen area, and take a screenshot of the screen area to obtain an image of the screen area, and send the image of the screen area to the electronic device B in real time, and the electronic device B After receiving the image of the screen area, the image of the screen area can be displayed. Thus, the electronic device A can share the object M with the electronic device B, and the first user can share the object M with the second user.
在第一用户通过电子设备A向第二用户共享对象的过程中,为了避免第一用户的隐私信息被泄露,本发明实施例可以在电子设备A通过上述屏幕区域向电子设备B共享上述对象M的过程中,当电子设备A将该屏幕区域显示的该对象M的内容更新为除该对象M之外的其它内容,或者在该屏幕区域显示除该对象M之外的其它内容时,电子设备A可以停止向电子设备B共享该对象M,即停止共享过程。如此,可以避免电子设备A向电子设备B共享除对象M之外的其他内容,从而可以在共享者通过其电子设备向被共享者共享对象的情况下,保证共享者的隐私信息不被泄露。In the process that the first user shares the object with the second user through the electronic device A, in order to prevent the first user’s private information from being leaked, the embodiment of the present invention may share the object M with the electronic device B on the electronic device A through the above-mentioned screen area. In the process, when the electronic device A updates the content of the object M displayed in the screen area to content other than the object M, or displays content other than the object M in the screen area, the electronic device A A can stop sharing the object M with the electronic device B, that is, stop the sharing process. In this way, it is possible to prevent the electronic device A from sharing content other than the object M with the electronic device B, thereby ensuring that the sharer's private information is not leaked when the sharer shares the object with the shareee through his electronic device.
下面具体结合各个附图对本发明实施例提供的共享控制方法进行示例性的描述。Hereinafter, the sharing control method provided by the embodiment of the present invention will be exemplarily described in detail with reference to the respective drawings.
如图2所示,本发明实施例提供一种共享控制方法,该方法可以包括下述的S201和S202。As shown in FIG. 2, an embodiment of the present invention provides a sharing control method. The method may include the following S201 and S202.
S201、第一电子设备通过第一屏幕区域向第二电子设备共享第一对象。S201: The first electronic device shares the first object with the second electronic device through the first screen area.
本发明实施例中,第一电子设备可以根据第一对象中的内容在第一电子设备的屏幕上的显示区域,确定第一屏幕区域,然后第一电子设备可以实时对第一屏幕区域截屏,以得到第一屏幕区域的图像,且实时向第二电子设备发送第一屏幕区域的图像,如此即可以实现通过第一屏幕区域向第二电子设备共享第一对象。In the embodiment of the present invention, the first electronic device may determine the first screen area according to the display area of the content in the first object on the screen of the first electronic device, and then the first electronic device may take a screenshot of the first screen area in real time. In order to obtain the image of the first screen area, and send the image of the first screen area to the second electronic device in real time, the first object can be shared with the second electronic device through the first screen area.
可选的,本发明实施例中,第一电子设备可以在第一电子设备上安装的共享应用程序(以下可以称为共享应用)的一个窗口(以下可以称为共享窗口)中显示第一对象中的内容,即第一电子设备可以通过共享窗口向用户展示第一对象中的内容。可以理解,本发明实施例中,上述第一屏幕区域可以为该共享窗口在第一电子设备的屏幕上所处的区域。Optionally, in the embodiment of the present invention, the first electronic device may display the first object in a window (hereinafter may be called a shared window) of a shared application (hereinafter may be referred to as a shared application) installed on the first electronic device The content in the first object, that is, the first electronic device can show the content in the first object to the user through the sharing window. It can be understood that, in this embodiment of the present invention, the above-mentioned first screen area may be an area where the shared window is located on the screen of the first electronic device.
可选的,本发明实施例中,第二电子设备可以通过其安装的共享应用接收第一电子设备发送的第一屏幕区域的图像,并在该共享应用的共享窗口中显示其接收的图像。如此,第二电子设备的用户可以通过第二电子设备实时查看第一屏幕区域中显示的第一对象中的内容。Optionally, in this embodiment of the present invention, the second electronic device may receive the image of the first screen area sent by the first electronic device through the shared application installed by the second electronic device, and display the received image in the sharing window of the shared application. In this way, the user of the second electronic device can view the content in the first object displayed in the first screen area through the second electronic device in real time.
可选的,本发明实施例中,第一对象可以为图片、视频、应用程序(即应用)或文件等任意可能的对象,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the first object may be any possible object such as a picture, video, application (ie application), or file, etc., which may be specifically determined according to actual usage requirements, and the embodiment of the present invention does not limit it.
需要说明的是,当上述第一对象为视频时,第一电子设备在通过第一屏幕区域向第二电子设备共享该视频中的视频画面的过程中,还可以向第二电子设备共享与该视频画面对应的音频。It should be noted that, when the above-mentioned first object is a video, the first electronic device may also share the video screen in the video with the second electronic device through the first screen area and the second electronic device. The audio corresponding to the video screen.
可选的,本发明实施例中,第二电子设备的数量可以为一个,也可以为多个,即第一电子设备可以向一个电子设备共享第一对象,也可以向多个电子设备共享第一对象,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the number of the second electronic device may be one or multiple, that is, the first electronic device may share the first object with one electronic device, or may share the first object with multiple electronic devices. An object can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
为了更好地说明本发明实施例的各种实现方式,除特别说明之外,本发明实施例中提到的第二电子设备均未限定其数量,即本发明实施例中提到的第二电子设备可以为一个第二电子设备,也可以为多个第二电子设备。In order to better illustrate the various implementation manners of the embodiments of the present invention, unless otherwise specified, the number of the second electronic devices mentioned in the embodiments of the present invention is not limited, that is, the second electronic devices mentioned in the embodiments of the present invention are not limited in number. The electronic device may be one second electronic device or multiple second electronic devices.
S202、在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则第一电子设备停止向第二电子设备共享第一对象。S202. In the case where the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area meets the target condition, the first electronic device stops sharing the first object with the second electronic device.
可选的,本发明实施例中,上述目标条件可以为以下任意一项:第一电子设备将第一屏幕区域显示的第一内容更新为第二内容(一种可能的实现方式),第一电子设备在第一屏幕区域显示第三内容(另一种可能的实现方式)。Optionally, in the embodiment of the present invention, the above-mentioned target condition may be any one of the following: the first electronic device updates the first content displayed on the first screen area to the second content (a possible implementation), and the first The electronic device displays the third content in the first screen area (another possible implementation manner).
其中,上述第一内容为第一对象中的内容,上述第二内容和上述第三内容可以为除第一对象之外的任意内容。The above-mentioned first content is the content in the first object, and the above-mentioned second content and the above-mentioned third content may be any content other than the first object.
可选的,本发明实施例中,上述第二内容和第三内容可以为推送消息、会话消息、视频、图片、文档或界面等任意可能的内容,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the foregoing second content and third content may be any possible content such as push messages, conversation messages, videos, pictures, documents, or interfaces, etc., which can be specifically determined according to actual usage requirements. The implementation of the present invention The examples are not limited.
可选的,本发明实施例中,上述第一屏幕区域可以为第一电子设备向第二电子设备共享第一对象的过程中,第一对象中的内容(例如第一内容)在第一电子设备的屏幕上所显示的区域。Optionally, in the embodiment of the present invention, the above-mentioned first screen area may be a process in which the first electronic device shares the first object with the second electronic device, and the content in the first object (for example, the first content) is in the first electronic device. The area displayed on the screen of the device.
可以理解,在第一电子设备向第二电子设备共享第一对象的过程中,若第一对象中的内容在第一电子设备的屏幕上的显示区域发生变化,则第一屏幕区域也相应发生变化,即第一对象中的内容显示在电子设备的屏幕上的哪个区域,哪个区域即为本发明实施例中的第一屏幕区域。It can be understood that when the first electronic device shares the first object with the second electronic device, if the content in the first object changes in the display area on the screen of the first electronic device, the first screen area also occurs accordingly. The change, that is, in which area on the screen of the electronic device the content in the first object is displayed, and which area is the first screen area in the embodiment of the present invention.
例如,假设第一电子设备的屏幕包括两个区域,那么如图3中的(a)所示,若第一对象中的第一内容的显示区域30位于区域31中,则第一电子设备可以将区域31作为第一屏幕区域。如图3中的(b)所示,若第一电子设备将第一内容更新显示到区域32内,即此时第一内容的显示区域30位于区域32中,那么,第一电子设备可以将区域32作为第一屏幕区域。For example, assuming that the screen of the first electronic device includes two areas, as shown in Figure 3(a), if the display area 30 of the first content in the first object is located in the area 31, the first electronic device can Let area 31 be the first screen area. As shown in Figure 3(b), if the first electronic device updates and displays the first content in the area 32, that is, the display area 30 of the first content is located in the area 32 at this time, then the first electronic device can display Area 32 serves as the first screen area.
可选的,本发明实施例中,实际实现中,第一屏幕区域的尺寸可以大于或等于第一内容在第一电子设备的屏幕上的显示尺寸。Optionally, in this embodiment of the present invention, in actual implementation, the size of the first screen area may be greater than or equal to the display size of the first content on the screen of the first electronic device.
具体的,当第一屏幕区域的尺寸等于第一内容在第一电子设备的屏幕上的显示尺寸时,第一屏幕区域即为第一内容在第一电子设备的屏幕上的显示区域,例如,第一屏幕区域可以为图3中的(a)中的30所示的区域;当第一屏幕区域的尺寸大于第一内容在第一电子设备的屏幕上的显示尺寸时,第一屏幕区域可以包括第一内容在屏幕上的显示区域和该显示区域附近的空白区域,例如,第一屏幕区域可以为图3中的(a)中31所示的区域或图3中的(b)中32所示的区域(即包括30所示的区域及其附近 的空白区域)。Specifically, when the size of the first screen area is equal to the display size of the first content on the screen of the first electronic device, the first screen area is the display area of the first content on the screen of the first electronic device, for example, The first screen area may be the area shown by 30 in Figure 3(a); when the size of the first screen area is larger than the display size of the first content on the screen of the first electronic device, the first screen area may It includes the display area of the first content on the screen and the blank area near the display area. For example, the first screen area may be the area shown in 31 in (a) of FIG. 3 or 32 in (b) of FIG. 3 The area shown (that is, the area shown by 30 and the blank area near it are included).
本发明实施例中,若第一电子设备停止向第二电子设备共享第一对象,则第一电子设备可以停止对第一屏幕区域截屏,并停止向第二电子设备发送第一屏幕区域的图像。In the embodiment of the present invention, if the first electronic device stops sharing the first object with the second electronic device, the first electronic device can stop taking screenshots of the first screen area and stop sending the image of the first screen area to the second electronic device .
可选的,本发明实施例中,在第一电子设备停止向第二电子设备共享第一对象之后,第二电子设备中可以保持显示第二电子设备最后一次接收到的图像,即第一电子设备最后一次发送的第一屏幕区域的图像。Optionally, in this embodiment of the present invention, after the first electronic device stops sharing the first object with the second electronic device, the second electronic device may keep displaying the last image received by the second electronic device, that is, the first electronic device. The last image of the first screen area sent by the device.
可选的,本发明实施例中,在上述一种可能的实现方式,即目标条件为第一电子设备将第一屏幕区域显示的第一内容更新为第二内容中,第一电子设备将第一屏幕区域中显示的第一内容更新为第二内容,可以包括下述两种情况:Optionally, in the embodiment of the present invention, in the foregoing possible implementation manner, that is, the target condition is that the first electronic device updates the first content displayed in the first screen area to the second content, the first electronic device updates the first content The update of the first content displayed in a screen area to the second content may include the following two situations:
情况一、第一电子设备退出共享应用,即第一电子设备结束共享应用的运行或将共享应用切换到后台运行。Case 1: The first electronic device exits the shared application, that is, the first electronic device ends the running of the shared application or switches the shared application to run in the background.
情况二、第一电子设备将共享窗口更新为共享应用中、除共享窗口之外的其它内容(例如,共享应用的另一个界面),此时,第一电子设备可以保持在前台运行共享应用。Case 2: The first electronic device updates the shared window to other content in the shared application except for the shared window (for example, another interface of the shared application). At this time, the first electronic device can keep the shared application running in the foreground.
可以理解,在上述情况一和上述情况二中,第一电子设备均可以取消显示共享窗口,其中,第一电子设备取消显示共享窗口之后,第一电子设备的屏幕上不再显示第一对象中的任何内容。It can be understood that in both the above-mentioned case 1 and the above-mentioned case 2, the first electronic device may cancel displaying the shared window, wherein after the first electronic device cancels displaying the shared window, the first object is no longer displayed on the screen of the first electronic device Any content.
示例性的,假设第一对象为一张图片,那么如图4中的(a)所示,第一电子设备可以在共享应用的共享窗口40中显示该图片41;在上述情况一中,如图4中的(b)所示,若第一电子设备取消显示共享窗口,并显示第一电子设备的桌面42,则第一电子设备可以确定第一电子设备退出共享应用,即第一屏幕区域满足上述目标条件,从而第一电子设备可以停止向第二电子设备共享第一对象。在上述情况二中,如图4中的(c)所示,若第一电子设备取消显示共享窗口,且显示共享应用的主界面43,则第一电子设备可以确定将共享窗口更新为共享应用的其它内容,那么第一电子设备可以停止向第二电子设备共享第一对象。Exemplarily, assuming that the first object is a picture, as shown in (a) in FIG. 4, the first electronic device may display the picture 41 in the sharing window 40 of the shared application; in the above case 1, such as As shown in (b) of FIG. 4, if the first electronic device cancels the display of the sharing window and displays the desktop 42 of the first electronic device, the first electronic device can determine that the first electronic device exits the shared application, that is, the first screen area The above-mentioned target condition is satisfied, so that the first electronic device can stop sharing the first object with the second electronic device. In the second case above, as shown in Figure 4(c), if the first electronic device cancels displaying the shared window and displays the main interface 43 of the shared application, the first electronic device may determine to update the shared window to the shared application , Then the first electronic device can stop sharing the first object with the second electronic device.
可选的,本发明实施例中,在上述另一种可能的实现方式,即目标条件为第一电子设备在第一屏幕区域显示第三内容中,上述第三内容可以为叠加显示在第一内容上的内容,或者,可以为显示在第一屏幕区域中,除第一内容所在区域之外的其它区域(例如,可以为第一屏幕区域中,显示第三内容前的空白区域)的内容。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, in another possible implementation manner of the foregoing, that is, the target condition is that the first electronic device displays the third content in the first screen area, and the foregoing third content may be superimposed and displayed on the first screen area. The content on the content, or, may be the content displayed in the first screen area, except for the area where the first content is located (for example, it may be the blank area in the first screen area before the third content is displayed) . Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
例如,假设第一对象为文档,即第一屏幕区域中显示的第一内容为文本内容,且第三内容为视频请求消息,那么如图5中的(a)所示,第一电子设备可以在第一屏幕区域50中显示第一对象中的文本内容51,且第一屏幕区域50中存在未显示任何内容的区域52,如图5中的(b)所示,若视频请求消息53叠加显示在文本内容51上,则第一电子设备可以确定该视频请求消息53为在第一屏幕区域50显示的第三内容,从而第一电子设备可以停止向第二电子设备共享第一对象;或者,如图5中的(c)所示,若视频请求消息53显示在第一屏幕区域50中的区域52处,则第一电子设备也可以确定该视频请求消息53为在第一屏幕区域50显示的第三内容,从而第一电子设备 可以停止向第二电子设备共享第一对象。For example, assuming that the first object is a document, that is, the first content displayed in the first screen area is text content, and the third content is a video request message, then as shown in FIG. 5(a), the first electronic device may The text content 51 in the first object is displayed in the first screen area 50, and there is an area 52 that does not display any content in the first screen area 50, as shown in (b) of FIG. 5, if the video request message 53 is superimposed Displayed on the text content 51, the first electronic device can determine that the video request message 53 is the third content displayed in the first screen area 50, so that the first electronic device can stop sharing the first object with the second electronic device; or 5(c), if the video request message 53 is displayed at the area 52 in the first screen area 50, the first electronic device may also determine that the video request message 53 is in the first screen area 50. The third content is displayed so that the first electronic device can stop sharing the first object with the second electronic device.
本发明实施例提供的共享控制方法中,在第一电子设备向第二电子设备共享第一对象的过程中,当第一电子设备向第二电子设备共享的内容被除第一对象之外的其它内容覆盖,或者该共享的内容被更新为除第一对象之外的其它内容时,由于第一电子设备可以停止向第二电子设备共享第一对象,因此可以避免第一电子设备向第二电子设备共享除第一对象之外的其它内容,从而可以在共享者通过其电子设备向被共享者共享对象的情况下,保证共享者的隐私信息不被泄露。In the sharing control method provided by the embodiment of the present invention, when the first electronic device shares the first object with the second electronic device, when the content shared by the first electronic device with the second electronic device is excluded from the first object When other content is overwritten, or the shared content is updated to content other than the first object, since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object to the second electronic device. The electronic device shares content other than the first object, so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer's private information is not leaked.
可选的,本发明实施例中,第一电子设备的用户可以通过一个输入触发第一电子设备通过一个屏幕区域(例如上述第一屏幕区域)向第二电子设备共享对象(例如上述第一对象)。Optionally, in this embodiment of the present invention, the user of the first electronic device can trigger the first electronic device to share an object (for example, the first object) with the second electronic device through a screen area (for example, the first screen area) through an input. ).
示例性的,结合上述图2,如图6所示,在上述S201之前,本发明实施例提供的共享控制方法还可以包括下述的S200。其中,上述S201具体可以通过下述的S201a实现。Exemplarily, in conjunction with the foregoing FIG. 2, as shown in FIG. 6, before the foregoing S201, the sharing control method provided in the embodiment of the present invention may further include the following S200. Among them, the above S201 can be specifically implemented by the following S201a.
S200、第一电子设备接收用户的第一输入。S200. The first electronic device receives a user's first input.
S201a、第一电子设备响应于第一输入,通过第一屏幕区域向第二电子设备共享第一对象。S201a: In response to the first input, the first electronic device shares the first object with the second electronic device through the first screen area.
其中,上述第一输入可以为用户触发共享第一对象的输入。Wherein, the above-mentioned first input may be an input for the user to trigger the sharing of the first object.
本发明实施例中,第一电子设备可以为共享者的电子设备(例如上述电子设备A),第一电子设备的用户可以为共享者(例如上述第一用户),第二电子设备可以为被共享者的电子设备(例如上述电子设备B),第二电子设备的用户可以为被共享者(例如上述第二用户)。In the embodiment of the present invention, the first electronic device may be the electronic device of the sharer (for example, the above-mentioned electronic device A), the user of the first electronic device may be the sharer (for example, the above-mentioned first user), and the second electronic device may be the shared user (for example, the above-mentioned first user). The sharer's electronic device (for example, the above-mentioned electronic device B), and the user of the second electronic device may be the shared person (for example, the above-mentioned second user).
本发明实施例中,对第一电子设备操作的用户可以为第一电子设备的用户,对第二电子设备操作的用户可以为第二电子设备的用户。In the embodiment of the present invention, the user who operates the first electronic device may be the user of the first electronic device, and the user who operates the second electronic device may be the user of the second electronic device.
可选的,本发明实施例中,上述第一输入可以为点击输入、长按输入、重按输入、拖动输入和滑动输入等任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above-mentioned first input may be any possible form of input such as click input, long press input, double press input, drag input, and slide input, etc., which can be determined according to actual usage requirements. The embodiment is not limited.
可以理解,实际实现中,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象之前,第一电子设备可以先向第二电子设备发送共享第一对象的请求消息,然后,在第二电子设备的用户(即上述第二用户)确认共享第一对象,即在第一电子设备接收到第二电子设备发送的屏幕共享确认消息之后,第一电子设备可以通过第一屏幕区域向第二电子设备共享第一对象。It can be understood that, in actual implementation, before the first electronic device shares the first object with the second electronic device through the first screen area, the first electronic device may first send a request message for sharing the first object to the second electronic device, and then, After the user of the second electronic device (ie, the aforementioned second user) confirms to share the first object, that is, after the first electronic device receives the screen sharing confirmation message sent by the second electronic device, the first electronic device can pass through the first screen area Share the first object with the second electronic device.
可选的,本发明实施例中,上述第一对象可以为共享者(即第一电子设备的用户,也即第一用户)需求共享给被共享者(即第二电子设备的用户,也即第二用户)的对象。Optionally, in this embodiment of the present invention, the above-mentioned first object may be the sharer (that is, the user of the first electronic device, that is, the first user) who needs to share with the shareee (that is, the user of the second electronic device, that is, the user of the second electronic device). The second user).
可选的,本发明实施例中,上述第一输入可以包括用户对第一对象的第一子输入和用户对目标控件的第二子输入,其中,目标控件可以用于触发共享对象。具体的,上述的S201a具体可以通过下述的S201a1和S201a2实现。Optionally, in this embodiment of the present invention, the above-mentioned first input may include a first sub-input of the user to the first object and a second sub-input of the user to the target control, where the target control may be used to trigger the shared object. Specifically, the above-mentioned S201a can be specifically implemented by the following S201a1 and S201a2.
S201a1、第一电子设备响应于第一子输入,选中第一对象,并显示目标控件。S201a1. In response to the first sub-input, the first electronic device selects the first object, and displays the target control.
可选的,本发明实施例中,上述第一子输入可以为用户对第一对象的标识的输入, 例如,假设第一对象为应用,那么第一子输入可以为用户对该应用的应用图标的输入。Optionally, in this embodiment of the present invention, the above-mentioned first sub-input may be the user's input of the identification of the first object. For example, if the first object is an application, the first sub-input may be the user's application icon for the application. input of.
可选的,本发明实施例中,上述第一对象可以包括多个子对象,且当上述第一对象中包括多个子对象时,上述第一子输入可以包括多个第三子输入,每个第三子输入可以用于触发选中一个子对象。例如,假设第一对象为4个文档(即第一对象包括4个子对象),分别为文档A、文档B、文档C和文档D,那么,第一子输入可以包括4个第三子输入,每个第三子输入可以用于触发选择一个文档,即如图7所示,用户可以分别在文档A、文档B、文档C和文档D上长按,以触发第一电子设备选中文档A、文档B、文档C和文档D,并显示目标控件E。Optionally, in this embodiment of the present invention, the above-mentioned first object may include multiple sub-objects, and when the above-mentioned first object includes multiple sub-objects, the above-mentioned first sub-input may include multiple third sub-inputs. The three sub-inputs can be used to trigger the selection of a sub-object. For example, assuming that the first object is 4 documents (that is, the first object includes 4 sub-objects), which are document A, document B, document C, and document D, then the first sub-input may include 4 third sub-inputs, Each third sub-input can be used to trigger the selection of a document, that is, as shown in Figure 7, the user can respectively long-press on document A, document B, document C, and document D to trigger the first electronic device to select document A, Document B, Document C, and Document D, and display target control E.
S201a2、第一电子设备响应于第二子输入,在第一屏幕区域中显示第一内容,并向第二电子设备共享第一对象中的第一内容。S201a2, in response to the second sub-input, the first electronic device displays the first content in the first screen area, and shares the first content in the first object with the second electronic device.
其中,上述第一内容可以为第一电子设备的屏幕中显示的、第一对象中的内容。上述目标控件可以用于触发共享对象。The above-mentioned first content may be the content in the first object displayed on the screen of the first electronic device. The above target controls can be used to trigger shared objects.
可选的,本发明实施例中,第一电子设备向第二电子设备共享第一对象中的第一内容可以为第一电子设备开始向第二电子设备共享第一对象中的第一内容。当第一屏幕区域中显示第一对象中,除第一内容之外的其它内容(例如下述第四内容)时,第一电子设备可以向第二电子设备共享该其它内容。Optionally, in this embodiment of the present invention, the first electronic device sharing the first content in the first object with the second electronic device may mean that the first electronic device starts to share the first content in the first object with the second electronic device. When other content other than the first content (for example, the following fourth content) in the first object is displayed in the first screen area, the first electronic device may share the other content with the second electronic device.
可选的,本发明实施例中,上述目标控件可以用于指示共享应用的入口。在用户通过第一子输入触发第一电子设备选中第一对象之后,用户(例如上述第一用户)可以通过对目标控件的输入(例如上述第二子输入),触发第一电子设备运行共享应用,然后第一电子设备可以在该共享应用的共享窗口中显示第一内容,并向第二电子设备共享第一内容。Optionally, in this embodiment of the present invention, the above-mentioned target control may be used to indicate the entrance of the shared application. After the user triggers the first electronic device to select the first object through the first sub-input, the user (such as the aforementioned first user) can trigger the first electronic device to run the shared application through the input of the target control (such as the aforementioned second sub-input) , And then the first electronic device can display the first content in the sharing window of the sharing application, and share the first content with the second electronic device.
可选的,本发明实施例中,第一电子设备向第二电子设备共享第一对象中的第一内容可以为第一电子设备向第二电子设备共享第一屏幕区域(可以为上述共享窗口)中显示的、第一对象中的内容。Optionally, in this embodiment of the present invention, the first electronic device sharing the first content in the first object with the second electronic device may be the first electronic device sharing the first screen area with the second electronic device (it may be the aforementioned shared window ), the content in the first object.
可选的,本发明实施例中,若第一对象中还包括第一屏幕区域中未显示的第四内容,则上述第一输入还可以包括第四子输入,第四子输入可以用于触发第一电子设备将第一屏幕区域显示的第一内容更新为第四内容。当第一电子设备将第一屏幕区域显示的第一内容更新为第四内容之后,第一电子设备可以继续向第二电子设备共享第一对象中的第四内容。如此,第一电子设备可以通过第一屏幕区域向第二电子设备共享第一对象中的全部内容,即实现向第二电子设备共享第一对象。Optionally, in this embodiment of the present invention, if the first object also includes fourth content that is not displayed in the first screen area, the above-mentioned first input may also include a fourth sub-input, and the fourth sub-input may be used to trigger The first electronic device updates the first content displayed in the first screen area to the fourth content. After the first electronic device updates the first content displayed in the first screen area to the fourth content, the first electronic device may continue to share the fourth content in the first object with the second electronic device. In this way, the first electronic device can share all the content in the first object with the second electronic device through the first screen area, that is, the first object can be shared with the second electronic device.
例如,假设第一对象包括2张图片,分别为第一图片和第二图片,若第一屏幕区域中当前显示的图片为第一图片(即此时第一电子设备向第二电子设备共享第一图片(即第一内容)),则用户可以通过第四子输入触发第一电子设备将第一屏幕区域中显示的第一图片更新为第二图片。并且,在第一电子设备将第一屏幕区域中显示的第一图片更新为第二图片之后,第一电子设备可以继续向第二电子设备共享第二图片。For example, suppose that the first object includes two pictures, the first picture and the second picture, and if the picture currently displayed in the first screen area is the first picture (that is, the first electronic device shares the first picture with the second electronic device at this time). A picture (that is, the first content)), the user can trigger the first electronic device to update the first picture displayed in the first screen area to the second picture through the fourth sub-input. Moreover, after the first electronic device updates the first picture displayed in the first screen area to the second picture, the first electronic device may continue to share the second picture with the second electronic device.
本发明实施例中,由于用户可以通过一个子输入(例如上述第一子输入)选中其需求共享的内容,并通过另一个子输入(例如上述第二子输入)触发第一电子设备向第二电子设备共享该内容,即用户可以触发第一电子设备向第二电子设备共享用户需求共享的任意内容(例如上述第一对象),因此可以提高共享对象的灵活性和准确性。In the embodiment of the present invention, since the user can select the content that he needs to share through one sub-input (for example, the above-mentioned first sub-input), and trigger the first electronic device to send to the second sub-input (for example, the above-mentioned second sub-input). The electronic device shares the content, that is, the user can trigger the first electronic device to share any content that the user needs to share with the second electronic device (for example, the aforementioned first object), so the flexibility and accuracy of the shared object can be improved.
下面再结合附图8对上述S200和S201a进行示例性的说明。The above S200 and S201a will be exemplarily described below with reference to FIG. 8.
如图8中的(a)所示,假设第一电子设备的桌面80中显示“购物”应用的应用图标、“新闻”应用的应用图标和“游戏”应用的应用图标,第一对象为“购物”应用,那么,用户可以在“购物”应用的应用图标81上长按,即第一电子设备接收到用户的第一子输入,从而第一电子设备可以响应于第一子输入,选中“购物”应用,并显示目标控件82;然后,如图8中的(a)所示,用户可以在目标控件82上点击,即第一电子设备接收到用户对目标控件的第二子输入,那么第一电子设备可以响应于第二子输入,如图8中的(b)所示,第一电子设备可以运行共享应用和“购物”应用,且在共享应用的共享窗口83(即第一屏幕区域)中显示“购物”应用的界面84(即上述第一内容),并向第二电子设备共享界面84(具体可以为第一电子设备向第二电子设备发送共享窗口83的图像),即第一电子设备在第一屏幕区域中显示第一内容,并向第二电子设备共享第一对象中的第一内容。可以理解,第二电子设备接收到第一电子设备发送的图像之后,如图8中的(c)所示,第二电子设备可以在共享应用的共享窗口85中显示该图像86。As shown in (a) in Figure 8, suppose that the desktop 80 of the first electronic device displays the application icons of the "shopping" application, the application icons of the "news" application, and the application icons of the "game" application, and the first object is " "Shopping" application, the user can press and hold on the application icon 81 of the "Shopping" application, that is, the first electronic device receives the user's first sub-input, so that the first electronic device can select " Shopping” application, and display the target control 82; then, as shown in Figure 8 (a), the user can click on the target control 82, that is, the first electronic device receives the user's second sub-input of the target control, then The first electronic device can respond to the second sub-input, as shown in (b) in FIG. 8, the first electronic device can run the shared application and the "shopping" application, and the shared application window 83 (ie, the first screen Area) displays the interface 84 of the "shopping" application (that is, the above-mentioned first content), and shares the interface 84 with the second electronic device (specifically, the first electronic device sends an image of the sharing window 83 to the second electronic device), namely The first electronic device displays the first content in the first screen area, and shares the first content in the first object with the second electronic device. It can be understood that after the second electronic device receives the image sent by the first electronic device, as shown in (c) in FIG. 8, the second electronic device may display the image 86 in the sharing window 85 of the sharing application.
可选的,本发明实施例中,用户还可以在“购物”应用的某个界面上输入(例如上述第四子输入),以触发第一电子设备在共享窗口中显示“购物”应用的该界面,从而使得第一电子设备向第二电子设备共享该界面。Optionally, in this embodiment of the present invention, the user can also input on an interface of the "shopping" application (for example, the fourth sub-input above) to trigger the first electronic device to display the "shopping" application in the sharing window. Interface, so that the first electronic device shares the interface with the second electronic device.
需要说明的是,上述实施例中是以用户先触发第一电子设备选中第一对象,再触发第一电子设备运行共享应用的方式对本发明实施例提供的共享控制方法进行示例性描述的,实际实现中,用户也可以先触发第一电子设备运行共享应用,再触发第一电子设备通过共享应用选中第一对象,然后在第一电子设备选中第一对象之后,第一电子设备可以在第一屏幕区域中显示第一对象中的第一内容,并向第二电子设备共享第一内容。It should be noted that, in the above embodiment, the user first triggers the first electronic device to select the first object, and then triggers the first electronic device to run the shared application to exemplarily describe the sharing control method provided by the embodiment of the present invention. In implementation, the user may also first trigger the first electronic device to run the shared application, and then trigger the first electronic device to select the first object through the shared application, and then after the first electronic device selects the first object, the first electronic device may The first content in the first object is displayed in the screen area, and the first content is shared with the second electronic device.
本发明实施例中,由于用户可以通过第一输入触发第一电子设备向第二电子设备共享第一对象,即用户可以根据共享需求,通过输入触发第一电子设备向第二电子设备共享内容(例如第一对象),因此可以提高向第二电子设备共享内容的灵活性和便捷性,从而可以提高人机交互性能。In the embodiment of the present invention, since the user can trigger the first electronic device to share the first object with the second electronic device through the first input, that is, the user can trigger the first electronic device to share content with the second electronic device through the input according to the sharing requirement ( For example, the first object), so that the flexibility and convenience of sharing content with the second electronic device can be improved, and the human-computer interaction performance can be improved.
可选的,本发明实施例中,在第一电子设备停止向第二电子设备共享第一对象之后,如果第一电子设备取消显示第一屏幕区域中显示的第三内容或将第二内容重新更新为第一内容,那么第一电子设备可以重新向第二电子设备共享第一对象。Optionally, in this embodiment of the present invention, after the first electronic device stops sharing the first object with the second electronic device, if the first electronic device cancels the display of the third content displayed in the first screen area or resets the second content Update to the first content, then the first electronic device can share the first object with the second electronic device again.
示例性的,结合上述图2,如图9所示,在上述S202之后,本发明实施例提供的共享控制方法还可以包括下述的S203。Exemplarily, in conjunction with the foregoing FIG. 2, as shown in FIG. 9, after the foregoing S202, the sharing control method provided in the embodiment of the present invention may further include the following S203.
S203、若第一电子设备取消显示在第一屏幕区域中显示的第三内容或将第二内容更新为第一内容,则第一电子设备重新向第二电子设备共享第一对象。S203: If the first electronic device cancels displaying the third content displayed in the first screen area or updates the second content to the first content, the first electronic device shares the first object with the second electronic device again.
可选的,本发明实施例中,第一电子设备重新向第二电子设备共享第一对象时,(一)、第一电子设备可以从第一电子设备停止向第二电子设备共享第一对象时、第一屏幕区域中显示的第一对象中的内容处开始,重新向第二电子设备共享第一对象;或者,(二)、第一电子设备可以从第一电子设备向第二电子设备共享第一对象时、第一屏幕区域显示的第一对象中的内容处开始,重新向第二电子设备共享第一对象, 即第一电子设备可以从头开始向第二电子设备共享第一对象。Optionally, in this embodiment of the present invention, when the first electronic device shares the first object with the second electronic device again, (1) the first electronic device can stop sharing the first object with the second electronic device from the first electronic device , The content of the first object displayed in the first screen area starts, and the first object is shared with the second electronic device again; or (2), the first electronic device can transfer from the first electronic device to the second electronic device When the first object is shared, starting from the content in the first object displayed in the first screen area, the first object is shared with the second electronic device again, that is, the first electronic device can share the first object with the second electronic device from the beginning.
示例性的,假设第一对象为2张图片,且该2张图片在第一屏幕区域中的显示顺序依次为:第三图片和第四图片,即可以理解,第一电子设备开始通过第一屏幕区域向第二电子设备共享第一对象时,第一屏幕区域中显示的图片为第三图片,那么如图10中的(a)所示,若第一电子设备停止向第二电子设备共享第一对象时,第一屏幕区域90中显示第四图片91;则在上述(一)中,如图10中的(b)所示,当第一电子设备重新向第二电子设备共享第一对象时,第一屏幕区域90中当前显示的图片可以为第四图片91;或者,在上述(二)中,如图10中的(c)所示,当第一电子设备重新向第二电子设备共享第一对象时,第一屏幕区域90中当前显示的图片可以为第三图片92。Exemplarily, suppose that the first object is 2 pictures, and the display order of the 2 pictures in the first screen area is: the third picture and the fourth picture, that is, it can be understood that the first electronic device starts to pass the first When the screen area shares the first object with the second electronic device, and the picture displayed in the first screen area is the third picture, then as shown in Figure 10 (a), if the first electronic device stops sharing with the second electronic device When the first object is the first object, the fourth picture 91 is displayed in the first screen area 90; then in the above (1), as shown in (b) in Figure 10, when the first electronic device shares the first electronic device with the second electronic device again, When the object is selected, the picture currently displayed in the first screen area 90 may be the fourth picture 91; or, in the above (2), as shown in (c) in FIG. 10, when the first electronic device reconnects to the second electronic device When the device shares the first object, the picture currently displayed in the first screen area 90 may be the third picture 92.
本发明实施例中,由于第一电子设备可以在取消显示第一屏幕区域显示的内容之后,自动重新向第二电子设备共享第一对象,即无需用户手动触发,第一电子设备即可自动重新向第二电子设备共享第一对象,因此可以进一步提高向第二电子设备共享对象的灵活性和便捷性。In the embodiment of the present invention, since the first electronic device can automatically re-share the first object with the second electronic device after canceling the display of the content displayed in the first screen area, that is, without manual triggering by the user, the first electronic device can automatically restart By sharing the first object with the second electronic device, the flexibility and convenience of sharing the object with the second electronic device can be further improved.
可选的,本发明实施例中,由于第一电子设备可以通过向第二电子设备发送第一屏幕区域的图像的方式向第二电子设备共享第一对象,因此在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的过程中,第二电子设备的屏幕上可以显示第一电子设备实时发送的第一屏幕区域的图像(例如下述第一图像),从而第二电子设备的用户(即上述第二用户)可以通过第二电子设备查看第一电子设备的第一屏幕区域中显示的内容,即第一电子设备共享给第二电子设备的内容。Optionally, in this embodiment of the present invention, since the first electronic device can share the first object with the second electronic device by sending the image of the first screen area to the second electronic device, the first electronic device passes through the first object. When the screen area is sharing the first object with the second electronic device, the screen of the second electronic device can display the image of the first screen area (such as the first image below) sent by the first electronic device in real time, so that the second electronic device The user of the device (ie, the aforementioned second user) can view the content displayed in the first screen area of the first electronic device through the second electronic device, that is, the content shared by the first electronic device to the second electronic device.
示例性的,如图11所示,在上述S201a2之后,本发明实施例提供的控制共享方法还可以包括下述的S204-S210。Exemplarily, as shown in FIG. 11, after the above S201a2, the control sharing method provided in the embodiment of the present invention may further include the following S204-S210.
S204、第二电子设备接收第一电子设备发送的第一图像,并显示第一图像。S204. The second electronic device receives the first image sent by the first electronic device, and displays the first image.
其中,上述第一图像可以为第一屏幕区域显示第一内容时的图像。例如,第二电子设备可以在共享应用的共享窗口中显示第一图像,以向第二电子设备的用户实时地展示第一图像。Wherein, the above-mentioned first image may be an image when the first content is displayed in the first screen area. For example, the second electronic device may display the first image in the sharing window of the sharing application to show the first image to the user of the second electronic device in real time.
可选的,本发明实施例中,第一图像在第二电子设备中的显示效果与其在第一电子设备中的显示效果可以相同,也可以不相同。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the display effect of the first image in the second electronic device may be the same as or different from the display effect of the first image in the first electronic device. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
为了便于描述,除特别说明外,下述实施例中均以第一图像在第二电子设备中的显示效果与第一图像在第一电子设备中的显示效果相同为例进行示例性说明。For ease of description, unless otherwise specified, the following embodiments all take the same display effect of the first image in the second electronic device as the display effect of the first image in the first electronic device as an example for exemplification.
可选的,本发明实施例中,若第二电子设备的用户(即第二用户)需求修改第一内容或需求调整第一内容的输出效果,则第二用户可以根据其需求,在第二电子设备上执行一个输入,该输入可以触发第二电子设备获取第二用户触发修改的内容或触发调整的参数,并根据该内容或该参数,生成用于指示第一电子设备修改第一内容或调整第一内容的输出参数的目标指令,然后第二电子设备可以向第一电子设备发送该目标指令,以使得第一电子设备可以根据该目标指令修改第一内容或调整第一内容的输出参数。这样,在第一电子设备修改第一内容或调整第一内容的输出参数后,第一电子设备向第二电子设备共享的第一内容即可满足第二用户的需求。Optionally, in this embodiment of the present invention, if the user of the second electronic device (ie, the second user) needs to modify the first content or needs to adjust the output effect of the first content, the second user can set the output effect of the first content according to his needs. An input is executed on the electronic device, and the input can trigger the second electronic device to acquire the modified content or the parameter triggered by the second user, and according to the content or the parameter, generate an instruction to instruct the first electronic device to modify the first content or Adjust the target instruction of the output parameter of the first content, and then the second electronic device can send the target instruction to the first electronic device so that the first electronic device can modify the first content or adjust the output parameter of the first content according to the target instruction . In this way, after the first electronic device modifies the first content or adjusts the output parameters of the first content, the first content shared by the first electronic device with the second electronic device can meet the needs of the second user.
可选的,本发明实施例中,上述输出参数可以包括显示参数、媒体参数(例如,音频参数)等任意可能的参数,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above-mentioned output parameters may include any possible parameters such as display parameters, media parameters (for example, audio parameters), etc., which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
S205、第二电子设备接收用户针对第一图像的目标输入。S205. The second electronic device receives a user's target input for the first image.
S206、第二电子设备根据目标输入,生成目标指令,并向第一电子设备发送目标指令。S206. The second electronic device generates a target instruction according to the target input, and sends the target instruction to the first electronic device.
S207、第一电子设备接收目标指令。S207: The first electronic device receives the target instruction.
S208、第一电子设备根据目标指令,修改第一内容或调整第一内容的输出参数。S208. The first electronic device modifies the first content or adjusts the output parameter of the first content according to the target instruction.
可选的,本发明实施例中,上述目标输入可以为第二电子设备的用户,即第二用户,也即被共享者执行的。上述目标输入可以用于触发第二电子设备生成目标指令;第二电子设备可以获取上述目标输入对应的内容或参数(即第二用户触发修改的内容或触发调整的参数),并根据该第一参数生成目标指令。Optionally, in this embodiment of the present invention, the above-mentioned target input may be performed by the user of the second electronic device, that is, the second user, that is, the shareee. The above-mentioned target input can be used to trigger the second electronic device to generate a target instruction; the second electronic device can obtain the content or parameter corresponding to the above-mentioned target input (that is, the content or parameter that is triggered by the second user to modify or the parameter that triggers the adjustment), and according to the first The parameter generates the target instruction.
可选的,本发明实施例中,上述目标输入可以为用户在第一图像上的输入,或者,可以为用户对第二电子设备显示的功能控件的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned target input may be the user's input on the first image, or it may be the user's input to the functional controls displayed on the second electronic device, which can be specifically determined according to actual usage requirements. The embodiments of the invention are not limited.
可选的,本发明实施例中,当第二电子设备在共享窗口中显示第一图像时,该共享窗口中还可以显示用于修改内容或调整输出参数的功能控件。且若上述第一对象不同,则第二电子设备的共享窗口中显示的至少一个功能控件也可能不同。Optionally, in this embodiment of the present invention, when the second electronic device displays the first image in the sharing window, the sharing window may also display functional controls for modifying content or adjusting output parameters. And if the above-mentioned first objects are different, the at least one function control displayed in the sharing window of the second electronic device may also be different.
下面结合不同的第一对象对上述至少一个功能控件进行示例性的说明。The at least one functional control described above will be exemplarily described below in combination with different first objects.
示例1:以第一对象为图片为例,上述至少一个功能控件可以包括:修剪控件、滤镜控件、光效控件、涂鸦控件、文字添加控件和显示参数调节控件等等。具体可以根据实际使用需求确定,本发明实施例不作限定。Example 1: Taking the first object as a picture as an example, the aforementioned at least one functional control may include: trimming control, filter control, light effect control, graffiti control, text adding control, display parameter adjustment control, and so on. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
其中,上述修剪控件可以用于触发调整图片尺寸,上述滤镜控件可以用于触发添加滤镜特效,上述光效控件可以用于触发添加光效,上述涂鸦控件可以用于触发添加涂鸦,上述文字添加控件可以用于触发添加文字,上述显示参数调节控件可以用于触发调节图片显示亮度、对比度和锐度等。The above-mentioned trimming control can be used to trigger the adjustment of the picture size, the above-mentioned filter control can be used to trigger the addition of special filter effects, the above-mentioned light effect control can be used to trigger the addition of light effects, the above-mentioned graffiti control can be used to trigger the addition of graffiti, the above text The add control can be used to trigger the addition of text, and the above display parameter adjustment control can be used to trigger the adjustment of the brightness, contrast, and sharpness of the picture display.
示例2:以第一对象为文档为例,上述至少一个功能控件可以包括:文字输入控件、文字删除控件和批注控件等等。具体可以根据实际使用需求确定,本发明实施例不作限定。Example 2: Taking the first object as a document as an example, the aforementioned at least one functional control may include: a text input control, a text deletion control, a comment control, and so on. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
其中,上述文字输入控件用于触发添加文字,上述文字删除控件可以用于触发删除文字,上述批注控件可以用于触发添加批注。The aforementioned text input control can be used to trigger the addition of text, the aforementioned text deletion control can be used to trigger the deletion of text, and the aforementioned comment control can be used to trigger the addition of remarks.
示例3:以第一对象为视频为例,上述至少一个功能控件可以包括:快退控件、暂停控件、音量控件和快进控件等等,具体可以根据实际使用需求确定,本发明实施例不作限定。Example 3: Taking the first object as a video as an example, the above-mentioned at least one functional control may include: a rewind control, a pause control, a volume control, a fast forward control, etc., which can be determined according to actual usage requirements, and the embodiment of the present invention does not limit it .
其中,上述快退控件可以用于触发向后调整播放进度,上述暂停控件可以用于触发停止播放,上述音量控件可以用于触发调节音量,上述快进控件可以用于触发向前调整播放进度。The aforementioned fast-rewind control can be used to trigger the backward adjustment of the playback progress, the aforementioned pause control can be used to trigger the stop of the playback, the aforementioned volume control can be used to trigger the adjustment of the volume, and the aforementioned fast-forward control can be used to trigger the forward adjustment of the playback progress.
可选的,本发明实施例中,当目标输入为用户对功能控件的输入时,目标输入可以包括至少一个子输入,且至少一个子输入中的每个子输入分别可以为用户对一个功 能控件的输入。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, when the target input is a user's input to a function control, the target input may include at least one sub-input, and each of the at least one sub-input may be a user's input to a function control. enter. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention does not limit it.
S209、第一电子设备向第二电子设备共享修改后的第一内容或调整输出参数后的第一内容。S209: The first electronic device shares the modified first content or the first content after adjusting the output parameters with the second electronic device.
S210、第二电子设备接收第一电子设备发送的第二图像,并将第一图像更新为第二图像。S210. The second electronic device receives the second image sent by the first electronic device, and updates the first image to the second image.
本发明实施例中,上述第二图像可以为第一电子设备对第一内容执行目标指令后,第一屏幕区域的图像,即上述第二图像可以为第一屏幕区域显示修改后的第一内容或调整输出参数后的第一内容时的图像。由于第一电子设备可以将修改后的第一内容或调整输出参数后的第一内容共享给第二电子设备,因此第二电子设备的用户可以直接通过第二电子设备实时查看修改后的第一内容或调整输出参数后的第一内容,从而可以确保修改第一内容和调整第一内容的输出参数的准确性。如此,可以使得第二电子设备的用户灵活、准确地控制共享内容满足其实际需求。In the embodiment of the present invention, the above-mentioned second image may be an image of the first screen area after the first electronic device executes the target instruction on the first content, that is, the above-mentioned second image may be the first screen area displaying the modified first content Or the image of the first content after adjusting the output parameters. Since the first electronic device can share the modified first content or the first content after adjusting the output parameters to the second electronic device, the user of the second electronic device can directly view the modified first content through the second electronic device in real time. Content or the first content after adjusting the output parameters, so as to ensure the accuracy of modifying the first content and adjusting the output parameters of the first content. In this way, the user of the second electronic device can flexibly and accurately control the shared content to meet their actual needs.
下面再结合附图12对上述S204-S210进行示例性的描述。The above S204-S210 will be exemplarily described below with reference to FIG. 12.
示例性的,以目标输入为第二电子设备的用户(即第二用户)对第二电子设备显示的功能控件的输入,且目标输入包括第五子输入和第六子输入,目标指令用于指示第一电子设备修改第一内容为例;假设目标对象为图片,且第一图像为第一屏幕区域显示图片一(即第一内容)时的图像,第五子输入为第二用户对文字控件的输入,用于触发显示虚拟键盘;第六子输入为第二用户对虚拟键盘的输入,用于触发生成目标指令。那么,若第二用户需求在图片一上添加文字“同桌”,则如图12中的(a)所示,第二用户可以在第二电子设备中的文字控件120上点击(即第二用户执行第五子输入),以触发第二电子设备显示虚拟键盘,然后,如图12中的(b)所示,第二用户可以通过对该虚拟键盘121的输入(即第二用户执行第六子输入,触发第二电子设备获取第六子输入对应的文字“同桌”(即第二用户触发修改的内容),然后第二电子设备可以根据该文字“同桌”,生成用于指示第一电子设备在图片一中添加文字“同桌”的目标指令,并向第一电子设备发送该目标指令,从而第一电子设备在接收到该目标指令之后,如图12中的(c)所示,第一电子设备可以在图片一上添加文字“同桌”,即第一电子设备根据目标指令,修改第一内容。Exemplarily, the target input is the input of the user (ie, the second user) of the second electronic device to the function control displayed on the second electronic device, and the target input includes the fifth sub-input and the sixth sub-input, and the target instruction is used for Instruct the first electronic device to modify the first content as an example; suppose the target object is a picture, and the first image is the image when picture one (ie the first content) is displayed in the first screen area, and the fifth sub-input is the second user’s text The input of the control is used to trigger the display of the virtual keyboard; the sixth sub-input is the input of the second user to the virtual keyboard, which is used to trigger the generation of the target instruction. Then, if the second user needs to add the text "same table" on the picture 1, as shown in Figure 12 (a), the second user can click on the text control 120 in the second electronic device (that is, the second The user performs the fifth sub-input) to trigger the second electronic device to display the virtual keyboard, and then, as shown in (b) in FIG. 12, the second user can input on the virtual keyboard 121 (that is, the second user performs the first Six sub-inputs, trigger the second electronic device to obtain the text "same table" corresponding to the sixth sub-input (that is, the content that the second user triggers to modify), and then the second electronic device can generate instructions based on the text "same table" The first electronic device adds a target instruction with the text "same table" in picture 1, and sends the target instruction to the first electronic device, so that after the first electronic device receives the target instruction, as shown in Figure 12 (c) As shown, the first electronic device can add the text "same table" on picture 1, that is, the first electronic device modifies the first content according to the target instruction.
需要说明的是,第一电子设备在图片一上添加文字“同桌”之后,可以向第二电子设备共享添加文字“同桌”之后的图片一,从而第二电子设备的用户可以通过第二电子设备查看添加文字“同桌”之后的图片一。It should be noted that after the first electronic device adds the text "same table" to picture one, it can share picture one with the text "same table" added to the second electronic device, so that the user of the second electronic device can use the second electronic device Electronic device view picture 1 after adding the text "at the same table".
又示例性的,以目标输入为第二电子设备的用户(即第二用户)对第二电子设备显示的功能控件的输入,且目标输入包括第七子输入和第八子输入,目标指令用于指示第一电子设备修改第一内容的输出参数为例。假设第一对象为图片,且第一图像为第一屏幕区域显示图片一(即第一内容)时的图像,第七子输入为第二用户对显示参数调节控件的输入,用于触发显示亮度调节控件;第八子输入为第二用户对亮度调节控件的输入,用于触发生成目标指令。那么若第二用户认为第一图像的亮度较暗(即图片1的亮度较暗),则如图13中的(a)所示,第二用户可以在显示参数调节控件130上点击(即第二用户执行第七子输入),以触发第二电子设备显示亮度调节控件,然后如图13中的(b)所示,第二用户可以在亮度调节控件131上向右滑动(即第二 用户执行第八子输入),以触发第二电子设备获取第八子输入对应的亮度值(即第二用户触发调增的参数),然后第二电子设备可以根据该亮度值,生成用于指示第一电子设备增大图片一的显示亮度的目标指令,从而第一电子设备在接收到该目标指令之后,可以增大图片一的显示亮度,即第一电子设备根据目标指令,调整第一内容的显示参数。In another example, the user (ie, the second user) of the second electronic device takes the target input as the input of the function control displayed on the second electronic device, and the target input includes the seventh sub-input and the eighth sub-input, and the target instruction is used for Take an example of instructing the first electronic device to modify the output parameter of the first content. Suppose that the first object is a picture, and the first image is the image when picture one (ie, the first content) is displayed in the first screen area, and the seventh sub-input is the input of the second user to the display parameter adjustment control, which is used to trigger the display brightness Adjustment control; the eighth sub-input is the input of the second user to the brightness adjustment control, which is used to trigger the generation of a target instruction. Then if the second user thinks that the brightness of the first image is darker (that is, the brightness of picture 1 is darker), as shown in (a) in FIG. 13, the second user can click on the display parameter adjustment control 130 (that is, the first The second user performs the seventh sub-input) to trigger the second electronic device to display the brightness adjustment control, and then, as shown in (b) in FIG. 13, the second user can slide right on the brightness adjustment control 131 (that is, the second user Perform the eighth sub-input) to trigger the second electronic device to obtain the brightness value corresponding to the eighth sub-input (that is, the parameter that the second user triggers to increase), and then the second electronic device can generate an instruction to indicate the An electronic device increases the target instruction of the display brightness of picture one, so that after receiving the target instruction, the first electronic device can increase the display brightness of picture one, that is, the first electronic device adjusts the display brightness of the first content according to the target instruction. Display parameters.
需要说明的是,本发明实施例中,第一电子设备增大图片一的显示亮度之后,可以向第二电子设备共享增大显示亮度后的图片一,从而第二电子设备的用户可以通过第二电子设备查看增大显示亮度后的图片一。It should be noted that, in the embodiment of the present invention, after the first electronic device increases the display brightness of picture one, it can share the picture one with the increased display brightness with the second electronic device, so that the user of the second electronic device can use the Second, the electronic device looks at the picture after increasing the display brightness.
本发明实施例中,由于第二电子设备的用户(即第二用户)可以直接在第二电子设备上查看第一电子设备中显示的第一对象中的第一内容和第一内容的显示效果,并直接在第二电子设备上触发修改第一内容和/或调整第一内容的输出参数,而无需第二用户将修改内容的需求或调整输出参数的需求告知第一用户(即第一电子设备的用户)后,由第一用户在第一电子设备上操作以触发修改或调整,因此简化了触发修改共享内容和触发调整共享内容的输出参数的过程,提高了人机交互性能。In the embodiment of the present invention, since the user of the second electronic device (ie, the second user) can directly view the first content in the first object displayed in the first electronic device and the display effect of the first content on the second electronic device , And directly trigger the modification of the first content and/or the adjustment of the output parameters of the first content on the second electronic device, without the need for the second user to inform the first user of the need to modify the content or the need to adjust the output parameters (ie, the first electronic After the user of the device), the first user operates on the first electronic device to trigger the modification or adjustment, thus simplifying the process of triggering the modification of the shared content and triggering the adjustment of the output parameters of the shared content, and improves the human-computer interaction performance.
进一步的,由于被共享者可以直接触发修改共享内容或调整共享内容的输出参数,因此可以使得共享内容或共享内容的输出参数更好地满足被共享者的实际需求。Further, since the shared content can be directly triggered to modify the shared content or adjust the output parameters of the shared content, the shared content or the output parameters of the shared content can be made to better meet the actual needs of the shared content.
可选的,本发明实施例中,上述第一电子设备中的共享窗口中可以显示第一控件,第二电子设备的共享窗口中也可以显示第一控件,第一控件可以为语音控件和/或视频控件。如此,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的过程中,第一电子设备的用户和第二电子设备的用户可以通过对上述第一控件的输入,实现语音通信或视频通信。Optionally, in the embodiment of the present invention, the first control may be displayed in the sharing window of the first electronic device, and the first control may also be displayed in the sharing window of the second electronic device. The first control may be a voice control and/ Or video controls. In this way, in the process that the first electronic device shares the first object with the second electronic device through the first screen area, the user of the first electronic device and the user of the second electronic device can realize voice by inputting the above-mentioned first control. Communication or video communication.
可选的,本发明实施例中,上述第一电子设备中的共享窗口中可以显示第二控件,第二电子设备的共享窗口中也可以显示第二控件,第二控件可以用于触发开启调整记录保存功能。如此,在第一电子设备向第二电子设备共享第一对象的过程中,第一电子设备的用户可以触发第一电子设备保存共享圈成员(即第一电子设备的用户和第二电子设备的用户)触发修改第一内容的修改信息或触发调整第一内容的输出参数的调整信息;相应的,第二电子设备的用户可以通过对第二电子设备中的第二控件的输入,触发第二电子设备保存共享圈成员触发修改第一内容的修改信息或触发调整第一内容的输出参数的调整信息。Optionally, in the embodiment of the present invention, the second control may be displayed in the sharing window of the first electronic device, and the second control may also be displayed in the sharing window of the second electronic device, and the second control may be used to trigger the opening adjustment Record keeping function. In this way, when the first electronic device shares the first object with the second electronic device, the user of the first electronic device can trigger the first electronic device to save the members of the shared circle (that is, the user of the first electronic device and the user of the second electronic device). The user) triggers the modification information of the first content or the adjustment information that triggers the adjustment of the output parameters of the first content; accordingly, the user of the second electronic device can trigger the second electronic device by inputting the second control in the second electronic device. The electronic device saves the modification information that triggers the modification of the first content or the adjustment information that triggers the adjustment of the output parameter of the first content by the members of the sharing circle.
需要说明的是,第一电子设备向第二电子设备共享修改后的第一内容或共享调整输出参数后的第一内容时,还可以向第二电子设备发送上述修改信息和上述调整信息。It should be noted that when the first electronic device shares the modified first content or shares the first content after adjusting the output parameters with the second electronic device, it may also send the above-mentioned modification information and the above-mentioned adjustment information to the second electronic device.
可选的,本发明实施例中,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的过程中,第二电子设备的用户还可以触发第二电子设备保存第一图像,例如,第二电子设备的用户可以触发第二电子设备通过截屏的方式保存第一图像。Optionally, in the embodiment of the present invention, during the process of the first electronic device sharing the first object with the second electronic device through the first screen area, the user of the second electronic device may also trigger the second electronic device to save the first image For example, the user of the second electronic device can trigger the second electronic device to save the first image by taking a screenshot.
可以理解,上述实施例是基于屏幕共享的原理为例,对本发明实施例提供的共享控制方法进行示例性描述的。实际实现中,本发明实施例提供的共享控制方法的实现思想还可以应用于多人修改某个电子设备中保存的文件(以下称为目标文件,目标文件可以为以下至少一项:图片、文档和视频)的内容的场景(以下称为场景A)中。具体的,在场景A中,本发明实施例提供的共享控制方法可以通过共享源文件和修改 指令(例如,下述的第一指令和第二指令)实现。It can be understood that the foregoing embodiment is based on the principle of screen sharing as an example, and exemplarily describes the sharing control method provided by the embodiment of the present invention. In actual implementation, the realization idea of the sharing control method provided by the embodiment of the present invention can also be applied to multiple people to modify a file stored in an electronic device (hereinafter referred to as a target file, which can be at least one of the following: pictures, documents) And video) content of the scene (hereinafter referred to as scene A). Specifically, in scenario A, the sharing control method provided by the embodiment of the present invention can be implemented by sharing source files and modifying instructions (for example, the following first instruction and second instruction).
为了便于描述,本发明实施例中,可以将参与共同修改上述目标文件的成员称为共享圈的成员,例如,下述第一电子设备的用户和第二电子设备的用户。For ease of description, in the embodiment of the present invention, members who participate in jointly modifying the above-mentioned target file may be referred to as members of the shared circle, for example, the user of the first electronic device and the user of the second electronic device described below.
下面再结合图14对该实现思想应用于场景A时的实现过程进行示例性的描述。The implementation process when the implementation idea is applied to scenario A will be described below in conjunction with FIG. 14 exemplarily.
如图14所示,本发明实施例提供一种共享控制方法,该方法可以包括下述的S301-S310。As shown in FIG. 14, an embodiment of the present invention provides a sharing control method, and the method may include the following S301-S310.
S301、第一电子设备向第二电子设备发送目标文件,并在共享应用界面中显示第一目标内容。S301. The first electronic device sends a target file to the second electronic device, and displays the first target content in the sharing application interface.
S302、第二电子设备接收目标文件,并在共享应用界面中显示第一目标内容。S302. The second electronic device receives the target file, and displays the first target content in the sharing application interface.
其中,上述目标文件可以为第一电子设备共享给第二电子设备的文件,即共享文件。上述第一目标内容可以为目标文件中的内容。Wherein, the aforementioned target file may be a file shared by the first electronic device to the second electronic device, that is, a shared file. The aforementioned first target content may be the content in the target file.
可选的,第一电子设备可以通过第一电子设备中安装的共享应用程序向第二电子设备发送目标文件。相应的,第二电子设备可以通过第二电子设备中安装的共享应用程序接收第一电子设备发送的目标文件。Optionally, the first electronic device may send the target file to the second electronic device through a shared application installed in the first electronic device. Correspondingly, the second electronic device may receive the target file sent by the first electronic device through the sharing application installed in the second electronic device.
可选的,本发明实施例中,上述目标文件可以为文档、图片和视频等任意可能的文件,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the foregoing target file may be any possible file such as a document, a picture, and a video, and may be specifically determined according to actual use requirements, and the embodiment of the present invention does not limit it.
需要说明的是,本发明实施例中,在第一电子设备向第二电子设备发送目标文件之前,第一电子设备可以通过共享应用程序向第二电子设备发送一个发送文件的请求消息。在第二电子设备的用户确认发送文件之后,第一电子设备可以通过共享应用程序向第二电子设备发送目标文件。其中,上述发送文件的请求消息可以为第一电子设备的用户触发第一电子设备发送的。It should be noted that, in this embodiment of the present invention, before the first electronic device sends the target file to the second electronic device, the first electronic device may send a file sending request message to the second electronic device through the sharing application. After the user of the second electronic device confirms to send the file, the first electronic device may send the target file to the second electronic device through the sharing application. The above-mentioned file sending request message may be triggered by the user of the first electronic device to send the first electronic device.
S303、第二电子设备接收用户对第一目标内容的第三输入。S303. The second electronic device receives a user's third input of the first target content.
S304、第二电子设备根据第三输入,生成用于触发修改第一目标内容的第一指令,并根据第一指令,修改第二电子设备中显示的第一目标内容,以及向第一电子设备发送第一指令。S304. According to the third input, the second electronic device generates a first instruction for triggering modification of the first target content, and according to the first instruction, modifies the first target content displayed in the second electronic device, and reports to the first electronic device Send the first instruction.
S305、第一电子设备接收第一指令。S305. The first electronic device receives the first instruction.
S306、第一电子设备根据第一指令,修改第一电子设备中显示的第一目标内容。S306. The first electronic device modifies the first target content displayed in the first electronic device according to the first instruction.
可选的,本发明实施例中,上述第三输入可以为第二电子设备的用户执行的输入。上述第三输入可以用于触发修改第一目标内容。Optionally, in this embodiment of the present invention, the foregoing third input may be an input performed by a user of the second electronic device. The aforementioned third input can be used to trigger the modification of the first target content.
可选的,本发明实施例中,若目标文件的类型不同,则第二电子设备根据第三输入生成的第一指令也可能不同。比如,当目标文件为图片时,上述第第一指令可以包括图片的放大指令和图片涂鸦指令等。又比如,当目标文件为视频时,该第一指令可以包括视频的快进指令和视频的暂停指令等。再比如,当目标文件为文档时,该第一指令可以包括添加文字的指令、标注指令、复制指令、删除指令和粘贴指令等。Optionally, in this embodiment of the present invention, if the type of the target file is different, the first instruction generated by the second electronic device according to the third input may also be different. For example, when the target file is a picture, the above-mentioned first instruction may include a picture enlargement instruction and a picture graffiti instruction. For another example, when the target file is a video, the first instruction may include a fast-forward instruction of the video, a pause instruction of the video, and so on. For another example, when the target file is a document, the first instruction may include an instruction to add text, an annotation instruction, a copy instruction, a delete instruction, and a paste instruction.
S307、第一电子设备接收用户对第一目标内容的第四输入。S307: The first electronic device receives the user's fourth input of the first target content.
S308、第一电子设备根据第四输入,生成用于触发修改第一目标内容的第二指令,并根据第二指令,修改第一电子设备中显示的第一目标内容,以及向第二电子设备发送第二指令。S308. According to the fourth input, the first electronic device generates a second instruction for triggering modification of the first target content, and according to the second instruction, modifies the first target content displayed in the first electronic device, and sends it to the second electronic device. Send the second command.
S309、第二电子设备接收第二指令。S309. The second electronic device receives the second instruction.
S310、第二电子设备根据第二指令,修改第二电子设备中显示的目标文件的第一目标内容。S310. The second electronic device modifies the first target content of the target file displayed in the second electronic device according to the second instruction.
可选的,本发明实施例中,上述第四输入可以为第一电子设备的用户执行的输入。上述第四输入可以用于触发修改第一目标内容。Optionally, in this embodiment of the present invention, the foregoing fourth input may be an input performed by a user of the first electronic device. The aforementioned fourth input can be used to trigger the modification of the first target content.
对于S307-S310的描述具体可以参见上述S303-S306中的相关描述,为了避免重复,此处不再赘述。For the description of S307-S310, please refer to the relevant descriptions in S303-S306. In order to avoid repetition, details are not repeated here.
可以理解,本发明实施例中,在执行上述S301-S310之后,第一电子设备中的目标文件和第二电子设备中的目标文件均为上述第一指令和第二指令共同作用的结果;即在执行上述S301-S310之后,第一电子设备中的目标文件的内容与第二电子设备中的目标文件的内容相同。It can be understood that, in this embodiment of the present invention, after the above S301-S310 are executed, the target file in the first electronic device and the target file in the second electronic device are both the result of the joint action of the above first instruction and the second instruction; that is, After performing the above S301-S310, the content of the target file in the first electronic device is the same as the content of the target file in the second electronic device.
例如,假设目标文件为文档,未修改前目标文件的内容为“将洗衣粉、烟头放在水里,待溶解后,拿来擦玻璃窗,效果好。”假设第一指令为在“烟头”前添加“、吸烟剩下的”的指令,第二指令为在“效果”后添加文字“十分”的指令。那么在上述S310之后,第一电子设备中的目标文件的内容为“将洗衣粉、吸烟剩下的烟头放在水里,待溶解后,拿来擦玻璃窗,效果十分好。”,第二电子设备中的目标文件的内容为“将洗衣粉、吸烟剩下的烟头放在水里,待溶解后,拿来擦玻璃窗,效果十分好。”。For example, suppose the target file is a document, and the content of the target file before modification is "Put washing powder and cigarette butts in water. After they are dissolved, use them to clean the glass window, and the effect is good." Suppose the first instruction is in "Cigarette Butts" Add the instruction of ", smoking leftover" before, and the second instruction is the instruction of adding the text "ten" after the "effect". Then after the above S310, the content of the target file in the first electronic device is "Put the washing powder and cigarette butts left over from smoking in the water. After they are dissolved, they can be used to clean the windows. The effect is very good.", Second The content of the target file in the electronic device is "Put washing powder and cigarette butts left over from smoking in water, and after they are dissolved, use them to clean the glass windows. The effect is very good.".
可选的,本发明实施例中,当第二电子设备的数量为多个时,每个第二电子设备在向第一电子设备发送第一指令时,也可以向除该第二电子设备之外的其他第二电子设备(以下可以称为第三电子设备)发送该第一指令,从而第三电子设备在接收到该第一指令之后,第三电子设备可以根据该第一指令,修改第三电子设备中显示的第一目标内容。如此,可以保证共享圈所有成员(即参与修改目标文件的用户,例如,第一电子设备的用户和第二电子设备的用户)的电子设备中的目标文件保持一致。Optionally, in the embodiment of the present invention, when the number of second electronic devices is multiple, each second electronic device may also send the first instruction to the first electronic device when sending the first instruction to the first electronic device. The other second electronic device (hereinafter may be referred to as the third electronic device) sends the first instruction, so that after the third electronic device receives the first instruction, the third electronic device can modify the first instruction according to the first instruction. 3. The first target content displayed in the electronic device. In this way, it can be ensured that the target files in the electronic devices of all members of the sharing circle (that is, users participating in modifying the target file, for example, the user of the first electronic device and the user of the second electronic device) remain consistent.
本发明实施例中,由于每个参与修改目标文件的用户均可以通过一个电子设备(例如上述第一电子设备和第二电子设备)触发修改该电子设备中保存的目标文件,并可以同步触发修改共享圈其他成员的电子设备中保存的目标文件,如此可以实现多人修改同一目标文件,从而可以在满足多人修改需求的基础上,提高修改目标文件的效率。In the embodiment of the present invention, each user who participates in modifying the target file can trigger the modification of the target file stored in the electronic device through an electronic device (for example, the above-mentioned first electronic device and the second electronic device), and can synchronously trigger the modification Share the target file saved in the electronic device of other members of the circle, so that multiple people can modify the same target file, so that the efficiency of modifying the target file can be improved on the basis of meeting the modification needs of multiple people.
可选的,本发明实施例中,第一电子设备的共享应用界面(以下可以称为第一界面)和第二电子设备的共享应用界面(以下可以称为第二界面)中可以包括第一目标控件,第一目标控件可以用于触发在共享圈的成员中,进一步选择共享指令的成员。Optionally, in the embodiment of the present invention, the shared application interface of the first electronic device (hereinafter may be referred to as the first interface) and the shared application interface of the second electronic device (hereinafter may be referred to as the second interface) may include the first The target control, the first target control can be used to trigger the members in the sharing circle to further select the members of the sharing instruction.
示例性的,假设第二电子设备的数量为2个,分别为电子设备3和电子设备4,即第一电子设备将目标文件分别发送给电子设备3和电子设备4,那么若电子设备3的用户需求与电子设备4的用户共同修改目标文件,则电子设备3的用户可以通过对电子设备3的第二界面中显示的第一目标控件的输入,触发电子设备3选中电子设备4。那么,在电子设备3选中电子设备4之后,电子设备3可以向电子设备4发送电子设备3的用户触发生成的第一指令,且可以避免向第一电子设备发送该第一指令,从而可以避免第一电子设备共享电子设备3生成的第一指令。如此,由于共享圈的每个成员均可以在共享圈的成员中进一步选择共享指令的成员,因此可以在保证多人共同修改目标文件的基础上,进一步缩小共同修改目标文件的成员范围,即可以在共享圈成员中进一步实现小范围的修改,如此可以进一步提高修改目标文件的灵活性。Exemplarily, suppose the number of second electronic devices is two, namely electronic device 3 and electronic device 4, that is, the first electronic device sends the target file to electronic device 3 and electronic device 4, then if the electronic device 3 If the user needs to modify the target file together with the user of the electronic device 4, the user of the electronic device 3 can trigger the electronic device 3 to select the electronic device 4 by inputting the first target control displayed on the second interface of the electronic device 3. Then, after the electronic device 3 selects the electronic device 4, the electronic device 3 can send the first instruction generated by the user of the electronic device 3 to the electronic device 4, and can avoid sending the first instruction to the first electronic device, thereby avoiding The first electronic device shares the first instruction generated by the electronic device 3. In this way, since each member of the sharing circle can further select the members of the sharing instruction among the members of the sharing circle, it is possible to further narrow the range of members who jointly modify the target file on the basis of ensuring that multiple people modify the target file together. Further implement small-scale modifications among the members of the sharing circle, which can further improve the flexibility of modifying the target file.
可选的,本发明实施例中,上述第一界面和第二界面中还可以包括第二目标控件,第二目标控件可以用于触发邀请除共享圈成员之外的其他用户共同修改目标文件。即在第一电子设备的用户和第二电子设备的用户共同修改目标文件的过程中,第一电子设备的用户和第二电子设备的用户均可以通过对第二目标控件的输入,触发邀请除第一电子设备的用户和第二电子设备的用户之外的其它用户(例如,第一电子设备的好友用户,或第二电子设备的好友用户,以下可以称为好友用户)共同修改目标文件。Optionally, in the embodiment of the present invention, the first interface and the second interface may further include a second target control, and the second target control may be used to trigger an invitation to other users except members of the sharing circle to jointly modify the target file. That is, in the process that the user of the first electronic device and the user of the second electronic device jointly modify the target file, the user of the first electronic device and the user of the second electronic device can both trigger the invitation to delete by inputting the second target control. The user of the first electronic device and the user other than the user of the second electronic device (for example, a friend user of the first electronic device or a friend user of the second electronic device, hereinafter may be referred to as a friend user) jointly modify the target file.
可选的,本发明实施例中,在好友用户同意共同修改目标文件之后,触发邀请的用户的电子设备可以向该好友用户的电子设备发送最近一次修改后的目标文件。Optionally, in this embodiment of the present invention, after the friend user agrees to jointly modify the target file, the electronic device of the user who triggered the invitation may send the most recently modified target file to the electronic device of the friend user.
本发明实施例中,在多人共同修改目标文件的过程中,由于共享圈的每个成员均可以触发邀请除共享圈成员之外的其它用户参与共同修改目标文件,如此可以提高共同修改目标文件的灵活性和便捷性,从而可以提高人机交互性能。In the embodiment of the present invention, in the process of multiple people jointly modifying the target file, since each member of the sharing circle can trigger to invite other users except the members of the sharing circle to participate in the common modification of the target file, this can improve the common modification of the target file. Its flexibility and convenience can improve the performance of human-computer interaction.
需要说明的是,本发明实施例中,上述各个方法附图所示的共享控制方法均是以结合本发明实施例中的一个附图为例示例性说明的。具体实现时,上述各个方法附图所示的共享控制方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present invention, the sharing control methods shown in the above-mentioned method drawings are all exemplified in conjunction with a drawing in the embodiment of the present invention. In specific implementation, the sharing control method shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
如图15所示,本发明实施例提供一种电子设备150,该电子设备150可以为第一电子设备,该电子设备可以包括共享模块151。共享模块151,可以用于在通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则停止向第二电子设备共享第一对象;其中,目标条件可以为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;第一内容可以为第一对象中的内容,第二内容和第三内容可以为除第一对象之外的任意内容。As shown in FIG. 15, an embodiment of the present invention provides an electronic device 150. The electronic device 150 may be a first electronic device, and the electronic device may include a sharing module 151. The sharing module 151 can be used to stop sharing the first object with the second electronic device if the first screen area meets the target condition when the first object is shared with the second electronic device through the first screen area; The condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content can be the content in the first object, the second content and The third content may be any content other than the first object.
可选的,本发明实施例中,结合图15,如图16所示,上述电子设备150还可以包括第一接收模块152。第一接收模块152,可以用于接收用户的第一输入,第一输入可以为触发共享第一对象的输入;共享模块151,还可以用于响应于第一接收模块152接收的第一输入,通过第一屏幕区域向第二电子设备共享第一对象。Optionally, in this embodiment of the present invention, with reference to FIG. 15, as shown in FIG. 16, the above-mentioned electronic device 150 may further include a first receiving module 152. The first receiving module 152 may be used to receive a user's first input, and the first input may be an input that triggers sharing of the first object; the sharing module 151 may also be used to respond to the first input received by the first receiving module 152, The first object is shared with the second electronic device through the first screen area.
可选的,本发明实施例中,结合上述图16,如图17所示,上述第一输入可以包括用户对第一对象的第一子输入和对目标控件的第二子输入,目标控件可以用于触发共享对象;上述共享模块151可以包括:显示子模块和共享子模块。显示子模块,可以用于响应于第一子输入,选中第一对象,并显示目标控件;且响应于第二子输入,在第一屏幕区域中显示第一内容;共享子模块,可以用于响应于第二子输入,并向第二电子设备共享显示子模块显示的第一对象中的第一内容。Optionally, in this embodiment of the present invention, in conjunction with the foregoing FIG. 16, as shown in FIG. 17, the foregoing first input may include a user's first sub-input to the first object and a second sub-input to the target control, and the target control may Used to trigger shared objects; the above-mentioned sharing module 151 may include: a display sub-module and a sharing sub-module. The display sub-module can be used to select the first object in response to the first sub-input and display the target control; and in response to the second sub-input, the first content is displayed in the first screen area; the sharing sub-module can be used to In response to the second sub-input, the first content in the first object displayed by the display sub-module is shared with the second electronic device.
可选的,本发明实施例中,上述共享模块151,还可以用于在停止向第二电子设备共享第一对象之后,若显示子模块取消显示第一屏幕区域中显示的第三内容或将第二内容更新为第一内容,则重新向第二电子设备共享第一对象。Optionally, in the embodiment of the present invention, the above-mentioned sharing module 151 can also be used to stop sharing the first object with the second electronic device, if the display submodule cancels the display of the third content displayed in the first screen area or changes the display of the third content displayed in the first screen area. When the second content is updated to the first content, the first object is shared with the second electronic device again.
可选的,本发明实施例中,结合上述图15,如图17所示,上述电子设备150还可以包括处理模块153和第二接收模块154。第二接收模块154,可以用于在共享模块151向第二电子设备共享第一对象的情况下,接收第二电子设备发送的目标指令;处理模块153,可以用于根据第二接收模块154接收的目标指令,修改第一内容或调整第一内容的输出参数。Optionally, in the embodiment of the present invention, in conjunction with the foregoing FIG. 15, as shown in FIG. 17, the foregoing electronic device 150 may further include a processing module 153 and a second receiving module 154. The second receiving module 154 can be used to receive the target instruction sent by the second electronic device when the sharing module 151 shares the first object with the second electronic device; the processing module 153 can be used to receive according to the second receiving module 154 The target instruction to modify the first content or adjust the output parameters of the first content.
可选的,本发明实施例中,上述共享模块151,还可以用于在处理模块153修改第一内容或调整第一内容的输出参数之后,向第二电子设备共享调整输出参数后的第一内容。Optionally, in the embodiment of the present invention, the aforementioned sharing module 151 may also be used to share the first content adjusted output parameter with the second electronic device after the processing module 153 modifies the first content or adjusts the output parameter of the first content. content.
本发明实施例提供的电子设备,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则第一电子设备可以停止向第二电子设备共享第一对象;其中,目标条件可以为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;其中,第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。通过该方案,在第一电子设备向第二电子设备共享第一对象的过程中,当第一电子设备向第二电子设备共享的内容被除第一对象之外的其它内容覆盖,或者该共享的内容被更新为除第一对象之外的其它内容时,由于第一电子设备可以停止向第二电子设备共享该第一对象,因此可以避免第一电子设备向第二电子设备共享除第一对象之外的其它内容,从而可以在共享者通过其电子设备向被共享者共享对象的情况下,保证共享者的隐私信息不被泄露。In the electronic device provided by the embodiment of the present invention, when the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area satisfies the target condition, the first electronic device can stop sending the first object to the second electronic device. 2. The electronic device shares the first object; where the target condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; where the first content Is the content in the first object, and the second content and the third content are arbitrary content except the first object. With this solution, when the first electronic device shares the first object with the second electronic device, when the content shared by the first electronic device with the second electronic device is covered by content other than the first object, or the sharing When the content of is updated to content other than the first object, since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object with the second electronic device. Contents other than the object, so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer’s private information is not leaked.
本发明实施例提供的电子设备150能够实现上述方法实施例所示的第一电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 150 provided in the embodiment of the present invention can implement each process implemented by the first electronic device shown in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
如图18所示,本发明实施例提供一种电子设备180,该电子设备180可以为第二电子设备,该电子设备180可以包括:接收模块181、显示模块182、生成模块183和发送模块184。接收模块181,可以用于在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,接收第一电子设备发送的第一图像,第一图像可以为第一屏幕区域显示第一内容时的图像;显示模块182,可以用于显示接收模块181接收的第一图像;接收模块181,还可以用于接收用户针对显示模块182显示的第一图像的目标输入;生成模块183,可以用于根据接收模块181接收的目标输入,生成目标指令;发送模块184,可以用于向第一电子设备发送生成模块183生成的目标指令;其中,目标指令可以用于指示第一电子设备修改第一内容或调整第一内容的输出参数,目标输入可以用户为在第一图像上的输入,或者,目标输入可以为用户对第二电子设备显示的功能控件的输入。As shown in FIG. 18, an embodiment of the present invention provides an electronic device 180. The electronic device 180 may be a second electronic device. The electronic device 180 may include: a receiving module 181, a display module 182, a generating module 183, and a sending module 184 . The receiving module 181 may be used to receive the first image sent by the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area, and the first image may be the first screen area The image when the first content is displayed; the display module 182 can be used to display the first image received by the receiving module 181; the receiving module 181 can also be used to receive the user's target input for the first image displayed by the display module 182; the generation module 183, can be used to generate a target instruction according to the target input received by the receiving module 181; the sending module 184 can be used to send the target instruction generated by the generation module 183 to the first electronic device; wherein, the target instruction can be used to instruct the first electronic device The device modifies the first content or adjusts the output parameters of the first content. The target input may be the user's input on the first image, or the target input may be the user's input to the function control displayed on the second electronic device.
可选的,本发明实施例中,上述接收模块181,还可以用于在发送模块184向第一电子设备发送目标指令之后,接收第一电子设备发送的第二图像;显示模块182,还可以用于将第一图像更新可以为接收模块181接收的第二图像,第二图像可以为第一电子设备对第一内容执行目标指令后,第一屏幕区域的图像。Optionally, in this embodiment of the present invention, the above-mentioned receiving module 181 may also be used to receive the second image sent by the first electronic device after the sending module 184 sends the target instruction to the first electronic device; the display module 182 may also The first image used to update the first image may be the second image received by the receiving module 181, and the second image may be the image of the first screen area after the first electronic device executes the target instruction on the first content.
本发明实施例提供一种电子设备,该终端设备可以为第二终端设备,第二终端设备可以在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,接收第一电子设备发送的第一图像,并显示第一图像(为第一屏幕区域显示第一内容时的图像);且接收用户针对第一图像的目标输入;并根据目标输入,生成用于指示第一电子设备修改第一内容或调整第一内容的输出参数的目标指令,且向第一电子设备发送目标指令;第一电子设备接收到目标指令之后,第一电子设备可以根据目标指令,修改第一内容或调整第一内容的输出参数。通过该方案,由于第二用户(即第二电子设备的用户)可以直接在第二电子设备上查看第一电子设备中显示的第一对象中的第 一内容和第一内容的显示效果,并直接在第二电子设备上触发修改第一内容和/或调整第一内容的输出参数,而无需第二用户将修改内容的需求或调整输出参数的需求告知第一用户(即第一电子设备的用户)后,由第一用户在第一电子设备上操作触发修改或调整,因此简化了触发修改共享内容和触发调整共享内容的输出参数的过程,提高了人机交互性能。An embodiment of the present invention provides an electronic device, the terminal device may be a second terminal device, and the second terminal device may receive the first object when the first electronic device shares the first object with the second electronic device through the first screen area. An electronic device sends a first image, and displays the first image (the image when the first content is displayed for the first screen area); and receives the user's target input for the first image; and according to the target input, generates an instruction for the first image An electronic device modifies the first content or adjusts the target instruction of the output parameter of the first content, and sends the target instruction to the first electronic device; after the first electronic device receives the target instruction, the first electronic device can modify the first electronic device according to the target instruction. One content or adjust the output parameters of the first content. With this solution, the second user (ie, the user of the second electronic device) can directly view the first content in the first object displayed in the first electronic device and the display effect of the first content on the second electronic device, and Trigger the modification of the first content and/or the adjustment of the output parameters of the first content directly on the second electronic device, without the need for the second user to inform the first user (ie the first electronic device’s demand for modifying the content or adjusting the output parameters) After the user), the first user operates to trigger the modification or adjustment on the first electronic device, thus simplifying the process of triggering the modification of the shared content and triggering the adjustment of the output parameters of the shared content, and improves the human-computer interaction performance.
本发明实施例提供的电子设备180能够实现上述方法实施例所示的第二电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device 180 provided in the embodiment of the present invention can implement each process implemented by the second electronic device shown in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
图19为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图19所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图19中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 19 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention. As shown in FIG. 19, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , Processor 110, and power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 19 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,在图15所示的电子设备为上述第一电子设备的情况下,处理器110,用于在通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则停止向第二电子设备共享第一对象;其中,目标条件为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。Wherein, in the case where the electronic device shown in FIG. 15 is the above-mentioned first electronic device, the processor 110 is configured to share the first object with the second electronic device through the first screen area, if the first screen area If the target condition is met, the sharing of the first object with the second electronic device is stopped; where the target condition is any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area. Content; the first content is the content in the first object, the second content and the third content are any content except the first object.
可以理解,本发明实施例中,上述电子设备的结构示意图(例如图15和图16)中的共享模块151可以通过上述射频单元101和上述显示单元106实现。上述电子设备的结构示意图(例如图16-图17)中的第一接收模块152可以通过上述用户输入单元107实现。上述电子设备的结构示意图(例如图17)中的处理模块153可以通过上述处理器110实现。上述电子设备的结构示意图(例如图17)中的第二接收模块154可以通过射频单元101实现。It can be understood that, in the embodiment of the present invention, the sharing module 151 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 15 and FIG. 16) may be implemented by the above-mentioned radio frequency unit 101 and the above-mentioned display unit 106. The first receiving module 152 in the above-mentioned structural schematic diagram of the electronic device (for example, FIGS. 16-17) may be implemented by the above-mentioned user input unit 107. The processing module 153 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 17) may be implemented by the above-mentioned processor 110. The second receiving module 154 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 17) may be implemented by the radio frequency unit 101.
本发明实施例提供的电子设备,在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则第一电子设备可以停止向第二电子设备共享第一对象;其中,目标条件可以为以下任意一项:将第一屏幕区域显示的第一内容更新为第二内容、在第一屏幕区域显示第三内容;其中,第一内容为第一对象中的内容,第二内容和第三内容为除第一对象之外的任意内容。通过该方案,在第一电子设备向第二电子设备共享第一对象的过程中,当第一电子设备向第二电子设备共享的内容被除第一对象之外的其它内容覆盖,或者该共享的内容被更新为除第一对象之外的其它内容时,由于第一电子设备可以停止向第二电子设备共享该第一对象,因此可以避免第一电子设备向第二电子设备共享除第一对象之外的其他内容,从而可以在共享者通过其电子设备向被共享者共享对象的情况下,保证共享者的隐私信息不被泄露。In the electronic device provided by the embodiment of the present invention, when the first electronic device shares the first object with the second electronic device through the first screen area, if the first screen area satisfies the target condition, the first electronic device can stop sending the first object to the second electronic device. 2. The electronic device shares the first object; where the target condition can be any of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; where the first content Is the content in the first object, and the second content and the third content are arbitrary content except the first object. With this solution, when the first electronic device shares the first object with the second electronic device, when the content shared by the first electronic device with the second electronic device is covered by content other than the first object, or the sharing When the content of is updated to content other than the first object, since the first electronic device can stop sharing the first object with the second electronic device, it can prevent the first electronic device from sharing the first object with the second electronic device. Contents other than the object, so that when the sharer shares the object with the shareee through his electronic device, it is possible to ensure that the sharer’s private information is not leaked.
在图18所示的电子设备为上述第二电子设备的情况下,射频单元101,用于在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,接收第一电子 设备发送的第一图像;显示单元106,用于显示输入单元104接收的第一图像,第一图像为第一屏幕区域显示第一内容时的图像;用户输入单元107,还用于接收用户针对显示单元106显示的第一图像的目标输入;处理器110,用于根据目标输入,生成目标指令;射频单元101,用于向第一电子设备发送处理器110生成的目标指令,目标指令用于指示第一电子设备修改第一内容或调整第一内容的显示参数。In the case where the electronic device shown in FIG. 18 is the above-mentioned second electronic device, the radio frequency unit 101 is configured to receive the first object when the first electronic device shares the first object with the second electronic device through the first screen area. The first image sent by the electronic device; the display unit 106 is used to display the first image received by the input unit 104, the first image is the image when the first content is displayed in the first screen area; the user input unit 107 is also used to receive the user For the target input of the first image displayed by the display unit 106; the processor 110 is used to generate a target command according to the target input; the radio frequency unit 101 is used to send the target command generated by the processor 110 to the first electronic device, and the target command is used To instruct the first electronic device to modify the first content or adjust the display parameters of the first content.
可以理解,本发明实施例中,上述电子设备的结构示意图(例如图18)中的接收模块181可以通过上述射频单元101和用户输入单元107实现。上述电子设备的结构示意图(例如图18)中的显示模块182可以通过上述显示单元106实现。上述电子设备的结构示意图(例如图18)中的生成模块183可以通过上述处理器110实现。上述电子设备的结构示意图(例如图18)中的发送模块184可以通过上述射频单元101实现。It can be understood that, in the embodiment of the present invention, the receiving module 181 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 18) may be implemented by the above-mentioned radio frequency unit 101 and the user input unit 107. The display module 182 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 18) may be implemented by the above-mentioned display unit 106. The generating module 183 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 18) may be implemented by the above-mentioned processor 110. The sending module 184 in the above-mentioned structural schematic diagram of the electronic device (for example, FIG. 18) can be implemented by the above-mentioned radio frequency unit 101.
本发明实施例提供一种电子设备,该终端设备可以为第二终端设备,第二终端设备可以在第一电子设备通过第一屏幕区域向第二电子设备共享第一对象的情况下,接收第一电子设备发送的第一图像,并显示第一图像(为第一屏幕区域显示第一内容时的图像);且接收用户针对第一图像的目标输入;并根据目标输入,生成用于指示第一电子设备修改第一内容或调整第一内容的输出参数的目标指令,且向第一电子设备发送目标指令;第一电子设备接收到目标指令之后,第一电子设备可以根据目标指令,修改第一内容或调整第一内容的输出参数。通过该方案,由于第二用户(即第二电子设备的用户)可以直接在第二电子设备上查看第一电子设备中显示的第一对象中的第一内容和第一内容的显示效果,并直接在第二电子设备上触发修改第一内容和/或调整第一内容的输出参数,而无需第二用户将修改内容的需求或调整输出参数的需求告知第一用户(即第一电子设备的用户)后,由第一用户在第一电子设备上操作触发修改或调整,因此简化了触发修改共享内容和触发调整共享内容的输出参数的过程,提高了人机交互性能。An embodiment of the present invention provides an electronic device, the terminal device may be a second terminal device, and the second terminal device may receive the first object when the first electronic device shares the first object with the second electronic device through the first screen area. An electronic device sends a first image, and displays the first image (the image when the first content is displayed for the first screen area); and receives the user's target input for the first image; and according to the target input, generates an instruction for the first image An electronic device modifies the first content or adjusts the target instruction of the output parameter of the first content, and sends the target instruction to the first electronic device; after the first electronic device receives the target instruction, the first electronic device can modify the first electronic device according to the target instruction. One content or adjust the output parameters of the first content. With this solution, the second user (ie, the user of the second electronic device) can directly view the first content in the first object displayed in the first electronic device and the display effect of the first content on the second electronic device, and Trigger the modification of the first content and/or the adjustment of the output parameters of the first content directly on the second electronic device, without the need for the second user to inform the first user (ie the first electronic device’s demand for modifying the content or adjusting the output parameters) After the user), the first user operates to trigger the modification or adjustment on the first electronic device, thus simplifying the process of triggering the modification of the shared content and triggering the adjustment of the output parameters of the shared content, and improves the human-computer interaction performance.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理 后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 106. The image frames processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图19中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 19, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件 或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device and the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选的,本发明实施例还提供一种电子设备,包括如图19所示的处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, including a processor 110 as shown in FIG. 19, a memory 109, a computer program stored in the memory 109 and running on the processor 110, the computer When the program is executed by the processor 110, each process of the foregoing method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here. Wherein, the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
本发明实施例还提供一种共享控制装置/设备,包括所述装置/设备被配置成用于执行上述方法实施例中的共享控制方法。The embodiment of the present invention also provides a sharing control device/equipment, including the device/equipment configured to execute the sharing control method in the foregoing method embodiment.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一 个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (20)

  1. 一种共享控制方法,应用于第一电子设备,所述方法包括:A sharing control method applied to a first electronic device, the method including:
    在通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则停止向所述第二电子设备共享所述第一对象;In the case of sharing the first object with the second electronic device through the first screen area, if the first screen area meets the target condition, stop sharing the first object with the second electronic device;
    其中,所述目标条件为以下任意一项:将所述第一屏幕区域显示的第一内容更新为第二内容、在所述第一屏幕区域显示第三内容;所述第一内容为所述第一对象中的内容,所述第二内容和所述第三内容为除所述第一对象之外的任意内容。Wherein, the target condition is any one of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content is the The content in the first object, the second content and the third content are any content other than the first object.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    接收用户的第一输入,所述第一输入为触发共享第一对象的输入;Receiving a first input from a user, where the first input is an input that triggers sharing of the first object;
    响应于所述第一输入,通过所述第一屏幕区域向所述第二电子设备共享所述第一对象。In response to the first input, the first object is shared with the second electronic device through the first screen area.
  3. 根据权利要求2所述的方法,其中,所述第一输入包括对所述第一对象的第一子输入和对目标控件的第二子输入,所述目标控件用于触发共享对象;The method according to claim 2, wherein the first input includes a first sub-input to the first object and a second sub-input to a target control, and the target control is used to trigger a shared object;
    所述响应于所述第一输入,通过所述第一屏幕区域向所述第二电子设备共享所述第一对象,包括:The sharing the first object with the second electronic device through the first screen area in response to the first input includes:
    响应于所述第一子输入,选中所述第一对象,并显示所述目标控件;In response to the first sub-input, select the first object, and display the target control;
    响应于所述第二子输入,在所述第一屏幕区域中显示所述第一内容,并向所述第二电子设备共享所述第一对象中的所述第一内容。In response to the second sub-input, the first content is displayed in the first screen area, and the first content in the first object is shared with the second electronic device.
  4. 根据权利要求1至3中任一项所述的方法,其中,在停止向所述第二电子设备共享所述第一对象之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein after stopping sharing the first object with the second electronic device, the method further comprises:
    若取消显示所述第一屏幕区域中显示的所述第三内容或将所述第二内容更新为所述第一内容,则重新向所述第二电子设备共享所述第一对象。If the third content displayed in the first screen area is canceled or the second content is updated to the first content, the first object is shared with the second electronic device again.
  5. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在向所述第二电子设备共享所述第一对象的情况下,接收所述第二电子设备发送的目标指令;In the case of sharing the first object with the second electronic device, receiving a target instruction sent by the second electronic device;
    根据所述目标指令,修改所述第一内容或调整所述第一内容的输出参数。According to the target instruction, the first content is modified or the output parameter of the first content is adjusted.
  6. 根据权利要求5所述的方法,其中,在修改所述第一内容或调整所述第一内容的输出参数之后,所述方法还包括:The method according to claim 5, wherein, after modifying the first content or adjusting an output parameter of the first content, the method further comprises:
    向所述第二电子设备共享修改后的所述第一内容或调整输出参数后的所述第一内容。Sharing the modified first content or the first content after adjusting output parameters with the second electronic device.
  7. 一种共享控制方法,应用于第二电子设备,所述方法包括:A sharing control method applied to a second electronic device, the method including:
    在第一电子设备通过第一屏幕区域向所述第二电子设备共享第一对象的情况下,接收所述第一电子设备发送的第一图像,并显示所述第一图像,所述第一图像为所述第一屏幕区域显示第一内容时的图像;When the first electronic device shares the first object with the second electronic device through the first screen area, receiving the first image sent by the first electronic device and displaying the first image, the first The image is an image when the first content is displayed in the first screen area;
    接收用户针对所述第一图像的目标输入;Receiving a user's target input for the first image;
    根据所述目标输入,生成目标指令,并向所述第一电子设备发送所述目标指令,所述目标指令用于指示所述第一电子设备修改所述第一内容或调整所述第一内容的输出参数;According to the target input, generate a target instruction, and send the target instruction to the first electronic device, where the target instruction is used to instruct the first electronic device to modify the first content or adjust the first content The output parameters;
    其中,所述目标输入为在所述第一图像上的输入,或者,所述目标输入为对所述 第二电子设备显示的功能控件的输入。Wherein, the target input is an input on the first image, or the target input is an input to a function control displayed on the second electronic device.
  8. 根据权利要求7所述的方法,其中,在向所述第一电子设备发送所述目标指令之后,所述方法还包括:The method according to claim 7, wherein after sending the target instruction to the first electronic device, the method further comprises:
    接收所述第一电子设备发送的第二图像,并将所述第一图像更新为所述第二图像,所述第二图像为所述第一电子设备对所述第一内容执行所述目标指令后,所述第一屏幕区域的图像。Receiving a second image sent by the first electronic device, and updating the first image to the second image, the second image being the first electronic device executing the target on the first content After the instruction, the image of the first screen area.
  9. 一种电子设备,所述电子设备为第一电子设备,所述电子设备包括共享模块;An electronic device, the electronic device is a first electronic device, and the electronic device includes a sharing module;
    所述共享模块,用于在通过第一屏幕区域向第二电子设备共享第一对象的情况下,若第一屏幕区域满足目标条件,则停止向所述第二电子设备共享所述第一对象;The sharing module is configured to stop sharing the first object with the second electronic device if the first screen area meets the target condition when the first object is shared with the second electronic device through the first screen area ;
    其中,所述目标条件为以下任意一项:将所述第一屏幕区域显示的第一内容更新为第二内容、在所述第一屏幕区域显示第三内容;所述第一内容为所述第一对象中的内容,所述第二内容和所述第三内容为除所述第一对象之外的任意内容。Wherein, the target condition is any one of the following: update the first content displayed in the first screen area to the second content, and display the third content in the first screen area; the first content is the The content in the first object, the second content and the third content are any content other than the first object.
  10. 根据权利要求9所述的电子设备,其中,所述电子设备还包括第一第一接收模块;The electronic device according to claim 9, wherein the electronic device further comprises a first first receiving module;
    所述第一接收模块,用于接收用户的第一输入,所述第一输入为触发共享第一对象的输入;The first receiving module is configured to receive a first input from a user, where the first input is an input that triggers sharing of a first object;
    所述共享模块,具体用于响应于所述第一输入,通过所述第一屏幕区域向所述第二电子设备共享所述第一对象。The sharing module is specifically configured to share the first object with the second electronic device through the first screen area in response to the first input.
  11. 根据权利要求10所述的电子设备,其中,所述第一输入包括对所述第一对象的第一子输入和对目标控件的第二子输入,所述目标控件用于触发共享对象;所述共享模块包括显示子模块和共享子模块;The electronic device according to claim 10, wherein the first input includes a first sub-input to the first object and a second sub-input to a target control, the target control being used to trigger a shared object; The shared module includes a display sub-module and a shared sub-module;
    所述显示子模块,用于响应于所述第一子输入,选中所述第一对象,并显示所述目标控件;The display sub-module is configured to select the first object in response to the first sub-input, and display the target control;
    所述共享子模块,用于响应于所述第二子输入,在所述第一屏幕区域中显示所述第一内容,并向所述第二电子设备共享所述第一对象中的所述第一内容。The sharing sub-module is configured to display the first content in the first screen area in response to the second sub-input, and share the first object in the second electronic device with the The first content.
  12. 根据权利要求9至11中任一项所述的电子设备,其中,所述共享模块,还用于在停止向所述第二电子设备共享所述第一对象之后,若取消显示所述第一屏幕区域中显示的所述第三内容或将所述第二内容更新为所述第一内容,则重新向所述第二电子设备共享所述第一对象。The electronic device according to any one of claims 9 to 11, wherein the sharing module is further configured to stop sharing the first object with the second electronic device, if the display of the first object is canceled If the third content displayed in the screen area or the second content is updated to the first content, the first object is shared with the second electronic device again.
  13. 根据权利要求9所述的电子设备,其中,所述电子设备还包括第二接收模块和处理模块;The electronic device according to claim 9, wherein the electronic device further comprises a second receiving module and a processing module;
    所述第二接收模块,用于在所述共享模块向所述第二电子设备共享所述第一对象的情况下,接收所述第二电子设备发送的目标指令;The second receiving module is configured to receive a target instruction sent by the second electronic device when the sharing module shares the first object with the second electronic device;
    所述处理模块,用于根据所述第二接收模块接收的所述目标指令,修改所述第一内容或调整所述第一内容的输出参数。The processing module is configured to modify the first content or adjust the output parameter of the first content according to the target instruction received by the second receiving module.
  14. 根据权利要求13所述的电子设备,其中,所述共享模块,还用于在所述处理模块修改所述第一内容或调整所述第一内容的输出参数之后,向所述第二电子设备共享修改后的所述第一内容或调整输出参数后的所述第一内容。The electronic device according to claim 13, wherein the sharing module is further configured to provide the second electronic device to the second electronic device after the processing module modifies the first content or adjusts the output parameters of the first content Sharing the modified first content or the first content after adjusting output parameters.
  15. 一种电子设备,所述电子设备为第二电子设备,所述电子设备包括:接收模 块、显示模块、生成模块和发送模块;An electronic device, the electronic device being a second electronic device, the electronic device comprising: a receiving module, a display module, a generating module, and a sending module;
    所述接收模块,用于在第一电子设备通过第一屏幕区域向所述第二电子设备共享第一对象的情况下,接收所述第一电子设备发送的第一图像;The receiving module is configured to receive the first image sent by the first electronic device when the first electronic device shares the first object with the second electronic device through the first screen area;
    所述显示模块,用于显示所述接收模块接收的所述第一图像,所述第一图像为所述第一屏幕区域显示第一内容时的图像;The display module is configured to display the first image received by the receiving module, where the first image is an image when the first content is displayed in the first screen area;
    所述接收模块,还用于接收用户针对所述显示模块显示的所述第一图像的目标输入;The receiving module is further configured to receive a user's target input for the first image displayed by the display module;
    所述生成模块,用于根据所述接收模块接收的所述目标输入,生成目标指令;The generating module is configured to generate a target instruction according to the target input received by the receiving module;
    所述发送模块,用于向所述第一电子设备发送所述生成模块生成的所述目标指令,所述目标指令用于指示所述第一电子设备修改所述第一内容或调整所述第一内容的输出参数;The sending module is configured to send the target instruction generated by the generating module to the first electronic device, where the target instruction is used to instruct the first electronic device to modify the first content or adjust the first content. One content output parameter;
    其中,所述目标输入为在所述第一图像上的输入,或者,所述目标输入为对所述第二电子设备显示的功能控件的输入。Wherein, the target input is an input on the first image, or the target input is an input to a functional control displayed on the second electronic device.
  16. 根据权利要求15所述的电子设备,其中,所述电子设备还包括更新模块;The electronic device according to claim 15, wherein the electronic device further comprises an update module;
    所述接收模块,还用于在所述发送模块向所述第一电子设备发送所述目标指令之后,接收所述第一电子设备发送的第二图像;The receiving module is further configured to receive the second image sent by the first electronic device after the sending module sends the target instruction to the first electronic device;
    所述更新模块,用于将所述接收模块接收的所述第一图像更新为所述第二图像,所述第二图像为所述第一电子设备对所述第一内容执行所述目标指令后,所述第一屏幕区域的图像。The update module is configured to update the first image received by the receiving module to the second image, where the second image is for the first electronic device to execute the target instruction on the first content After that, the image of the first screen area.
  17. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的移动终端的控制方法的步骤。A mobile terminal comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 6 One of the steps of the control method of the mobile terminal.
  18. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求7或8所述的移动终端的控制方法的步骤。A mobile terminal, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement the claim 7 or 8 The steps of the control method of the mobile terminal.
  19. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项或如权利要求7或8所述的共享控制方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the method described in any one of claims 1 to 6 or claim 7 or 8 Shared control method steps.
  20. 一种共享控制装置/设备,其中,包括所述装置/设备被配置成用于执行如权利要求1至6中任一项或如权利要求7或8所述的共享控制方法。A sharing control device/equipment, wherein the device/equipment is configured to execute the sharing control method according to any one of claims 1 to 6 or claim 7 or 8.
PCT/CN2020/128635 2019-11-15 2020-11-13 Sharing control method and electronic device WO2021093844A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911117941.2A CN110989950A (en) 2019-11-15 2019-11-15 Sharing control method and electronic equipment
CN201911117941.2 2019-11-15

Publications (1)

Publication Number Publication Date
WO2021093844A1 true WO2021093844A1 (en) 2021-05-20

Family

ID=70084569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/128635 WO2021093844A1 (en) 2019-11-15 2020-11-13 Sharing control method and electronic device

Country Status (2)

Country Link
CN (1) CN110989950A (en)
WO (1) WO2021093844A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989950A (en) * 2019-11-15 2020-04-10 维沃移动通信有限公司 Sharing control method and electronic equipment
CN111367486B (en) * 2020-05-26 2020-09-08 北京小米移动软件有限公司 Incoming call privacy protection method and system
CN111736787A (en) * 2020-06-24 2020-10-02 北京云族佳科技有限公司 Screen sharing method and device, storage medium and electronic equipment
CN114244955B (en) * 2020-09-08 2022-12-30 华为技术有限公司 Service sharing method and system, electronic device and computer readable storage medium
CN112286431B (en) * 2020-10-30 2022-09-23 联想(北京)有限公司 Method and device for processing video sharing content and electronic equipment
CN112614392A (en) * 2020-12-30 2021-04-06 上海宇馨信息科技有限公司 Simulation platform for teaching

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0851611A (en) * 1994-08-05 1996-02-20 Canon Inc Image processor and image processing method
CN1474267A (en) * 2002-08-09 2004-02-11 联想(北京)有限公司 Method for accurately obtaining computer screen change
CN1588302A (en) * 2004-08-05 2005-03-02 深圳市友邻通讯设备有限公司 Computer screen catching monitoring and recording method
US20160011845A1 (en) * 2013-07-23 2016-01-14 Salesforce.Com, Inc. Providing active screen sharing links in an information networking environment
CN106658103A (en) * 2016-11-15 2017-05-10 乐视控股(北京)有限公司 Method for sharing video stream data, source equipment and electronic equipment
CN110989950A (en) * 2019-11-15 2020-04-10 维沃移动通信有限公司 Sharing control method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092510B (en) * 2012-12-28 2016-06-22 中兴通讯股份有限公司 The guard method of application program when electronic installation and Screen sharing thereof
EP2760177B1 (en) * 2013-01-29 2019-03-13 BlackBerry Limited Method, Apparatus and Computer storage media for Suspending Screen Sharing During Confidential Data Entry
JP5853003B2 (en) * 2013-08-26 2016-02-09 株式会社オプティム Screen sharing terminal, screen sharing method, program for screen sharing terminal
CN104540012B (en) * 2015-01-20 2018-09-11 三星电子(中国)研发中心 Content shared method, apparatus and terminal
CN106528021A (en) * 2016-10-27 2017-03-22 三星电子(中国)研发中心 Screen content sharing method and apparatus
CN108702414B (en) * 2017-06-16 2021-04-09 华为技术有限公司 Screen locking method and device and computer readable storage medium
CN107707972B (en) * 2017-09-27 2020-12-25 三星电子(中国)研发中心 Data processing method, device and system for screen sharing and electronic equipment
CN110378145B (en) * 2019-06-10 2022-04-22 华为技术有限公司 Method and electronic equipment for sharing content

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0851611A (en) * 1994-08-05 1996-02-20 Canon Inc Image processor and image processing method
CN1474267A (en) * 2002-08-09 2004-02-11 联想(北京)有限公司 Method for accurately obtaining computer screen change
CN1588302A (en) * 2004-08-05 2005-03-02 深圳市友邻通讯设备有限公司 Computer screen catching monitoring and recording method
US20160011845A1 (en) * 2013-07-23 2016-01-14 Salesforce.Com, Inc. Providing active screen sharing links in an information networking environment
CN106658103A (en) * 2016-11-15 2017-05-10 乐视控股(北京)有限公司 Method for sharing video stream data, source equipment and electronic equipment
CN110989950A (en) * 2019-11-15 2020-04-10 维沃移动通信有限公司 Sharing control method and electronic equipment

Also Published As

Publication number Publication date
CN110989950A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
WO2021093844A1 (en) Sharing control method and electronic device
WO2021104365A1 (en) Object sharing method and electronic device
WO2021083087A1 (en) Screen capturing method and terminal device
WO2021218902A1 (en) Display control method and apparatus, and electronic device
WO2021082741A1 (en) Display method and electronic device
WO2021115278A1 (en) Group management method and electronic device
WO2021115359A1 (en) Interface display method and electronic device
WO2021017763A1 (en) Transaction processing method, terminal device, and computer-readable storage medium
WO2020186945A1 (en) Interface display method and terminal device
WO2020233285A1 (en) Message display method and terminal device
WO2020238449A1 (en) Notification message processing method and terminal
WO2020151525A1 (en) Message sending method, and terminal device
US20220300302A1 (en) Application sharing method and electronic device
WO2021082716A1 (en) Information processing method and electronic device
WO2020042892A1 (en) Call mode switching method and terminal device
WO2021057290A1 (en) Information control method and electronic device
WO2021129538A1 (en) Control method and electronic device
WO2021109959A1 (en) Application sharing method and electronic device
WO2020211612A1 (en) Information display method and terminal device
WO2020215991A1 (en) Display control method and terminal device
WO2021129537A1 (en) Method for controlling electronic device and electronic device
WO2021136183A1 (en) Paste control method and electronic device
WO2021057224A1 (en) Message prompting method and terminal device
WO2021129850A1 (en) Voice message playback method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20887294

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20887294

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 20.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20887294

Country of ref document: EP

Kind code of ref document: A1