WO2023206576A1 - 图像处理方法及装置 - Google Patents

图像处理方法及装置 Download PDF

Info

Publication number
WO2023206576A1
WO2023206576A1 PCT/CN2022/090792 CN2022090792W WO2023206576A1 WO 2023206576 A1 WO2023206576 A1 WO 2023206576A1 CN 2022090792 W CN2022090792 W CN 2022090792W WO 2023206576 A1 WO2023206576 A1 WO 2023206576A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
client
target
reference image
shared
Prior art date
Application number
PCT/CN2022/090792
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 PCT/CN2022/090792 priority Critical patent/WO2023206576A1/zh
Priority to CN202280004424.8A priority patent/CN117321586A/zh
Publication of WO2023206576A1 publication Critical patent/WO2023206576A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Definitions

  • the present disclosure relates to the technical fields of electronic equipment and image processing, and in particular, to an image processing method and device.
  • the present disclosure aims to solve one of the technical problems in the related art, at least to a certain extent.
  • a first aspect embodiment of the present disclosure proposes an image processing method, applied to a first client, including: in response to a target operation on a reference image, acquiring a target matching image from a server, wherein the target matching image is Among the images shared to the server by a second client other than the first client, a matching image that matches the position and/or content of the reference image is displayed according to the target matching image.
  • An embodiment of the second aspect of the present disclosure proposes an image processing method, applied to a server, including: obtaining the location and/or content of a reference image from a first client; Among the images shared by the client to the server, a target matching image matching the position and/or content of the reference image is queried; and the target matching image is sent to the first client.
  • a third embodiment of the present disclosure proposes an image processing device, applied to a first client, including: an acquisition module, configured to acquire a target matching image from a server in response to a target operation on a reference image, wherein the target
  • the matching image is a matching image that matches the position and/or content of the reference image among the images shared by the second client other than the first client to the server; a display module is used to display the image according to the Target matching images are displayed.
  • the fourth embodiment of the present disclosure proposes an image processing device, applied to a server, including: an acquisition module, used to obtain the location and/or content of a reference image from a first client; a query module, used to obtain the location and/or content of a reference image from the first client.
  • a second client other than a client shares the image of the server to query the target matching image that matches the position and/or content of the reference image; a sending module is used to send the target matching image to The first client.
  • An embodiment of the fifth aspect of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor. Instructions, which are executed by the at least one processor to enable the at least one processor to perform the method described in the embodiment of the first aspect of the present disclosure, or to perform the method described in the embodiment of the second aspect of the present disclosure. .
  • the sixth embodiment of the present disclosure provides a non-transitory computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method described in the first embodiment of the present disclosure is implemented, or, The method described in the embodiment of the second aspect of the present disclosure.
  • the seventh embodiment of the present disclosure provides a computer program product.
  • instructions in the computer program product are executed by a processor, the method described in the first embodiment of the present disclosure is executed, or the second embodiment of the present disclosure is executed. Methods described in aspect embodiments.
  • the first client responds to the target operation of the reference image, and obtains the image that matches the position and/or content of the reference image from the second client other than the first client.
  • Target matching images, and displaying the target matching images whereby the first client can automatically share images from a second client other than the first client to the server in response to the target operation on the reference image,
  • Obtaining a target matching image that matches the position and/or content of the reference image eliminates the need for the user to select photos only from a large number of shared photos shared by friends, which is less time-consuming, meets user needs, and improves user experience.
  • Figure 1 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of performing target operations on a reference image according to an embodiment of the present disclosure
  • Figure 3 is a schematic diagram showing a target matching image provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of inputting description text of a reference image according to an embodiment of the present disclosure
  • Figure 7 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure.
  • Figure 8 is a schematic diagram of a chat window provided by an embodiment of the present disclosure.
  • Figure 9 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure.
  • Figure 10 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure.
  • Figure 11 is a schematic structural diagram of an image processing device provided by an embodiment of the present disclosure.
  • Figure 12 is a schematic structural diagram of an image processing device provided by an embodiment of the present disclosure.
  • FIG. 13 is a block diagram of an electronic device according to an exemplary embodiment.
  • a photo may be a special experience
  • users can find friends who have the same experience through photos.
  • users can only view photos shared by friends on electronic devices, and users need to select what they want from a large number of shared photos. Reviewing photos to identify friends who have the same experience as yourself takes a long time, cannot meet user needs, and affects user experience.
  • the present disclosure proposes an image processing method and device.
  • FIG. 1 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure. Wherein, the image processing method is applied to the first client.
  • the first client refers to a software program that runs on an electronic device and provides services to users, such as an application with search and matching functions.
  • the electronic device can be any device with computing capabilities, such as a PC (Personal Computer, personal computer), a mobile terminal, etc.
  • the mobile terminal can be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc.
  • Operating system, touch screen and/or display hardware device can be any device with computing capabilities, such as a PC (Personal Computer, personal computer), a mobile terminal, etc.
  • the mobile terminal can be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc.
  • Operating system, touch screen and/or display hardware device such as a tablet computer, a personal digital assistant, a wearable device, etc.
  • the image processing method may include the following steps:
  • Step 101 In response to a target operation on the reference image, obtain a target matching image from the server.
  • the target matching image is a matching image that matches the position and/or content of the reference image among the images shared by the second client other than the first client to the server.
  • the reference image may be an image taken by the user, an image downloaded from the network, or an image sent by others, which is not specifically limited in this disclosure.
  • the first client in response to the target operation on the reference image, may obtain the target matching image from the server, where the target matching image may be the third client other than the first client.
  • Two matching images that match the position and/or content of the reference image among the images shared by the client to the server.
  • the second client may be a client within the set range of the first client, or may be a client within the network area, which is not specifically limited in this disclosure.
  • Step 102 Display according to the target matching image.
  • the first client may display the target matching images obtained from the server that match the position or content of the reference image, where it should be noted that the number of target matching images may be at least one.
  • Figure 3 includes four target matching images, and the first client can display the four target matching images.
  • the target matching image is obtained from the server; the target matching image is displayed, so that the first client can automatically remove the target from the first client in response to the target operation on the reference image.
  • a second client other than the client shares the image to the server to obtain a target matching image that matches the position and/or content of the reference image.
  • Figure 4 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure.
  • a target instruction can be sent to the server and received
  • the query response sent by the server obtains the target matching image according to the query response.
  • the embodiment shown in Figure 4 may include the following steps:
  • Step 401 In response to a target operation on the reference image, send a target instruction to the server.
  • the target instruction carries content information of the reference image and/or location information of the reference image.
  • a target instruction in response to the target operation on the reference image, a target instruction may be sent to the server, where the target instruction may carry the content information of the reference image and/or the location information of the reference image, Used by the server to query for matching images that match the position and/or content of the reference image among images shared to the server from a second client other than the first client.
  • the target matching image that matches the position of the reference image.
  • the target matching image can be based on the position of the reference image.
  • a target matching image that matches the content of the reference image is queried, for example, the content of the target matching image is the same as the content of the reference image.
  • the similarity is greater than the set similarity threshold.
  • a target matching image that matches the position and content of the reference image is queried.
  • the target matching image may be the reference image.
  • the position is an image located within the region as the reference, and the similarity between the content of the target matching image and the content of the reference image is greater than the set similarity threshold.
  • the target command can also be used to set the sharing status of the reference image.
  • the content information and/or location information of the photo can be uploaded to the server, and the server can perform status device on the shared photo, for example, it can The photo's status is set to "Visible to everyone,” “Visible to Some,” or “Visible to Only One Person.”
  • the position of the reference image may be the shooting position of the reference image, or the positioning position of the first client when performing the target operation.
  • Step 402 Receive a query response sent by the server, where the query response includes the target matching image.
  • the server may query the target matching image that matches the position and/or content of the reference image from the images shared to the server by a second client other than the first client, and provide the first client with the target matching image.
  • the client sends a query response, wherein the query response includes the target matching image.
  • the server will find all nearby similar photos that are set to "visible to anyone" and send them to the first client.
  • Step 403 Display according to the target matching image.
  • the first client can display the received target matching image.
  • the target instruction is sent to the server; the query response sent by the server is received, where the query response includes the target matching image. Therefore, by sending the target instruction to the server, the query response can be obtained from the service
  • the client obtains a target matching image that matches the position or content of the reference image.
  • Figure 5 is a schematic flow chart of an image processing method provided by an embodiment of the present disclosure.
  • description text can also be added to the reference image, and the reference image can be added according to the To describe the image content of the text and the reference image, and to generate the image content of the reference image, the embodiment shown in Figure 5 may include the following steps:
  • Step 501 In response to a target operation on the reference image and in response to a triggering operation of the input control in the reference image display interface, obtain the description text of the reference image.
  • the user can enter the description text of the photo in the input control, such as mood, scene, etc., and the first client can respond Obtain the description text of the reference image based on the trigger operation of the input control.
  • Step 502 Generate content information of the reference image based on the description text of the reference image and the image content of the reference image.
  • content information of the reference image is generated based on the description text of the reference image and the image content of the reference image, thereby improving the richness and personalization of the content information of the reference image.
  • Step 503 Send a target instruction to the server, where the target instruction carries content information of the reference image and/or location information of the reference image.
  • Step 504 Receive a query response sent by the server, where the query response includes the target matching image.
  • Step 505 Display based on the target matching image.
  • steps 503 to 505 can be implemented in any manner in the embodiments of the present disclosure.
  • the embodiments of the present disclosure do not limit this and will not be described again.
  • the description text of the reference image is obtained; based on the description text of the reference image and the image content of the reference image, a reference image is generated Content information, thereby improving the personalization and richness of the content information of the reference image.
  • the query response also includes the account information of the target social account.
  • the corresponding The chat window of the target social account obtains the chat information entered in the chat window to send the chat information to the third client.
  • the embodiment shown in Figure 7 may include the following steps:
  • Step 701 In response to a target operation on the reference image, send a target instruction to the server.
  • the target instruction carries content information of the reference image and/or location information of the reference image.
  • Step 702 Receive a query response sent by the server, where the query response includes the target matching image.
  • Step 703 Display based on the target matching image.
  • Step 704 Display the account image in the account information.
  • the query response also includes the account information of the target social account, where the account information of the target social account may include: account image, identification of the target social account, etc., and the target social account's account information.
  • the logo can be used to identify the target social account.
  • the first client, the second client and the third client may be clients logged in under corresponding social accounts, and the second client may be a client that shares images to the server.
  • the third client logged in to the target social account can receive the chat message sent by the first client.
  • the second client and the third client can be the same client or different clients. This disclosure does not make specific limitations. .
  • Step 705 In response to the target trigger operation of the account image, display the chat window corresponding to the target social account.
  • the chat window corresponding to the target social account can be displayed.
  • the chat window corresponding to the target social account in response to the target triggering operation of the account image, can be displayed.
  • Step 706 Obtain the chat information entered in the chat window.
  • the chat information entered in the chat window can be obtained.
  • Step 707 Send the chat information to the third client logged in with the target social account according to the identification of the target social account in the account information.
  • the third client logged in with the corresponding target social account can be determined, and the chat message is sent to the third client logged in with the target social account.
  • steps 701 to 703 can be implemented in any manner in the various embodiments of the present disclosure.
  • the embodiments of the present disclosure do not limit this and will not be described again.
  • the account image in the account information is displayed; in response to the target trigger operation of the account image, the chat window corresponding to the target social account is displayed; the chat information entered in the chat window is obtained; according to the identification of the target social account in the account information , sending the chat information to the third client logged in to the target social account, so that the user can chat with the sharer of the target matching image through the displayed chat window.
  • Figure 9 is a schematic flow chart of an image processing method provided by an embodiment of the present disclosure.
  • the embodiment shown in Figure 9 may include the following steps:
  • Step 901 In response to a target operation on the reference image, obtain the target matching image from the server.
  • the target matching image is a matching image that matches the position and/or content of the reference image among the images shared by the second client other than the first client to the server.
  • Step 902 Display according to the target matching image.
  • Step 903 In response to the image viewing operation, send a viewing instruction to the server.
  • the viewing instruction is used to view at least one shared image shared by the first client to the server.
  • the user can also view all shared images through the first client. Therefore, in response to an image viewing operation (such as clicking an image viewing button), a viewing instruction is sent to the server, where the viewing instruction is used to View at least one shared image shared by the first client to the server.
  • an image viewing operation such as clicking an image viewing button
  • Step 904 Receive a viewing response from the server.
  • the viewing response includes at least one shared image and a sharing status of at least one shared image.
  • the server may respond to the viewing instruction, search for at least one shared image shared by the first client to the server, and send a viewing response to the first client, wherein the viewing response includes at least one shared image shared by the first client to the server. Share images.
  • Step 905 In response to the viewing response, display at least one shared image and the sharing status of the at least one shared image.
  • the first client receives the viewing response, displays at least one shared image in response to the viewing response, and displays the sharing status of each shared image in the at least one shared image.
  • the shared status may include but is not limited to: visible to everyone, visible only to you, and visible to some people.
  • Step 906 In response to a status update operation on at least one shared image, send a status update instruction to the server.
  • the status update instruction is used to update the sharing status of at least one shared image.
  • a status update instruction is sent to the server.
  • a status update instruction is sent to the server.
  • the server updates the sharing status of at least one shared image in response to the status update instruction.
  • steps 901 to 902 can be implemented in any manner in the embodiments of the present disclosure.
  • the embodiments of the present disclosure do not limit this and will not be described again.
  • a viewing instruction is sent to the server; a viewing response from the server is received; in response to the viewing response, at least one shared image and a shared status of the at least one shared image are displayed; in response to a status update operation on at least one shared image , sending a status update instruction to the server, whereby in response to the status update operation on at least one shared image, sending a status update instruction to the server can perform status update on at least one shared image that has been shared.
  • the image processing method of the embodiment of the present disclosure is applied to the first client, and obtains a target matching image from the server in response to a target operation on the reference image, where the target matching image is a second client other than the first client.
  • the matching images that match the position and/or content of the reference image are displayed according to the target matching image. Therefore, in response to the target operation on the reference image, the first client can automatically remove the second image from the target image.
  • a second client other than one client shares the image to the server and obtains a target matching image that matches the position and/or content of the reference image. This eliminates the need for the user to only select photos from a large number of shared photos shared by friends, which consumes a lot of time. It takes less time, meets user needs, and improves user experience.
  • the present disclosure also proposes an image processing method.
  • FIG. 10 is a schematic flowchart of an image processing method provided by an embodiment of the present disclosure. This method can be applied to a server.
  • the image processing method may include the following steps:
  • Step 1001 Obtain the location and/or content of the reference image from the first client.
  • the first client sends a target instruction to the server in response to a target operation on the reference image, where the target instruction carries the content information of the reference image and/or the location information of the reference image, so that the server can Obtaining the location and/or content of the reference image from the first client.
  • the position of the reference image is the shooting position of the reference image, or the positioning position of the first client when performing the target operation.
  • Step 1002 Query target matching images that match the position and/or content of the reference image from the images shared to the server by the second client other than the first client.
  • the target matching image that matches the position of the reference image.
  • the target matching image can be based on the position of the reference image.
  • a target matching image that matches the content of the reference image is queried, for example, the content of the target matching image is the same as the content of the reference image.
  • the similarity is greater than the set similarity threshold.
  • a target matching image that matches the position and content of the reference image is queried.
  • the target matching image may be the reference image.
  • the position is an image located within the region as the reference, and the similarity between the content of the target matching image and the content of the reference image is greater than the set similarity threshold.
  • Step 1003 Send the target matching image to the first client.
  • the server can send the target matching image to the first client, and the first client can display the target matching image.
  • the query matches the position and/or content of the reference image.
  • the target matching image sending the target matching image to the first client, whereby the server can automatically share the image with the second client other than the first client to the server, and obtain the position and/or the reference image
  • Content-matched target matching images eliminate the need for users to select photos from a large number of shared photos shared by friends, which is less time-consuming, meets user needs, and improves user experience.
  • the target instruction is also used to set the sharing status of the reference image, receive the target instruction sent by the first client, and in response to the target instruction, set the sharing status of the reference image. set up.
  • a viewing instruction sent by the first client is received, wherein the viewing instruction is used to view at least one shared image shared by the first client to the server; in response to the viewing instruction, obtain at least A shared image; sending a viewing response to the first client, wherein the viewing response includes at least one shared image and a sharing status of at least one shared image; receiving a status update instruction sent by the first client, wherein the status update instruction is used to Update the sharing status of at least one shared image; in response to the status update instruction, update the sharing status of the at least one shared image.
  • a sharing instruction sent by the second client is received, wherein the sharing instruction carries the target image and is used to set the sharing status of the target image; in response to the sharing instruction, Set the sharing status of the target image.
  • the target image obtain the target shared image whose sharing status is shared; from the target shared image, query the content information and/or the position information of the reference image that matches the reference image target matching image.
  • the server obtains the location and/or content of the reference image from the first client; and queries the reference image from the image shared to the server by the second client other than the first client.
  • the target matching image whose position and/or content matches; send the target matching image to the first client, whereby the server can automatically share the image with the second client other than the first client to the server, and obtain the Target matching images that match the location and/or content of the reference image eliminate the need for users to select photos only from a large number of shared photos shared by friends, which is less time-consuming, meets user needs, and improves user experience.
  • the present disclosure also provides an image processing device.
  • the image processing device can be applied to the first client.
  • FIG. 11 is a schematic structural diagram of an image processing device provided by an embodiment of the present disclosure.
  • the image processing device 1100 includes: an acquisition module 1110 and a display module 1120.
  • the acquisition module 1110 is used to acquire the target matching image from the server in response to the target operation on the reference image, wherein the target matching image is an image shared to the server by a second client other than the first client. , a matching image that matches the position and/or content of the reference image; a display module for displaying based on the target matching image.
  • the acquisition module 1110 is also configured to send a target instruction to the server in response to the target operation on the reference image, where the target instruction carries the content information and/or reference of the reference image.
  • the location information of the image receiving the query response sent by the server, where the query response includes the target matching image.
  • the image processing device 1100 further includes: a processing module and a generating module.
  • the processing module is used to obtain the description text of the reference image in response to the triggering operation of the input control in the reference image display interface; the generation module is used to generate the description text of the reference image according to the description text of the reference image and the image content of the reference image. Reference image content information.
  • the query response also includes the account information of the target social account
  • the image processing device 1100 further includes: a sending module.
  • the display module 1120 is also used to display the account image in the account information; in response to the target trigger operation of the account image, display the chat window corresponding to the target social account; the acquisition module 1110 is also used to obtain the chat window The input chat information; the sending module is used to send the chat information to the third client logged in with the target social account according to the identification of the target social account in the account information.
  • the position of the reference image is the shooting position of the reference image, or the positioning position of the first client when performing the target operation.
  • the image processing device 1100 further includes: a receiving module and an update module.
  • the sending module is also used to send a viewing instruction to the server in response to the image viewing operation, wherein the viewing instruction is used to view at least one shared image shared by the first client to the server; the receiving module is also used to receive a viewing instruction from the server.
  • Response wherein the viewing response includes at least one shared image and the sharing status of at least one shared image;
  • the display module is also used to respond to the viewing response, displaying at least one shared image and the sharing status of at least one shared image;
  • the update module is used to In response to a status update operation on at least one shared image, a status update instruction is sent to the server; wherein the status update instruction is used to update the sharing status of at least one shared image.
  • the image processing device of the embodiment of the present disclosure is applied to a first client, and obtains a target matching image from the server in response to a target operation on the reference image, where the target matching image is a second client other than the first client.
  • the matching images that match the position and/or content of the reference image are displayed according to the target matching image. Therefore, in response to the target operation on the reference image, the first client can automatically remove the second image from the target image.
  • a second client other than one client shares the image to the server and obtains a target matching image that matches the position and/or content of the reference image. This eliminates the need for the user to only select photos from a large number of shared photos shared by friends, which consumes a lot of time. It takes less time, meets user needs, and improves user experience.
  • the present disclosure also provides an image processing device.
  • the image processing device can be applied to a server.
  • FIG. 12 is a schematic structural diagram of an image processing device provided by an embodiment of the present disclosure.
  • the image processing device 1200 includes: an acquisition module 1210, a query module 1220 and a sending module 1230.
  • the acquisition module 1210 is used to obtain the location and/or content of the reference image from the first client;
  • the query module 1220 is used to query the images shared to the server from the second client other than the first client.
  • the sending module 1230 is configured to send the target matching image to the first client.
  • the acquisition module 1210 is also configured to receive a target instruction sent by the first client, where the target instruction is sent by the first client in response to a target operation on the reference image.
  • the target instruction carries the content information of the reference image and/or the location information of the reference image;
  • the query module 1220 is also configured to respond to the target instruction, share the image from the second client other than the first client to the server , query for target matching images that match the location and/or content of a reference image.
  • the position of the reference image is the shooting position of the reference image, or the positioning position of the first client when performing the target operation.
  • the target instruction is also used to set the sharing status of the reference image.
  • the image processing device 1200 further includes: a receiving module and an update module.
  • the receiving module is used to receive the viewing instruction sent by the first client, wherein the viewing instruction is used to view at least one shared image shared by the first client to the server; the obtaining module 1210 is also used to respond to the viewing instruction , obtain the at least one shared image; the sending module is further configured to send the viewing response to the first client, wherein the viewing response includes the at least one shared image and the sharing status of the at least one shared image ; Receiving module, further configured to receive a status update instruction sent by the first client, wherein the status update instruction is used to update the shared status of the at least one shared image; Update module, further configured to respond to The status update instruction updates the sharing status of at least one shared image.
  • the image processing device 1200 further includes: a setting module.
  • the receiving module is also used to receive the sharing instruction sent by the second client, wherein the sharing instruction carries the target image and is used to set the sharing status of the target image; the setting module is used to respond to the sharing instruction, set the sharing status of the target image. status to set.
  • the query module 1220 is also used to obtain the target shared image whose sharing status is shared from the target image; query the content information and/or the reference image from the target shared image. Or the target matching image whose position information matches the reference image.
  • the image processing device of the embodiment of the present disclosure is applied to the server, by obtaining the position and/or content of the reference image from the first client; and querying the image shared to the server from the second client other than the first client.
  • a target matching image that matches the position and/or content of the reference image sending the target matching image to the first client, whereby the server can automatically share the image with a second client other than the first client to the server , obtaining the target matching image that matches the position and/or content of the reference image, without the user having to select photos only from a large number of shared photos shared by friends, which is less time-consuming, meets user needs, and improves user experience.
  • the present disclosure also proposes an electronic device.
  • the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor.
  • the processor executes, so that the at least one processor can perform the method described in the embodiment of FIG. 1 to FIG. 9 , or perform the method described in the embodiment of FIG. 10 .
  • the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored.
  • a computer program When the program is executed by a processor, the methods described in the embodiments of Figures 1 to 9 are implemented, or, Implement the method described in the embodiment of Figure 10.
  • the present disclosure also proposes a computer program product.
  • the instructions in the computer program product are executed by a processor, the methods described in the embodiments of FIGS. 1 to 9 are executed, or the method implemented in FIG. 10 is executed. method described in the example.
  • FIG. 13 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • electronic device 1300 may include one or more of the following components: processing component 1302, memory 1304, power component 1306, multimedia component 1308, audio component 1310, input/output (I/O) interface 1312, sensor component 1314, and communications component 1316.
  • processing component 1302 memory 1304, power component 1306, multimedia component 1308, audio component 1310, input/output (I/O) interface 1312, sensor component 1314, and communications component 1316.
  • memory 1304 power component 1306, multimedia component 1308, audio component 1310, input/output (I/O) interface 1312, sensor component 1314, and communications component 1316.
  • I/O input/output
  • Processing component 1302 generally controls the overall operations of electronic device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above method.
  • processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components.
  • processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
  • Memory 1304 is configured to store various types of data to support operations at electronic device 1300 . Examples of such data include instructions for any application or method operating on electronic device 1300, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 1304 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power component 1306 provides power to various components of electronic device 1300 .
  • Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1300 .
  • Multimedia component 1308 includes a screen that provides an output interface between the electronic device 1300 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 1308 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 1310 is configured to output and/or input audio signals.
  • audio component 1310 includes a microphone (MIC) configured to receive external audio signals when electronic device 1300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1304 or sent via communication component 1316 .
  • audio component 1310 also includes a speaker for outputting audio signals.
  • the I/O interface 1312 provides an interface between the processing component 1302 and a peripheral interface module.
  • the peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 1314 includes one or more sensors for providing various aspects of status assessment for electronic device 1300 .
  • the sensor component 1314 can detect the open/closed state of the electronic device 1300 , the relative positioning of components, such as the display and keypad of the electronic device 1300 , the sensor component 1314 can also detect the electronic device 1300 or an electronic device 1300 Changes in the position of components, the presence or absence of user contact with the electronic device 1300 , the orientation or acceleration/deceleration of the electronic device 1300 and changes in the temperature of the electronic device 1300 .
  • Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1316 is configured to facilitate wired or wireless communication between electronic device 1300 and other devices.
  • the electronic device 1300 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof.
  • the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 1316 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 1300 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 1304 including instructions, which can be executed by the processor 1320 of the electronic device 1300 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • references to the terms “one embodiment,” “some embodiments,” “an example,” “specific examples,” or “some examples” or the like means that specific features are described in connection with the embodiment or example. , structures, materials, or features are included in at least one embodiment or example of the present disclosure. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features.
  • “plurality” means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Non-exhaustive list of computer readable media include the following: electrical connections with one or more wires (electronic device), portable computer disk cartridges (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
  • various parts of the present disclosure may be implemented in hardware, software, firmware, or combinations thereof.
  • various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: discrete logic gate circuits with logic functions for implementing data signals; Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • the program can be stored in a computer-readable storage medium.
  • the program can be stored in a computer-readable storage medium.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing module, each unit may exist physically alone, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • the storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提出一种图像处理方法及装置,其中,图像处理方法应用于第一客户端,响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,目标匹配图像为除第一客户端之外的第二客户端共享至服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像;根据目标匹配图像进行展示,由此,第一客户端响应于对参考图像的目标操作,可自动从除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。

Description

图像处理方法及装置 技术领域
本公开涉及电子设备和图像处理技术领域,尤其涉及一种图像处理方法及装置。
背景技术
目前,随着电子设备的日益普及,以及电子设备功能的不断强大,其已成为人们主要的拍照工具。当人们外出游玩或朋友聚会时,经常会使用电子设备进行相互拍照留念,并将拍摄的照片进行分享。但是,用户只能在电子设备上查看朋友分享的照片,并且用户需要从大量的分享照片中挑选想要查阅的照片,耗时较长,无法满足用户需求,影响用户体验。
发明内容
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本公开提出了如下技术方案:
本公开的第一方面实施例提出了一种图像处理方法,应用于第一客户端,包括:响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,所述目标匹配图像为除所述第一客户端之外的第二客户端共享至所述服务器的图像中,与所述参考图像的位置和/或内容匹配的匹配图像;根据所述目标匹配图像进行展示。
本公开第二方面实施例提出了一种图像处理方法,应用于服务器,包括:从第一客户端获取参考图像的位置和/或内容;从除所述第一客户端之外的第二客户端共享至所述服务器的图像中,查询与所述参考图像的位置和/或内容匹配的目标匹配图像;将所述目标匹配图像发送至所述第一客户端。
本公开第三方面实施例提出了一种图像处理装置,应用于第一客户端,包括:获取模块,用于响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,所述目标匹配图像为除所述第一客户端之外的第二客户端共享至所述服务器的图像中,与所述参考图像的位置和/或内容匹配的匹配图像;展示模块,用于根据所述目标匹配图像进行展示。
本公开第四方面实施例提出一种图像处理装置,应用于服务器,包括:获取模块,用于从第一客户端获取参考图像的位置和/或内容;查询模块,用于从除所述第一客户端之外的第二客户端共享至所述服务器的图像中,查询与所述参考图像的位置和/或内容匹配的目标匹配图像;发送模块,用于将所述目标匹配图像发送至所述第一客户端。
本公开第五方面实施例提出一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本公开第一方面实施例所述的方法,或者,执行本公开第二方面实施例所述的方法。
本公开第六方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开第一方面实施例所述的方法,或者,实现本公开第二方面实施例所述的方法。
本公开第七方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行本公开第一方面实施例所述的方法,或者,执行本公开第二方面实施例所述的方法。
本公开的技术方案,通过第一客户端响应于参考图像的目标操作,从除第一客户端之外的第二客户端共享至服务器的图像,获取与参考图像的位置和/或内容匹配的目标匹配图像,并对目标匹配图像进行展示,由此,第一客户端响应于对参考图像的目标操作,可自动从除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
本公开附加的方面和优点将在下面的描述中部分给出,将从下面的描述中变得明显,或通过本公开的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本公开一实施例所提供的图像处理方法的流程示意图;
图2为本公开一实施例所提供的对参考图像进行目标操作的示意图;
图3为本公开一实施例所提供的目标匹配图像的展示示意图;
图4为本公开一实施例所提供的图像处理方法的流程示意图;
图5为本公开一实施例所提供的图像处理方法的流程示意图;
图6为本公开一实施例所提供的输入参考图像的描述文本的示意图;
图7为本公开一实施例所提供的图像处理方法的流程示意图;
图8为本公开一实施例所提供的聊天窗口的示意图;
图9为本公开一实施例所提供的图像处理方法的流程示意图;
图10为本公开一实施例所提供的图像处理方法的流程示意图;
图11为本公开一实施例所提供的图像处理装置的结构示意图;
图12为本公开一实施例所提供的图像处理装置的结构示意图;
图13是根据一示例性实施例示出的一种电子设备的框图。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。
由于一张照片可能就是一段特别的经历,用户可通过照片查找具有相同经历的朋友,但是,目前用户只能在电子设备上查看朋友分享的照片,并且用户需要从大量的分享照片中挑选想要查阅的照片,以确定与自身具有相同经历的朋友,耗时较长,无法满足用户需求,影响用户体验。
因此,针对上述问题,本公开提出一种图像处理方法及装置。
下面参考附图描述本公开实施例的图像处理方法及装置。
图1为本公开一实施例所提供的图像处理方法的流程示意图。其中,该图像处理方法应用于第一客户端。其中,第一客户端是指运行在电子设备上,为用户提供服务的软件程序,例如为具有搜索和匹配功能的应用。
其中,电子设备可以为任一具有计算能力的设备,例如可以为PC(Personal Computer,个人电脑)、移动终端等,移动终端例如可以为手机、平板电脑、个人数字助理、穿戴式设备等具有各种操作系统、触摸屏和/或显示屏的硬件设备。
如图1所示,图像处理方法可包括如下步骤:
步骤101,响应于对参考图像的目标操作,从服务器获取目标匹配图像。
其中,目标匹配图像为除第一客户端之外的第二客户端共享至服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像。
在本公开实施例中,参考图像可为用户拍摄完成的图像、从网络下载的图像、或者为他人发送的图像,本公开不做具体限定。
作为本公开实施例的一种可能的实现方式,响应于对参考图像的目标操作,第一客户端可从服务器获取目标匹配图像,其中,目标匹配图像可为除第一客户端之外的第二客户端共享至服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像。第二客户端可为第一客户端设定范围内的客户端,也可为网络区域内的客户端,本公开不做具体限定。
比如,如图2所示,以参考图像为图2中的照片为例,用户通过点击“分享该照片并查找附近相似照片”按钮,来搜索附近是否有用户拍过与图2中照片的内容或位置相似的照片。
步骤102,根据目标匹配图像进行展示。
进一步地,第一客户端可将从服务器获取到的与参考图像的位置或内容匹配的目标匹配图像进行展示,其中,需要说明的是,目标匹配的图像数量可为至少一个。
比如,如图3所示,图3中包括4张目标匹配图像,第一客户端可对4张目标匹配图像进行展示。
综上,通过响应于对参考图像的目标操作,从服务器获取目标匹配图像;根据目标匹配图像进行展示,由此,第一客户端响应于对参考图像的目标操作,可自动从除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
为了准确地从服务器获取目标匹配图像,如图4所示,图4为本公开一实施例所提供的图像处理方法的流程示意图,在本公开实施例中,可向服务器发送目标指令,并接收服务端发送的查询响应,根据查询响应获取目标匹配图像,图4所示实施例可包括如下步骤:
步骤401,响应于对参考图像的目标操作,向服务器发送目标指令。
其中,目标指令携带有参考图像的内容信息和/或参考图像的位置信息。
作为本公开实施例的一种可能的实现方式,响应于对参考图像的目标操作,可向服务器发送目标指令,其中,目标指令可携带有参考图像的内容信息和/或参考图像的位置信息,用于服务器从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的 位置和/或内容匹配的匹配图像。
作为一种示例,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置匹配的目标匹配图像,比如,目标匹配图像可为以参考图像的位置为基准,位于区域范围内的图像。
作为另一种示例,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的内容匹配的目标匹配图像,比如,目标匹配图像的内容与参考图像的内容的相似度大于设定相似度阈值。
作为再一种示例,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和内容匹配的目标匹配图像,比如,目标匹配图像可为以参考图像的位置为基准,位于区域范围内的图像,并且,目标匹配图像的内容与参考图像的内容的相似度大于设定相似度阈值。
此外,目标指令还可用于对参考图像的共享状态进行设置。
比如,当用户点击“分享该照片并查找附近相似照片”按钮后,该照片的内容信息和/或位置信息可上传到服务器,并且,服务器可对该分享的照片进行状态设备,如,可对该照片的状态设置为“对任何人可见”、“部分人可见”或者“仅个人可见”。
另外,需要说明的是,参考图像的位置可以是参考图像的拍摄位置,或者,执行目标操作时第一客户端的定位位置。
步骤402,接收服务端发送的查询响应,其中,查询响应中包括目标匹配图像。
进一步地,服务器响应于目标指令,可从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像,并向第一客户端发送查询响应,其中,查询响应中包括目标匹配图像。比如,服务器会查找附近所有相似的、被设置为“对任何人可见”状态的照片,并发送给第一客户端。
步骤403,根据目标匹配图像进行展示。
进而,第一客户端可对接收到的目标匹配图像进行展示。
综上,通过响应于对参考图像的目标操作,向服务器发送目标指令;接收服务端发送的查询响应,其中,查询响应中包括目标匹配图像,由此,通过向服务器发送目标指令,可从服务端获取与参考图像的位置或内容匹配的目标匹配图像。
为了提高用户的个性化需求,如图5所示,图5为本公开一实施例所提供的图像处理方法的流程示意图,在本公开实施例中,还可对参考图像添加描述文本,并根据描述文本与参考图像的图像内容,生成参考图像的图像内容,图5所示实施例可包括如下步骤:
步骤501,响应于对参考图像的目标操作,响应于参考图像展示界面中输入控件的触发操作,获取参考图像的描述文本。
比如,如图6所示,用户点击“分享该照片并查找附近相似照片”按钮后,用户可以在输入控件中输入对该照片的描述文本,比如,心情、场景等,第一客户端可响应于输入控件的触发操作,获取参考图像的描述文本。
步骤502,根据参考图像的描述文本和参考图像的图像内容,生成参考图像的内容信息。
进一步地,根据参考图像的描述文本和参考图像的图像内容,生成参考图像的内容信 息,提高可参考图像的内容信息的丰富性和个性化。
步骤503,向服务器发送目标指令,其中,目标指令携带有参考图像的内容信息和/或参考图像的位置信息。
步骤504,接收服务端发送的查询响应,其中,查询响应中包括目标匹配图像。
步骤505,根据目标匹配图像进行展示。
需要说明的是,步骤503至505的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。
综上,通过响应于对参考图像的目标操作,响应于参考图像展示界面中输入控件的触发操作,获取参考图像的描述文本;根据参考图像的描述文本和参考图像的图像内容,生成参考图像的内容信息,由此,提高了参考图像的内容信息的个性化和丰富性。
由于一张图像可表征一段经历,在第一客户端展示与参考图像的位置和/或内容匹配的匹配图像后,用户可与具有相同经历的用户进行聊天,如图7所示,图7为本公开一实施例所提供的图像处理方法的流程示意图,在本公开实施例中,查询响应中还包括目标社交账号的账号信息,响应于账号信息中的账号图像的目标触发操作,可展示对应的目标社交账号的聊天窗口,并获取聊天窗口内输入的聊天信息,以将聊天信息发送至第三客户端,图7所示实施例可包括如下步骤:
步骤701,响应于对参考图像的目标操作,向服务器发送目标指令。
其中,目标指令携带有参考图像的内容信息和/或参考图像的位置信息。
步骤702,接收服务端发送的查询响应,其中,查询响应中包括目标匹配图像。
步骤703,根据目标匹配图像进行展示。
步骤704,对账号信息中的账号图像进行展示。
作为本公开实施例的一种可能的实现方式,查询响应中还包括目标社交账号的账号信息,其中,目标社交账号的账号信息可包括:账号图像、目标社交账号的标识等,目标社交账号的标识可用于标识目标社交账号。
需要说明的是,本公开实施例中,第一客户端、第二客户端和第三客户端可为对应社交账号下登录的客户端,第二客户端为将图像共享至服务器的客户端,目标社交账号所登录的第三客户端可接收第一客户端发送的聊天消息,第二客户端与第三客户端可为相同的客户端也可为不同的客户端,本公开不做具体限定。
步骤705,响应于账号图像的目标触发操作,展示对应目标社交账号的聊天窗口。
进而,响应于账号图像的目标触发操作,可展示对应目标社交账号的聊天窗口,比如,如图8所示,响应于账号图像的点击操作,可展示对应目标社交账号的聊天窗口。
步骤706,获取聊天窗口内输入的聊天信息。
进一步地,响应于用户输入操作,可获取聊天窗口内输入的聊天信息。
步骤707,根据账号信息中目标社交账号的标识,将聊天信息发送至目标社交账号所登录的第三客户端。
进而,根据账号信息中目标社交账号的标识,可确定对应的目标社交账号所登录的第三客户端,并将聊天消息发送至目标社交账号所登录的第三客户端。
需要说明的是,步骤701至703的执行过程可以分别采用本公开的各实施例中的任一 种方式实现,本公开实施例并不对此作出限定,也不再赘述。
综上,通过对账号信息中的账号图像进行展示;响应于账号图像的目标触发操作,展示对应目标社交账号的聊天窗口;获取聊天窗口内输入的聊天信息;根据账号信息中目标社交账号的标识,将聊天信息发送至目标社交账号所登录的第三客户端,由此,用户通过展示的聊天窗口,可与目标匹配图像的分享者进行聊天。
为了可以及时更新第一客户端共享至服务器的图像的共享状态,如图9所示,图9为本公开一实施例所提供的图像处理方法的流程示意图,在本公开实施例中,可查看共享至服务器的至少一个共享图像,并向服务器发送状态更新指令,以对至少一个共享图像进行状态更新,图9所示实施例可包括如下步骤:
步骤901,响应于对参考图像的目标操作,从服务器获取目标匹配图像。
其中,目标匹配图像为除第一客户端之外的第二客户端共享至服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像。
步骤902,根据目标匹配图像进行展示。
步骤903,响应于图像查看操作,向服务器发送查看指令。
其中,查看指令用于查看第一客户端共享至服务器的至少一个共享图像。
在本公开实施例中,用户通过第一客户端还可查看所有已分享的图像,因此,响应于图像查看操作(如,点击图像查看按钮),向服务器发送查看指令,其中,查看指令用于查看第一客户端共享至服务器的至少一个共享图像。
步骤904,接收服务器的查看响应。
其中,查看响应中包括至少一个共享图像以及至少一个共享图像的共享状态。
进而,服务器可对查看指令进行响应,查找第一客户端共享至服务器的至少一个共享图像,并向第一客户端发送查看响应,其中,查看响应中包括第一客户端共享至服务器的至少一个共享图像。
步骤905,响应查看响应,展示至少一个共享图像以及至少一个共享图像的共享状态。
接着,第一客户端接收查看响应,并响应查看响应,展示至少一个共享图像,并将至少一个共享图像中各共享图像的共享状态进行展示。其中,共享状态可包括但不限于:所有人可见、仅自己可见以及部分人可见。
步骤906,响应于对至少一个共享图像的状态更新操作,向服务器发送状态更新指令。
其中,状态更新指令用于对至少一个共享图像的共享状态进行更新。
进一步地,响应于对至少一个共享图像的状态更新操作,向服务器发送状态更新指令。比如,响应于对共享图像的共享状态的点击操作,向服务器发送状态更新指令。从而,服务器响应于状态更新指令,对至少一个共享图像的共享状态进行更新。
需要说明的是,步骤901至902的执行过程可以分别采用本公开的各实施例中的任一种方式实现,本公开实施例并不对此作出限定,也不再赘述。
综上,响应于图像查看操作,向服务器发送查看指令;接收服务器的查看响应;响应查看响应,展示至少一个共享图像以及至少一个共享图像的共享状态;响应于对至少一个共享图像的状态更新操作,向服务器发送状态更新指令,由此,响应于对至少一个共享图像的状态更新操作,向服务器发送状态更新指令,可对已共享的至少一个共享图像进行状 态更新。
本公开实施例的图像处理方法,应用于第一客户端,通过响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,目标匹配图像为除第一客户端之外的第二客户端共享至服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像,根据目标匹配图像进行展示,由此,第一客户端响应于对参考图像的目标操作,可自动从除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
为了实现上述实施例,本公开还提出一种图像处理方法。
图10为本公开一实施例所提供的图像处理方法的流程示意图,该方法可应用于服务器。
如图10所示,该图像处理方法可包括如下步骤:
步骤1001,从第一客户端获取参考图像的位置和/或内容。
在本公开实施例中,第一客户端响应于对参考图像的目标操作,向服务器发送目标指令,其中,目标指令携带有参考图像的内容信息和/或参考图像的位置信息,从而,服务器可从第一客户端获取参考图像的位置和/或内容。
需要说明的是,参考图像的位置是参考图像的拍摄位置,或者,执行目标操作时第一客户端的定位位置。
步骤1002,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像。
作为一种示例,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置匹配的目标匹配图像,比如,目标匹配图像可为以参考图像的位置为基准,位于区域范围内的图像。
作为另一种示例,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的内容匹配的目标匹配图像,比如,目标匹配图像的内容与参考图像的内容的相似度大于设定相似度阈值。
作为再一种示例,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和内容匹配的目标匹配图像,比如,目标匹配图像可为以参考图像的位置为基准,位于区域范围内的图像,并且,目标匹配图像的内容与参考图像的内容的相似度大于设定相似度阈值。
步骤1003,将目标匹配图像发送至第一客户端。
进而,服务器可将目标匹配图像发送至第一客户端,第一客户端可对目标匹配图像进行展示。
综上,通过从第一客户端获取参考图像的位置和/或内容;从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像;将目标匹配图像发送至第一客户端,由此,服务器可自动除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
作为本公开实施例的一种可能的实现方式,目标指令中还用于对参考图像的共享状态进行设置,接收第一客户端发送的目标指令,响应于目标指令,对参考图像的共享状态进行设置。
作为本公开实施例的一种可能的实现方式,接收第一客户端发送的查看指令,其中,查看指令用于查看第一客户端共享至服务器的至少一个共享图像;响应于查看指令,获取至少一个共享图像;向第一客户端发送查看响应,其中,查看响应中包括至少一个共享图像以及至少一个共享图像的共享状态;接收第一客户端发送的状态更新指令,其中,状态更新指令用于对至少一个共享图像的共享状态进行更新;响应于所述状态更新指令,对所述至少一个共享图像的共享状态进行更新。
作为本公开实施例的一种可能的实现方式,接收第二客户端发送的共享指令,其中,共享指令携带目标图像,用于对目标图像的共享状态进行设置;响应于所述共享指令,对目标图像的共享状态进行设置。
作为本公开实施例的一种可能的实现方式,从目标图像中,获取共享状态为共享的目标共享图像;从目标共享图像中,查询与参考图像的内容信息和/或参考图像的位置信息匹配的目标匹配图像。
本公开实施例的图像处理方法,服务器通过从第一客户端获取参考图像的位置和/或内容;从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像;将目标匹配图像发送至第一客户端,由此,服务器可自动除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
为了实现上述图1至图9实施例,本公开还提供一种图像处理装置。其中,该图像处理装置可应用于第一客户端。
图11为本公开一实施例所提供的图像处理装置的结构示意图。
如图11所示,该图像处理装置1100包括:获取模块1110和展示模块1120。
其中,获取模块1110,用于响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,目标匹配图像为除第一客户端之外的第二客户端共享至所述服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像;展示模块,用于根据目标匹配图像进行展示。
作为本公开实施例的一种可能的实现方式,获取模块1110,还用于响应于对参考图像的目标操作,向服务器发送目标指令,其中,目标指令携带有参考图像的内容信息和/或参考图像的位置信息;接收服务端发送的查询响应,其中,查询响应中包括目标匹配图像。
作为本公开实施例的一种可能的实现方式,图像处理装置1100还包括:处理模块和生成模块。
其中,处理模块,用于响应于所述参考图像展示界面中输入控件的触发操作,获取所述参考图像的描述文本;生成模块,用于根据参考图像的描述文本和参考图像的图像内容,生成参考图像的内容信息。
作为本公开实施例的一种可能的实现方式,查询响应中还包括目标社交账号的账号信息,图像处理装置1100还包括:发送模块。
其中,展示模块1120,还用于对账号信息中的账号图像进行展示;响应于账号图像的目标触发操作,展示对应目标社交账号的聊天窗口;获取模块1110,还用于获取所述聊天窗口内输入的聊天信息;发送模块,用于根据账号信息中目标社交账号的标识,将聊天信息发送至目标社交账号所登录的第三客户端。
作为本公开实施例的一种可能的实现方式,参考图像的位置是参考图像的拍摄位置,或者,执行目标操作时第一客户端的定位位置。
作为本公开实施例的一种可能的实现方式,图像处理装置1100还包括:接收模块和更新模块。
其中,发送模块,还用于响应于图像查看操作,向服务器发送查看指令,其中,查看指令用于查看第一客户端共享至服务器的至少一个共享图像;接收模块,还用于接收服务器的查看响应,其中,查看响应中包括至少一个共享图像以及至少一个共享图像的共享状态;展示模块,还用于响应查看响应,展示至少一个共享图像以及至少一个共享图像的共享状态;更新模块,用于响应于对至少一个共享图像的状态更新操作,向服务器发送状态更新指令;其中,状态更新指令用于对至少一个共享图像的共享状态进行更新。
本公开实施例的图像处理装置,应用于第一客户端,通过响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,目标匹配图像为除第一客户端之外的第二客户端共享至服务器的图像中,与参考图像的位置和/或内容匹配的匹配图像,根据目标匹配图像进行展示,由此,第一客户端响应于对参考图像的目标操作,可自动从除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
为了实现上述图10实施例,本公开还提供一种图像处理装置。其中,该图像处理装置可应用于服务器。
图12为本公开一实施例所提供的图像处理装置的结构示意图。
如图12所示,图像处理装置1200包括:获取模块1210、查询模块1220和发送模块1230。
其中,获取模块1210,用于从第一客户端获取参考图像的位置和/或内容;查询模块1220,用于从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像;发送模块1230,用于将目标匹配图像发送至第一客户端。
作为本公开实施例的一种可能的实现方式,获取模块1210,还用于接收第一客户端发送的目标指令,其中,目标指令为第一客户端响应于对参考图像的目标操作时发送的,目标指令携带有参考图像的内容信息和/或参考图像的位置信息;查询模块1220,还用于响应于目标指令,从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像。
作为本公开实施例的一种可能的实现方式,参考图像的位置是参考图像的拍摄位置,或者,执行目标操作时第一客户端的定位位置。
作为本公开实施例的一种可能的实现方式,目标指令中还用于对参考图像的共享状态 进行设置。
作为本公开实施例的一种可能的实现方式,图像处理装置1200还包括:接收模块和更新模块。
其中,接收模块,用于接收第一客户端发送的查看指令,其中,查看指令用于查看第一客户端共享至服务器的至少一个共享图像;获取模块1210,还用于响应于所述查看指令,获取所述至少一个共享图像;发送模块,还用于向所述第一客户端发送所述查看响应,其中,查看响应中包括所述至少一个共享图像以及所述至少一个共享图像的共享状态;接收模块,还用于接收所述第一客户端发送的状态更新指令,其中,所述状态更新指令用于对所述至少一个共享图像的共享状态进行更新;更新模块,还用于响应于状态更新指令,对至少一个共享图像的共享状态进行更新。
作为本公开实施例的一种可能的实现方式,图像处理装置1200还包括:设置模块。
接收模块,还用于接收第二客户端发送的共享指令,其中,共享指令携带目标图像,用于对目标图像的共享状态进行设置;设置模块,用于响应于共享指令,对目标图像的共享状态进行设置。
作为本公开实施例的一种可能的实现方式,查询模块1220,还用于从目标图像中,获取共享状态为共享的目标共享图像;从目标共享图像中,查询与参考图像的内容信息和/或参考图像的位置信息匹配的目标匹配图像。
本公开实施例的图像处理装置,应用于服务器,通过从第一客户端获取参考图像的位置和/或内容;从除第一客户端之外的第二客户端共享至服务器的图像中,查询与参考图像的位置和/或内容匹配的目标匹配图像;将目标匹配图像发送至第一客户端,由此,服务器可自动除第一客户端之外的第二客户端共享至服务器的图像中,获取与参考图像的位置和/或内容匹配的目标匹配图像,无需用户仅从朋友分享的大量的分享照片中进行照片挑选,耗时较少,满足了用户需求,改善了用户体验。
为了实现上述实施例,本公开还提出一种电子设备。该电子设备包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行图1至图9实施例所述的方法,或者,执行图10实施例所述的方法。
为了实现上述实施例,本公开还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现图1至图9实施例所述的方法,或者,实现图10实施例所述的方法。
为了实现上述实施例,本公开还提出一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行图1至图9实施例所述的方法,或者,执行图10实施例所述的方法。
图13是根据一示例性实施例示出的一种电子设备的框图。例如,电子设备1300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图13,电子设备1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电力组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)接口1312,传感器 组件1314,以及通信组件1316。
处理组件1302通常控制电子设备1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。
存储器1304被配置为存储各种类型的数据以支持在电子设备1300的操作。这些数据的示例包括用于在电子设备1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件1306为电子设备1300的各种组件提供电力。电力组件1306可以包括电源管理系统,一个或多个电源,及其他与为电子设备1300生成、管理和分配电力相关联的组件。
多媒体组件1308包括在所述电子设备1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当电子设备1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当电子设备1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。
I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1314包括一个或多个传感器,用于为电子设备1300提供各个方面的状态评估。例如,传感器组件1314可以检测到电子设备1300的打开/关闭状态,组件的相对定位,例如所述组件为电子设备1300的显示器和小键盘,传感器组件1314还可以检测电子设备1300或电子设备1300一个组件的位置改变,用户与电子设备1300接触的存在或不存在,电子设备1300方位或加速/减速和电子设备1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一 些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1316被配置为便于电子设备1300和其他设备之间有线或无线方式的通信。电子设备1300可以接入基于通信标准的无线网络,如WiFi,4G或5G,或它们的组合。在一个示例性实施例中,通信组件1316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,电子设备1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由电子设备1300的处理器1320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用 的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (18)

  1. 一种图像处理方法,其特征在于,应用于第一客户端,包括:
    响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,所述目标匹配图像为除所述第一客户端之外的第二客户端共享至所述服务器的图像中,与所述参考图像的位置和/或内容匹配的匹配图像;
    根据所述目标匹配图像进行展示。
  2. 根据权利要求1所述的方法,其特征在于,所述响应于对参考图像的目标操作,从服务器获取目标匹配图像,包括:
    响应于对参考图像的目标操作,向服务器发送目标指令,其中,所述目标指令携带有所述参考图像的内容信息和/或所述参考图像的位置信息;
    接收所述服务端发送的查询响应,其中,所述查询响应中包括所述目标匹配图像。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    响应于所述参考图像展示界面中输入控件的触发操作,获取所述参考图像的描述文本;
    根据所述参考图像的描述文本和所述参考图像的图像内容,生成所述参考图像的内容信息。
  4. 根据权利要求2所述的方法,其特征在于,所述目标指令还用于对所述参考图像的共享状态进行设置。
  5. 根据权利要求2所述的方法,其特征在于,所述查询响应中还包括目标社交账号的账号信息;所述方法还包括:
    对所述账号信息中的账号图像进行展示;
    响应于所述账号图像的目标触发操作,展示对应所述目标社交账号的聊天窗口;
    获取所述聊天窗口内输入的聊天信息;
    根据所述账号信息中所述目标社交账号的标识,将所述聊天信息发送至所述目标社交账号所登录的第三客户端。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述参考图像的位置是所述参考图像的拍摄位置,或者,执行所述目标操作时所述第一客户端的定位位置。
  7. 根据权利要求1-5中任一项所述的方法,其特征在于,所述方法还包括:
    响应于图像查看操作,向所述服务器发送查看指令,其中,所述查看指令用于查看所述第一客户端共享至所述服务器的至少一个共享图像;
    接收所述服务器的查看响应,其中,所述查看响应中包括所述至少一个共享图像以及所述至少一个共享图像的共享状态;
    响应所述查看响应,展示所述至少一个共享图像以及所述至少一个共享图像的共享状态;
    响应于对所述至少一个共享图像的状态更新操作,向所述服务器发送状态更新指令;其中,所述状态更新指令用于对所述至少一个共享图像的共享状态进行更新。
  8. 一种图像处理方法,其特征在于,应用于服务器,包括:
    从第一客户端获取参考图像的位置和/或内容;
    从除所述第一客户端之外的第二客户端共享至所述服务器的图像中,查询与所述参考图像的位置和/或内容匹配的目标匹配图像;
    将所述目标匹配图像发送至所述第一客户端。
  9. 根据权利要求8所述的方法,其特征在于,所述从第一客户端获取参考图像的位置和/或内容,包括:
    接收所述第一客户端发送的目标指令,其中,所述目标指令为所述第一客户端响应于对所述参考图像的目标操作时发送的,所述目标指令携带有所述参考图像的内容信息和/或所述参考图像的位置信息;
    相应地,所述从除所述第一客户端之外的第二客户端共享至所述服务器的图像中,查询与所述参考图像的位置和/或内容匹配的目标匹配图像,包括:
    响应于所述目标指令,从除所述第一客户端之外的第二客户端共享至所述服务器的图像中,查询与所述参考图像的位置和/或内容匹配的目标匹配图像。
  10. 根据权利要求9所述的方法,其特征在于,所述参考图像的位置是所述参考图像的拍摄位置,或者,执行所述目标操作时所述第一客户端的定位位置。
  11. 根据权利要求9所述的方法,其特征在于,所述目标指令中还用于对所述参考图像的共享状态进行设置。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    接收所述第一客户端发送的查看指令,其中,所述查看指令用于查看所述第一客户端共享至所述服务器的至少一个共享图像;
    响应于所述查看指令,获取所述至少一个共享图像;
    向所述第一客户端发送所述查看响应,其中,查看响应中包括所述至少一个共享图像以及所述至少一个共享图像的共享状态;
    接收所述第一客户端发送的状态更新指令,其中,所述状态更新指令用于对所述至少一个共享图像的共享状态进行更新;
    响应于所述状态更新指令,对所述至少一个共享图像的共享状态进行更新。
  13. 根据权利要求8-12中任一项所述的方法,其特征在于,所述方法还包括:
    接收所述第二客户端发送的共享指令,其中,所述共享指令携带目标图像,用于对所述目标图像的共享状态进行设置;
    响应于所述共享指令,对所述目标图像的共享状态进行设置。
  14. 根据权利要求13所述的方法,其特征在于,所述响应于所述目标指令,查询与所述参考图像的内容信息和/或所述参考图像的位置信息匹配的目标匹配图像,包括:
    从所述目标图像中,获取所述共享状态为共享的目标共享图像;
    从所述目标共享图像中,查询与所述参考图像的内容信息和/或所述参考图像的位置信息匹配的目标匹配图像。
  15. 一种图像处理装置,其特征在于,应用于第一客户端,包括:
    获取模块,用于响应于对参考图像的目标操作,从服务器获取目标匹配图像,其中,所述目标匹配图像为除所述第一客户端之外的第二客户端共享至所述服务器的图像中,与所述参考图像的位置和/或内容匹配的匹配图像;
    展示模块,用于根据所述目标匹配图像进行展示。
  16. 一种图像处理装置,其特征在于,应用于服务器,包括:
    获取模块,用于从第一客户端获取参考图像的位置和/或内容;
    查询模块,用于从除所述第一客户端之外的第二客户端共享至所述服务器的图像中,查询与所述参考图像的位置和/或内容匹配的目标匹配图像;
    发送模块,用于将所述目标匹配图像发送至所述第一客户端。
  17. 一种电子设备,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的方法,或者,执行权利要求8-14中任一项所述的方法。
  18. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一项所述的方法,或者,执行权利要求8-14中任一项所述的方法。
