CN117321586A - Image processing methods and devices - Google Patents
Image processing methods and devices Download PDFInfo
- Publication number
- CN117321586A CN117321586A CN202280004424.8A CN202280004424A CN117321586A CN 117321586 A CN117321586 A CN 117321586A CN 202280004424 A CN202280004424 A CN 202280004424A CN 117321586 A CN117321586 A CN 117321586A
- Authority
- CN
- China
- Prior art keywords
- image
- target
- client
- reference image
- shared
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
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
The disclosure provides an image processing method and device, wherein the image processing method is applied to a first client, a target matching image is obtained from a server in response to target operation on a reference image, and the target matching image is a matching image which is shared into an image of the server by a second client except the first client and is matched with the position and/or the content of the reference image; according to the display of the target matching image, the first client responds to the target operation of the reference image, the target matching image matched with the position and/or the content of the reference image can be automatically acquired from the image shared by the second client except the first client to the server, the user does not need to select photos from a large number of shared photos shared by friends, the time consumption is less, the user requirement is met, and the user experience is improved.
Description
The disclosure relates to the technical field of electronic equipment and image processing, in particular to an image processing method and device.
Currently, with the increasing popularity of electronic devices and the continuous powerful functions of electronic devices, they have become a main photographing tool for people. When people go out to play or a friend gathers, electronic devices are often used for taking pictures with each other and sharing the taken pictures. However, the user can only view photos shared by friends on the electronic device, and the user needs to choose photos to be referred to from a large number of shared photos, which takes a long time, cannot meet the user requirements, and affects the user experience.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
For this reason, the present disclosure proposes the following technical scheme:
an embodiment of a first aspect of the present disclosure provides an image processing method, applied to a first client, including: obtaining a target matching image from a server in response to a target operation on a reference image, wherein the target matching image is a matching image matched with the position and/or content of the reference image in an image shared to the server by a second client except the first client; and displaying according to the target matching image.
An embodiment of a second aspect of the present disclosure provides an image processing method, applied to a server, including: acquiring the position and/or the content of a reference image from a first client; querying a target matching image matched with the position and/or the content of the reference image from images shared to the server by a second client except the first client; and sending the target matching image to the first client.
An embodiment of a third aspect of the present disclosure provides an image processing apparatus 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, where the target matching image is a matching image that is shared by a second client other than the first client to the server and matches a position and/or content of the reference image; and the display module is used for displaying according to the target matching image.
An embodiment of a fourth aspect of the present disclosure proposes an image processing apparatus applied to a server, including: the acquisition module is used for acquiring the position and/or the content of the reference image from the first client; a query module, configured to query, from an image shared to the server by a second client other than the first client, a target matching image that matches a location and/or content of the reference image; and the sending module is used for sending the target matching image to the first client.
An embodiment of a fifth aspect of the present disclosure proposes an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method according to embodiments of the first aspect of the present disclosure or to perform the method according to embodiments of the second aspect of the present disclosure.
A sixth aspect of the present disclosure proposes a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to the first aspect of the present disclosure or implements the method according to the second aspect of the present disclosure.
Embodiments of a seventh aspect of the present disclosure propose a computer program product which, when executed by a processor, performs the method according to the embodiments of the first aspect of the present disclosure, or performs the method according to the embodiments of the second aspect of the present disclosure.
According to the technical scheme, the first client responds to the target operation of the reference image, the image which is shared to the server from the second client except the first client is obtained, the target matching image which is matched with the position and/or the content of the reference image is obtained, and the target matching image is displayed.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
The foregoing and/or additional aspects and advantages of the invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flowchart of an image processing method according to an embodiment of the disclosure;
FIG. 2 is a schematic diagram of performing a targeting operation on a reference image according to an embodiment of the disclosure;
FIG. 3 is a schematic illustration of a target matching image according to an embodiment of the disclosure;
FIG. 4 is a flowchart of an image processing method according to an embodiment of the disclosure;
FIG. 5 is a flowchart of an image processing method according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram of descriptive text of an input reference image provided by an embodiment of the present disclosure;
FIG. 7 is a flowchart of an image processing method according to an embodiment of the disclosure;
FIG. 8 is a schematic diagram of a chat window provided in accordance with an embodiment of the disclosure;
FIG. 9 is a flowchart of an image processing method according to an embodiment of the disclosure;
FIG. 10 is a flowchart of an image processing method according to an embodiment of the disclosure;
FIG. 11 is a schematic diagram of an image processing apparatus according to an embodiment of the disclosure;
Fig. 12 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure;
fig. 13 is a block diagram of an electronic device, according to an example embodiment.
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
Because a photo may be a specific experience, a user can search friends with the same experience through the photo, but currently, the user can only view photos shared by friends on the electronic device, and the user needs to choose photos to be searched from a large number of shared photos to determine friends with the same experience, which takes a long time, cannot meet the user requirement and affects the user experience.
Accordingly, in view of the above-mentioned problems, the present disclosure proposes an image processing method and apparatus.
Image processing methods and apparatuses according to embodiments of the present disclosure are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an image processing method according to an embodiment of the disclosure. The image processing method is applied to the first client. The first client refers to a software program running on the electronic device and providing services for users, such as an application with searching and matching functions.
The electronic device may be any device with computing capability, for example, a PC (Personal Computer ), a mobile terminal, and the like, and the mobile terminal may be, for example, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and the like, which have various hardware devices including an operating system, a touch screen, and/or a display screen.
As shown in fig. 1, the image processing method may include the steps of:
in step 101, a target matching image is acquired from a server in response to a target operation on a reference image.
The target matching image is a matching image matched with the position and/or the content of the reference image in the image shared by the second client except the first client to the server.
In the embodiment of the present disclosure, the reference image may be an image that a user captures, an image downloaded from a network, or an image transmitted to others, and the present disclosure is not particularly limited.
As one possible implementation of the embodiments of the present disclosure, in response to a target operation on a reference image, a first client may obtain a target matching image from a server, where the target matching image may be a matching image that matches a location and/or content of the reference image in an image shared to the server by a second client other than the first client. The second client may be a client within a set range of the first client, or may be a client within a network area, which is not specifically limited in the disclosure.
For example, as shown in fig. 2, taking the reference image as the photograph in fig. 2 as an example, the user searches for whether a nearby photograph similar to the content or location of the photograph in fig. 2 has been taken by the user by clicking on the "share the photograph and find nearby similar photographs" button.
And 102, displaying according to the target matching image.
Further, the first client may display the target matching image that matches the position or the content of the reference image, where the number of the target matching images may be at least one.
For example, as shown in fig. 3, fig. 3 includes 4 target matching images, and the first client may display the 4 target matching images.
In summary, a target matching image is acquired from a server by responding to a target operation on a reference image; according to the display of the target matching image, the first client responds to the target operation of the reference image, the target matching image matched with the position and/or the content of the reference image can be automatically acquired from the image shared by the second client except the first client to the server, the user does not need to select photos from a large number of shared photos shared by friends, the time consumption is less, the user requirement is met, and the user experience is improved.
In order to accurately acquire a target matching image from a server, as shown in fig. 4, fig. 4 is a flowchart of an image processing method according to an embodiment of the present disclosure, in an embodiment of the present disclosure, a target instruction may be sent to the server, and a query response sent by the server may be received, and the embodiment shown in fig. 4 may include the following steps:
in step 401, in response to a target operation on the reference image, a target instruction is sent to the server.
The target instruction carries content information of the reference image and/or position information of the reference image.
As one possible implementation manner of the embodiment of the present disclosure, in response to a target operation on a reference image, a target instruction may be sent to a server, where the target instruction may carry content information of the reference image and/or location information of the reference image, and is used for the server to share an image to the server from a second client other than the first client, and query a matching image matching the location and/or content of the reference image.
As an example, from among images shared to the server from a second client other than the first client, a target matching image matching the position of the reference image is queried, for example, the target matching image may be an image located within an area based on the position of the reference image.
As another example, from an image shared to a server by a second client other than the first client, a target matching image matching the content of the reference image is queried, e.g., the similarity of the content of the target matching image to the content of the reference image is greater than a set similarity threshold.
As still another example, from among images shared to the server from a second client other than the first client, a target matching image matching the position and content of the reference image is queried, for example, the target matching image may be an image located within a region based on the position of the reference image, and the similarity of the content of the target matching image to the content of the reference image is greater than a set similarity threshold.
In addition, the target instruction may be used to set the sharing state of the reference image.
For example, when a user clicks the "share the photo and find nearby similar photos" button, the content information and/or location information for the photo may be uploaded to the server, and the server may perform a status device on the shared photo, e.g., may set the status of the photo to "visible to anyone", "partially visible", or "only personally visible".
In addition, the position of the reference image may be a photographing position of the reference image, or a positioning position of the first client when the target operation is performed.
Step 402, receiving a query response sent by the server, where the query response includes the target matching image.
Further, the server may, in response to the target instruction, query a target matching image matching the location and/or content of the reference image from an image shared to the server from a second client other than the first client, and send a query response to the first client, wherein the query response includes the target matching image. For example, the server may look for all similar photos nearby that are set to the "visible to anyone" state and send to the first client.
And step 403, displaying according to the target matching image.
Further, the first client may present the received target matching image.
In summary, by responding to a target operation on a reference image, a target instruction is sent to a server; and receiving a query response sent by the server, wherein the query response comprises the target matching image, so that the target matching image matched with the position or the content of the reference image can be obtained from the server by sending a target instruction to the server.
In order to improve the personalized requirements of the user, as shown in fig. 5, fig. 5 is a flowchart of an image processing method according to an embodiment of the present disclosure, in an embodiment of the present disclosure, description text may be further added to a reference image, and according to the description text and the image content of the reference image, the image content of the reference image is generated, and the embodiment shown in fig. 5 may include the following steps:
in step 501, in response to a target operation on a reference image, in response to a trigger operation of an input control in a display interface of the reference image, a description text of the reference image is acquired.
For example, as shown in fig. 6, after the user clicks the "share the photo and find similar photos nearby" button, the user may input descriptive text, such as moods, scenes, etc., of the photo in the input control, and the first client may obtain the descriptive text of the reference image in response to the triggering operation of the input control.
Step 502, generating content information of the reference image according to the description text of the reference image and the image content of the reference image.
Further, according to the description text of the reference image and the image content of the reference image, content information of the reference image is generated, so that the richness and individuation of the content information of the referenceable image are improved.
Step 503, sending a target instruction to the server, wherein the target instruction carries content information of the reference image and/or position information of the reference image.
Step 504, receiving a query response sent by the server, where the query response includes the target matching image.
And 505, displaying according to the target matching image.
It should be noted that the execution of steps 503 to 505 may be implemented in any manner of embodiments of the present disclosure, which are not limited to this and are not repeated herein.
In summary, a description text of a reference image is obtained by responding to a target operation of the reference image and responding to a trigger operation of an input control in a display interface of the reference image; content information of the reference image is generated according to the description text of the reference image and the image content of the reference image, thereby improving individuation and richness of the content information of the reference image.
Because an image may represent a piece of experience, after a first client displays a matching image matching with a position and/or content of a reference image, a user may chat with a user having the same experience, as shown in fig. 7, fig. 7 is a flowchart of an image processing method provided by an embodiment of the present disclosure, in an embodiment of the present disclosure, an account information of a target social account is further included in a query response, a chat window of a corresponding target social account may be displayed in response to a target triggering operation of an account image in the account information, and chat information input in the chat window may be acquired to send the chat information to a third client, and an embodiment shown in fig. 7 may include the following steps:
In step 701, in response to a target operation on a reference image, a target instruction is sent to a server.
The target instruction carries content information of the reference image and/or position information of the reference image.
Step 702, receiving a query response sent by the server, where the query response includes the target matching image.
And step 703, displaying according to the target matching image.
Step 704, displaying the account image in the account information.
As a possible implementation manner of the embodiment of the present disclosure, the query response further includes account information of the target social account, where the account information of the target social account may include: an account image, an identification of a target social account, etc., the identification of the target social account may be used to identify the target social account.
It should be noted that, in the embodiment of the present disclosure, the first client, the second client and the third client may be clients logged in under the corresponding social account, the second client is a client for sharing an image to the server, the third client logged in by the target social account may receive the chat message sent by the first client, and the second client and the third client may be the same client or different clients.
Step 705, responding to the target triggering operation of the account image, and displaying the chat window corresponding to the target social account.
Further, in response to the target triggering operation of the account image, a chat window corresponding to the target social account may be displayed, for example, as shown in fig. 8, in response to the clicking operation of the account image, a chat window corresponding to the target social account may be displayed.
Step 706, obtaining the chat information input in the chat window.
Further, in response to a user input operation, chat information input in the chat window can be acquired.
And step 707, according to the identification of the target social account in the account information, sending the chat information to the third client logged in by the target social account.
Furthermore, according to the identification of the target social account in the account information, a third client logged in by the corresponding target social account can be determined, and the chat message is sent to the third client logged in by the target social account.
It should be noted that the execution of steps 701 to 703 may be implemented in any manner of the embodiments of the present disclosure, which are not limited to this and are not repeated.
In summary, displaying an account image in account information; responding to target triggering operation of the account image, and displaying a chat window corresponding to the target social account; obtaining chat information input in a chat window; and sending the chat information to a third client logged in by the target social account according to the identification of the target social account in the account information, so that the user can chat with the sharer of the target matching image through the displayed chat window.
In order to timely update the sharing status of the image shared by the first client to the server, as shown in fig. 9, fig. 9 is a flowchart of an image processing method provided by an embodiment of the present disclosure, in an embodiment of the present disclosure, at least one shared image shared to the server may be checked, and a status update instruction may be sent to the server to perform status update on the at least one shared image, where the embodiment shown in fig. 9 may include the following steps:
in step 901, a target matching image is acquired from a server in response to a target operation on a reference image.
The target matching image is a matching image matched with the position and/or the content of the reference image in the image shared by the second client except the first client to the server.
And step 902, displaying according to the target matching image.
In step 903, a view instruction is sent to the server in response to the image view operation.
Wherein the viewing instructions are for viewing at least one shared image shared by the first client to the server.
In the embodiment of the disclosure, the user may also view all the shared images through the first client, and thus, in response to an image viewing operation (e.g., clicking on 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.
Step 904, receiving a view response of the server.
The view response comprises at least one shared image and a shared state of the at least one shared image.
Further, the server may respond to the view instruction, find at least one shared image shared by the first client to the server, and send a view response to the first client, where the view response includes the at least one shared image shared by the first client to the server.
In response to the view response, step 905, the at least one shared image and the sharing status of the at least one shared image are presented.
Then, the first client receives the viewing response, displays at least one shared image in response to the viewing response, and displays the sharing state of each shared image in the at least one shared image. Wherein the shared state may include, but is not limited to: all visible, only visible by themselves and partially visible.
Step 906, in response to a status update operation on the at least one shared image, sends a status update instruction to the server.
The state updating instruction is used for updating the sharing state of at least one sharing image.
Further, a status update instruction is sent to the server in response to a status update operation on the at least one shared image. For example, in response to a click operation on the shared state of the shared image, a state update instruction is transmitted to the server. Thus, the server updates the shared status of the at least one shared image in response to the status update instruction.
It should be noted that the execution of steps 901 to 902 may be implemented in any manner of each embodiment of the disclosure, which is not limited to this embodiment, and is not repeated.
In summary, a viewing instruction is sent to a server in response to an image viewing operation; receiving a view response of the server; responsive to the view response, displaying the at least one shared image and a sharing status of the at least one shared image; in response to a status update operation on the at least one shared image, a status update instruction is sent to the server, whereby in response to a status update operation on the at least one shared image, a status update of the at least one shared image that has been shared may be performed.
The image processing method is applied to the first client, the target matching image is obtained from the server through responding to the target operation on the reference image, wherein the target matching image is a matching image which is shared by the second client except the first client to the image of the server and matched with the position and/or the content of the reference image, and the image processing method is displayed according to the target matching image.
In order to implement the above embodiment, the present disclosure also proposes an image processing method.
Fig. 10 is a flowchart of an image processing method according to an embodiment of the disclosure, where the method may be applied to a server.
As shown in fig. 10, the image processing method may include the steps of:
step 1001, obtaining a location and/or content of a reference image from a first client.
In the embodiment of the disclosure, the first client sends a target instruction to the server in response to a target operation on the reference image, wherein the target instruction carries content information of the reference image and/or position information of the reference image, and accordingly the server can acquire the position and/or content of the reference image from the first client.
The position of the reference image is a shooting position of the reference image, or a positioning position of the first client when the target operation is performed.
Step 1002, query a target matching image matching the location and/or content of a reference image from an image shared to a server by a second client other than the first client.
As an example, from among images shared to the server from a second client other than the first client, a target matching image matching the position of the reference image is queried, for example, the target matching image may be an image located within an area based on the position of the reference image.
As another example, from an image shared to a server by a second client other than the first client, a target matching image matching the content of the reference image is queried, e.g., the similarity of the content of the target matching image to the content of the reference image is greater than a set similarity threshold.
As still another example, from among images shared to the server from a second client other than the first client, a target matching image matching the position and content of the reference image is queried, for example, the target matching image may be an image located within a region based on the position of the reference image, and the similarity of the content of the target matching image to the content of the reference image is greater than a set similarity threshold.
Step 1003, sending the target matching image to the first client.
Further, the server may send the target matching image to the first client, which may present the target matching image.
In summary, by obtaining the position and/or content of the reference image from the first client; querying a target matching image matched with the position and/or the content of a reference image from images shared to a server by a second client except the first client; and sending the target matching image to the first client, so that the server can automatically share the target matching image with the position and/or the content of the reference image in the image of the server by a second client except the first client, the user does not need to select photos only from a large number of shared photos shared by friends, the time consumption is less, the user requirement is met, and the user experience is improved.
As a possible implementation manner of the embodiment of the present disclosure, the target instruction is further configured to set a sharing state of the reference image, receive the target instruction sent by the first client, and set the sharing state of the reference image in response to the target instruction.
As one possible implementation manner of the embodiment of the present disclosure, receiving a viewing instruction sent by a first client, where the viewing instruction is used to view at least one shared image shared by the first client to a server; in response to the view instruction, obtaining at least one shared image; sending a view response to the first client, wherein the view response comprises at least one shared image and a shared state of the at least one shared image; receiving a state update instruction sent by a first client, wherein the state update instruction is used for updating the sharing state of at least one sharing image; and updating the sharing state of the at least one sharing image in response to the state updating instruction.
As a possible implementation manner of the embodiment of the present disclosure, a sharing instruction sent by a second client is received, where the sharing instruction carries a target image, and is used to set a sharing state of the target image; and setting the sharing state of the target image in response to the sharing instruction.
As a possible implementation manner of the embodiment of the present disclosure, a target shared image whose sharing state is shared is obtained from target images; and querying a target matching image matched with the content information of the reference image and/or the position information of the reference image from the target sharing image.
According to the image processing method, a server acquires the position and/or the content of a reference image from a first client; querying a target matching image matched with the position and/or the content of a reference image from images shared to a server by a second client except the first client; and sending the target matching image to the first client, so that the server can automatically share the target matching image with the position and/or the content of the reference image in the image of the server by a second client except the first client, the user does not need to select photos only from a large number of shared photos shared by friends, the time consumption is less, the user requirement is met, and the user experience is improved.
In order to implement the embodiments of fig. 1 to 9 described above, the present disclosure also provides an image processing apparatus. The image processing device is applicable to the first client.
Fig. 11 is a schematic structural diagram of an image processing apparatus according to an embodiment of the disclosure.
As shown in fig. 11, the image processing apparatus 1100 includes: an acquisition module 1110 and a presentation module 1120.
The obtaining module 1110 is configured to obtain, from a server, a target matching image in response to a target operation on a reference image, where the target matching image is a matching image that is shared by a second client other than the first client to the server and matches a position and/or content of the reference image; and the display module is used for displaying according to the target matching image.
As one possible implementation manner of the embodiment of the present disclosure, the obtaining module 1110 is further configured to send, to the server, a target instruction in response to a target operation on the reference image, where the target instruction carries content information of the reference image and/or location information of the reference image; and receiving a query response sent by the server, wherein the query response comprises the target matching image.
As one possible implementation of the embodiment of the present disclosure, the image processing apparatus 1100 further includes: a processing module and a generating module.
The processing module is used for responding to the triggering operation of the input control in the reference image display interface and acquiring the description text of the reference image; and the generation module is used for generating content information of the reference image according to the description text of the reference image and the image content of the reference image.
As a possible implementation manner of the embodiment of the present disclosure, the query response further includes account information of the target social account, and the image processing apparatus 1100 further includes: and a transmitting module.
The display module 1120 is further configured to display an account image in the account information; responding to target triggering operation of the account image, and displaying a chat window corresponding to the target social account; the obtaining module 1110 is further configured to obtain chat information input in the chat window; and the sending module is used for sending the chat information to a third client logged in by the target social account according to the identification of the target social account in the account information.
As one possible implementation manner of the embodiment of the present disclosure, the position of the reference image is a shooting position of the reference image, or a positioning position of the first client when the target operation is performed.
As one possible implementation of the embodiment of the present disclosure, the image processing apparatus 1100 further includes: a receiving module and an updating module.
The sending module is further used for responding to the image viewing operation and sending a viewing instruction to the server, wherein the viewing instruction is used for viewing at least one shared image shared by the first client to the server; the receiving module is also used for receiving a view response of the server, wherein the view response comprises at least one shared image and a shared state of the at least one shared image; the display module is also used for responding to the view response and displaying at least one shared image and the sharing state of the at least one shared image; an update module for transmitting a status update instruction to the server in response to a status update operation on at least one shared image; the state updating instruction is used for updating the sharing state of at least one sharing image.
The image processing device is applied to the first client, and the target matching image is obtained from the server by responding to the target operation on the reference image, wherein the target matching image is a matching image which is shared by a second client except the first client to the image of the server and matched with the position and/or the content of the reference image, and is displayed according to the target matching image.
In order to implement the embodiment of fig. 10 described above, the present disclosure also provides an image processing apparatus. Wherein the image processing apparatus is applicable to a server.
Fig. 12 is a schematic structural diagram of an image processing apparatus according to an embodiment of the disclosure.
As shown in fig. 12, the image processing apparatus 1200 includes: an acquisition module 1210, a query module 1220, and a transmission module 1230.
Wherein, the acquiring module 1210 is configured to acquire a position and/or content of a reference image from a first client; a query module 1220 for querying a target matching image matching a location and/or content of the reference image from an image shared to the server from a second client other than the first client; a sending module 1230 is configured to send the target matching image to the first client.
As a possible implementation manner of the embodiment of the present disclosure, the obtaining module 1210 is further configured to receive a target instruction sent by a first client, where the target instruction is sent by the first client in response to a target operation on a reference image, and the target instruction carries content information of the reference image and/or location information of the reference image; the query module 1220 is further configured to query, in response to the target instruction, a target matching image matching the location and/or content of the reference image from the image shared to the server by the second client other than the first client.
As one possible implementation manner of the embodiment of the present disclosure, the position of the reference image is a shooting position of the reference image, or a positioning position of the first client when the target operation is performed.
As a possible implementation manner of the embodiment of the present disclosure, the target instruction is further used to set the sharing state of the reference image.
As one possible implementation of the embodiment of the present disclosure, the image processing apparatus 1200 further includes: a receiving module and an updating module.
The receiving module is used for receiving a viewing instruction sent by the first client, wherein the viewing instruction is used for viewing at least one shared image shared by the first client to the server; an obtaining module 1210, further configured to obtain the at least one shared image in response to the viewing instruction; the sending module is further configured to send the view response to the first client, where the view response includes the at least one shared image and a sharing state of the at least one shared image; the receiving module is further configured to receive a status update instruction sent by the first client, where the status update instruction is configured to update a sharing status of the at least one shared image; and the updating module is also used for updating the sharing state of at least one sharing image in response to the state updating instruction.
As one possible implementation of the embodiment of the present disclosure, the image processing apparatus 1200 further includes: and setting a module.
The receiving module is further used for receiving a sharing instruction sent by the second client, wherein the sharing instruction carries a target image and is used for setting the sharing state of the target image; and the setting module is used for responding to the sharing instruction and setting the sharing state of the target image.
As a possible implementation manner of the embodiment of the present disclosure, the query module 1220 is further configured to obtain, from the target image, a target shared image with a shared state; and querying a target matching image matched with the content information of the reference image and/or the position information of the reference image from the target sharing image.
The image processing device is applied to a server and used for acquiring the position and/or the content of a reference image from a first client; querying a target matching image matched with the position and/or the content of a reference image from images shared to a server by a second client except the first client; and sending the target matching image to the first client, so that the server can automatically share the target matching image with the position and/or the content of the reference image in the image of the server by a second client except the first client, the user does not need to select photos only from a large number of shared photos shared by friends, the time consumption is less, the user requirement is met, and the user experience is improved.
In order to implement the above embodiments, the present disclosure also proposes an electronic device. The electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described in the embodiment of fig. 1-9 or to perform the method described in the embodiment of fig. 10.
To implement the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method described in the embodiment of fig. 1 to 9, or implements the method described in the embodiment of fig. 10.
To implement the above embodiments, the present disclosure also proposes a computer program product, which when executed by a processor, performs the method described in the embodiment of fig. 1 to 9, or performs the method described in the embodiment of fig. 10.
Fig. 13 is a block diagram of an electronic device, according to an example embodiment. For example, 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, an exercise device, a personal digital assistant, and the like.
Referring to fig. 13, an electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the electronic device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interactions between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 1306 provides power to the various components of the electronic device 1300. The power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1300.
The multimedia component 1308 includes a screen between the electronic device 1300 and the user that provides an output interface. In some embodiments, 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 a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. When the electronic device 1300 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the 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 peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of the electronic device 1300. For example, the sensor assembly 1314 may detect an on/off state of the electronic device 1300, a relative positioning of the components, such as a display and keypad of the electronic device 1300, the sensor assembly 1314 may also detect a change in position of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of a user's contact with the electronic device 1300, an orientation or acceleration/deceleration of the electronic device 1300, and a change in temperature of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communication between the electronic device 1300 and other devices, either wired or wireless. The electronic device 1300 may access a wireless network based on a communication standard, such as WiFi,4G, or 5G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 1304, including instructions executable by processor 1320 of electronic device 1300 to perform the above-described method. For example, 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.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is at least two, such as two, three, etc., unless explicitly specified otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.
Claims (18)
- An image processing method, applied to a first client, comprising:obtaining a target matching image from a server in response to a target operation on a reference image, wherein the target matching image is a matching image matched with the position and/or content of the reference image in an image shared to the server by a second client except the first client;and displaying according to the target matching image.
- The method of claim 1, wherein the obtaining the target matching image from the server in response to the target operation on the reference image comprises:responding to target operation on a reference image, and sending a target instruction to a server, wherein the target instruction carries content information of the reference image and/or position information of the reference image;And receiving a query response sent by the server, wherein the query response comprises the target matching image.
- The method according to claim 2, wherein the method further comprises:responding to the triggering operation of an input control in the reference image display interface, and acquiring a description text of the reference image;and generating content information of the reference image according to the description text of the reference image and the image content of the reference image.
- The method of claim 2, wherein the target instruction is further configured to set a sharing state of the reference image.
- The method of claim 2, wherein the query response further includes account information of a target social account; the method further comprises the steps of:displaying the account image in the account information;responding to target triggering operation of the account image, and displaying a chat window corresponding to the target social account;acquiring chat information input in the chat window;and sending the chat information to a third client logged in by the target social account according to the identification of the target social account in the account information.
- The method according to any one of claims 1-5, wherein the position of the reference image is a shooting position of the reference image or a positioning position of the first client when the target operation is performed.
- The method according to any one of claims 1-5, further comprising:transmitting a viewing instruction to the server in response to an image viewing operation, wherein the viewing instruction is used for viewing at least one shared image shared by the first client to the server;receiving a view response of the server, wherein the view response comprises the at least one shared image and a sharing state of the at least one shared image;responsive to the view response, displaying the at least one shared image and a sharing status of the at least one shared image;transmitting a status update instruction to the server in response to a status update operation on the at least one shared image; the state updating instruction is used for updating the sharing state of the at least one sharing image.
- An image processing method, applied to a server, comprising:Acquiring the position and/or the content of a reference image from a first client;querying a target matching image matched with the position and/or the content of the reference image from images shared to the server by a second client except the first client;and sending the target matching image to the first client.
- The method of claim 8, wherein the obtaining the location and/or content of the reference image from the first client comprises:receiving a target instruction sent by the first client, wherein the target instruction is sent by the first client in response to target operation on the reference image, and the target instruction carries content information of the reference image and/or position information of the reference image;accordingly, the querying, from the image shared to the server from the second client other than the first client, the target matching image matching the location and/or the content of the reference image includes:and responding to the target instruction, and inquiring a target matching image matched with the position and/or the content of the reference image from images shared to the server by a second client except the first client.
- The method of claim 9, wherein the location of the reference image is a capture location of the reference image or a location of the first client when the target operation is performed.
- The method of claim 9, wherein the target instruction is further configured to set a sharing state of the reference image.
- The method of claim 11, wherein the method further comprises:receiving a viewing instruction sent by the first client, wherein the viewing instruction is used for viewing at least one shared image shared by the first client to the server;acquiring the at least one shared image in response to the viewing instruction;sending the view response to the first client, wherein the view response comprises the at least one shared image and the sharing state of the at least one shared image;receiving a state update instruction sent by the first client, wherein the state update instruction is used for updating the sharing state of the at least one sharing image;and updating the sharing state of the at least one sharing image in response to the state updating instruction.
- The method according to any one of claims 8-12, further comprising:receiving a sharing instruction sent by the second client, wherein the sharing instruction carries a target image and is used for setting a sharing state of the target image;and setting the sharing state of the target image in response to the sharing instruction.
- The method of claim 13, wherein the querying, in response to the target instruction, a target matching image that matches content information of the reference image and/or location information of the reference image comprises:acquiring a target shared image with the shared state from the target image;and querying a target matching image matched with the content information of the reference image and/or the position information of the reference image from the target sharing image.
- An image processing apparatus, applied to a first client, comprising:an acquisition module, configured to acquire a target matching image from a server in response to a target operation on a reference image, where the target matching image is a matching image that is shared by a second client other than the first client to the server and matches a position and/or content of the reference image;And the display module is used for displaying according to the target matching image.
- An image processing apparatus, characterized by being applied to a server, comprising:the acquisition module is used for acquiring the position and/or the content of the reference image from the first client;a query module, configured to query, from an image shared to the server by a second client other than the first client, a target matching image that matches a location and/or content of the reference image;and the sending module is used for sending the target matching image to the first client.
- An electronic device, comprising:at least one processor; anda memory communicatively coupled to the at least one processor; wherein,the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7 or to perform the method of any one of claims 8-14.
- A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the method of any of claims 1-7 or performs the method of any of claims 8-14.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/090792 WO2023206576A1 (en) | 2022-04-29 | 2022-04-29 | Image processing method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117321586A true CN117321586A (en) | 2023-12-29 |
Family
ID=88516996
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202280004424.8A Pending CN117321586A (en) | 2022-04-29 | 2022-04-29 | Image processing methods and devices |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117321586A (en) |
| WO (1) | WO2023206576A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106341378A (en) * | 2015-07-15 | 2017-01-18 | 中兴通讯股份有限公司 | Chat establishing method, terminal, server and chat system |
| CN110297934A (en) * | 2019-07-04 | 2019-10-01 | 腾讯科技(深圳)有限公司 | A kind of image processing method, device and storage medium |
| CN110678861A (en) * | 2017-12-22 | 2020-01-10 | 谷歌有限责任公司 | Image selection advice |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5979396B2 (en) * | 2014-05-27 | 2016-08-24 | パナソニックIpマネジメント株式会社 | Image photographing method, image photographing system, server, image photographing device, and image photographing program |
| CN105989345A (en) * | 2015-02-28 | 2016-10-05 | 华为技术有限公司 | Method and device for discovering friends by image matching |
| CN106021455A (en) * | 2016-05-17 | 2016-10-12 | 乐视控股(北京)有限公司 | Image characteristic relationship matching method, apparatus and system |
| CN109918530A (en) * | 2019-03-04 | 2019-06-21 | 北京字节跳动网络技术有限公司 | Method and apparatus for pushing image |
-
2022
- 2022-04-29 CN CN202280004424.8A patent/CN117321586A/en active Pending
- 2022-04-29 WO PCT/CN2022/090792 patent/WO2023206576A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106341378A (en) * | 2015-07-15 | 2017-01-18 | 中兴通讯股份有限公司 | Chat establishing method, terminal, server and chat system |
| CN110678861A (en) * | 2017-12-22 | 2020-01-10 | 谷歌有限责任公司 | Image selection advice |
| CN110297934A (en) * | 2019-07-04 | 2019-10-01 | 腾讯科技(深圳)有限公司 | A kind of image processing method, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2023206576A1 (en) | 2023-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20180121040A1 (en) | Method and device for managing notification messages | |
| CN106897937B (en) | A method and apparatus for displaying social sharing information | |
| JP2017520809A (en) | Album display method and apparatus | |
| CN109600303B (en) | Content sharing method, device and storage medium | |
| CN104834665A (en) | Target picture acquiring method and device | |
| CN109521918B (en) | Information sharing method and device, electronic equipment and storage medium | |
| US11284127B2 (en) | Method and apparatus for pushing information in live broadcast room | |
| CN107562349B (en) | Method and device for executing processing | |
| US20220391446A1 (en) | Method and device for data sharing | |
| CN108108671A (en) | Description of product information acquisition method and device | |
| CN105242837B (en) | Five application page acquisition methods and terminal | |
| CN107729098B (en) | User interface display method and device | |
| CN106447747B (en) | Image processing method and device | |
| CN112528185A (en) | Comment information display method and device, server and terminal | |
| CN110020090A (en) | Consult the method and device of good friend's history sharing information | |
| CN106878654B (en) | Video communication method and device | |
| CN108027821B (en) | Method and device for processing pictures | |
| CN110213062B (en) | Method and device for processing message | |
| CN111177521A (en) | A method and device for determining a query word classification model | |
| CN112256890A (en) | Information display method, device, electronic device and storage medium | |
| CN109245992B (en) | Request processing method and device, electronic equipment and storage medium | |
| CN107239490B (en) | Method and device for naming face image and computer readable storage medium | |
| CN107169042B (en) | Method and device for sharing pictures and computer readable storage medium | |
| CN109120499B (en) | Information processing method and device | |
| CN114051157B (en) | Input method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |