WO2022206697A1 - 图像分享方法、装置及电子设备 - Google Patents

图像分享方法、装置及电子设备 Download PDF

Info

Publication number
WO2022206697A1
WO2022206697A1 PCT/CN2022/083452 CN2022083452W WO2022206697A1 WO 2022206697 A1 WO2022206697 A1 WO 2022206697A1 CN 2022083452 W CN2022083452 W CN 2022083452W WO 2022206697 A1 WO2022206697 A1 WO 2022206697A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target
contact
area
input
Prior art date
Application number
PCT/CN2022/083452
Other languages
English (en)
French (fr)
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 维沃移动通信有限公司
Priority to EP22778879.1A priority Critical patent/EP4318238A1/en
Publication of WO2022206697A1 publication Critical patent/WO2022206697A1/zh
Priority to US18/373,701 priority patent/US20240031317A1/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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to an image sharing method, apparatus and electronic device.
  • a user for example, user 1
  • chats through a chat group in a chat application of an electronic device if user 1 wants to share text content 1 with multiple users in the chat group, user 1
  • the electronic device can be triggered first to obtain the picture 1 containing the text content 1, and then the electronic device can be triggered to send the picture 1 through the chat group, so that each user in the plurality of users can respectively obtain the text content of the picture 1 from the text content.
  • step 1 look up the text content that user 1 wants to share, so as to view the text content that user 1 wants to share.
  • the text content that user 1 wants to share may not be the same.
  • different users need to search for different texts that user 1 wants to share one by one from the text content 1 of picture 1. Therefore, it takes a long time for each of the multiple users to view the text content that the user 1 wants to share.
  • the purpose of the embodiments of the present application is to provide an image sharing method, apparatus, and electronic device, which can solve the problem of poor convenience of content sharing by electronic devices.
  • an embodiment of the present application provides an image sharing method, which is applied to a first electronic device.
  • the method includes: receiving a first input of a target image, the target image including at least a first area and a second area; responding to In response to the first input, sending the first image to the first contact and sending the second image to the second contact; or, in response to the first input, in the case where the first contact and the second contact belong to the target group Next, send the target image data to the server of the target group.
  • the above-mentioned first image is generated based on the first area
  • the above-mentioned second image is generated based on the second area
  • the above-mentioned target image data includes the identification of the first contact, the identification of the second contact, the first image and the second contact. Two images, the identification of the first contact corresponds to the first image, and the identification of the second contact corresponds to the second image.
  • an embodiment of the present application provides an image sharing method, which is applied to a second electronic device.
  • the method includes: when an interface of a target group is displayed, receiving a user's target image in the interface of the target group The seventh input of the identification of the target group; in response to the seventh input, send an image download request to the server of the target group, the image download request is used to request to download the target image, and the download request includes the target contact corresponding to the second electronic device.
  • Identification receive the fourth image sent by the server, and display the fourth image.
  • the above-mentioned fourth image is an image sent by the server to the second electronic device based on the identification of the target contact and the target image data;
  • the above-mentioned target image data is: sent by the first electronic device to the server, and the target image data includes The identification of the first contact, the identification of the second contact, the first image and the second image, the first image is generated based on the first area of the target image, the second image is generated based on the second area of the target image
  • the identifier of the first contact corresponds to the first image
  • the identifier of the second contact corresponds to the second image;
  • the fourth image includes any one of the following: the first image and the second image.
  • an embodiment of the present application provides an image sharing device, the image sharing device is a first image sharing device, and the first image sharing device includes: a receiving module and a sending module.
  • the receiving module is used for receiving a first input of a target image, where the target image at least includes a first area and a second area.
  • a sending module configured to send the first image to the first contact and send the second image to the second contact in response to the first input received by the receiving module; or, in response to the first input, between the first contact and the second contact
  • the target image data is sent to the server of the target group.
  • the above-mentioned first image is generated based on the first area
  • the above-mentioned second image is generated based on the second area
  • the above-mentioned target image data includes the identification of the first contact, the identification of the second contact, the first image and the second contact. Two images, the identification of the first contact corresponds to the first image, and the identification of the second contact corresponds to the second image.
  • an embodiment of the present application provides an image sharing device, the image sharing device is a second image sharing device, and the second image sharing device includes: a receiving module, a sending module, and a display module.
  • the receiving module is configured to receive a seventh input from the user for the identification of the target image in the interface of the target group when the interface of the target group is displayed.
  • the sending module is configured to send an image download request to the server of the target group in response to the seventh input received by the receiving module, where the image download request is used to request to download the target image, and the download request includes the target corresponding to the second image sharing device The identity of the contact.
  • the above receiving module is further configured to receive the fourth image sent by the server.
  • the display module is used for displaying the fourth image received by the receiving module.
  • the above-mentioned fourth image is an image sent by the server to the second electronic device based on the identification of the target contact and the target image data;
  • the above-mentioned target image data is: sent by the first electronic device to the server, and the target image data includes The identification of the first contact, the identification of the second contact, the first image and the second image, the first image is generated based on the first area of the target image, the second image is generated based on the second area of the target image
  • the identifier of the first contact corresponds to the first image
  • the identifier of the second contact corresponds to the second image;
  • the fourth image includes any one of the following: the first image and the second image.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor, when executed, implements the steps of the method as described in the first aspect or the second aspect.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the implementation is as described in the first aspect or the second aspect steps of the method.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect or the method described in the second aspect.
  • the first electronic device may send the first image generated based on the first area to the first contact according to the first input to the target image (the target image includes the first area and the second area). , and send the second image generated based on the second area to the second contact; or, when the first contact and the second contact belong to the target group, send the target image data to the server of the target group , the target image data includes the identification of the first contact, the identification of the second contact, the first image corresponding to the identification of the first contact, and the second image corresponding to the identification of the second contact, so that The server may send the corresponding first image to the first contact and the corresponding second image to the second contact according to the target image data.
  • the first electronic device can send the first image containing the content the user wants to share with the first contact to the first contact, and send to the second contact the first image containing the content the user wants to share with the second contact according to the first input
  • the second image of the shared content or, sending the target image data to the server of the target group, so that the server can send to the first contact an image containing the content that the user wants to share with the first contact according to the target image data the first image, and send the second image containing the content that the user wants to share with the second contact to the second contact, so that the first contact (or the second contact) can directly download the first image (or the second contact) View the content that the user wants to share with the first contact (or the second contact) in the two images), without having to search one by one from all the contents in the target image that the user wants to share with the first contact (or the second contact) Therefore, it is possible to reduce the time-consuming for each contact to view the content that the user wants to share, so that the convenience of sharing the content by the first electronic device
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 3 is a second schematic diagram of an image sharing method provided by an embodiment of the present application.
  • FIG. 4 is one of the schematic diagrams of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 5 is the second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 6 is the third example schematic diagram of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 7 is a fourth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 8 is a fifth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 9 is a sixth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 10 is a seventh example schematic diagram of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 11 is a third schematic diagram of an image sharing method provided by an embodiment of the present application.
  • FIG. 12 is the eighth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 13 is the ninth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 14 is a tenth schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • 15 is an eleventh schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
  • FIG. 16 is one of the schematic structural diagrams of the image sharing apparatus provided by the embodiment of the present application.
  • FIG. 17 is a second schematic structural diagram of an image sharing apparatus provided by an embodiment of the present application.
  • FIG. 19 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first image may be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the image sharing method provided by the embodiment of the present application can be applied to a scenario where a user conducts a group chat through an electronic device.
  • chats through chat group 1 in the chat application of electronic device 1 in the related art, if user 1 wants to share with some users (such as user 2 and user 3) in the chat group 1 For some content, for example, want to share text content 1 with user 2, and want to share text content 3 with user 3, then user 1 can first trigger electronic device 1 to display page 1, which includes text content 1 and text content 2. and text content 3, and then the user can trigger the electronic device 1 to take a screenshot of the page 1, so that the electronic device 1 can obtain the image 1, so that the user 1 can share and input the image 1, so that the electronic device 1 can display The interface of the chat application.
  • the interface of the chat application includes the avatar of the chat group 1.
  • the user 1 can click and input the avatar of the chat group 1, so that the electronic device 1 can send the chat group 1 to the chat group.
  • the server of group 1 sends the image 1, and then the server can store the image 1 and send a thumbnail message to the electronic device 2 of the user 2 and the electronic device 3 of the user 3, and the thumbnail message includes the thumbnail of the image 1 . Therefore, the electronic device 2 and the electronic device 3 can respectively receive the thumbnail message, and respectively display the thumbnail of the image 1 in the interface of the chat group 1 .
  • user 2 wants to view the text content that user 1 wants to share
  • user 2 can click and input the thumbnail of the image 1, so that electronic device 2 (or electronic device 3) ) can send an image download request to the server, so that the server can send an image message to electronic device 2 (or electronic device 3) according to the image download request, and the image message includes the image 1, so that electronic device 2 (or electronic device 3) 3)
  • the image 1 can be displayed in the interface of the chat group 1, and then the user 2 (or user 3) can search the text content 1, text content 2 and text content 3 in the image 1 to find what user 1 wants.
  • both user 2 and user 3 need to find the different text content that user 1 wants to share one by one in the text content 1 of picture 1. Therefore, it takes a long time for user 2 and user 3 to view the text content that user 1 wants to share.
  • the electronic device 1 may send the image to the electronic device 2 according to the user's input on the image 1
  • the image 2 generated based on the area 1 is sent to the electronic device 3
  • the image 3 generated based on the area 2 is sent to the electronic device 3 .
  • the electronic device 1 when the image 1 includes multiple image areas (for example, area 1 and area 2), the electronic device 1 The server sends the image data, the image data includes the account information of user 2, the account information of user 3, the image 2 generated based on area 1 and the image 3 generated based on area 2, in this way, the server can send the image data to the electronic device 2 of user 2.
  • the electronic device 2 (or the electronic device 3) can directly display the image 2 (or the image 3), and further, the user 2 (or the user 3) can directly view the text that the user 1 wants to share with the user 2 (or the user 3) Content 1 (or text content 3) without user 2 (or user 3) searching for the content that user 1 wants to share one by one, therefore, the time-consuming for users 2 and 3 to view the content that user 1 wants to share can be reduced.
  • An embodiment of the present application provides a communication system, the communication system includes at least a server and a plurality of electronic devices (such as a first electronic device and a second electronic device), and messages are transmitted between any two electronic devices through the server, such as the first electronic device and the second electronic device.
  • a message such as an image message
  • the first electronic device can directly send the image message to the second electronic device, so that the second electronic device can display the image in the image message; or , the first electronic device can first send the image message to the server, so that the server can store the image in the image message, and send an image identification message to the second electronic device, where the image identification message includes the image identification (for example, thumbnail), so that the second electronic device can display the thumbnail.
  • the user 2 of the second electronic device wants to view the image
  • the user 2 can click on the thumbnail, so that the second electronic device can send an image download request to the server, so that the server can send the image download request to the second electronic device according to the image download request.
  • the device sends the image message so that the second electronic device can display the image in the image message.
  • the communication system includes: a first electronic device 01 , a second electronic device 02 , and a server 03 .
  • the first electronic device 01 receives a first input of a target image, the target image includes at least a first area and a second area; and in response to the first input, the first contact and the second contact belong to the target group In the case of , send the target image data to the server of the target group.
  • the above-mentioned first image is generated based on the first area
  • the above-mentioned second image is generated based on the second area
  • the above-mentioned target image data includes the identification of the first contact, the identification of the second contact, the first image and the second contact.
  • Two images, the identifier of the first contact corresponds to the first image, and the identifier of the second contact corresponds to the second image.
  • the server 03 can store the target image data, and send an image identification message to the second electronic device 02, where the image identification message includes the identification of the target image, so that the second electronic device can display the target image in the interface of the target group.
  • the identification of the target image and in the case where the second electronic device 02 displays the interface of the target group, the second electronic device 02 receives a seventh input by the user of the identification of the target image in the interface of the target group; and, in response In the seventh input, an image download request is sent to the server 03 of the target group, the image download request is used to request to download the target image, and the download request includes the identifier of the target contact corresponding to the second electronic device 02; in this way, the server 03 can send the fourth image to the second electronic device 02 according to the download request, and then the second electronic device 02 receives the fourth image sent by the server 03 and displays the fourth image; wherein, the fourth image is: An image sent by the server to the second electronic device based on the identifier of the target contact and the target image data
  • the server It is possible to send an image containing the content that the user wants to share to the electronic devices (eg, the second electronic device) of some contacts in the target group who the user wants to share the content with, and to other people in the target group who the user wants to share the content with
  • the electronic device of the contact sends the second image, instead of sending the target image to the electronic devices of all the contacts in the target group, so that some contacts the user wants to share content do not need to find the content the user wants to share one by one, so , which can improve the convenience of sharing content.
  • the target image data includes and further includes: a third image
  • the fourth image includes any one of the following: the first contact An image, a second image, and a third image; wherein, the identifier of the third contact corresponds to the third image, and the third image is generated based on the first area and the second area.
  • the second electronic device can display the third image, that is, the second electronic device can display the image that the user of the first electronic device wants to share. Therefore, the diversity of the images shared by the first electronic device can be improved.
  • the above-mentioned target image data further includes: a target image; if the identifier of the target contact matches the identifier of the first contact, the fourth image is the first image; In the case that the identification of the person matches the identification of the second contact, the fourth image is the second image; in the case that the identification of the target contact matches the identification of the third contact, the fourth image is the third image ; In the case that the identification of the target contact does not match the identification of the first contact and the identification of the second contact, the fourth image is the target image.
  • the first electronic device 01 associates the first area with the first contact, and associates the second area with the second contact.
  • a contact is associated, and both the first area and the second area are associated with a third contact.
  • the first electronic device can associate the first area with the first contact, associate the second area with the second contact, and associate both the first area and the second area with the third contact In this way, the first electronic device can send different images to different contacts according to different sharing requirements of the user, so the diversity of the images shared by the first electronic device can be improved, and thus the user experience can be improved.
  • the first electronic device 01 before the above-mentioned "the first electronic device 01 receives the first input to the target image", in the case where the first electronic device 01 displays the target image, the first electronic device 01 receives the target image. a second input of the image; and in response to the second input, dividing the target image into a first area and a second area according to the input parameters of the second input.
  • the first electronic device can divide the target image into different regions containing different contents according to the input of the user, so that the first electronic device can generate different images containing different contents required by the user according to the different regions, so as to To accurately send different images of different contents required by the user to different contacts, the accuracy of sharing the contents that the user wants to share by the first electronic device can be improved.
  • the first electronic device 01 displays an image editing interface, and the image editing interface includes the target image; the first electronic device 01 Receive a third input from the user to the target area of the target image, where the target area includes at least one of the following: a first area and a second area; in response to the third input, displaying at least one first control, each first control corresponding to a an image processing mode; receiving a fourth input from a user to a target control in at least one first control; in response to the fourth input, image processing is performed on the target area by using an image processing mode corresponding to the target control.
  • the user since the user may want to share content with different visual effects to different contacts in some contacts in the target group, the user can trigger the first electronic device to perform the above steps, so that the server can send the Different contacts send images with content with different visual effects, that is, on different electronic devices of the different contacts, the visual effects of the images displayed are different, but not all images with the same visual effect (that is, the target image) , therefore, the flexibility of the first electronic device to share content can be improved.
  • the first electronic device 01 before the above-mentioned "the first electronic device 01 receives the first input to the target image", the first electronic device 01 receives the fifth input to the M sub-regions of the third region, the The three regions are: the first region or the second region, where M is a positive integer; in response to the fifth input, based on the M sub-regions, M sub-images are generated respectively, and M sub-images are displayed, and each sub-region corresponds to a sub-image.
  • the first electronic device can display M sub-images on the target image according to the user's input in the M sub-regions of the third region, other contacts can directly view the M sub-images to quickly check the user content to be shared, therefore, the efficiency of content sharing by the first electronic device can be improved.
  • the above-mentioned "displaying M sub-images” includes: the first electronic device 01 reduces the display size of the target image, and displays M sub-images in a display area adjacent to the display area of the target image.
  • the first electronic device can reduce the display size of the target image to display M sub-images in the display area adjacent to the display area of the target image, it is possible to prevent the M sub-images from covering the content in the target image In this case, the efficiency of content sharing by the first electronic device can be improved, and thus, the use experience of the user can be improved.
  • the first electronic device 01 receives a sixth input of dragging the target sub-image in the M sub-images to the target position; in response to the sixth input , based on the target position, adjust the display area of the target sub-image, and adjust the display area of N sub-images in the M sub-images, where N is a positive integer.
  • the above N sub-images are determined based on the display area of the target sub-image and the target position.
  • the user can perform the sixth input on the target sub-image, so that the first electronic device can adjust the display area of the N sub-images to adjust the display order (logical order) of the N sub-images. or user of an electronic device) viewing images.
  • FIG. 2 shows a flowchart of an image sharing method provided by an embodiment of the present application. As shown in FIG. 2 , the image sharing method provided in this embodiment of the present application may include the following steps 101 and 102 .
  • Step 101 The first image sharing apparatus receives a first input of a target image.
  • the first image sharing device when the first image sharing device displays the target image and the target image includes M areas, the first image sharing device receives the first input of the target image from the user 1, where M is greater than An integer of 1.
  • the above-mentioned target image includes at least a first area and a second area.
  • the M regions include a first region and a second region.
  • the first image sharing device when the first image sharing device, the third image sharing device, and the fourth image sharing device are connected through the first network and the first page of the first application is displayed, the first image The sharing device may perform a screen capture operation on the first page according to the screen capture input of the user 1 to obtain the target image. Then, the first image sharing apparatus may establish an association relationship between the first area and the first contact, and establish a second area and a second contact according to the input of the first area (and the second area) of the target image by the user 1 The relationship between people, so that the first input can be made.
  • the third image sharing device is an image sharing device of the first contact
  • the fourth image sharing device is an image sharing device of the second contact.
  • the first image sharing apparatus may perform a screenshot operation on the first page according to the screenshot input of the user 1, so as to obtain the target image. .
  • the first image sharing device can display the interface of the target application according to the sharing input of the target image and the identifier (for example, the icon) of the target application by the user 1, and the interface of the target application includes the identifier of at least one group.
  • the first image sharing device may select the target group according to the user 1's selection input (eg, click input) of the target group's identification among the identifications of the at least one group, and switch the interface of the target application to the first one.
  • the first interface includes the target image
  • the first image sharing device can establish the first area and the first contact according to the input of the first area (and the second area) of the target image by the user 1
  • the association relationship between the second area and the third contact is established, so that the first input can be performed.
  • the above-mentioned first network may specifically be: a wireless-fidelity (wireless-fidelity, WiFi) network, a Bluetooth network, and the like.
  • the application type of the first application may include any one of the following: chat application, web page application, short video interaction application, live broadcast application, shooting application, and the like.
  • the above-mentioned first page may be a page that includes all the content that the user 1 wants to share, and the target image includes all the content that the user 1 wants to share.
  • the above content may include at least one of the following: text content, image content, and the like.
  • the application type of the above target application may specifically be: a chat application.
  • the identifier of the at least one group may include at least one of the following: an icon, a name, a link, and the like.
  • the above-mentioned M areas may be: the first image sharing apparatus performs an image division operation on the target image according to the content in the target image, and obtains the area; or, the first image sharing apparatus according to the user The input of 1, the image division operation is performed on the target image to obtain the area.
  • the first image sharing apparatus may detect the target image, so as to obtain the information that the user 1 wants to share. All contents of the target image, so that the first image sharing apparatus can divide the target image into M areas according to the all contents.
  • the first image sharing device may divide the text content into M sub-text contents according to the semantic features of the text content, and according to the M sub-text contents For the corresponding area, the target image is divided into M areas, and one area corresponds to one sub-text content.
  • the target image is divided into M regions.
  • the above-mentioned input parameters may include at least one of the following: an input trajectory, an input direction, and the like.
  • the above-mentioned first input may specifically be: user 1's pressing input on the display screen of the first image sharing device (for example, click input, long-press input, etc.), or, user 1's input to the first image sharing device Press input of physical buttons of the image sharing device.
  • the first input may also be input by the user 1 in other forms, which is not limited in this embodiment of the present application.
  • the above-mentioned first interface further includes a "send” control
  • the first input may specifically be: user 1's click input on the "send” control.
  • Step 102 In response to the first input, the first image sharing apparatus sends the first image to the first contact, and sends the second image to the second contact.
  • the first image sharing apparatus may first generate the first image and the second image, and then send the first image to the first contact and the second image to the second contact.
  • the first image is generated based on the first area
  • the second image is generated based on the second area
  • the first image sharing apparatus may first perform image processing on the first area, and then generate the first image according to the image-processed first area and the second area.
  • the above image processing may include at least one of the following: “graffiti” image processing, “intercept” image processing, blurred image processing, and display parameter adjustment processing.
  • graffiti image processing can be understood as image processing in which the user 1 can perform sliding input on the image to trigger the image sharing device to display a pattern corresponding to the input track of the sliding input.
  • intercepting image processing can be understood as image processing in which the first image sharing apparatus can intercept the target area of the target image.
  • the first image sharing device can directly generate the first image according to the target area; or, the first image The sharing device may stitch the target area and the blank area to generate the first image.
  • the display size of the blank area is the same as the display size of other areas, and the other areas are: areas of the target image other than the target area.
  • the display size of the first image generated by the first image sharing device splicing the target area and the blank area is the same as the display size of the target image.
  • the above-mentioned display parameters may include at least one of the following: display size, display brightness value, contrast value, color difference value, color temperature value, and the like.
  • the first image sharing apparatus may first perform image processing on the second area, and then generate the second image according to the image-processed second area and the first area.
  • the first image sharing apparatus may send the first image to the first contact through the first network, and send the second image to the second contact through the second network.
  • step 102 may also be replaced by step 103 .
  • Step 103 In response to the first input, the first image sharing apparatus sends the target image data to the server of the target group under the condition that the first contact and the second contact belong to the target group.
  • the first image sharing apparatus may first generate the first image and the second image, and then send the first image to the first contact and the second image to the second contact.
  • the first image is generated based on the first area
  • the second image is generated based on the second area
  • the above-mentioned target image data includes an identifier of a first contact, an identifier of a second contact, a first image and a second image, the identifier of the first contact corresponds to the first image, and the identifier of the second contact corresponds to the first image.
  • the logo of corresponds to the second image.
  • the image sharing devices of other contacts may send an image download request to the server, where the image download request includes other The identification of the contact, so that the server can send the first image (or the second image) to the image sharing device of the other contact according to the identification of the other contact.
  • the server can send the first image to the image sharing device of the other contact; If the identifiers of the two contacts match (for example, the same), the server may send the second image to the image sharing device of the other contact; if the identifiers of the other contacts match those of the first contact (and the second contact) If the identifiers do not match (eg, the same), the server may send other images to the image sharing device of the other contact.
  • the above-mentioned other images may specifically be: images pre-stored in the server, or may be images in target image data (for example, the target images in the following embodiments).
  • user 1 can trigger the first image sharing device to perform a screen capture operation when the first image sharing device displays the certain content, to get an image containing that certain content.
  • user 1 can trigger the first image sharing apparatus to execute the above steps 101 and 102 (or step 103 ) to share the Different contacts send different images containing different content in the certain content, that is, different image sharing devices of different contacts have different contents of the displayed images.
  • the first image sharing device may send a message generated based on the first region to the first contact according to the first input of the target image (the target image includes the first region and the second region). and send the second image generated based on the second area to the second contact; or, in the case that the first contact and the second contact belong to the target group, to the server of the target group
  • the target image data includes an identification of a first contact, an identification of a second contact, a first image corresponding to the identification of the first contact, and a second image corresponding to the identification of the second contact image, so that the server can send the corresponding first image to the first contact and the corresponding second image to the second contact according to the target image data.
  • the first image sharing device can send the first image containing the content that the user wants to share with the first contact to the first contact, and send to the second contact the first image containing the content that the user wants to share with the second contact according to the first input the second image of the content shared by the person; or, sending target image data to the server of the target group, so that the server can send the first contact the content that the user wants to share with the first contact according to the target image data the first image, and send the second image to the second contact that contains the content the user wants to share with the second contact, so that the first contact (or the second contact) can directly access the first image (or View the content that the user wants to share with the first contact (or the second contact) in the second image) without having to look up all the content in the target image one by one that the user wants to share with the first contact (or the second contact). Therefore, the time-consuming for each contact to view the content that the user wants to share can be reduced, and thus, the convenience of the first image sharing apparatus to share the content can be improved.
  • both the first contact and the second contact include a certain contact, and in this case, the first image sharing apparatus may send another image to the certain contact.
  • both the first contact and the second contact include a third contact.
  • the above step 102 can be implemented by the following step 102a.
  • Step 102a In response to the first input, the first image sharing apparatus sends the first image to the first contact, sends the second image to the second contact, and sends the third image to the third contact.
  • the above-mentioned third image is generated based on the first area and the second area.
  • the above-mentioned third image is specifically generated according to the first area after image processing and the second area after image processing.
  • both the first contact and the second contact include a third contact, it can be considered that user 1 may want to share all the content in the target image with the third contact. Therefore, the first image sharing device The third image may be sent to the third contact.
  • the first image sharing apparatus can send the first image to the first contact and the second image to the second contact when both the first contact and the second contact include the third contact, And, the third image is sent to the third contact, that is, the first image sharing device can send different images to different contacts according to different sharing needs of the user, so the diversity of images shared by the first image sharing device can be improved.
  • the above-mentioned target image data further includes a third image, and the identifier of the third contact corresponds to the third image .
  • the server can send the request to the third contact according to the identifier of the third contact.
  • the person's image sharing device transmits the third image.
  • the following will illustrate how the first image sharing apparatus divides the target image into the first area and the second area according to the input of the user 1 .
  • the image sharing method provided in the embodiment of the present application may further include the following steps 201 and 202.
  • Step 201 In the case of displaying the target image, the first image sharing apparatus receives a second input of the target image.
  • the first image sharing apparatus may switch the interface of the target application to the first interface (the first interface includes the target image), and control the target image to be in an editable state, thereby A second input may be made to the target image.
  • the above “editable state” can be understood as: the target image is in a state that can be edited.
  • user 1 can trigger the image sharing apparatus to perform division operations, image processing operations, etc. on the target image.
  • the above-mentioned first interface may further include prompt information, where the prompt information is used to prompt the user 1 that the target image is in an editable state.
  • the first image sharing device is a mobile phone as an example for description.
  • the mobile phone can switch the interface of the target application to the first interface (eg, interface 10 ).
  • the interface 10 displays the target image (eg, image 11 ), and the image 11 is in an editable state.
  • Include prompt information for example, "You can split the screenshot into multiple parts and push them to different users" prompt information), so that the second input can be made.
  • the above-mentioned second input may be: a sliding input by the user 1 on the display screen.
  • the second input may specifically be: user 1 slides input from one edge line of the display screen to another edge line on the display screen.
  • the one edge line and the other edge line may specifically be adjacent edge lines or non-adjacent edge lines.
  • Step 202 In response to the second input, the first image sharing apparatus divides the target image into a first area and a second area according to the input parameters of the second input.
  • the input parameter of the second input may specifically be: an input trajectory.
  • the first image sharing apparatus may determine the first area and the second area respectively according to the so-called area formed by the input track of the second input and the edge line of the display screen.
  • user 1 can perform a second input (eg, sliding input 12 ) on the display screen, and the second input is defined by an edge line of the display screen (eg, The sliding input from the edge line 13) to another edge line (for example, the edge line 14), so that the mobile phone can divide the image 11 into the first area and the second area; as shown in (B) in FIG.
  • a second input eg, sliding input 12
  • the second input is defined by an edge line of the display screen (eg, The sliding input from the edge line 13) to another edge line (for example, the edge line 14), so that the mobile phone can divide the image 11 into the first area and the second area
  • the mobile phone can determine the area (eg, area 16 ) enclosed by the input track of the sliding input 12 , the edge line 13 , the edge line 14 and an edge line of the display screen (eg, the edge line 15 ) as the first an area, and determine the area (eg area 18 ) enclosed by the input track of the sliding input 12 , the edge line 13 , the edge line 14 and another edge line (eg, the edge line 17 ) of the display screen as the second area , to divide image 11 into a first region (ie region 16 ) and a second region (ie region 18 ).
  • user 1 when user 1 wants to share different contents of certain contents with different contacts, user 1 can input according to the usage requirements of user 1, so that the first image sharing device can divide the target image into Different areas containing different contents, so that the user 1 can trigger the first image sharing device to send different images corresponding to the different areas to different contacts (or servers), so as to send different contents including the certain contents to different contacts different images.
  • the first image sharing device can divide the target image into different regions containing different contents according to the input of the user, so that the first image sharing device can generate different images containing different contents required by the user according to the different regions , so as to accurately send different images of different contents required by the user to different contacts, which can improve the accuracy of the first image sharing device sharing the contents that the user wants to share.
  • the following will illustrate how the first image sharing apparatus performs image processing on the first area and the second area.
  • step 102a "send the first image to the first contact, send the second image to the second contact, and send the third image to the third contact"
  • step 103 in the above if the first contact and the second contact belong to the target group, send the target image data to the server of the target group
  • the method may further include steps 301 to 305 described below.
  • Step 301 The first image sharing apparatus displays an image editing interface in response to the first input.
  • the first image sharing apparatus may click on the "image editing" control according to user 1 input, and switch the first interface to an image editing interface to display the image editing interface.
  • the above-mentioned image editing interface includes a target image.
  • Step 302 The first image sharing apparatus receives a third input from the user on the target area of the target image.
  • the above-mentioned target area includes at least one of the following: a first area and a second area.
  • the above-mentioned third input may specifically be: user 1's pressing input on the target area (for example, a long-pressing input).
  • Step 303 The first image sharing apparatus displays at least one first control in response to the third input.
  • each first control in the at least one first control corresponds to an image processing method.
  • the image processing method includes at least one of the following: "graffiti” image processing, "intercept” image processing, blurred image processing, and display parameter adjustment processing.
  • the first image sharing apparatus may display at least one first control in a floating manner on the target area.
  • Step 304 The first image sharing apparatus receives a fourth input from the user to a target widget in the at least one first widget.
  • the above-mentioned fourth input is used to trigger the first image sharing apparatus to perform image processing on the target area.
  • the above-mentioned fourth input may specifically be: a click input by the user 1 on the target control.
  • Step 305 In response to the fourth input, the first image sharing apparatus performs image processing on the target area by using an image processing method corresponding to the target control.
  • the first image sharing apparatus can display at least one first control according to the user's third input to the target area, and use the target control according to the user's fourth input to the target control.
  • image processing is performed on the target area, so that the user can share the image-processed content with some contacts in the target group. Therefore, the display effect of the content shared by the first image sharing device can be improved, In this way, the user experience can be improved.
  • the above-mentioned target image data further includes: a target image; when the target area is the first area, both the first image and the third image are: generated according to the first area after image processing ; when the target area is the second area, both the second image and the third image are: generated according to the second area after image processing.
  • both the first image and the third image are generated according to the first area and the second area after image processing; when the target area is the second area, Both the second image and the third image are generated according to the second area and the first area after image processing.
  • the first image sharing device may perform image stitching processing on the image-processed first area and the second area to generate a first image (or a third image); or, the first image sharing The apparatus may perform image stitching processing on the image-processed second area and the first area to generate a second image (or a third image).
  • the target image is: an image sent to other contacts, or an image displayed on an image sharing device of other contacts; the other contacts are: in the target group, except for the first contact and the second contact Contacts other than Contacts.
  • the first image sharing device can send the target image data to the server, so that when the image sharing device of the first contact sends an image download request to the server, the server can send the image download request to the first contact's The first image sent by the image sharing device; or, when the image sharing device of the second contact sends an image download request to the server, the server may, according to the image download request, send the first image to the image sharing device of the second contact. Second image.
  • the target area when the target area includes a first area and a second area, the first image is generated according to the first area after image processing, and the second image is generated according to the first area after image processing.
  • the second region is generated, and the third image is generated according to the image-processed first region and the image-processed second region.
  • the server can send the third image to the image sharing device of the third contact according to the image download request.
  • the user since the user may want to share content with different visual effects to different contacts in some contacts in the target group, the user can trigger the first image sharing device to perform the above steps, so that the server can send
  • the different contacts send images containing content with different visual effects, that is, the images displayed on different image sharing devices of the different contacts have different visual effects, but not all images with the same visual effect (that is, the target image), therefore, the flexibility of the first image sharing device to share content can be improved.
  • the following will illustrate how the first image sharing apparatus associates the area with the contact.
  • step 102a "send the first image to the first contact, send the second image to the second contact, and send the third image to the third contact"
  • step 103 the image sharing provided by the embodiment of the present application
  • the method may further include step 401 described below.
  • Step 401 In response to the first input, the first image sharing device associates the first area with the first contact, associates the second area with the second contact, and associates the first area and the second area with the Third contact association.
  • the first image sharing device in response to the first input, may display the identifiers of X contacts in the first area, and display the identifiers of Y contacts in the second area, so that the user can
  • the identification of the first contact among the identifications of the X contacts and the identification of the second contact among the identifications of the Y contacts may be input, so that the first image sharing device can Associating with the first contact, associating the second area with the second contact, and associating the first area and the second area with the third contact, both X and Y are positive integers.
  • each of the above-mentioned X contacts is a contact of the target group; each of the above-mentioned N contacts is a contact of the target group.
  • the identifiers of the X contacts may include at least one of the following: an avatar, a name, and the like.
  • the identifiers of the above Y contacts may include at least one of the following items: avatars, names, and the like.
  • the first image sharing device can detect the target group to obtain the identifiers of all contacts in the target group, so that the first image sharing device can be located in the first area (or the second area). ), a window is displayed, and the window includes: the identifiers of X contacts (or Y contacts) among the identifiers of all contacts, so as to display the identifiers of X contacts (or Y contacts) .
  • the mobile phone may display a window (eg, window 20 ) in the first area (eg, area 19 ), and the window 19 includes the identifiers of X contacts (eg, the identifier of contact 1 ). 21.
  • the identifier 22 of contact 2 and the identifier 23 of contact 3), and on the second area (eg area 24), another window (eg window 25) is displayed in a floating manner, and the window 25 includes the Identification (eg, identification 26 of contact 1, identification 27 of contact 2, and identification 28 of contact 3).
  • user 1 can click and input the identifier of the first contact among the identifiers of the X contacts, so that the first image sharing apparatus can associate the first area with the first contact.
  • click and input the identification of the second contact among the identifications of the Y contacts so that the first image sharing apparatus can associate the second area with the second contact, and associate the first area with the second area , are associated with a third contact.
  • user 1 can identify the first contact in the identification 21 of contact 1, the identification 22 of contact 2 and the identification 23 of contact 3 (For example, the identifier 21 of the contact 1 and the identifier 22 of the contact 2) click and input, so that the mobile phone can associate the area 19 with the contact 1 and the contact 2; as shown in (B) in FIG. 7 , on the mobile phone After associating area 19 with Contact 1, Contact 2, User 1 can identify the identity of the second contact (eg Contact 2 and contact 3's identifier 28), so that the mobile phone can associate area 24 with contact 2 and contact 3, and associate area 19 and area 24 with contact 2.
  • the second contact eg Contact 2 and contact 3's identifier 28
  • the first image sharing apparatus can associate the first area with the first contact, associate the second area with the second contact, and associate both the first area and the second area with the third contact
  • the first image sharing device can send different images to different contacts according to different sharing needs of the user, so the diversity of the images shared by the first image sharing device can be improved, and thus the user experience can be improved.
  • user 1 in order to allow some contacts to quickly view the content that user 1 wants to share, user 1 can add a marker element to the target image, and send the target image after adding the marker element to the certain contacts ( or server).
  • certain contacts or server
  • some contacts may not be able to fully view the content that the user 1 wants to share.
  • the first image sharing device may display a sub-image corresponding to the marker element added by user 1 on the target image, and delete the added marker element on the target image. Mark the elements, so as to avoid the situation that the mark elements block the content in the target image after adding the mark elements.
  • the image sharing method provided in the embodiment of the present application may further include the following steps 501 and 502.
  • Step 501 The first image sharing apparatus receives a fifth input to the M sub-regions of the third region.
  • the user 1 when the first image sharing device displays the target image and the target image is in an editable state, the user 1 can perform fifth input on the M sub-areas of the third area.
  • the fifth input may specifically include M sub-inputs, each of which is a sliding input of the user 1 on one area.
  • the above-mentioned M sub-inputs may be continuous sub-inputs or discontinuous sub-inputs.
  • continuous sub-inputs can be understood as: the time interval between two sub-inputs is less than or equal to the preset time interval, or there is no other input between the two sub-inputs.
  • Step 502 In response to the fifth input, the first image sharing apparatus generates M sub-images based on the M sub-regions, respectively, and displays the M sub-images.
  • the first image sharing apparatus in response to the fifth input, may add M mark elements in the M sub-regions, respectively, and display a second control, where the second control is used to generate a sub-image. , so that user 1 can click and input the second control.
  • the mobile phone displays the target image (eg, the image 29 ), and the image 29 is in an editable state, so that the user 1 can adjust the M in the third area (eg, the first area 30 ) sub-areas (eg area 31, area 32 and area 33) for fifth input; as shown in (B) of FIG.
  • the mobile phone can add a mark element (eg, area 31) in area 31 markup element 34), and add another markup element (eg, markup element 35) in area 32, and add yet another markup element (eg, markup element 36) in area 33, and display a second control (for example, "Floating Display” Mark key area” control), so that user 1 can click and input the "float display mark key area” control, so that the mobile phone can generate 3 sub-images.
  • a mark element eg, area 31
  • another markup element eg, markup element 35
  • yet another markup element eg, markup element 36
  • each of the above-mentioned M sub-regions corresponds to a sub-image respectively.
  • the first image sharing apparatus may delete M mark elements, and generate each sub-area according to each sub-area in the M sub-areas. image.
  • step 502 may be specifically implemented by the following step 502a.
  • Step 502a the first image sharing device, in response to the fifth input, generates M sub-images based on the M sub-regions, respectively, reduces the display size of the target image, and displays the M sub-images in the adjacent display area of the target image display area. image.
  • the mobile phone can reduce the display size of the image 29 and display it in the image 29 M sub-images (such as sub-image 38, sub-image 39, and sub-image 40) are displayed in the adjacent display area (such as area 37) of the display area, the sub-image 38 corresponds to the sub-area 31, the sub-image 39 corresponds to the sub-area 32, and the sub-image 39 corresponds to the sub-area 32.
  • the sub-image 40 corresponds to the sub-region 33 .
  • the first image sharing device can reduce the display size of the target image to display M sub-images in the display area adjacent to the display area of the target image, the M sub-images can be prevented from covering the target image. In this way, the user experience can be improved.
  • the first image sharing device can display M sub-images on the target image according to the user's input in the M sub-regions of the third region, other contacts can directly view the M sub-images to quickly view the M sub-images.
  • the content that the user wants to share therefore, the efficiency of the content sharing by the first image sharing apparatus can be improved.
  • the image sharing method provided in the embodiment of the present application may further include the following steps 503 and 504.
  • Step 503 The first image sharing apparatus receives a sixth input of dragging the target sub-image among the M sub-images to the target position.
  • the first image sharing device may display a third control, where the third control is used to adjust the display order of the M sub-images, so that the user can 1 can input the third control, so that the first image sharing apparatus can control the M sub-images to be in an editable state, so that the user 1 can perform the sixth input.
  • the third control is used to adjust the display order of the M sub-images, so that the user can 1 can input the third control, so that the first image sharing apparatus can control the M sub-images to be in an editable state, so that the user 1 can perform the sixth input.
  • the mobile phone may display a third control (eg, the “adjust display order” control), so that the user can
  • the "adjust display order” control can be input, so that the mobile phone can control the sub-image 38, the sub-image 39 and the sub-image 40 to be in an editable state, in this way, the user 1 can make a sixth input.
  • the sixth input may specifically be a sliding input in which the starting input position is the position where the target sub-image is located, and the ending input position is the target position.
  • starting input position can be understood as: the position where the finger of the user 1 starts to touch the display screen.
  • end input position can be understood as: the position where the finger of the user 1 leaves the display screen.
  • Step 504 In response to the sixth input, the first image sharing apparatus adjusts the display area of the target sub-image based on the target position, and adjusts the display area of N sub-images among the M sub-images.
  • the above N sub-images are determined based on the display area of the target sub-image and the target position, and N is a positive integer.
  • the N sub-images include: the display order is located before the target sub-image, and Display the sub-images after the i-th sub-image in order; the i-th sub-image.
  • the first image sharing apparatus may adjust the display area of the target sub-image to the display area of the i-th sub-image, and adjust the display area of the i-th sub-image to the i+1-th sub-image The display area of , and so on, to adjust the display area of N sub-images.
  • the user can perform the sixth input on the target sub-image, so that the first image sharing device can adjust the display area of the N sub-images to adjust the display order (logical order) of the N sub-images.
  • the first image sharing device can adjust the display area of the N sub-images to adjust the display order (logical order) of the N sub-images.
  • users or users of other image sharing devices experience viewing images.
  • the user can determine the internal logical relationship between the multiple sub-images, so that the user experience can be improved.
  • FIG. 11 shows a flowchart of an image sharing method provided by an embodiment of the present application. As shown in FIG. 11 , the image sharing method provided in this embodiment of the present application may include the following steps 601 to 603 .
  • Step 601 When the second image sharing device displays the interface of the target group, the second image sharing device receives a seventh input by the user of the identifier of the target image in the interface of the target group.
  • the second image sharing apparatus may display the interface of the target application according to the user 2's selection input (for example, click input) of the identifier of the target application.
  • the interface of the target application includes the identification of at least one group, in this way, the first image sharing device can select and input the identification of the target group in the identification of the at least one group by the user 2 (for example, click input), The interface of the target group is displayed so that the user can make a seventh input.
  • the identifier of the target image may specifically be: a thumbnail image of the target image.
  • the above seventh input is used to trigger the second image sharing apparatus to download the target image.
  • the seventh input may specifically be: a user click input on the identifier of the target image.
  • the second image sharing device is a mobile phone as an example for description.
  • the mobile phone displays an interface of the target group (eg, interface 41 ), and the interface 41 includes an identifier of the target image (eg, identifier 42 ), so that the user can perform seventh input (eg, click input) on the identifier 42 .
  • Step 602 In response to the seventh input, the second image sharing apparatus sends an image download request to the server of the target group.
  • the above image download request is used to request to download the target image, and the download request includes the identifier of the target contact corresponding to the second image sharing device.
  • the identifier of the target contact may include at least one of the following: the user's name, the user's account, and the like.
  • Step 603 The second image sharing apparatus receives the fourth image sent by the server, and displays the fourth image.
  • the above-mentioned fourth image is an image sent by the server of the target group to the second image sharing device based on the identifier of the target contact and the target image data;
  • the target image data is: the first image sharing device Sent to the server, the target image data includes the identification of the first contact, the identification of the second contact, a first image and a second image, the first image is generated based on the first area of the target image, and the first image is generated based on the first area of the target image.
  • the second image is generated based on the second area of the target image; the identification of the first contact corresponds to the first image, and the identification of the second contact corresponds to the second image;
  • the fourth image includes any one of the following: the first image , the second image.
  • the second image sharing apparatus may switch the interface of the target group to the second interface, where the second interface includes a fourth image to display the fourth image.
  • the target image data includes and further includes: a third image
  • the fourth image includes any one of the following : First image, second image, third image.
  • the identifier of the third contact corresponds to a third image
  • the third image is generated based on the first area and the second area.
  • the second image sharing device can display the third image, that is, the second image sharing device can display the user's desire of the first image sharing device.
  • the images to be shared therefore, the diversity of the images shared by the second image sharing device can be improved.
  • the above-mentioned target image data further includes: a target image.
  • the fourth image is the first image
  • the fourth image is the second image
  • the fourth image is the third image
  • the fourth image is the target image.
  • the mobile phone can send an image download request to the server, and the image download request includes the identifier of the target contact, so that the identifier of the target contact is different from the identifier of the target contact.
  • the mobile phone can switch the interface 41 to a second interface (eg, interface 43 ), and the interface 43 includes a first image (eg, image 44 ).
  • the mobile phone can send an image download request to the server, and the image download request includes the identifier of the target contact, so that the identifier of the target contact is different from the identifier of the target contact. If the identifiers of the second contacts match, the mobile phone can switch the interface 41 to a second interface (eg, interface 43 ), and the interface 42 includes a second image (eg, image 45 ).
  • a second interface eg, interface 43
  • the interface 42 includes a second image (eg, image 45 ).
  • the mobile phone can send an image download request to the server, and the image download request includes the identification of the target contact, so that in the identification of the target contact,
  • the mobile phone can switch the interface 41 to a second interface (eg, interface 43 ), and the interface 43 includes the target image (eg, image 46 ) .
  • the second image sharing device may, according to the seventh input of the user's identification of the target image, send the information to the server of the target group Send an image download request, where the image download request includes the identifier of the target contact corresponding to the second image sharing device, so that the server can send the request to the server according to the identifier of the target contact and the target image data sent by the first image sharing device to the server.
  • the second image sharing device sends the first image or the second image in the target image data, so that the second image sharing device can receive and display the first image or the second image.
  • the second image sharing device can send a download request including the identification of the target contact corresponding to the second image sharing device to the server according to the seventh input of the user
  • the second image sharing device can receive the identification of the target contact from the server according to the second image sharing device. and a certain image (ie, the first image or the second image) determined by the target image data, and display the certain image (ie, the image containing the content that the user of the first image sharing device wants to share), so that the user can directly view
  • the execution subject may be the image sharing device in the above-mentioned embodiment, or a control module for executing the image sharing method in the image sharing device.
  • an image sharing method performed by an image sharing apparatus is used as an example to describe the apparatus for the image sharing method provided by the embodiments of the present application.
  • FIG. 16 shows a possible schematic structural diagram of the image sharing apparatus involved in the embodiment of the present application.
  • the first image sharing apparatus 50 may include: a receiving module 51 and a sending module 52 .
  • the receiving module 51 is configured to receive a first input of a target image, where the target image at least includes a first area and a second area.
  • the sending module 52 is configured to send the first image to the first contact and send the second image to the second contact in response to the first input received by the receiving module 51;
  • the target image data is sent to the server of the target group.
  • the above-mentioned first image is generated based on the first area
  • the above-mentioned second image is generated based on the second area
  • the above-mentioned target image data includes the identification of the first contact, the identification of the second contact, the first image and the second contact. Two images, the identifier of the first contact corresponds to the first image, and the identifier of the second contact corresponds to the second image.
  • the above-mentioned sending module 52 is specifically configured to send the first image to the first contact, and send the first image to the second contact.
  • the contact sends the second image, and the third image is sent to the third contact.
  • the third image is generated based on the first area and the second area, the target image data further includes a third image, and the identifier of the third contact corresponds to the third image.
  • the first image sharing apparatus 50 may further include: a processing module.
  • the processing module is configured to associate the first area with the first contact, associate the second area with the second contact, and associate both the first area and the second area with the third contact.
  • the above-mentioned receiving module 51 is further configured to receive a second input to the target image when the target image is displayed.
  • the first image sharing apparatus 50 provided in this embodiment of the present application may further include: a processing module.
  • the processing module is configured to, in response to the second input received by the receiving module 51, divide the target image into a first area and a second area according to the input parameters of the second input.
  • the first image sharing apparatus 50 may further include: a display module and a processing module.
  • the display module is used for displaying an image editing interface, and the image editing interface includes a target image.
  • the above receiving module 51 is further configured to receive a third input from the user to a target area of the target image, where the target area includes at least one of the following: a first area and a second area.
  • the above-mentioned display module is further configured to display at least one first control in response to the third input received by the receiving module 51 , and each first control corresponds to an image processing mode.
  • the above receiving module 51 is further configured to receive a fourth input from the user to the target control in the at least one first control displayed by the display module.
  • the processing module is configured to, in response to the fourth input received by the receiving module 51, perform image processing on the target area by using an image processing method corresponding to the target control.
  • the above-mentioned target image data further includes: a target image.
  • a target image When the target area is the first area, both the first image and the third image are: generated according to the image-processed first area; when the target area is the second area, the second image and the third image Both are: generated according to the second area after image processing; the target image is: the image sent to other contacts, or the image displayed on the image sharing device of other contacts; the other contacts are: in the target group, except for Contacts other than the first contact and the second contact.
  • the target area includes a first area and a second area
  • the first image is generated according to the first area after image processing
  • the second image is generated according to the second image processed by the image. region
  • the third image is generated according to the image-processed first region and the image-processed second region.
  • the above receiving module 51 is further configured to receive a fifth input to the M sub-areas of the third area, where the third area is: the first area or the second area, and M is a positive integer.
  • the first image sharing apparatus 50 provided in this embodiment of the present application may further include: a processing module.
  • the processing module is configured to generate M sub-images based on the M sub-regions in response to the fifth input received by the receiving module 51, and display the M sub-images, and each sub-region corresponds to a sub-image respectively.
  • the first image sharing apparatus 50 may further include: a display module.
  • the display module is configured to reduce the display size of the target image, and display M sub-images in adjacent display areas of the display area of the target image.
  • the above receiving module 51 is further configured to receive a sixth input for dragging the target sub-image in the M sub-images to the target position.
  • the above processing module is further configured to adjust the display area of the target sub-image based on the target position in response to the sixth input received by the receiving module, and adjust the display area of N sub-images in the M sub-images, where N is a positive integer.
  • the above N sub-images are determined based on the display area of the target sub-image and the target position.
  • the first image sharing device can send the first image containing the content that the user wants to share with the first contact to the first contact according to the first input, and send the first image to the second contact
  • the person sends a second image containing the content that the user wants to share with the second contact; or, sends target image data to the server of the target group, so that the server can send to the first contact the target image data containing the user
  • a first image of what the user wants to share with the first contact, and a second image containing the content the user wants to share with the second contact is sent to the second contact, so that the first contact (or the second contact person) can directly view the content that the user wants to share with the first contact (or the second contact) from the first image (or the second image), without having to search for the content that the user wants to share one by one from all the content in the target image
  • the content to be shared with the first contact (or the second contact) therefore, the time-consuming for each contact to view the content that the user wants to share can
  • the image sharing apparatus provided in the embodiment of the present application can be used to execute the image sharing method performed by the first image sharing apparatus in the above-mentioned embodiment.
  • the image sharing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 10 , and to avoid repetition, details are not repeated here.
  • FIG. 17 shows a possible schematic structural diagram of an image sharing apparatus involved in an embodiment of the present application, where the image sharing apparatus is a second image sharing apparatus.
  • the second image sharing apparatus 60 may include: a receiving module 61 , a sending module 62 and a display module 63 .
  • the receiving module 61 is configured to receive a seventh input from the user to the identifier of the target image in the interface of the target group when the interface of the target group is displayed.
  • the sending module 62 is configured to, in response to the seventh input received by the receiving module 61, send an image download request to the server of the target group, where the image download request is used to request to download the target image, and the download request includes the corresponding image of the second image sharing device.
  • the ID of the target contact is further configured to receive the fourth image sent by the server.
  • the display module 63 is configured to display the fourth image received by the receiving module 61 .
  • the above-mentioned fourth image is: the image sent by the server to the second image sharing device based on the identification of the target contact and the target image data;
  • the above-mentioned target image data is: sent by the first image sharing device to the server, the target image
  • the data includes an identification of the first contact, an identification of the second contact, a first image generated based on a first region of the target image, and a second image generated based on a second region of the target image
  • the identification of the first contact corresponds to the first image
  • the identification of the second contact corresponds to the second image;
  • the fourth image includes any one of the following: the first image and the second image.
  • the target image data includes and further includes: a third image
  • the fourth image includes any one of the following: the first image, second image, third image.
  • the identifier of the third contact corresponds to a third image
  • the third image is generated based on the first area and the second area.
  • the above-mentioned target image data further includes: a target image; if the identifier of the target contact matches the identifier of the first contact, the fourth image is the first image; In the case that the identification of the target contact matches the identification of the second contact, the fourth image is the second image; in the case that the identification of the target contact matches the identification of the third contact, the fourth image is the third image; In the case that the identification of the target contact does not match the identification of the first contact and the identification of the second contact, the fourth image is the target image.
  • the second image sharing device since the second image sharing device can send a download request including the identification of the target contact corresponding to the second image sharing device to the server according to the seventh input of the user, in this way, the second image sharing device
  • the device may receive a certain image (that is, the first image or the second image) determined by the server according to the target contact's identification and target image data, and display the certain image (that is, the image that the user of the first image sharing device wants to share). image of the content), so that the user can directly view the image containing the content that the user of the first image sharing device wants to share, instead of displaying the target image, that is, the user does not need to search for the content that the user wants to share one by one.
  • the content to be shared therefore, the time-consuming for the user to view the content that the user of the first image sharing device wants to share can be reduced, and thus, the convenience of sharing the content by the second image sharing device can be improved.
  • the image sharing apparatus provided in the embodiment of the present application can be used to execute the image sharing method performed by the second image sharing apparatus in the above-mentioned embodiment.
  • the image sharing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 11 to FIG. 15 , and to avoid repetition, details are not repeated here.
  • the image sharing device in the above embodiments may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus 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 palmtop computer, an in-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
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the image sharing apparatus in the above-mentioned embodiment may be an apparatus having an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • an embodiment of the present application further provides an electronic device 70, including a processor 72, a memory 71, and a program or instruction stored in the memory 71 and executable on the processor 72,
  • an electronic device 70 including a processor 72, a memory 71, and a program or instruction stored in the memory 71 and executable on the processor 72,
  • the program or instruction is executed by the processor 72, each process of the above-mentioned image sharing method embodiments can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 19 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application, where the electronic device is a first electronic device.
  • 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, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 19 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 107 is configured to receive a first input of the target image.
  • the radio frequency unit 101 is configured to, in response to the first input, send the first image to the first contact and send the second image to the second contact; or, in response to the first input, send the first contact and the second contact
  • the target image data is sent to the server of the target group.
  • the above-mentioned first image is generated based on the first area
  • the above-mentioned second image is generated based on the second area
  • the above-mentioned target image data includes the identification of the first contact, the identification of the second contact, the first image and the second contact.
  • Two images, the identifier of the first contact corresponds to the first image, and the identifier of the second contact corresponds to the second image.
  • the electronic device is the first electronic device, because the first electronic device can send the first contact including the content that the user wants to share with the first contact to the first contact according to the first input. image, and send the second image containing the content that the user wants to share with the second contact to the second contact; or, send the target image data to the server of the target group, so that the server can send the target image data to the server according to the target image data.
  • the first contact sends the first image containing the content the user wants to share with the first contact, and sends the second contact the second image containing the content the user wants to share with the second contact.
  • the first contact The contact (or the second contact) can directly view the content that the user wants to share with the first contact (or the second contact) from the first image (or the second image), without having to In the content, the content that the user wants to share with the first contact (or the second contact) is searched one by one. Therefore, the time-consuming for each contact to view the content that the user wants to share can be reduced. In this way, the first electronic The ease with which devices can share content.
  • the radio frequency unit 101 is specifically configured to send the first image to the first contact, send the second image to the second contact, and send the third image to the third contact.
  • the third image is generated based on the first area and the second area, the target image data further includes a third image, and the identifier of the third contact corresponds to the third image.
  • the first electronic device can send the first image to the first contact and the second image to the second contact, and , sending the third image to the third contact, that is, the first electronic device can send different images to different contacts according to different sharing needs of the user, so the diversity of the images shared by the first electronic device can be improved.
  • the processor 110 is configured to associate the first area with the first contact, associate the second area with the second contact, and associate the first area with the second area, are associated with a third contact.
  • the first electronic device can associate the first area with the first contact, associate the second area with the second contact, and associate both the first area and the second area with the third contact In this way, the first electronic device can send different images to different contacts according to different sharing requirements of the user, so the diversity of the images shared by the first electronic device can be improved, and thus the user experience can be improved.
  • the user input unit 107 is further configured to receive a second input on the target image when the target image is displayed.
  • the processor 110 is further configured to, in response to the second input, divide the target image into a first area and a second area according to the input parameters of the second input.
  • the first electronic device can divide the target image into different regions containing different contents according to the input of the user, so that the first electronic device can generate different images containing different contents required by the user according to the different regions, so as to To accurately send different images of different contents required by the user to different contacts, the accuracy of sharing the contents that the user wants to share by the first electronic device can be improved.
  • the display unit 106 is configured to display an image editing interface, where the image editing interface includes a target image.
  • the user input unit 107 is further configured to receive a third input from the user to a target area of the target image, where the target area includes at least one of the following: a first area and a second area.
  • the display unit 106 is further configured to display at least one first control in response to the third input, and each first control corresponds to an image processing mode.
  • the user input unit 107 is further configured to receive a fourth input from the user to the target control in the at least one first control.
  • the processor 110 is further configured to, in response to the fourth input, perform image processing on the target area by using an image processing manner corresponding to the target control.
  • the first electronic device can display at least one first control according to the user's third input to the target area, and use the target control corresponding to the user's fourth input to the target control.
  • the image processing method of the first electronic device performs image processing on the target area, so that the user can share the image-processed content with some contacts in the target group. Therefore, the display effect of the content shared by the first electronic device can be improved. In this way, It can improve the user experience.
  • the user input unit 107 is further configured to receive a fifth input to the M sub-regions of the third region, where the third region is: the first region or the second region, and M is a positive integer .
  • the processor 110 is further configured to, in response to the fifth input, generate M sub-images respectively based on the M sub-regions.
  • the display unit 106 is further configured to display M sub-images, and each sub-region corresponds to a sub-image respectively.
  • the first electronic device can display M sub-images on the target image according to the user's input in the M sub-regions of the third region, other contacts can directly view the M sub-images to quickly check the user content to be shared, therefore, the efficiency of content sharing by the first electronic device can be improved.
  • the display unit 106 is specifically configured to reduce the display size of the target image, and display M sub-images in adjacent display areas of the display area of the target image.
  • the first electronic device can reduce the display size of the target image to display M sub-images in the display area adjacent to the display area of the target image, it is possible to prevent the M sub-images from covering the content in the target image In this case, the efficiency of content sharing by the first electronic device can be improved, and thus, the use experience of the user can be improved.
  • the user input unit 107 is further configured to receive a sixth input for dragging the target sub-image in the M sub-images to the target position.
  • the processor 110 is further configured to, in response to the sixth input, adjust the display area of the target sub-image based on the target position, and adjust the display area of N sub-images among the M sub-images, where N is a positive integer.
  • the above N sub-images are determined based on the display area of the target sub-image and the target position.
  • the user can perform the sixth input on the target sub-image, so that the first electronic device can adjust the display area of the N sub-images to adjust the display order (logical order) of the N sub-images. or users of other electronic devices) viewing images.
  • the electronic device provided in the embodiment of the present application can be used to execute the image sharing method executed by the first image sharing apparatus described in the foregoing embodiment.
  • FIG. 19 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application, where the electronic device is a second electronic device.
  • 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, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 19 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 107 is configured to receive a seventh input from the user to the identifier of the target image in the interface of the target group when the interface of the target group is displayed.
  • the radio frequency unit 101 is configured to, in response to the seventh input, send an image download request to the server of the target group, where the image download request is used to request to download the target image, and the download request includes the identifier of the target contact corresponding to the second electronic device ; and receive the fourth image sent by the server.
  • the display unit 106 is used for displaying the fourth image.
  • the above-mentioned fourth image is an image sent by the server to the second electronic device based on the identification of the target contact and the target image data;
  • the above-mentioned target image data is: sent by the first electronic device to the server, and the target image data includes The identification of the first contact, the identification of the second contact, the first image and the second image, the first image is generated based on the first area of the target image, the second image is generated based on the second area of the target image
  • the identifier of the first contact corresponds to the first image
  • the identifier of the second contact corresponds to the second image;
  • the fourth image includes any one of the following: the first image and the second image.
  • the second electronic device since the second electronic device can send a download request including the identifier of the target contact corresponding to the second electronic device to the server according to the seventh input of the user, the second electronic device can receive the server Determine a certain image (that is, the first image or the second image) according to the identification of the target contact and the target image data, and display the certain image (that is, the image containing the content that the user of the first electronic device wants to share), Therefore, the user can directly view the image containing the content that the user of the first electronic device wants to share, instead of displaying the target image, that is, the user does not need to search for the content that the user wants to share one by one from a large number of contents. , the time-consuming for the user to view the content that the user of the first electronic device wants to share can be reduced, and thus, the convenience of sharing the content by the second electronic device can be improved.
  • the electronic device provided in the embodiment of the present application can be used to execute the image sharing method executed by the second electronic device as described in the foregoing embodiment.
  • the input unit 104 may include a graphics processing unit (graphics processing unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as computer read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above image sharing method embodiments.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the above image sharing method embodiments.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (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 this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种图像分享方法、装置及电子设备,属于通信技术领域。该图像分享方法包括:接收对目标图像的第一输入,该目标图像至少包括第一区域和第二区域;响应于第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;或,响应于第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。其中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的;上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,第一联系人的标识对应第一图像,第二联系人的标识对应第二图像。

Description

图像分享方法、装置及电子设备
本申请要求于2021年3月31日提交国家知识产权局、申请号为202110350911.7、申请名称为“图像分享方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于通信技术领域,具体涉及一种图像分享方法、装置及电子设备。
背景技术
通常,在用户(例如用户1)通过电子设备的聊天类应用中的聊天群组进行聊天的场景下,若用户1想要向该聊天群组中的多个用户分享文字内容1,则用户1可以先触发电子设备得到包含该文字内容1的图片1,然后再触发电子设备通过该聊天群组发送该图片1,从而该多个用户中的每个用户可以分别从该图片1的该文字内容1中,查找用户1想要分享的文字内容,以查看用户1想要分享的文字内容。
然而,由于针对多个用户中的不同用户,用户1想要分享的文字内容可能并不相同,这样,不同用户需要分别从图片1的文字内容1中,逐一查找用户1想要分享的不同文字内容,因此,导致多个用户中的每个用户查看用户1想要分享的文字内容的耗时较长。
如此,导致电子设备分享内容的便捷性较差。
发明内容
本申请实施例的目的是提供一种图像分享方法、装置及电子设备,能够解决电子设备分享内容的便捷性较差的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种图像分享方法,应用于第一电子设备,该方法包括:接收对目标图像的第一输入,该目标图像至少包括第一区域和第二区域;响应于第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;或,响应于第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。其中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的;上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,第一联系人的标识对应第一图像,第二联系人的标识对应第二图像。
第二方面,本申请实施例提供了一种图像分享方法,应用于第二电子设备,该方法包括:在显示目标群组的界面的情况下,接收用户对目标群组的界面中的目标图像的标识的第七输入;响应于第七输入,向目标群组的服务器发送图像下载请求,该图像下载请求用于请求下载目标图像,该下载请求中包括第二电子设备对应的目标联系人的标识;接收服务器发送的第四图像,并显示第四图像。其中,上述第四图像为:服务器基于目标联系人的标识、和目标图像数据,向第二电子设备发送的图像;上述目标图像数据为:第一电子设备向服务器发送的,该目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一图像是基于目标图像的第一区域生成的,该第二图像是基于目标图像的第二区域生成的;第一联系人的标识对应第一图像,第二联系人的标识对应第二图像;该第四图像包括以下任一项:第一图像、第二图像。
第三方面,本申请实施例提供了一种图像分享装置,该图像分享装置为第一图像分享装置,该第一图像分享装置包括:接收模块和发送模块。其中,接收模块,用于接收对目标图像的第一输入,该目标图像至少包括第一区域和第二区域。发送模块,用于响应于接收模块接收的第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;或,响应于第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。其中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的;上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,第一联系人的标识对应第一图像,第二联系人的标识对应第二图像。
第四方面,本申请实施例提供了一种图像分享装置,该图像分享装置为第二图像分享装置,该第二图像分享装置包括:接收模块、发送模块和显示模块。其中,接收模块,用于在显示目标群组的界面的情况下,接收用户对目标群组的界面中的目标图像的标识的第七输入。发送模块,用于响应于接收模块接收的第七输入,向目标群组的服务器发送图像下载请求,该图像下载请求用于请求下载目标图像,该下载请求中包括第二图像分享装置对应的目标联系人的标识。上述接收模块,还用于接收服务器发送的第四图像。显示模块,用于显示接收模块接收的第四图像。其中,上述第四图像为:服务器基于目标联系人的标识、和目标图像数据,向第二电子设备发送的图像;上述目标图像数据为:第一电子设备向服务器发送的,该目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一图像是基于目标图像的第一区域生成的,该第二图像是基于目标图像的第二区域生成的;第一联系人的标识对应第一图像,第二联系人的标识对应第二图像;该第四图像包括以下任一项:第一图像、第二图像。
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面或第二方面所述的方法。
在本申请实施例中,第一电子设备可以根据对目标图像(该目标图像包括第一区域和第二区域)的第一输入,向第一联系人发送基于该第一区域生成的第一图像,并向第二联系人发送基于该第二区域生成的第二图像;或,在第一联系人和第二联系人属于目标群组的情况下,向该目标群组的服务器发送目标图像数据,该目标图像数据包括第一联系人的标识、第二联系人的标识、与该第一联系人的标识对应的第一图像、与该第二联系人的标识对应的第二图像,以使得该服务器可以根据目标图像数据,向第一联系人发送对应的第一图像,并向第二联系人发送对应的第二图像。由于第一电子设备可以根据第一输入,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像;或,向目标群组的服务器发送目标图像数据,以使得服务器可以根据该目标图像数据,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像,这样,第一联系人(或第二联系人)可以直接从第一图像(或第二图像)中查看用户想要向第一联系人(或第二联系人)分享的内容,而无需从目标图像中的所有内容中,逐一查找用户想要向第一联系人(或第二联系人)分享的内容,因此,可以减少每个联系人查看用户想要分享的内容的耗时,如此,可以提升第一电子设备分享内容的便捷性。
附图说明
图1为本申请实施例提供的一种通信系统的架构示意图;
图2是本申请实施例提供的图像分享方法的示意图之一;
图3是本申请实施例提供的图像分享方法的示意图之二;
图4是本申请实施例提供的一种手机的界面的实例示意图之一;
图5是本申请实施例提供的一种手机的界面的实例示意图之二;
图6是本申请实施例提供的一种手机的界面的实例示意图之三;
图7是本申请实施例提供的一种手机的界面的实例示意图之四;
图8是本申请实施例提供的一种手机的界面的实例示意图之五;
图9是本申请实施例提供的一种手机的界面的实例示意图之六;
图10是本申请实施例提供的一种手机的界面的实例示意图之七;
图11是本申请实施例提供的图像分享方法的示意图之三;
图12是本申请实施例提供的一种手机的界面的实例示意图之八;
图13是本申请实施例提供的一种手机的界面的实例示意图之九;
图14是本申请实施例提供的一种手机的界面的实例示意图之十;
图15是本申请实施例提供的一种手机的界面的实例示意图之十一;
图16是本申请实施例提供的图像分享装置的结构示意图之一;
图17是本申请实施例提供的图像分享装置的结构示意图之二;
图18是本申请实施例提供的电子设备的结构示意图;
图19是本申请实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一图像可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像分享方法进行详细地说明。
本申请实施例提供的图像分享方法可以应用于用户通过电子设备进行群聊的场景。
假设用户1通过电子设备1的聊天类应用中的聊天群组1进行聊天,在相关技术中,若用户1想要向该聊天群组1中的某些用户(例如用户2和用户3)分享某些内容,例如想要向用户2分享文字内容1,想要向用户3分享文字内容3,则用户1可以先触发电子设备1显示页面1,该页面1中包括文字内容1、文字内容2和文字内容3,然后用户可以触发电子设备1对该页面1进行截屏操作,以使得电子设备1可以得到图像1,这样,用户1可以对该图像1进行分享输入,以使得电子设备1可以显示该聊天类应用的界面,该聊天类应用的界面中包括该聊天群组1的头像,接下来,用户1可以对该聊天群组1的头像进行点击输入,以使得电子设备1可以向聊天群组1的服务器发送该图像1,进而,服务器可以存储该图像1,并向用户2的电子设备2和用户3的电子设备3发送缩略图消息,该缩略图消息中包括该图像1的缩略图。从而,电子设备2和电子设备3可以分别接收该缩略图消息,并分别在聊天群组1的界面中显示该图像1的缩略图。若用户2(或用户3)想要查看用户1想 要分享的文字内容,则用户2(或用户3)可以对该图像1的缩略图进行点击输入,以使得电子设备2(或电子设备3)可以向服务器发送图像下载请求,从而服务器可以根据该图像下载请求,向电子设备2(或电子设备3)发送图像消息,该图像消息中包括该图像1,这样,电子设备2(或电子设备3)可以在聊天群组1的界面中,显示该图像1,进而,用户2(或用户3)可以在该图像1中的文字内容1、文字内容2和文字内容3中,查找用户1想要向用户2(或用户3)分享的文字内容,即文字内容1,(或文字内容3)。然而,由于针对用户2和用户3,用户1想要分享的文字内容可能并不相同,这样,用户2和用户3均需要分别图片1的文字内容1中,逐一查找用户1想要分享的不同文字内容,因此,导致用户2和用户3查看用户1想要分享的文字内容的耗时较长。
然而,在本申请实施例的一种场景下,在图像1包括多个图像区域(例如区域1和区域2)的情况下,电子设备1可以根据用户对图像1的输入,向电子设备2发送基于该区域1生成的图像2,并向电子设备3发送基于该区域2生成的图像3。
在本申请实施例的另一种场景下,在图像1包括多个图像区域(例如区域1和区域2)的情况下,电子设备1可以根据用户对图像1的输入,向聊天群组1的服务器发送图像数据,该图像数据包括用户2的帐户信息、用户3的账号信息、基于区域1生成的图像2和基于区域2生成的图像3,这样,服务器可以向用户2的电子设备2发送该图像2,并向用户3的电子设备3发送该图像3。
可以理解,电子设备2(或电子设备3)可以直接显示图像2(或图像3),进而,用户2(或用户3)可以直接查看用户1想要向用户2(或用户3)分享的文字内容1(或文字内容3),而无需用户2(或用户3)逐一查找用户1想要分享的内容,因此,可以减少用户2和用户3查看用户1想要分享的内容的耗时。
本申请实施例提供一种通信系统,该通信系统至少包括服务器和多个电子设备(例如第一电子设备和第二电子设备),任意两个电子设备之间均通过服务器进行消息传输,例如第一电子设备要向第二电子设备发送消息(例如图像消息),则第一电子设备可以直接将图像消息发送至第二电子设备,以使得第二电子设备可以显示该图像消息中的图像;或,第一电子设备可以先将该图像消息发送至服务器,以使得服务器可以存储该图像消息中的图像,并向第二电子设备发送图像标识消息,该图像标识消息中包括该图像的标识(例如缩略图),这样,第二电子设备可以显示该缩略图。若第二电子设备的用户2想要查看该图像,则用户2可以点击该缩略图,以使得第二电子设备可以向服务器发送图像下载请求,从而服务器可以根据该图像下载请求,向第二电子设备发送该图像消息,以使得第二电子设备可以显示该图像消息中的图像。
如图1所示,本申请实施例提供的通信系统包括:第一电子设备01、第二电子设备02和服务器03。
其中,第一电子设备01接收对目标图像的第一输入,该目标图像至少包括第一区域和第二区域;并响应于第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。其中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的;上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一联系人的标识对应第一图像,该第二联系人的标识对应第二图像。这样,服务器03可以存储该目标图像数据,并向第二电子设备02发送图像标识消息,该图像标识消息中包括目标图像的标识,从而,第二电子设备可以在目标群组的界面中显示该目标图像的标识,并在第二电子设备02显示目标群组的界面的情况下,第二电子设备02接收用户对目标群组的界面中的该目标图像的标识的第七输入;以及,响应于第七输入,向目标群组的服务器03、发送图像下载请求,该图像下载请求用于请求下载目标图像,该下载请求中包括第二电子设备02对应的目标联系人的标识;如此,服务器03可以根据该下载请求,向第二电子设备02发送该第四图像,进而,第二电子设备02接收服务器03发送的第四图像,并显示该第四图像;其中,该第四图像为:服务器基于目标联系人的标识、和目标图像数据,向第二电子设备发送的图像,该第四图像包括以下任一项:第一图像、第二图像。
本申请实施例提供的通信系统,由于第一电子设备可以根据用户对目标图像的第一输入,向服务器发送该某些联系人的标识、和包含用户想要分享的内容的图像,这样,服务器可以向目标群组中用户想要分享内容的一些联系人的电子设备(例如第二电子设备)、发送包含用户想要分享的内容的图像,向目标群组中用户想要分享内容的另一些联系人的电子设备发送第二图像,而并不是向目标群组中所有联系人的电子设备均发送目标图像,这样,用户想要分享内容的一些联系无需逐一查找用户想要分享的内容,因此,可以提升分享内容的便捷性。
可选地,本申请实施例中,在第一联系人和第二联系人均包括第三联系人的情况下,目标图像数据包括还包括:第三图像,第四图像包括以下任一项:第一图像、第二图像、第三图像;其中,第三联系人的标识对应第三图像,第三图像是基于第一区域和第二区域生成的。
如此可知,由于在第一联系人和第二联系人均包括第三联系人的情况下,第二电子设备可以显示第三图像,即第二电子设备可以显示第一电子设备的用户想要分享的图像,因此,可以提升第一电子设备分享图像的多样性。
可选地,本申请实施例中,上述目标图像数据还包括:目标图像;在目标联系人的标识与第一联系人的标识相匹配的情况下,第四图像为第一图像;在目标联系人的标识与第二联系人的标识相匹配的情况下,第四图像为第二图像;在目标联系人的标识与第三联系人的标识相匹配的情况下,第四图像为第三图像;在目标联系人的标识,与第一联系人的标识和第二联系人的标识均不匹配的情况下,第四图像为目标图像。
可选地,本申请实施例中,在上述“向目标群组的服务器发送目标图像数据”之前,第一电子设备01将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联。
如此可知,由于第一电子设备可以将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联,这样,第一电子设备可以根据用户的不同分享需求,向不同联系人发送不同图像,因此,可 以提升第一电子设备分享图像的多样性,如此,可以提升用户的使用体验。
可选地,本申请实施例中,在上述“第一电子设备01接收对目标图像的第一输入”之前,在第一电子设备01显示目标图像的情况下,第一电子设备01接收对目标图像的第二输入;并响应于第二输入,根据第二输入的输入参数,将目标图像分为第一区域和第二区域。
如此可知,由于第一电子设备可以根据用户的输入,将目标图像分为包含不同内容的不同区域,以使得第一电子设备可以根据该不同区域,生成用户需要的包含不同内容的不同图像,以向准确地将用户需要的不同内容的不同图像,发送至不同联系人,可以提升第一电子设备分享用户想要分享的内容的准确性。
可选地,本申请实施例中,在上述“向目标群组的服务器发送目标图像数据”之前,第一电子设备01显示图像编辑界面,该图像编辑界面中包括目标图像;第一电子设备01接收用户对目标图像的目标区域的第三输入,目标区域包括以下至少一项:第一区域、第二区域;响应于第三输入,显示至少一个第一控件,每个第一控件分别对应一种图像处理方式;接收用户对至少一个第一控件中的目标控件的第四输入;响应于第四输入,采用目标控件对应的图像处理方式,对目标区域进行图像处理。
如此可知,由于用户可能想要向目标群组中的某些联系人中的不同联系人,分享不同视觉效果的内容,因此,用户可以触发第一电子设备执行上述步骤,以使得服务器可以向该不同联系人,发送包含不同视觉效果的内容的图像,即该不同联系人的不同电子设备上,显示的图像的视觉效果均不同,而并不是均显示同一个视觉效果的图像(即目标图像),因此,可以提升第一电子设备分享内容的灵活性。
可选地,本申请实施例中,在上述“第一电子设备01接收对目标图像的第一输入”之前,第一电子设备01接收对第三区域的M个子区域的第五输入,该第三区域为:第一区域或第二区域,M为正整数;响应于第五输入,基于M个子区域,分别生成M个子图像,并显示M个子图像,每个子区域分别对应一个子图像。
如此可知,由于在第一电子设备可以根据用户在第三区域的M个子区域的输入,在目标图像上,显示M个子图像,从而其他联系人可以直接查看该M个子图像,以快速地查看用户想要分享的内容,因此,可以提升第一电子设备分享内容的效率。
可选地,本申请实施例中,上述“显示M个子图像”包括:第一电子设备01调小目标图像的显示尺寸,并在目标图像的显示区域的相邻显示区域中显示M个子图像。
如此可知,由于第一电子设备可以调小目标图像的显示尺寸,以在该目标图像的显示区域的相邻显示区域中、显示M个子图像,因此,可以避免M个子图像遮挡目标图像中的内容的情况,从而可以提升第一电子设备分享内容的效率,如此,可以提升用户的使用体验。
可选地,本申请实施例中,在上述“显示M个子图像”之后,第一电子设备01接收将M个子图像中的目标子图像拖动至目标位置的第六输入;响应于第六输入,基于目标位置,调整目标子图像的显示区域,并调整M个子图像中的N个子图像的显示区域,N为正整数。其中,上述N个子图像是:基于目标子图像的显示区域和目标位置确定的。
如此可知,用户可以对目标子图像进行第六输入,以使得第一电子设备可以调整N个子图像的显示区域,以调整N个子图像的显示顺序(逻辑顺序),因此,可以提升用户(即用户或电子设备的用户)的观看图像的体验。
本申请实施例提供的一种图像分享方法,该图像分享方法可以应用于第一图像分享装置,图2示出了本申请实施例提供的一种图像分享方法的流程图。如图2所示,本申请实施例提供的图像分享方法可以包括下述的步骤101和步骤102。
步骤101、第一图像分享装置接收对目标图像的第一输入。
可选地,本申请实施例中,在第一图像分享装置显示目标图像、且目标图像包括M个区域的情况下,第一图像分享装置接收用户1对目标图像的第一输入,M为大于1的整数。
本申请实施例中,上述目标图像至少包括第一区域和第二区域。
可以理解,M个区域中包括第一区域和第二区域。
可选地,在一种场景下,在第一图像分享装置、第三图像分享装置和第四图像分享装置通过第一网络连接、且显示第一应用的第一页面的情况下,第一图像分享装置可以根据用户1的截屏输入,对该第一页面执行截屏操作,以得到目标图像。然后,第一图像分享装置可以根据用户1对目标图像的第一区域(和第二区域)的输入,建立该第一区域和第一联系人的关联关系,并建立第二区域和第二联系人的关联关系,从而可以进行第一输入。其中,第三图像分享装置为:第一联系人的图像分享装置,第四图像分享装置为:第二联系人的图像分享装置。
可选地,在另一种场景下,在显示第一应用的第一页面的情况下,第一图像分享装置可以根据用户1的截屏输入,对该第一页面执行截屏操作,以得到目标图像。然后,第一图像分享装置可以根据用户1对该目标图像和目标应用的标识(例如图标)的分享输入,显示目标应用的界面,该目标应用的界面中包括至少一个群组的标识,这样,第一图像分享装置可以根据用户1对该至少一个群组的标识中的目标群组的标识的选择输入(例如点击输入),选中该目标群组,并将该目标应用的界面,切换为第一界面,该第一界面中包括该目标图像,然后,第一图像分享装置可以根据用户1对目标图像的第一区域(和第二区域)的输入,建立该第一区域和第一联系人的关联关系,并建立第二区域和第三联系人的关联关系,从而可以进行第一输入。
进一步可选地,本申请实施例中,上述第一网络具体可以为:无线保真(wireless-fidelity,WiFi)网络、蓝牙网络等。
进一步可选地,本申请实施例中,上述第一应用的应用类型可以包括以下任一项:聊天类应用、网页类应用、短视频交互类应用、直播类应用、拍摄类应用等。
可以理解,上述第一页面可以为:包含用户1想要分享的所有内容的页面,该目标图像中包含用户1想要分享的所有内容。其中,上述内容可以包括以下至少一项:文字内容、图像内容等。
进一步可选地,本申请实施例中,上述目标应用的应用类型具体可以为:聊天类应用。
进一步可选地,本申请实施例中,上述至少一个群组的标识可以包括以下至少一项:图标、名称和链接等。
可选地,本申请实施例中,上述M个区域可以为:第一图像分享装置根据目标图像中的内容,对目标图像进行图像划分操作,得到的区域;或,第一图像分享装置根据用户1的输入,对目标图像进行图像划分操作,得到的区域。
进一步可选地,本申请实施例中,在第一图像分享装置将目标应用的界面,切换为第一界面之后,第一图像分享装置可以对该目标图像进行检测,以得到用户1想要分享的所有内容,从而第一图像分享装置可以根据该所有内容,将目标图像分为M个区域。
具体地,本申请实施例中,在内容包括文字内容的情况下,第一图像分享装置可以根据该文字内容的语义特征,将该文字内容划分为M个子文字内容,并根据该M个子文字内容对应的区域,将目标图像分为M个区域,一个区域对应一个子文字内容。
可选地,本申请实施例中,在第一图像分享装置将目标应用的界面,切换为第一界面之后,第一图像分享装置可以根据用户1的输入(例如下述实施例中的第二输入)的输入参数,将该目标图像分为M个区域。
进一步可选地,本申请实施例中,上述输入参数可以包括以下至少一项:输入轨迹、输入方向等。
可选地,本申请实施例中,上述第一输入具体可以为:用户1对第一图像分享装置的显示屏的按压输入(例如点击输入、长按输入等),或者,用户1对第一图像分享装置的物理按键的按压输入。当然,第一输入也可以为用户1的其他形式的输入,本申请实施例对此不作限定。
进一步可选地,本申请实施例中,上述第一界面中还包括“发送”控件,第一输入具体可以为:用户1对该“发送”控件的点击输入。
步骤102、第一图像分享装置响应于第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像。
可选地,本申请实施例中,第一图像分享装置可以先生成第一图像和第二图像,然后再向第一联系人发送第一图像,并向第二联系人发送第二图像。
本申请实施例中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的。
可选地,本申请实施例中,第一图像分享装置可以先对第一区域进行图像处理,然后再根据图像处理后的第一区域和第二区域,生成第一图像。
进一步可选地,本申请实施例中,上述图像处理可以包括以下至少一项:“涂鸦”图像处理、“截取”图像处理、虚化图像处理和调整显示参数处理等。
需要说明的是,上述“涂鸦”图像处理可以理解为:用户1可以在图像上进行滑动输入,以触发图像分享装置显示与该滑动输入的输入轨迹对应的图案的图像处理。上述“截取”图像处理可以理解为:第一图像分享装置可以截取出目标图像的目标区域的图像处理。
具体地,本申请实施例中,在第一图像分享装置采用“截取”图像处理,对目标区域进行图像处理之后,第一图像分享装置可以直接根据目标区域生成第一图像;或,第一图像分享装置可以将目标区域与空白区域进行拼接,生成第一图像。其中,该空白区域的显示尺寸与其他区域的显示尺寸相同,该其他区域为:目标图像的除目标区域之外的区域。
可以理解,第一图像分享装置将目标区域与空白区域进行拼接、生成的第一图像的显示尺寸,与目标图像的显示尺寸相同。
进一步可选地,本申请实施例中,上述显示参数可以包括以下至少一项:显示尺寸、显示亮度值、对比度值、色差值和色温值等。
可选地,本申请实施例中,第一图像分享装置可以先对第二区域进行图像处理,然后再根据图像处理后的第二区域和第一区域,生成第二图像。
可选地,本申请实施例中,第一图像分享装置可以通过第一网络向第一联系人发送第一图像,并通过第二网络向第二联系人发送第二图像。
可选地,本申请实施例中,结合图2,如图3所示,上述步骤102还可以替换为步骤103。
步骤103、第一图像分享装置响应于第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。
可选地,本申请实施例中,第一图像分享装置可以先生成第一图像和第二图像,然后再向第一联系人发送第一图像,并向第二联系人发送第二图像。
本申请实施例中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的。
需要说明的是,针对第一图像分享装置生成第一图像和第二图像的说明,可以参考上述实施例中的具体描述,本申请实施例在此不再赘述。
本申请实施例中,上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一联系人的标识对应第一图像,该第二联系人的标识对应第二图像。
可选地,本申请实施例中,在第一图像分享装置向目标群组的服务器发送目标图像数据之后,其他联系人的图像分享装置可以向服务器发送图像下载请求,该图像下载请求中包括其他联系人的标识,这样,服务器可以根据该其他联系人的标识,向该其他联系人的图像分享装置发送第一图像(或第二图像)。
可以理解,在其他联系人的标识与第一联系人的标识相匹配(例如相同)的情况下,服务器可以向该其他联系人的图像分 享装置发送第一图像;在其他联系人的标识与第二联系人的标识相匹配(例如相同)的情况下,服务器可以向该其他联系人的图像分享装置发送第二图像;在其他联系人的标识与第一联系人(和第二联系人)的标识均不匹配(例如相同)的情况下,服务器可以向该其他联系人的图像分享装置发送其他图像。
可选地,本申请实施例中,上述其他图像具体可以为:服务器中预存的图像,或者,可以为目标图像数据中的图像(例如下述实施例中的目标图像)。
本申请实施例中,若用户1想要向某些联系人分享某些内容,则用户1可以在第一图像分享装置显示该某些内容的情况下,触发第一图像分享装置进行截屏操作,以得到包含该某些内容的图像。然而,由于用户1可能想要向不同联系人,分享该某些内容中的不同内容,因此,用户1可以触发第一图像分享装置执行上述步骤101和步骤102(或步骤103),以向该不同联系人,发送包含该某些内容中的不同内容的不同图像,即不同联系人的不同图像分享装置上,显示的图像的内容均不同。
本申请实施例提供的图像分享方法,第一图像分享装置可以根据对目标图像(该目标图像包括第一区域和第二区域)的第一输入,向第一联系人发送基于该第一区域生成的第一图像,并向第二联系人发送基于该第二区域生成的第二图像;或,在第一联系人和第二联系人属于目标群组的情况下,向该目标群组的服务器发送目标图像数据,该目标图像数据包括第一联系人的标识、第二联系人的标识、与该第一联系人的标识对应的第一图像、与该第二联系人的标识对应的第二图像,以使得该服务器可以根据目标图像数据,向第一联系人发送对应的第一图像,并向第二联系人发送对应的第二图像。由于第一图像分享装置可以根据第一输入,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像;或,向目标群组的服务器发送目标图像数据,以使得服务器可以根据该目标图像数据,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像,这样,第一联系人(或第二联系人)可以直接从第一图像(或第二图像)中查看用户想要向第一联系人(或第二联系人)分享的内容,而无需从目标图像中的所有内容中,逐一查找用户想要向第一联系人(或第二联系人)分享的内容,因此,可以减少每个联系人查看用户想要分享的内容的耗时,如此,可以提升第一图像分享装置分享内容的便捷性。
当然,可能会出现第一联系人和第二联系人均包括某个联系人的情况,此时,第一图像分享装置可以向该某个联系人发送另一图像。
可选地,本申请实施例中,第一联系人和第二联系人均包括第三联系人。具体地,上述步骤102具体可以通过下述的步骤102a实现。
步骤102a、第一图像分享装置响应于第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像。
进一步可选地,本申请实施例中,上述第三图像是基于第一区域和第二区域生成的。
具体地,本申请实施例中,上述第三图像具体是根据图像处理后的第一区域、和图像处理后的第二区域生成的。
本申请实施例中,若第一联系人和第二联系人均包括第三联系人,则可以认为用户1可能想要向第三联系人分享目标图像中的所有内容,因此,第一图像分享装置可以向第三联系人发送第三图像。
如此可知,由于在第一联系人和第二联系人均包括第三联系人的情况下,第一图像分享装置可以向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像,即第一图像分享装置可以根据用户的不同分享需求,向不同联系人发送不同图像,因此,可以提升第一图像分享装置分享图像的多样性。
可选地,本申请实施例中,在第一联系人和第二联系人均包括第三联系人的情况下,上述目标图像数据还包括第三图像,该第三联系人的标识对应第三图像。
可以理解,在第三联系人的图像分享装置向服务器发送图像下载请求(该图像下载请求中包括第三联系人的标识)时,服务器可以根据该第三联系人的标识,向该第三联系人的图像分享装置发送第三图像。
下面将举例说明,第一图像分享装置是如何根据用户1的输入,将目标图像分为第一区域和第二区域的。
可选地,本申请实施例中,在上述步骤101之前,本申请实施例提供的图像分享方法还可以包括下述的步骤201和步骤202。
步骤201、在显示目标图像的情况下,第一图像分享装置接收对所目标图像的第二输入。
进一步可选地,本申请实施例中,第一图像分享装置可以将目标应用的界面,切换为第一界面(该第一界面中包括目标图像),并控制该目标图像处于可编辑状态,从而可以对该目标图像进行第二输入。
需要说明的是,上述“可编辑状态”可以理解为:目标图像处于可以被编辑的状态。例如,用户1可以触发图像分享装置对目标图像执行划分操作、图像处理操作等。
具体地,本申请实施例中,上述第一界面中还可以包括提示信息,该提示信息用于提示用户1目标图像处于可编辑状态。
举例说明,以第一图像分享装置为手机为例进行说明。如图4所示,手机可以将目标应用的界面切换为第一界面(例如界面10),界面10中显示有目标图像(例如图像11),该图像11处于可编辑状态,该界面10中还包括提示信息(例如“您可以将截图分割成多个部分推送给不同的用户”提示信息),从而可以进行第二输入。
进一步可选地,本申请实施例中,上述第二输入可以为:用户1在显示屏上的滑动输入。
具体地,本申请实施例中,第二输入具体可以为:用户1在显示屏上,由显示屏的一条边缘线至另一条边缘线的滑动输入。其中,该一条边缘线与该另一条边缘线具体可以为相邻的边缘线,或不相邻的边缘线。
步骤202、第一图像分享装置响应于第二输入,根据第二输入的输入参数,将目标图像分为第一区域和第二区域。
进一步可选地,本申请实施例中,上述第二输入的输入参数具体可以为:输入轨迹。
进一步可选地,本申请实施例中,第一图像分享装置可以根据第二输入的输入轨迹和显示屏的边缘线所谓成的区域,分别确定第一区域和第二区域。
举例说明,结合图4,如图5中的(A)所示,用户1可以在显示屏上进行第二输入(例如滑动输入12),该第二输入为由显示屏的一条边缘线(例如边缘线13)至另一条边缘线(例如边缘线14)的滑动输入,以使得手机可以将图像11分为第一区域和第二区域;如图5中的(B)所示,在用户1进行第二输入之后,手机可以将滑动输入12的输入轨迹、边缘线13、边缘线14和显示屏的一条边缘线(例如边缘线15)所围成的区域(例如区域16),确定为第一区域,并将该滑动输入12的输入轨迹、边缘线13、边缘线14和显示屏的另一条边缘线(例如边缘线17)所围成的区域(例如区域18),确定为第二区域,以将图像11分为第一区域(即区域16)和第二区域(即区域18)。
本申请实施例中,当用户1想要向不同联系人分享某些内容中的不同内容时,用户1可以根据用户1的使用需求进行输入,以使得第一图像分享装置可以将目标图像分为包含不同内容的不同区域,从而用户1可以触发第一图像分享装置该不同区域分别对应的不同图像发送至不同联系人(或服务器),以向不同联系人发送包含该某些内容中的不同内容的不同图像。
如此可知,由于第一图像分享装置可以根据用户的输入,将目标图像分为包含不同内容的不同区域,以使得第一图像分享装置可以根据该不同区域,生成用户需要的包含不同内容的不同图像,以向准确地将用户需要的不同内容的不同图像,发送至不同联系人,可以提升第一图像分享装置分享用户想要分享的内容的准确性。
下面将举例说明,第一图像分享装置是如何对第一区域和第二区域进行图像处理的。
可选地,本申请实施例中,在上述步骤102a中的“向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像”之前,或,在上述步骤103中的“在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据”之前,本申请实施例提供的图像分享方法还可以包括下述的步骤301至步骤305。
步骤301、第一图像分享装置响应于第一输入,显示图像编辑界面。
进一步可选地,本申请实施例中,在显示第一界面、且第一界面中包括“图像编辑”控件的情况下,第一图像分享装置可以根据用户1对该“图像编辑”控件进行点击输入,将第一界面切换为图像编辑界面,以显示该图像编辑界面。
本申请实施例中,上述图像编辑界面中包括目标图像。
步骤302、第一图像分享装置接收用户对目标图像的目标区域的第三输入。
本申请实施例中,上述目标区域包括以下至少一项:第一区域、第二区域。
进一步可选地,本申请实施例中,上述第三输入具体可以为:用户1对目标区域的按压输入(例如长按输入)。
步骤303、第一图像分享装置响应于第三输入,显示至少一个第一控件。
本申请实施例中,上述至少一个第一控件中的每个第一控件分别对应一种图像处理方式。
进一步可选地,本申请实施例中,图像处理方式包括以下至少一项:“涂鸦”图像处理、“截取”图像处理、虚化图像处理和调整显示参数处理等。
需要说明的是,针对“涂鸦”图像处理和“截取”图像处理的说明,可以参考上述实施例中的具体描述,本申请实施例在此不再赘述。
进一步可选地,本申请实施例中,第一图像分享装置可以在目标区域上,悬浮显示至少一个第一控件。
步骤304、第一图像分享装置接收用户对至少一个第一控件中的目标控件的第四输入。
本申请实施例中,上述第四输入用于触发第一图像分享装置对目标区域进行图像处理。
进一步可选地,本申请实施例中,上述第四输入具体可以为:用户1对目标控件的点击输入。
步骤305、第一图像分享装置响应于第四输入,采用目标控件对应的图像处理方式,对目标区域进行图像处理。
如此可知,由于第一图像分享装置可以在显示图像编辑界面的情况下,根据用户对目标区域的第三输入,显示至少一个第一控件,并根据用户对目标控件的第四输入,采用目标控件对应的图像处理方式,对目标区域进行图像处理,从而用户可以向目标群组中的某些联系人分享进行图像处理后的内容,因此,可以提升第一图像分享装置分享的内容的显示效果,如此,可以提升用户的使用体验。
可选地,本申请实施例中,上述目标图像数据还包括:目标图像;在目标区域为第一区域的情况下,第一图像和第三图像均是:根据图像处理后的第一区域生成的;在目标区域为第二区域的情况下,第二图像和第三图像均是:根据图像处理后的第二区域生成的。
可以理解,在目标区域为第一区域的情况下,第一图像和第三图像均是:根据图像处理后的第一区域和第二区域生成的;在目标区域为第二区域的情况下,第二图像和第三图像均是:根据图像处理后的第二区域和第一区域生成的。
具体地,本申请实施例中,第一图像分享装置可以对图像处理后的第一区域和第二区域进行图像拼接处理,以生成第一图像(或第三图像);或,第一图像分享装置可以对图像处理后的第二区域和第一区域进行图像拼接处理,以生成第二图像(或第三图像)。
本申请实施例中,目标图像为:向其他联系人发送的图像,或,其他联系人的图像分享装置上显示的图像;该其他联系人为:目标群组中,除第一联系人和第二联系人外的联系人。
可以理解,第一图像分享装置可以向服务器发送目标图像数据,从而在第一联系人的图像分享装置向服务器发送图像下载请求的情况下,服务器可以根据该图像下载请求,向第一联系人的图像分享装置发送的第一图像;或者,在第二联系人的图像 分享装置向服务器发送图像下载请求的情况下,服务器可以根据该图像下载请求,向第二联系人的图像分享装置发送的第二图像。
可选地,本申请实施例中,在目标区域包括第一区域和第二区域的情况下,第一图像是根据图像处理后的第一区域生成的,第二图像是根据图像处理后的第二区域生成的,第三图像是根据图像处理后的第一区域和图像处理后的第二区域生成的。
可以理解,在第三联系人的图像分享装置向服务器发送图像下载请求的情况下,服务器可以根据该图像下载请求,向第三联系人的图像分享装置发送的第三图像。
如此可知,由于用户可能想要向目标群组中的某些联系人中的不同联系人,分享不同视觉效果的内容,因此,用户可以触发第一图像分享装置执行上述步骤,以使得服务器可以向该不同联系人,发送包含不同视觉效果的内容的图像,即该不同联系人的不同图像分享装置上,显示的图像的视觉效果均不同,而并不是均显示同一个视觉效果的图像(即目标图像),因此,可以提升第一图像分享装置分享内容的灵活性。
下面将举例说明,第一图像分享装置是如何将区域与联系人关联的。
可选地,本申请实施例中,在上述步骤102a中的“向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像”之前,或,在上述步骤103中的“在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据”之前,本申请实施例提供的图像分享方法还可以包括下述的步骤401。
步骤401、第一图像分享装置响应于第一输入,将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联。
进一步可选地,本申请实施例中,第一图像分享装置响应于第一输入,可以在第一区域显示X个联系人的标识,并在第二区域显示Y个联系人的标识,从而用户可以对该X个联系人的标识中的第一联系人的标识、和对该Y个联系人的标识中的第二联系人的标识进行输入,以使得第一图像分享装置可以将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联,X、Y均为正整数。
具体地,本申请实施例中,上述X个联系人中的每个联系人为目标群组中的联系人;上述N个联系人中的每个联系人为目标群组中的联系人。
具体地,本申请实施例中,上述X个联系人的标识可以包括以下至少一项:头像、名称等。上述Y个联系人的标识可以包括以下至少一项:头像、名称等。
具体地,本申请实施例中,X个联系人与N个联系人可以相同。可以理解,X=Y。
具体地,本申请实施例中,第一图像分享装置可以检测目标群组,以获取该目标群组中的所有联系人的标识,从而第一图像分享装置可以在第一区域(或第二区域)上,显示一个窗口,该一个窗口中包括:该所有联系人的标识中的X个联系人(或Y个联系人)的标识,以显示X个联系人(或Y个联系人)的标识。
举例说明,如图6所示,手机可以在第一区域(例如区域19)上,悬浮显示一个窗口(例如窗口20),该窗口19中包括X个联系人的标识(例如联系人1的标识21、联系人2的标识22和联系人3的标识23),并在第二区域(例如区域24)上,悬浮显示另一个窗口(例如窗口25),该窗口25中包括Y个联系人的标识(例如联系人1的标识26、联系人2的标识27和联系人3的标识28)。
具体地,本申请实施例中,用户1可以对该X个联系人的标识中的第一联系人的标识进行点击输入,以使得第一图像分享装置可以将第一区域与第一联系人关联,并对该Y个联系人的标识中的第二联系人的标识进行点击输入,以使得第一图像分享装置可以将第二区域与第二联系人关联,并将第一区域和第二区域、均与第三联系人关联。
举例说明,结合图6,如图7中的(A)所示,用户1可以对联系人1的标识21、联系人2的标识22和联系人3的标识23中的第一联系人的标识(例如联系人1的标识21和联系人2的标识22)进行点击输入,以使得手机可以将区域19与联系人1、联系人2关联;如图7中的(B)所示,在手机将区域19与联系人1、联系人2关联之后,用户1可以对联系人1的标识26、联系人2的标识27和联系人3的标识28中的第二联系人的标识(例如联系人2的标识27和联系人3的标识28)进行点击输入,以使得手机可以将区域24与联系人2、联系人3关联,并将区域19和区域24、均与联系人2关联。
如此可知,由于第一图像分享装置可以将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联,这样,第一图像分享装置可以根据用户的不同分享需求,向不同联系人发送不同图像,因此,可以提升第一图像分享装置分享图像的多样性,如此,可以提升用户的使用体验。
在相关技术中,为了使得某些联系人可以快速地查看用户1想要分享的内容,用户1可以在目标图像上添加标记元素,并添加标记元素后的目标图像发送至该某些联系人(或服务器)。然而,由于可能会出现添加标记元素后的目标图像中、标记元素遮挡内容的情况,因此可能会导致某些联系人并不能完整的查看用户1想要分享的内容。
如此,本申请实施例中,在用户1在目标图像上添加标记元素之后,第一图像分享装置可以在目标图像上显示与用户1添加的标记元素对应的子图像,并删除目标图像上添加的标记元素,从而避免出现添加标记元素后的目标图像中、标记元素遮挡内容的情况。
可选地,本申请实施例中,在上述步骤101之前,本申请实施例提供的图像分享方法还可以包括下述的步骤501和步骤502。
步骤501、第一图像分享装置接收对第三区域的M个子区域的第五输入。
进一步可选地,本申请实施例中,在第一图像分享装置显示目标图像、且该目标图像处于可编辑状态的情况下,用户1 可以对第三区域的M个子区域进行第五输入。
进一步可选地,本申请实施例中,上述第五输入具体可以包括M个子输入,每个子输入分别为用户1在一个区域上的滑动输入。
进一步可选地,本申请实施例中,上述M个子输入可以为连续的子输入,或不连续的子输入。
需要说明的是,上述“连续的子输入”可以理解为:两个子输入之间的时间间隔小于或等于预设时间间隔,或两个子输入之间没有其他输入。
步骤502、第一图像分享装置响应于第五输入,基于M个子区域,分别生成M个子图像,并显示M个子图像。
进一步可选地,本申请实施例中,第一图像分享装置响应于第五输入,可以在M个子区域中分别添加M个标记元素,并显示第二控件,该第二控件用于生成子图像,从而用户1可以对该第二控件进行点击输入。
举例说明,如图8中的(A)所示,手机显示目标图像(例如图像29)、且该图像29处于可编辑状态,从而用户1可以对第三区域(例如第一区域30)的M个子区域(例如区域31、区域32和区域33)进行第五输入;如图8中的(B)所示,在用户1进行第五输入之后,手机可以在区域31中添加一个标记元素(例如标记元素34),并在区域32中添加另一个标记元素(例如标记元素35),以及,在区域33中添加又一个标记元素(例如标记元素36),并显示第二控件(例如“悬浮显示标注重点区域”控件),从而用户1可以对该“悬浮显示标注重点区域”控件进行点击输入,以使得手机可以生成3个子图像。
本申请实施例中,上述M个子区域中的每个子区域分别对应一个子图像。
进一步可选地,本申请实施例中,在用户1对第二控件进行点击输入之后,第一图像分享装置可以删除M个标记元素,并根据M个子区域中的每个子区域,分别生成每个子图像。
可选地,本申请实施例中,上述步骤502具体可以通过下述的步骤502a实现。
步骤502a、第一图像分享装置响应于第五输入,基于M个子区域,分别生成M个子图像,并调小目标图像的显示尺寸,并在目标图像的显示区域的相邻显示区域中显示M个子图像。
举例说明,结合图8中的(B),如图9所示,在用户1对“悬浮显示标注重点区域”控件进行点击输入之后,手机可以调小图像29的显示尺寸,并在图像29的显示区域的相邻显示区域(例如区域37)中显示M个子图像(例如子图像38、子图像39和子图像40),该子图像38对应子区域31,该子图像39对应子区域32,该子图像40对应子区域33。
如此可知,由于第一图像分享装置可以调小目标图像的显示尺寸,以在该目标图像的显示区域的相邻显示区域中、显示M个子图像,因此,可以避免M个子图像遮挡目标图像中的内容的情况,从而可以提升第一图像分享装置分享内容的效率,如此,可以提升用户的使用体验。
如此可知,由于在第一图像分享装置可以根据用户在第三区域的M个子区域的输入,在目标图像上,显示M个子图像,从而其他联系人可以直接查看该M个子图像,以快速地查看用户想要分享的内容,因此,可以提升第一图像分享装置分享内容的效率。
可选地,本申请实施例中,在上述步骤502之后,本申请实施例提供的图像分享方法还可以包括下述的步骤503和步骤504。
步骤503、第一图像分享装置接收将M个子图像中的目标子图像拖动至目标位置的第六输入。
进一步可选地,本申请实施例中,在第一图像分享装置显示M个子图像之后,第一图像分享装置可以显示第三控件,该第三控件用于调整M个子图像的显示顺序,从而用户1可以对该第三控件进行输入,以使得第一图像分享装置可以控制该M个子图像处于可编辑状态,这样,用户1可以进行第六输入。
举例说明,结合图9,如图10所示,在手机在区域37中显示子图像38、子图像39和子图像40之后,手机可以显示第三控件(例如“调整显示顺序”控件),从而用户可以对该“调整显示顺序”控件进行输入,以使得手机可以控制该子图像38、子图像39和子图像40处于可编辑状态,如此,用户1可以进行第六输入。
进一步可选地,本申请实施例中,上述第六输入具体可以为:起始输入位置为目标子图像所在的位置、且结束输入位置为目标位置的滑动输入。
需要说明的是,上述“起始输入位置”可以理解为:用户1的手指开始接触显示屏的位置。上述“结束输入位置”可以理解为:用户1的手指离开显示屏的位置。
步骤504、第一图像分享装置响应于第六输入,基于目标位置,调整目标子图像的显示区域,并调整M个子图像中的N个子图像的显示区域。
本申请实施例中,上述N个子图像是:基于目标子图像的显示区域和目标位置确定的,N为正整数。
进一步可选地,本申请实施例中,在目标位置、与M个子图像中的第i个子图像所处的位置至少部分重叠的情况下,N个子图像包括:显示顺序位于目标子图像之前、且显示顺序位于第i个子图像之后的子图像;第i个子图像。
具体地,本申请实施例中,第一图像分享装置可以将目标子图像的显示区域调整为第i个子图像的显示区域,并将该第i个子图像的显示区域调整为第i+1个子图像的显示区域,以此类推,以调整N个子图像的显示区域。
如此可知,用户可以对目标子图像进行第六输入,以使得第一图像分享装置可以调整N个子图像的显示区域,以调整N个子图像的显示顺序(逻辑顺序),因此,可以提升用户(即用户或其他图像分享装置的用户)的观看图像的体验。
可以理解,可以使得用户可以确定多个子图像之间的内在逻辑关系,如此可以提升用户的使用体验。
本申请实施例提供的一种图像分享方法,该图像分享方法可以应用于第二图像分享装置,图11示出了本申请实施例提供 的一种图像分享方法的流程图。如图11所示,本申请实施例提供的图像分享方法可以包括下述的步骤601至步骤603。
步骤601、在第二图像分享装置显示目标群组的界面的情况下,第二图像分享装置接收用户对目标群组的界面中的目标图像的标识的第七输入。
可选地,本申请实施例中,在第二图像分享装置显示桌面的情况下,第二图像分享装置可以根据用户2对目标应用的标识的选择输入(例如点击输入),显示目标应用的界面,该目标应用的界面中包括至少一个群组的标识,这样,第一图像分享装置可以根据用户2对该至少一个群组的标识中的目标群组的标识的选择输入(例如点击输入),显示目标群组的界面,从而用户可以进行第七输入。
可选地,本申请实施例中,上述目标图像的标识具体可以为:目标图像的缩略图。
本申请实施例中,上述第七输入用于触发第二图像分享装置下载目标图像。
可选地,本申请实施例中,上述第七输入具体可以为:用户对目标图像的标识的点击输入。
举例说明,以第二图像分享装置为手机为例进行说明。如图12所示,手机显示目标群组的界面(例如界面41),该界面41中包括目标图像的标识(例如标识42),从而用户可以对该标识42进行第七输入(例如点击输入)。
步骤602、第二图像分享装置响应于第七输入,向目标群组的服务器发送图像下载请求。
本申请实施例中,上述图像下载请求用于请求下载目标图像,该下载请求中包括第二图像分享装置对应的目标联系人的标识。
可选地,本申请实施例中,上述目标联系人的标识可以包括以下至少一项:用户的名称、用户的账号等。
步骤603、第二图像分享装置接收服务器发送的第四图像,并显示第四图像。
本申请实施例中,上述第四图像为:目标群组的服务器基于目标联系人的标识、和目标图像数据,向第二图像分享装置发送的图像;该目标图像数据为:第一图像分享装置向该服务器发送的,该目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一图像是基于目标图像的第一区域生成的,该第二图像是基于目标图像的第二区域生成的;该第一联系人的标识对应第一图像,该第二联系人的标识对应第二图像;该第四图像包括以下任一项:第一图像、第二图像。
可选地,本申请实施例中,第二图像分享装置可以将目标群组的界面,切换为第二界面,该第二界面中包括第四图像,以显示该第四图像。
可选地,本申请实施例中,在第一联系人和所述第二联系人均包括第三联系人的情况下,目标图像数据包括还包括:第三图像,第四图像包括以下任一项:第一图像、第二图像、第三图像。
本申请实施例中,上述第三联系人的标识对应第三图像,该第三图像是基于第一区域和第二区域生成的。
需要说明的是,针对第三图像的说明,可以参考上述实施例中的具体描述,本申请实施例在此不再赘述。
如此可知,由于在第一联系人和第二联系人均包括第三联系人的情况下,第二图像分享装置可以显示第三图像,即第二图像分享装置可以显示第一图像分享装置的用户想要分享的图像,因此,可以提升第二图像分享装置分享图像的多样性。
可选地,本申请实施例中,上述目标图像数据还包括:目标图像。
在目标联系人的标识与第一联系人的标识相匹配的情况下,第四图像为第一图像;
在目标联系人的标识与第二联系人的标识相匹配的情况下,第四图像为第二图像;
在目标联系人的标识与第三联系人的标识相匹配的情况下,第四图像为第三图像;
在目标联系人的标识,与第一联系人的标识和第二联系人的标识均不匹配的情况下,第四图像为目标图像。
举例说明,结合图12,如图13所示,在用户进行第七输入之后,手机可以向服务器发送图像下载请求,该图像下载请求中包括目标联系人的标识,从而在目标联系人的标识与第一联系人的标识相匹配的情况下,手机可以将界面41,切换为第二界面(例如界面43),该界面43中包括第一图像(例如图像44)。
举例说明,结合图12,如图14所示,在用户进行第七输入之后,手机可以向服务器发送图像下载请求,该图像下载请求中包括目标联系人的标识,从而在目标联系人的标识与第二联系人的标识相匹配的情况下,手机可以将界面41,切换为第二界面(例如界面43),该界面42中包括第二图像(例如图像45)。
举例说明,结合图12,如图15所示,在用户进行第七输入之后,手机可以向服务器发送图像下载请求,该图像下载请求中包括目标联系人的标识,从而在目标联系人的标识,与第一联系人的标识和第二联系人的标识均不匹配的情况下,手机可以将界面41,切换为第二界面(例如界面43),该界面43中包括目标图像(例如图像46)。
本申请实施例提供的图像分享方法,在第二图像分享装置显示目标群组的界面的情况下,第二图像分享装置可以根据用户对目标图像的标识的第七输入,向目标群组的服务器发送图像下载请求,该图像下载请求中包括第二图像分享装置对应的目标联系人的标识,以使得服务器可以根据目标联系人的标识、和第一图像分享装置向服务器发送的目标图像数据,向第二图像分享装置发送目标图像数据中的第一图像或第二图像,从而第二图像分享装置可以接收并显示该第一图像或第二图像。由于第二图像分享装置可以根据用户的第七输入,向服务器发送包括第二图像分享装置对应的目标联系人的标识的下载请求,这样,第二图像分享装置可以接收服务器根据目标联系人的标识和目标图像数据确定的某个图像(即第一图像或第二图像),并显示该某个图像(即包含第一图像分享装置的用户想要分享的内容的图像),从而用户可以直接查看包含第一图像分享装置的用户想要分享的内容的图像,而并不是均显示目标图像,即用户无需分别从数量较多的内容中,逐一查找用户想要分享的内容,因此,可以减少用户查看第一图像分享装置的用户想要分享的内容的耗时,如此,可以提升第二图像分享装置分享内容的便捷性。
需要说明的是,本申请实施例提供的图像分享方法,执行主体可以为上述实施例中的图像分享装置,或者该图像分享装置 中的用于执行图像分享方法的控制模块。本申请实施例中是以图像分享装置执行图像分享方法为例,说明本申请实施例提供的图像分享方法的装置的。
图16示出了本申请实施例中涉及的图像分享装置的一种可能的结构示意图。如图16所示,第一图像分享装置50可以包括:接收模块51和发送模块52。
其中,接收模块51,用于接收对目标图像的第一输入,该目标图像至少包括第一区域和第二区域。发送模块52,用于响应于接收模块51接收的第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;或,用于响应于接收模块51接收的第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。其中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的;上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一联系人的标识对应第一图像,该第二联系人的标识对应第二图像。
在一种可能的实现方式中,在第一联系人和第二联系人均包括第三联系人的情况下,上述发送模块52,具体用于向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像。其中,上述第三图像是基于第一区域和第二区域生成的,上述目标图像数据还包括第三图像,上述第三联系人的标识对应第三图像。
在一种可能的实现方式中,本申请实施例提供的第一图像分享装置50还可以包括:处理模块。其中,处理模块,用于将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联。
在一种可能的实现方式中,上述接收模块51,还用于在显示目标图像的情况下,接收对目标图像的第二输入。本申请实施例提供的第一图像分享装置50还可以包括:处理模块。其中,处理模块,用于响应于接收模块51接收的第二输入,根据第二输入的输入参数,将目标图像分为第一区域和第二区域。
在一种可能的实现方式中,本申请实施例提供的第一图像分享装置50还可以包括:显示模块和处理模块。其中,显示模块,用于显示图像编辑界面,该图像编辑界面中包括目标图像。上述接收模块51,还用于接收用户对目标图像的目标区域的第三输入,该目标区域包括以下至少一项:第一区域、第二区域。上述显示模块,还用于响应于接收模块51接收的第三输入,显示至少一个第一控件,每个第一控件分别对应一种图像处理方式。上述接收模块51,还用于用于接收用户对显示模块显示的至少一个第一控件中的目标控件的第四输入。处理模块,用于响应于接收模块51接收的第四输入,采用目标控件对应的图像处理方式,对目标区域进行图像处理。
在一种可能的实现方式中,上述目标图像数据还包括:目标图像。在目标区域为第一区域的情况下,第一图像和第三图像均是:根据图像处理后的第一区域生成的;在目标区域为第二区域的情况下,第二图像和第三图像均是:根据图像处理后的第二区域生成的;目标图像为:向其他联系人发送的图像,或,其他联系人的图像分享装置上显示的图像;其他联系人为:目标群组中,除第一联系人和第二联系人外的联系人。
在一种可能的实现方式中,在目标区域包括第一区域和第二区域的情况下,第一图像是根据图像处理后的第一区域生成的,第二图像是根据图像处理后的第二区域生成的,第三图像是根据图像处理后的第一区域和图像处理后的第二区域生成的。
在一种可能的实现方式中,上述接收模块51,还用于接收对第三区域的M个子区域的第五输入,该第三区域为:第一区域或第二区域,M为正整数。本申请实施例提供的第一图像分享装置50还可以包括:处理模块。其中,处理模块,用于响应于接收模块51接收的第五输入,基于M个子区域,分别生成M个子图像,并显示M个子图像,每个子区域分别对应一个子图像。
在一种可能的实现方式中,本申请实施例提供的第一图像分享装置50还可以包括:显示模块。其中,显示模块,用于调小目标图像的显示尺寸,并在目标图像的显示区域的相邻显示区域中显示M个子图像。
在一种可能的实现方式中,上述接收模块51,还用于接收将M个子图像中的目标子图像拖动至目标位置的第六输入。上述处理模块,还用于响应于接收模块接收的第六输入,基于目标位置,调整目标子图像的显示区域,并调整M个子图像中的N个子图像的显示区域,N为正整数。其中,上述N个子图像是:基于目标子图像的显示区域和目标位置确定的。
本申请实施例提供的图像分享装置,由于第一图像分享装置可以根据第一输入,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像;或,向目标群组的服务器发送目标图像数据,以使得服务器可以根据该目标图像数据,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像,这样,第一联系人(或第二联系人)可以直接从第一图像(或第二图像)中查看用户想要向第一联系人(或第二联系人)分享的内容,而无需从目标图像中的所有内容中,逐一查找用户想要向第一联系人(或第二联系人)分享的内容,因此,可以减少每个联系人查看用户想要分享的内容的耗时,如此,可以提升第一图像分享装置分享内容的便捷性。
需要说明的是,本申请实施例提供的图像分享装置,可以用于执行如上述实施例的第一图像分享装置所执行的图像分享方法。
本申请实施例提供的图像分享装置能够实现图1至图10的方法实施例实现的各个过程,为避免重复,这里不再赘述。
图17示出了本申请实施例中涉及的图像分享装置的一种可能的结构示意图,该图像分享装置为第二图像分享装置。如图17所示,第二图像分享装置60可以包括:接收模块61、发送模块62和显示模块63。
其中,接收模块61,用于在显示目标群组的界面的情况下,接收用户对目标群组的界面中的目标图像的标识的第七输入。发送模块62,用于响应于接收模块61接收的第七输入,向目标群组的服务器发送图像下载请求,该图像下载请求用于请求下载目标图像,该下载请求中包括第二图像分享装置对应的目标联系人的标识。上述接收模块61,还用于接收服务器发送的第 四图像。显示模块63,用于显示接收模块61接收的第四图像。其中,上述第四图像为:服务器基于目标联系人的标识、和目标图像数据,向第二图像分享装置发送的图像;上述目标图像数据为:第一图像分享装置向服务器发送的,该目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一图像是基于目标图像的第一区域生成的,该第二图像是基于目标图像的第二区域生成的;该第一联系人的标识对应第一图像,该第二联系人的标识对应第二图像;上述第四图像包括以下任一项:第一图像、第二图像。
在一种可能的实现方式中,在第一联系人和第二联系人均包括第三联系人的情况下,目标图像数据包括还包括:第三图像,第四图像包括以下任一项:第一图像、第二图像、第三图像。其中,上述第三联系人的标识对应第三图像,该第三图像是基于第一区域和第二区域生成的。
在一种可能的实现方式中,上述目标图像数据还包括:目标图像;在目标联系人的标识与第一联系人的标识相匹配的情况下,第四图像为第一图像;在目标联系人的标识与第二联系人的标识相匹配的情况下,第四图像为第二图像;在目标联系人的标识与第三联系人的标识相匹配的情况下,第四图像为第三图像;在目标联系人的标识,与第一联系人的标识和第二联系人的标识均不匹配的情况下,第四图像为目标图像。
本申请实施例提供的图像分享装置,由于第二图像分享装置可以根据用户的第七输入,向服务器发送包括第二图像分享装置对应的目标联系人的标识的下载请求,这样,第二图像分享装置可以接收服务器根据目标联系人的标识和目标图像数据确定的某个图像(即第一图像或第二图像),并显示该某个图像(即包含第一图像分享装置的用户想要分享的内容的图像),从而用户可以直接查看包含第一图像分享装置的用户想要分享的内容的图像,而并不是均显示目标图像,即用户无需分别从数量较多的内容中,逐一查找用户想要分享的内容,因此,可以减少用户查看第一图像分享装置的用户想要分享的内容的耗时,如此,可以提升第二图像分享装置分享内容的便捷性。
需要说明的是,本申请实施例提供的图像分享装置,可以用于执行如上述实施例的第二图像分享装置所执行的图像分享方法。
本申请实施例提供的图像分享装置能够实现图11至图15的方法实施例实现的各个过程,为避免重复,这里不再赘述。
上述实施例中的图像分享装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
上述实施例中的图像分享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
可选地,如图18所示,本申请实施例还提供一种电子设备70,包括处理器72,存储器71,存储在存储器71上并可在所述处理器72上运行的程序或指令,该程序或指令被处理器72执行时实现上述图像分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图19为实现本申请实施例的一种电子设备的硬件结构示意图,该电子设备为第一电子设备。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图19中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元107,用于接收对目标图像的第一输入。
射频单元101,用于响应于第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;或,响应于第一输入,在第一联系人和第二联系人属于目标群组的情况下,向目标群组的服务器发送目标图像数据。
其中,上述第一图像是基于第一区域生成的,上述第二图像是基于第二区域生成的;上述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一联系人的标识对应第一图像,该第二联系人的标识对应第二图像。
本申请实施例提供的电子设备,该电子设备为第一电子设备,由于第一电子设备可以根据第一输入,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像;或,向目标群组的服务器发送目标图像数据,以使得服务器可以根据该目标图像数据,向第一联系人发送包含用户想要向第一联系人分享的内容的第一图像,并向第二联系人发送包含用户想要向第二联系人分享的内容的第二图像,这样,第一联系人(或第二联系人)可以直接从第一图像(或第二图像)中查看用户想要向第一联系人(或第二联系人)分享的内容,而无需从目标图像中的所有内容中,逐一查找用户想要向第一联系人(或第二联系人)分享的内容,因此,可以减少每个联系人查看用户想要分享的内容的耗时,如此,可以提升第一电子设备分享内容的便捷性。
可选地,本申请实施例中,射频单元101,具体用于向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像。
其中,上述第三图像是基于第一区域和第二区域生成的,上述目标图像数据还包括第三图像,第三联系人的标识对应第三图像。
如此可知,由于在第一联系人和第二联系人均包括第三联系人的情况下,第一电子设备可以向第一联系人发送第一图像,并向第二联系人发送第二图像,以及,向第三联系人发送第三图像,即第一电子设备可以根据用户的不同分享需求,向不同联系人发送不同图像,因此,可以提升第一电子设备分享图像的多样性。
可选地,本申请实施例中,处理器110,用于将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联。
如此可知,由于第一电子设备可以将第一区域与第一联系人关联,并将第二区域与第二联系人关联,以及,将第一区域和第二区域、均与第三联系人关联,这样,第一电子设备可以根据用户的不同分享需求,向不同联系人发送不同图像,因此,可以提升第一电子设备分享图像的多样性,如此,可以提升用户的使用体验。
可选地,本申请实施例中,用户输入单元107,还用于在显示目标图像的情况下,接收对目标图像的第二输入。
处理器110,还用于响应于第二输入,根据第二输入的输入参数,将目标图像分为第一区域和第二区域。
如此可知,由于第一电子设备可以根据用户的输入,将目标图像分为包含不同内容的不同区域,以使得第一电子设备可以根据该不同区域,生成用户需要的包含不同内容的不同图像,以向准确地将用户需要的不同内容的不同图像,发送至不同联系人,可以提升第一电子设备分享用户想要分享的内容的准确性。
可选地,本申请实施例中,显示单元106,用于显示图像编辑界面,该图像编辑界面中包括目标图像。
用户输入单元107,还用于接收用户对目标图像的目标区域的第三输入,该目标区域包括以下至少一项:第一区域、第二区域。
显示单元106,还用于响应于第三输入,显示至少一个第一控件,每个第一控件分别对应一种图像处理方式。
用户输入单元107,还用于接收用户对至少一个第一控件中的目标控件的第四输入。
处理器110,还用于响应于第四输入,采用目标控件对应的图像处理方式,对目标区域进行图像处理。
如此可知,由于第一电子设备可以在显示图像编辑界面的情况下,根据用户对目标区域的第三输入,显示至少一个第一控件,并根据用户对目标控件的第四输入,采用目标控件对应的图像处理方式,对目标区域进行图像处理,从而用户可以向目标群组中的某些联系人分享进行图像处理后的内容,因此,可以提升第一电子设备分享的内容的显示效果,如此,可以提升用户的使用体验。
可选地,本申请实施例中,用户输入单元107,还用于接收对第三区域的M个子区域的第五输入,该第三区域为:第一区域或第二区域,M为正整数。
处理器110,还用于响应于第五输入,基于M个子区域,分别生成M个子图像。
显示单元106,还用于显示M个子图像,每个子区域分别对应一个子图像。
如此可知,由于在第一电子设备可以根据用户在第三区域的M个子区域的输入,在目标图像上,显示M个子图像,从而其他联系人可以直接查看该M个子图像,以快速地查看用户想要分享的内容,因此,可以提升第一电子设备分享内容的效率。
可选地,本申请实施例中,显示单元106,具体用于调小目标图像的显示尺寸,并在目标图像的显示区域的相邻显示区域中显示M个子图像。
如此可知,由于第一电子设备可以调小目标图像的显示尺寸,以在该目标图像的显示区域的相邻显示区域中、显示M个子图像,因此,可以避免M个子图像遮挡目标图像中的内容的情况,从而可以提升第一电子设备分享内容的效率,如此,可以提升用户的使用体验。
可选地,本申请实施例中,用户输入单元107,还用于接收将M个子图像中的目标子图像拖动至目标位置的第六输入。
处理器110,还用于响应于第六输入,基于目标位置,调整目标子图像的显示区域,并调整M个子图像中的N个子图像的显示区域,N为正整数。
其中,上述N个子图像是:基于目标子图像的显示区域和目标位置确定的。
如此可知,用户可以对目标子图像进行第六输入,以使得第一电子设备可以调整N个子图像的显示区域,以调整N个子图像的显示顺序(逻辑顺序),因此,可以提升用户(即用户或其他电子设备的用户)的观看图像的体验。
需要说明的是,本申请实施例提供的电子设备,可以用于执行如上述实施例所述的第一图像分享装置所执行的图像分享方法。
图19为实现本申请实施例的一种电子设备的硬件结构示意图,该电子设备为第二电子设备。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图19中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元107,用于在显示目标群组的界面的情况下,接收用户对目标群组的界面中的目标图像的标识的第七输入。
射频单元101,用于响应于第七输入,向目标群组的服务器发送图像下载请求,该图像下载请求用于请求下载目标图像,该下载请求中包括第二电子设备对应的目标联系人的标识;并接收服务器发送的第四图像。
显示单元106,用于显示第四图像。
其中,上述第四图像为:服务器基于目标联系人的标识、和目标图像数据,向第二电子设备发送的图像;上述目标图像数据为:第一电子设备向服务器发送的,该目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,该第一图像是基于目标图像的第一区域生成的,该第二图像是基于目标图像的第二区域生成的;第一联系人的标识对应第一图像,第二联系人的标识对应第二图像;该第四图像包括以下任一项:第一图像、第二图像。
本申请实施例提供的电子设备,由于第二电子设备可以根据用户的第七输入,向服务器发送包括第二电子设备对应的目标联系人的标识的下载请求,这样,第二电子设备可以接收服务器根据目标联系人的标识和目标图像数据确定的某个图像(即第一图像或第二图像),并显示该某个图像(即包含第一电子设备的用户想要分享的内容的图像),从而用户可以直接查看包含第一电子设备的用户想要分享的内容的图像,而并不是均显示目标图像,即用户无需分别从数量较多的内容中,逐一查找用户想要分享的内容,因此,可以减少用户查看第一电子设备的用户想要分享的内容的耗时,如此,可以提升第二电子设备分享内容的便捷性。
需要说明的是,本申请实施例提供的电子设备,可以用于执行如上述实施例所述的第二电子设备所执行的图像分享方法。
应理解的是,在上述实施例中,输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (31)

  1. 一种图像分享方法,应用于第一电子设备,所述方法包括:
    接收对目标图像的第一输入,所述目标图像至少包括第一区域和第二区域;
    响应于所述第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;
    或,响应于所述第一输入,在第一联系人和第二联系人属于目标群组的情况下,向所述目标群组的服务器发送目标图像数据;
    其中,所述第一图像是基于所述第一区域生成的,所述第二图像是基于所述第二区域生成的;所述目标图像数据包括所述第一联系人的标识、所述第二联系人的标识、所述第一图像和所述第二图像,所述第一联系人的标识对应所述第一图像,所述第二联系人的标识对应所述第二图像。
  2. 根据权利要求1所述的方法,其中,在所述第一联系人和所述第二联系人均包括第三联系人的情况下,向第一联系人发送第一图像,并向第二联系人发送第二图像,包括:
    向所述第一联系人发送所述第一图像,并向所述第二联系人发送所述第二图像,以及,向所述第三联系人发送第三图像;
    其中,所述第三图像是基于所述第一区域和所述第二区域生成的,所述目标图像数据还包括所述第三图像,所述第三联系人的标识对应所述第三图像。
  3. 根据权利要求2所述的方法,其中,所述向第一联系人发送第一图像,并向第二联系人发送第二图像,或,在第一联系人和第二联系人属于目标群组的情况下,向所述目标群组的服务器发送目标图像数据之前,所述方法还包括:
    将所述第一区域与所述第一联系人关联,并将所述第二区域与所述第二联系人关联,以及,将所述第一区域和所述第二区域、均与所述第三联系人关联。
  4. 根据权利要求1所述的方法,其中,所述接收对目标图像的第一输入之前,所述方法还包括:
    在显示所述目标图像的情况下,接收对所述目标图像的第二输入;
    响应于所述第二输入,根据所述第二输入的输入参数,将所述目标图像分为所述第一区域和所述第二区域。
  5. 根据权利要求2所述的方法,其中,所述向所述第一联系人发送所述第一图像,并向所述第二联系人发送所述第二图像,以及,向所述第三联系人发送第三图像之前,或,在第一联系人和第二联系人属于目标群组的情况下,向所述目标群组的服务器发送目标图像数据之前,所述方法还包括:
    显示图像编辑界面,所述图像编辑界面中包括所述目标图像;
    接收用户对所述目标图像的目标区域的第三输入,所述目标区域包括以下至少一项:所述第一区域、所述第二区域;
    响应于所述第三输入,显示至少一个第一控件,每个第一控件分别对应一种图像处理方式;
    接收用户对所述至少一个第一控件中的目标控件的第四输入;
    响应于所述第四输入,采用所述目标控件对应的图像处理方式,对所述目标区域进行图像处理。
  6. 根据权利要求5所述的方法,其中,所述目标图像数据还包括:所述目标图像;
    在所述目标区域为所述第一区域的情况下,所述第一图像和所述第三图像均是:根据图像处理后的第一区域生成的;
    在所述目标区域为所述第二区域的情况下,所述第二图像和所述第三图像均是:根据图像处理后的第二区域生成的;
    所述目标图像为:向其他联系人发送的图像,或,其他联系人的电子设备上显示的图像;所述其他联系人为:所述目标群组中,除所述第一联系人和所述第二联系人外的联系人。
  7. 根据权利要求6所述的方法,其中,在所述目标区域包括所述第一区域和所述第二区域的情况下,所述第一图像是根据图像处理后的第一区域生成的,所述第二图像是根据图像处理后的第二区域生成的,所述第三图像是根据图像处理后的第一区域和图像处理后的第二区域生成的。
  8. 根据权利要求1所述的方法,其中,所述接收对目标图像的第一输入之前,所述方法还包括:
    接收对第三区域的M个子区域的第五输入,所述第三区域为:所述第一区域或所述第二区域,M为正整数;
    响应于所述第五输入,基于所述M个子区域,分别生成M个子图像,并显示所述M个子图像,每个子区域分别对应一个子图像。
  9. 根据权利要求8所述的方法,其中,所述显示所述M个子图像,包括:
    调小所述目标图像的显示尺寸,并在所述目标图像的显示区域的相邻显示区域中显示所述M个子图像。
  10. 根据权利要求8所述的方法,其中,所述显示所述M个子图像之后,所述方法还包括:
    接收将所述M个子图像中的目标子图像拖动至目标位置的第六输入;
    响应于所述第六输入,基于所述目标位置,调整所述目标子图像的显示区域,并调整所述M个子图像中的N个子图像的显示区域,N为正整数;
    其中,所述N个子图像是:基于目标子图像的显示区域和所述目标位置确定的。
  11. 一种图像分享方法,应用于第二电子设备,所述方法包括:
    在显示目标群组的界面的情况下,接收对所述目标群组的界面中的目标图像的标识的第七输入;
    响应于所述第七输入,向所述目标群组的服务器发送图像下载请求,所述图像下载请求用于请求下载所述目标图像,所述下载请求中包括所述第二电子设备对应的目标联系人的标识;
    接收所述服务器发送的第四图像,并显示所述第四图像;
    其中,所述第四图像为:所述服务器基于所述目标联系人的标识、和目标图像数据,向所述第二电子设备发送的图像;所述目标图像数据为:第一电子设备向所述服务器发送的,所述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,所述第一图像是基于所述目标图像的第一区域生成的,所述第二图像是基于所述目标图像的第二区域生成的;所述第一联系人的标识对应所述第一图像,所述第二联系人的标识对应所述第二图像;
    所述第四图像包括以下任一项:所述第一图像、所述第二图像。
  12. 根据权利要求11所述的方法,其中,在所述第一联系人和所述第二联系人均包括第三联系人的情况下,所述目标图像数据包括还包括:第三图像,所述第四图像包括以下任一项:所述第一图像、所述第二图像、所述第三图像;
    其中,所述第三联系人的标识对应所述第三图像,所述第三图像是基于所述第一区域和所述第二区域生成的。
  13. 根据权利要求12所述的方法,其中,所述目标图像数据还包括:所述目标图像;
    在所述目标联系人的标识与所述第一联系人的标识相匹配的情况下,所述第四图像为所述第一图像;
    在所述目标联系人的标识与所述第二联系人的标识相匹配的情况下,所述第四图像为所述第二图像;
    在所述目标联系人的标识与所述第三联系人的标识相匹配的情况下,所述第四图像为所述第三图像;
    在所述目标联系人的标识,与所述第一联系人的标识和所述第二联系人的标识均不匹配的情况下,所述第四图像为所述目标图像。
  14. 一种图像分享装置,所述图像分享装置为第一图像分享装置,其特征在于,所述第一图像分享装置包括:接收模块和发送模块;
    所述接收模块,用于接收对目标图像的第一输入,该目标图像至少包括第一区域和第二区域;
    所述发送模块,用于响应于所述接收模块接收的所述第一输入,向第一联系人发送第一图像,并向第二联系人发送第二图像;
    或,响应于所述第一输入,在第一联系人和第二联系人属于目标群组的情况下,向所述目标群组的服务器发送目标图像数据;
    其中,所述第一图像是基于所述第一区域生成的,所述第二图像是基于所述第二区域生成的;所述目标图像数据包括所述第一联系人的标识、所述第二联系人的标识、所述第一图像和所述第二图像,所述第一联系人的标识对应所述第一图像,所述第二联系人的标识对应所述第二图像。
  15. 根据权利要求14所述的图像分享装置,其中,在所述第一联系人和所述第二联系人均包括第三联系人的情况下,所述发送模块,具体用于向所述第一联系人发送所述第一图像,并向所述第二联系人发送所述第二图像,以及,向所述第三联系人发送第三图像;
    其中,所述第三图像是基于所述第一区域和所述第二区域生成的,所述目标图像数据还包括所述第三图像,所述第三联系人的标识对应所述第三图像。
  16. 根据权利要求15所述的图像分享装置,其中,所述第一图像分享装置还包括:处理模块;
    所述处理模块,用于将所述第一区域与所述第一联系人关联,并将所述第二区域与所述第二联系人关联,以及,将所述第一区域和所述第二区域、均与所述第三联系人关联。
  17. 根据权利要求14所述的图像分享装置,其中,所述接收模块,还用于在显示所述目标图像的情况下,接收对所述目标图像的第二输入;
    所述第一图像分享装置还包括:处理模块;
    所述处理模块,用于响应于所述接收模块接收的所述第二输入,根据所述第二输入的输入参数,将所述目标图像分为所述第一区域和所述第二区域。
  18. 根据权利要求15所述的图像分享装置,其中,所述第一图像分享装置还包括:显示模块和处理模块;
    所述显示模块,用于显示图像编辑界面,所述图像编辑界面中包括所述目标图像;
    所述接收模块,还用于接收用户对所述目标图像的目标区域的第三输入,所述目标区域包括以下至少一项:所述第一区域、所述第二区域;
    所述显示模块,还用于响应于所述接收模块接收的所述第三输入,显示至少一个第一控件,每个第一控件分别对应一种图像处理方式;
    所述接收模块,还用于接收用户对所述显示模块显示的所述至少一个第一控件中的目标控件的第四输入;
    所述处理模块,用于响应于所述接收模块接收的所述第四输入,采用所述目标控件对应的图像处理方式,对所述目标区域进行图像处理。
  19. 根据权利要求18所述的图像分享装置,其中,所述目标图像数据还包括:所述目标图像;
    在所述目标区域为所述第一区域的情况下,所述第一图像和所述第三图像均是:根据图像处理后的第一区域生成的;
    在所述目标区域为所述第二区域的情况下,所述第二图像和所述第三图像均是:根据图像处理后的第二区域生成的;
    所述目标图像为:向其他联系人发送的图像,或,其他联系人的电子设备上显示的图像;所述其他联系人为:所述目标群组中,除所述第一联系人和所述第二联系人外的联系人。
  20. 根据权利要求19所述的图像分享装置,其中,在所述目标区域包括所述第一区域和所述第二区域的情况下,所述第一图像是根据图像处理后的第一区域生成的,所述第二图像是根据图像处理后的第二区域生成的,所述第三图像是根据图像处理后的第一区域和图像处理后的第二区域生成的。
  21. 根据权利要求14所述的图像分享装置,其中,所述接收模块,还用于接收对第三区域的M个子区域的第五输入,所述第三区域为:所述第一区域或所述第二区域,M为正整数;
    所述第一图像分享装置还包括:处理模块;
    所述处理模块,用于响应于所述接收模块接收的所述第五输入,基于所述M个子区域,分别生成M个子图像,并显示所述M个子图像,每个子区域分别对应一个子图像。
  22. 根据权利要求21所述的图像分享装置,其中,所述第一图像分享装置还包括:显示模块;
    所述显示模块,用于调小所述目标图像的显示尺寸,并在所述目标图像的显示区域的相邻显示区域中显示所述M个子图像。
  23. 根据权利要求21所述的图像分享装置,其中,所述接收模块,还用于接收将所述M个子图像中的目标子图像拖动至目标位置的第六输入;
    所述处理模块,还用于响应于所述接收模块接收的所述第六输入,基于所述目标位置,调整所述目标子图像的显示区域,并调整所述M个子图像中的N个子图像的显示区域,N为正整数;
    其中,所述N个子图像是:基于目标子图像的显示区域和所述目标位置确定的。
  24. 一种图像分享装置,所述图像分享装置为第二图像分享装置,其特征在于,所述第二图像分享装置包括:接收模块、发送模块和显示模块;
    所述接收模块,用于在显示目标群组的界面的情况下,接收对所述目标群组的界面中的目标图像的标识的第七输入;
    所述发送模块,用于响应于所述接收模块接收的所述第七输入,向所述目标群组的服务器发送图像下载请求,所述图像下载请求用于请求下载所述目标图像,所述下载请求中包括所述第二图像分享装置对应的目标联系人的标识;
    所述接收模块,还用于接收所述服务器发送的第四图像;
    所述显示模块,用于显示所述接收模块接收的所述第四图像;
    其中,所述第四图像为:所述服务器基于所述目标联系人的标识、和目标图像数据,向所述第二图像分享装置发送的图像;所述目标图像数据为:第一图像分享装置向所述服务器发送的,所述目标图像数据包括第一联系人的标识、第二联系人的标识、第一图像和第二图像,所述第一图像是基于所述目标图像的第一区域生成的,所述第二图像是基于所述目标图像的第二区域生成的;所述第一联系人的标识对应所述第一图像,所述第二联系人的标识对应所述第二图像;
    所述第四图像包括以下任一项:所述第一图像、所述第二图像。
  25. 根据权利要求24所述的图像分享装置,其中,在所述第一联系人和所述第二联系人均包括第三联系人的情况下,所述目标图像数据包括还包括:第三图像,所述第四图像包括以下任一项:所述第一图像、所述第二图像、所述第三图像;
    其中,所述第三联系人的标识对应所述第三图像,所述第三图像是基于所述第一区域和所述第二区域生成的。
  26. 根据权利要求25所述的图像分享装置,其中,所述目标图像数据还包括:所述目标图像;
    在所述目标联系人的标识与所述第一联系人的标识相匹配的情况下,所述第四图像为所述第一图像;
    在所述目标联系人的标识与所述第二联系人的标识相匹配的情况下,所述第四图像为所述第二图像;
    在所述目标联系人的标识与所述第三联系人的标识相匹配的情况下,所述第四图像为所述第三图像;
    在所述目标联系人的标识,与所述第一联系人的标识和所述第二联系人的标识均不匹配的情况下,所述第四图像为所述目标图像。
  27. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至13中任一项所述的图像分享方法的步骤。
  28. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至13中任一项所述的图像分享方法的步骤。
  29. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至13中任一项所述的图像分享方法的步骤。
  30. 一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至13中任一项所述的图像分享方法的步骤。
  31. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至13中任一项所述的图像分享方法的步骤。
PCT/CN2022/083452 2021-03-31 2022-03-28 图像分享方法、装置及电子设备 WO2022206697A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22778879.1A EP4318238A1 (en) 2021-03-31 2022-03-28 Image sharing methods and apparatuses, and electronic device
US18/373,701 US20240031317A1 (en) 2021-03-31 2023-09-27 Image Sharing Method and Electronic Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110350911.7A CN113179205B (zh) 2021-03-31 2021-03-31 图像分享方法、装置及电子设备
CN202110350911.7 2021-03-31

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/373,701 Continuation-In-Part US20240031317A1 (en) 2021-03-31 2023-09-27 Image Sharing Method and Electronic Device

Publications (1)

Publication Number Publication Date
WO2022206697A1 true WO2022206697A1 (zh) 2022-10-06

Family

ID=76923040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083452 WO2022206697A1 (zh) 2021-03-31 2022-03-28 图像分享方法、装置及电子设备

Country Status (4)

Country Link
US (1) US20240031317A1 (zh)
EP (1) EP4318238A1 (zh)
CN (1) CN113179205B (zh)
WO (1) WO2022206697A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179205B (zh) * 2021-03-31 2023-04-18 维沃移动通信有限公司 图像分享方法、装置及电子设备
CN113783770B (zh) * 2021-09-15 2023-02-03 维沃移动通信有限公司 图像分享方法、图像分享装置和电子设备
CN114637563B (zh) * 2022-03-08 2024-05-28 维沃移动通信有限公司 信息输入方法及其装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0664647A2 (en) * 1994-01-21 1995-07-26 Sony Corporation Image data transmission apparatus
US20090016622A1 (en) * 2007-07-13 2009-01-15 Sony Corporation Image transmitting apparatus, image transmitting method, receiving apparatus, and image transmitting system
CN106598462A (zh) * 2016-12-19 2017-04-26 上海异势信息科技有限公司 截屏分享方法及装置
CN111061574A (zh) * 2019-11-27 2020-04-24 维沃移动通信有限公司 一种对象分享方法及电子设备
CN111258420A (zh) * 2020-01-13 2020-06-09 维沃移动通信有限公司 信息交互方法、头戴式设备及介质
CN112486388A (zh) * 2020-11-30 2021-03-12 维沃移动通信有限公司 一种图片共享方法、装置和电子设备
CN113179205A (zh) * 2021-03-31 2021-07-27 维沃移动通信有限公司 图像分享方法、装置及电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034114A (zh) * 2015-03-12 2016-10-19 腾讯科技(深圳)有限公司 多媒体信息分享方法及装置
CN109889348B (zh) * 2018-12-24 2022-02-01 维沃移动通信有限公司 一种图像分享方法及装置
CN110245246B (zh) * 2019-04-30 2021-11-16 维沃移动通信有限公司 一种图像显示方法及终端设备
CN112165553B (zh) * 2020-09-28 2021-12-07 维沃移动通信有限公司 图像生成方法、装置、电子设备及计算机可读存储介质
CN112462990A (zh) * 2020-11-27 2021-03-09 维沃移动通信有限公司 图像发送方法、装置及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0664647A2 (en) * 1994-01-21 1995-07-26 Sony Corporation Image data transmission apparatus
US20090016622A1 (en) * 2007-07-13 2009-01-15 Sony Corporation Image transmitting apparatus, image transmitting method, receiving apparatus, and image transmitting system
CN106598462A (zh) * 2016-12-19 2017-04-26 上海异势信息科技有限公司 截屏分享方法及装置
CN111061574A (zh) * 2019-11-27 2020-04-24 维沃移动通信有限公司 一种对象分享方法及电子设备
CN111258420A (zh) * 2020-01-13 2020-06-09 维沃移动通信有限公司 信息交互方法、头戴式设备及介质
CN112486388A (zh) * 2020-11-30 2021-03-12 维沃移动通信有限公司 一种图片共享方法、装置和电子设备
CN113179205A (zh) * 2021-03-31 2021-07-27 维沃移动通信有限公司 图像分享方法、装置及电子设备

Also Published As

Publication number Publication date
CN113179205A (zh) 2021-07-27
EP4318238A1 (en) 2024-02-07
CN113179205B (zh) 2023-04-18
US20240031317A1 (en) 2024-01-25

Similar Documents

Publication Publication Date Title
WO2022206697A1 (zh) 图像分享方法、装置及电子设备
CN112269508B (zh) 显示方法、装置和电子设备
WO2023005920A1 (zh) 分屏方法、装置及电子设备
CN111984115A (zh) 消息发送方法、装置和电子设备
WO2022166820A1 (zh) 应用界面处理方法、装置、电子设备及可读存储介质
WO2022057791A1 (zh) 消息回复方法、装置和电子设备
CN113794795B (zh) 信息共享方法、装置、电子设备及可读存储介质
WO2022063045A1 (zh) 消息显示方法、装置及电子设备
CN113596555B (zh) 视频播放方法、装置及电子设备
WO2022135295A1 (zh) 发送方法、装置及电子设备
CN113141295B (zh) 消息显示方法、装置和电子设备
WO2022161281A1 (zh) 显示方法、装置和电子设备
CN111857460A (zh) 分屏处理方法、分屏处理装置、电子设备和可读存储介质
CN112099714B (zh) 截图方法、装置、电子设备及可读存储介质
WO2023056977A1 (zh) 应用程序启动方法, 装置及电子设备
WO2023030115A1 (zh) 界面显示方法和装置
WO2022135476A1 (zh) 截图方法、装置及电子设备
WO2022089481A1 (zh) 信息处理方法、装置及电子设备
WO2022068768A1 (zh) 权限设置方法、文件播放方法、装置和电子设备
CN114116098A (zh) 应用图标管理方法、装置、电子设备及存储介质
CN112286615A (zh) 应用程序的信息显示方法及装置
CN112291412A (zh) 应用程序控制方法、装置及电子设备
WO2023274363A1 (zh) 应用图标查找方法、装置和电子设备
WO2022156674A1 (zh) 聊天内容处理方法、装置及电子设备
WO2022089482A1 (zh) 图像防伪方法、装置及设备

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: 22778879

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022778879

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022778879

Country of ref document: EP

Effective date: 20231031

NENP Non-entry into the national phase

Ref country code: DE