PCT/CN2022/090792 2022-04-29 2022-04-29 图像处理方法及装置 WO2023206576A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/090792 WO2023206576A1 (zh) 2022-04-29 2022-04-29 图像处理方法及装置
CN202280004424.8A CN117321586A (zh) 2022-04-29 2022-04-29 图像处理方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/090792 WO2023206576A1 (zh) 2022-04-29 2022-04-29 图像处理方法及装置

Publications (1)

Publication Number Publication Date
WO2023206576A1 true WO2023206576A1 (zh) 2023-11-02

Family

ID=88516996

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090792 WO2023206576A1 (zh) 2022-04-29 2022-04-29 图像处理方法及装置

Country Status (2)

Country Link
CN (1) CN117321586A (zh)
WO (1) WO2023206576A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989345A (zh) * 2015-02-28 2016-10-05 华为技术有限公司 图像匹配发现好友的方法和装置
CN106021455A (zh) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 图像特征关系的匹配方法、装置和系统
CN106341378A (zh) * 2015-07-15 2017-01-18 中兴通讯股份有限公司 聊天建立方法、终端、服务器及聊天系统
US20170048334A1 (en) * 2014-05-27 2017-02-16 Panasonic Intellectual Property Management Co., Ltd. Method for sharing photographed images between users
CN109918530A (zh) * 2019-03-04 2019-06-21 北京字节跳动网络技术有限公司 用于推送图像的方法和装置
CN110678861A (zh) * 2017-12-22 2020-01-10 谷歌有限责任公司 图像选择建议

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048334A1 (en) * 2014-05-27 2017-02-16 Panasonic Intellectual Property Management Co., Ltd. Method for sharing photographed images between users
CN105989345A (zh) * 2015-02-28 2016-10-05 华为技术有限公司 图像匹配发现好友的方法和装置
CN106341378A (zh) * 2015-07-15 2017-01-18 中兴通讯股份有限公司 聊天建立方法、终端、服务器及聊天系统
CN106021455A (zh) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 图像特征关系的匹配方法、装置和系统
CN110678861A (zh) * 2017-12-22 2020-01-10 谷歌有限责任公司 图像选择建议
CN109918530A (zh) * 2019-03-04 2019-06-21 北京字节跳动网络技术有限公司 用于推送图像的方法和装置

Also Published As

Publication number Publication date
CN117321586A (zh) 2023-12-29

Similar Documents

Publication Publication Date Title
WO2017031875A1 (zh) 在聊天界面更改表情符号的方法、装置及终端设备
WO2017016148A1 (zh) 基于图像的通信方法及装置
CN109951379B (zh) 消息处理方法及装置
CN104079473A (zh) 信息发布方法及装置
CN109521918B (zh) 一种信息分享方法、装置、电子设备及存储介质
CN107423386B (zh) 生成电子卡片的方法及装置
WO2017008400A1 (zh) 控制智能设备的方法及装置
WO2021237590A1 (zh) 图像采集方法、装置、设备及存储介质
CN106453528B (zh) 推送消息的方法及装置
WO2017148120A1 (zh) 获取图像的方法、装置及系统
WO2016173246A1 (zh) 基于云名片的电话呼叫方法及装置
WO2021164588A1 (zh) 数据分享方法及装置
WO2023056766A1 (zh) 信息显示方法及装置
CN109039877A (zh) 一种显示未读消息数量的方法、装置、电子设备及存储介质
CN112788359A (zh) 直播处理方法、装置、电子设备及存储介质
CN108156506A (zh) 弹幕信息的进度调整方法及装置
CN113988021A (zh) 内容互动方法、装置、电子设备及存储介质
CN106648650A (zh) 对终端显示状态进行调整的方法及装置
CN108874450B (zh) 唤醒语音助手的方法及装置
US11397596B2 (en) Method and device for controlling pop-up window, electronic device, and storage medium
CN104363166B (zh) 即时通信方法、装置和智能终端
CN106447747B (zh) 图像处理方法及装置
CN108027821B (zh) 处理图片的方法及装置
CN106535000A (zh) 一种发送社交信息的方法及装置
WO2020078092A1 (zh) 信息处理方法、装置、服务器、终端及存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280004424.8

Country of ref document: CN

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

Ref document number: 22939420

Country of ref document: EP

Kind code of ref document: A1