CN113162845B - Image sharing method and device - Google Patents

Image sharing method and device Download PDF

Info

Publication number
CN113162845B
CN113162845B CN202110456270.3A CN202110456270A CN113162845B CN 113162845 B CN113162845 B CN 113162845B CN 202110456270 A CN202110456270 A CN 202110456270A CN 113162845 B CN113162845 B CN 113162845B
Authority
CN
China
Prior art keywords
social
account
image
social account
matching
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.)
Active
Application number
CN202110456270.3A
Other languages
Chinese (zh)
Other versions
CN113162845A (en
Inventor
郭阳敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110456270.3A priority Critical patent/CN113162845B/en
Publication of CN113162845A publication Critical patent/CN113162845A/en
Application granted granted Critical
Publication of CN113162845B publication Critical patent/CN113162845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Multimedia (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an image sharing method and device, and belongs to the technical field of communication. The image sharing method comprises the following steps: acquiring a first matching condition; wherein the first matching condition includes: establishing at least one of a social account with a friend relationship with the first social account, a first preset time period and a first preset area range; acquiring a second social account matched with the first matching condition; sending a first image to be shared to a third social contact account; wherein the third social account is at least one of the second social accounts.

Description

Image sharing method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to an image sharing method and device.
Background
With the rapid development of terminal equipment technology, more and more functions are integrated in the terminal equipment. Some terminal devices can not only collect images (such as taking photos or videos), but also transmit the images, so that image sharing among the devices is realized.
In the prior art, images are generally shared through social contact accounts, and when the images need to be shared to a plurality of social contact accounts, the images can be sequentially shared to each social contact account, in this case, firstly, a friend relationship needs to be established among the social contact accounts, secondly, a user needs to manually search the social contact accounts for sharing the images, and the operation is complicated; besides, the image sharing can be performed by establishing a social group, that is: images are shared in a social group, so that each social account in the group can acquire the shared images, but it is relatively troublesome to establish the social group.
As can be seen from the above, the two image sharing methods both have the problem of complicated operation.
Disclosure of Invention
The embodiment of the application aims to provide an image sharing method and device, and the problem that an image sharing mode in the prior art is complex to operate can be solved.
In a first aspect, an embodiment of the present application provides an image sharing method, which is applied to a first terminal, and the method includes:
acquiring a first matching condition; wherein the first matching condition comprises: establishing at least one of a social account with a friend relationship with the first social account, a first preset time period and a first preset area range;
acquiring a second social account matched with the first matching condition;
sending a first image to be shared to a third social contact account; wherein the third social account is at least one of the second social accounts.
In a second aspect, an embodiment of the present application provides an image sharing apparatus, which is applied to a first terminal, and the apparatus includes:
the first acquisition module is used for acquiring a first matching condition; wherein the first matching condition comprises: establishing at least one of a social account with a friend relationship with the first social account, a first preset time period and a first preset area range;
the first obtaining module is used for obtaining a second social account matched with the first matching condition;
the first sending module is used for sending the first image to be shared to the third social contact account; wherein the third social account is at least one of the second social accounts.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps in the image sharing method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the method for sharing an image according to the first aspect is implemented.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the image sharing method according to the first aspect.
According to the image sharing method and device, the social account to which the image to be shared can be shared is determined according to the time, the geographic position, the social account and other information, the operation that a user manually searches the social account for sharing the image or establishes a social group can be omitted while the sharing object is rapidly determined, and the image sharing operation is simpler and more convenient.
Drawings
Fig. 1 is a schematic flowchart of an image sharing method according to an embodiment of the present disclosure;
FIG. 2 is one of the schematic diagrams of social account relationships provided by embodiments of the present application;
fig. 3 is a schematic diagram of an image sharing process according to an embodiment of the present disclosure;
FIG. 4 is a second schematic diagram of social account relationships provided by an embodiment of the present application;
fig. 5 is a schematic block diagram of an image sharing apparatus according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of an electronic device provided by an embodiment of the application;
fig. 7 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in other sequences than those illustrated or otherwise described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense to distinguish one object from another, and not necessarily to limit the number of objects, e.g., the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The image sharing method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of an image sharing method according to an embodiment of the present disclosure, where the image sharing method is applied to a first terminal.
The image sharing method may include:
step 101: and acquiring a first matching condition.
The first matching condition is used for matching a sharing object (namely a social account) of the image to be shared. The first matching condition may include: at least one of the social accounts with the friend relationship with the first social account, the first preset time period and the first preset area range can be selected according to actual requirements. For example, the first matching condition may include the aforementioned two conditions of the first preset time period and the first preset area range, which in this case means: and the social accounts are in the range of the first preset area in the first preset time period. For another example, the first matching condition may include the aforementioned three conditions of the social account having the friend relationship with the first social account, the first preset time period, and the first preset area range, where the meaning of the three conditions is: and establishing a social account with a friend relationship with the first social account within a first preset area range in a first preset time period. Wherein, the more conditions included in the first matching condition, the more accurate the social account obtained by matching.
The image to be shared may include at least one of the following: pictures and videos.
The number of the first preset time periods is at least one, that is, the first matching condition may include one or more time periods. When the number of the first preset time periods is plural, the first preset time periods may be plural time periods on the same day, or may be plural time periods on different days. Each first preset time period corresponds to a first preset area range.
The first social account is a social account logged in on the first terminal, and the number of the first social accounts is at least one.
Step 102: and acquiring a second social account matched with the first matching condition.
In the embodiment of the application, after the first terminal obtains the first matching condition, the first terminal may obtain a social account (i.e., a second social account) matched with the first matching condition. Wherein the number of second social accounts may be at least one.
Step 103: and sending the first image to be shared to a third social account.
The third social account is at least one of the second social accounts. In the case where the number of the second social accounts is one, the third social account is the same as the second social account.
After the second social accounts matched with the first matching conditions are obtained, the first terminal can share the image to be shared (namely the first image) to at least one of the second social accounts.
According to the image sharing method and device, the social account to which the image to be shared can be shared is determined according to the time, the geographic position, the social account and other information, the operation that a user manually searches the social account for sharing the image or establishes a social group can be omitted while the sharing object is rapidly determined, and the image sharing operation is simpler and more convenient. In addition, the problem of exposing the social account information of each group member brought by group building can be avoided.
As an optional embodiment, in the embodiment of the present application, the first terminal may complete a matching process of obtaining the second social account according to the first matching condition, or the target server may complete a matching process of obtaining the second social account according to the first matching condition. Of course, the matching process may also be implemented partially by the target server and partially by the first terminal, and the specific situation may be set according to actual requirements.
In case the matching procedure is completed by the first terminal, the implementation procedure may be as follows:
the first terminal can obtain a second social contact account matched with the first matching condition according to the first matching condition and the first target information.
Wherein the first target information at least includes: the method comprises the steps of pre-storing geographic position information of other terminal equipment sent to a first terminal at different times and social account friend relation information of the first terminal.
Optionally, the other terminal devices may also send social account friend relationship information (i.e., friend social accounts of different social accounts) to the first terminal. Before sending, the social account information may be encrypted to improve the security of the social account information.
In the embodiment of the application, the first terminal can search the social account with the friend relationship established with the first social account in the first matching condition according to the stored friend relationship information of the social account. In addition, the other end devices may upload geographical location information at different times to the first terminal in advance for storage, so that the first terminal searches for a social account matched with the first preset time period and the first preset area range in the first matching condition.
In the case where the matching process is completed by the target server, the implementation process may be as follows:
the first terminal sends the first matching condition to the target server, after receiving the first matching condition sent by the first terminal, the target server searches the social accounts meeting the first matching condition according to the first matching condition, and sends the searched social accounts meeting the first matching condition (namely the second social accounts) to the first terminal.
The target server stores, in advance, social account friend relationship information (that is, friend social accounts of different social accounts) uploaded in advance by different terminal devices (including the first terminal and other terminal devices) and geographical location information of different times. In the embodiment of the application, each terminal device can upload the friend relation information of the social account to the target server in advance for storage, so that the target server searches the social account with the friend relation established with the social account in the matching condition when receiving the matching condition sent by the terminal device. In addition, each terminal device can also upload geographical location information of different time periods to the target server in advance to store, so that the target server searches for the social account matched with the preset time period and the preset area range in the matching condition.
As an alternative embodiment, the first matching condition may further include: first match verification information, the first match verification information including at least one of: and presetting operation information, text information and image information of the terminal equipment. The matching verification information may be default to the system or may be set by the user.
In the embodiment of the application, in order to improve matching accuracy and eliminate interference with the social account, additional matching information (namely, matching verification information) may be added to the first matching condition, that is, the matched social account (namely, the image sharing object) not only needs to satisfy at least one condition of a first preset time period, a first preset area range and a friend relationship established between the first social accounts, but also needs to satisfy the first matching verification information. For example, the first matching condition includes: under the conditions of the social contact account with a friend relationship established with the first social contact account, the first preset time period, the first preset area range and the first matching verification information, specifically, the first matching condition may be set as follows: 10 am on 10 d 4/10 2021: 00 to 12:00 The first matching verification information is obtained by establishing a friend relationship with the social account a (corresponding to a friend relationship with the first social account) within a distance range of 100m from a position x (corresponding to coordinates (x 1, y 1)) (corresponding to a first preset area range), and 'xx park daily tour' (corresponding to preset text information in the first matching verification information).
Optionally, the preset operation information on the terminal device may include at least one of the following: and the terminal equipment is turned on and off twice within a preset time length, and the terminal equipment is continuously shaken for preset times, and the like.
Optionally, in a case that the first matching condition includes the first matching verification information, acquiring the second social account matching the first matching condition may include:
acquiring a second terminal corresponding to a fourth social contact account matched with the sub-matching condition; acquiring corresponding second matching verification information of the second terminal; and determining a fourth social account corresponding to the second terminal with the second matching verification information matched with the first matching verification information as the second social account.
Wherein the sub-matching conditions include: the social contact account establishing method comprises the steps of establishing at least one of a friend relationship with a first social contact account, a first preset time period and a first preset area range in a first matching condition.
In this embodiment of the application, when the first matching condition includes the first matching verification information, a fourth social account may be determined according to other matching conditions except the first matching verification information in the first matching condition, where the determination of the fourth social account may be implemented by the first terminal or the target server. And then the first terminal acquires second matching verification information of the second terminal corresponding to the fourth social account. And finally, comparing the second matching verification information of the second terminal with the first matching verification information, and determining a fourth social account corresponding to the second terminal, matched with the first matching verification information, of the second matching verification information as the second social account. The first terminal can request the second terminal logged in with the fourth social contact account to acquire second matching verification information through the fourth social contact account.
It will be appreciated that the matching process described above may also be implemented entirely by the target server. In this case, each terminal device (including the terminal device sharing the image and the terminal device sharing the image) may upload the matching verification information to the target server for saving before image sharing, so as to perform condition matching. Specifically, a matching verification information uploading function can be set for the sharing function of the terminal device, so that the matching verification information is uploaded to the target server through the function. For example, after the user triggers the sharing control of the terminal device, two functions of "sharing" and "uploading the matching verification information" are displayed, and the user can select a required function according to the self requirement.
As an optional embodiment, the user may select a social account sharing the first image (i.e., the image to be shared) in the second social account according to a need of the user, and therefore, before sending the first image to be shared to the third social account, the method may further include:
the method comprises the steps of displaying a second social account, receiving first input of a user to the displayed second social account, and determining the second social account selected by the first input as a third social account in response to the first input.
In the embodiment of the application, after the first terminal obtains the second social contact accounts, the second social contact accounts can be displayed, and each second social contact account is set to be in a selectable state, so that the user can select (for example, through clicking touch operation and the like) the sharing object of the first image according to the self requirement. The sharing mode enables the user to have more operation rights so as to better meet the user requirements.
It can be understood that, in the embodiment of the application, after the first terminal obtains the second social contact accounts, all the second social contact accounts may also be used as sharing objects of the first image by default, and the first image is automatically shared to each second social contact account, so that an operation of manual selection by a user may be omitted.
As an alternative embodiment, the first preset area range may be an area range manually set by a user, for example, if a target geographic location is manually selected and a target distance is manually set, the first terminal may determine an area within a target distance range from the target geographic location as the first preset area range, and the implementation manner may be summarized as follows:
the first terminal receives a second input of the user and determines a first preset area range according to the first geographical position and the first distance selected by the second input in response to the second input.
The first preset area range is an area within a first distance range from the first geographical position.
As an optional embodiment, the first preset area range may also be determined by the first terminal according to the geographical location information of the first terminal within the first preset time period. The implementation thereof can be summarized as follows:
and under the condition that the number of the geographical positions of the first terminal in the first preset time period is one, determining an area within a second distance range from the second geographical position as a first preset area range. The second geographic location is a geographic location where the first terminal is located within a first preset time period, and the second distance is a default distance value or a distance value set by a user.
The method comprises the steps that the number of the geographic positions of a first terminal in a first preset time period is multiple, and an area within a third distance range from a third geographic position is determined to be a first preset area range. The third geographic location is a geographic location corresponding to an average coordinate value of all geographic locations where the first terminal is located within a first preset time period, and the third distance is a default distance value or a distance value set by a user, and may be the same as or different from the second distance.
The first terminal can record the geographical position information of the first terminal and the corresponding time information once every preset time. The geographical location information is generally longitude and latitude information obtained based on a Global Positioning System (GPS).
As an alternative embodiment, the first matching condition may be set by the user on the first terminal. Thus, in step 101: before the first matching condition is obtained, the method may further include:
the first terminal receives a third input of the user to the sharing control, and responds to the third input to display a matching condition setting interface; and receiving a fourth input performed by the user on the matching condition setting interface, and determining the matching condition set by the fourth input as the first matching condition in response to the fourth input.
In the embodiment of the application, after the user triggers the sharing control, a matching condition setting interface can be displayed, and at least one of a time period setting item, an area range setting item, a social account setting item and the like is displayed on the interface so as to set matching conditions such as a time period, an area range, a social account relationship and the like. In addition, under the condition that the first matching condition further includes the first matching verification information, a matching verification information setting item can be displayed on the interface, and a user can select whether to set the matching verification information according to the requirement of the user.
As an alternative embodiment, in step 103: before sending the first image to be shared to the third social account, the method may further include: adding the target indication information to the first image. Accordingly, step 103: sending the first image to be shared to the third social account may include: and sending the first image added with the target indication information to a third social account.
The target indication information is used for indicating that the terminal device receiving the first image can acquire a fifth social account to which the first image can be shared without sending a matching condition, where a friend relationship is not established between the fifth social account and the first social account.
And the fifth social account to which the first image can be shared is determined according to the relationship of the first social account. The first social account relationship is determined according to the first matching condition and friend relationship information of each social account (namely, the social account information with established friend relationships corresponding to different social accounts). The first social account relationship includes: the social accounts capable of receiving the first images and the social accounts to which the first images corresponding to the social accounts capable of receiving the first images can be shared are provided.
In the embodiment of the present invention, in addition to searching for the social accounts meeting the first matching condition, the first terminal or the target server may determine all social accounts to which the first image can be shared according to the first matching condition and the social account friend relationship information sent by each terminal device in advance, and a social account relationship network (i.e., a first social account relationship) is formed between the social accounts. When other terminal devices request to acquire the social account to which the first image can be shared, the first terminal or the target server can quickly find the corresponding social account according to the social account relationship network.
For example, the target server 301 may determine that the first terminal 302 may share the first image with the social account a and the social account B of the app a according to the social account relationship network shown in fig. 2, and then feed back the matching result to the first terminal 302. The first terminal 302 receives the matching result and displays the matching result, as shown in fig. 3. The social account relationship network shown in fig. 2 shows social accounts to which the first image corresponding to the social account a can be shared (i.e., the social account C of the application a and the social account D of the application B), and social accounts to which the first image corresponding to the social account B can be shared (i.e., the social account E of the application B and the social account F of the application C). Assuming that the first terminal 302 sends the first image to the social account a, and the social account a logs in the second terminal 303, the second terminal 303 may send a request to the target server 301 to obtain a matching result, and the target server 301 obtains corresponding social account information according to the social account relationship network shown in fig. 2 and feeds the social account information back to the second terminal 303. After receiving the matching result sent by the target server 301, the second terminal 303 displays the matching result, as shown in fig. 3.
In the embodiment of the application, the first terminal can add the target indication information into the first image before sharing the first image with other terminal devices, so that for the other terminal devices receiving the first image, the social account to which the first image can be shared can be requested from the first terminal or the target server according to the target indication information of the first image under the condition that the matching condition is not sent, the operation that a user manually sets the matching condition is omitted, and the image sharing operation is more convenient. In addition, the image sharing method and the image sharing device can share the image in a step-by-step sharing mode on the basis of the original friend relationship, a group does not need to be established for sharing the image, a new friend account does not need to be added for sharing the image, and the image sharing operation is further facilitated.
Alternatively, in a case where the matching process is implemented by the target server, the first terminal may upload the target indication information to the target server after adding the target indication information to the first image. When other terminal devices receive the first image and want to share the first image with other social accounts, the target indication information can be extracted from the first image and sent to the target server, so that the target server can determine the corresponding social account relation according to the target indication information and search the corresponding social accounts for the other terminal devices under the condition that the other terminal devices do not send the matching conditions.
Optionally, under the condition that the matching process is implemented by the first terminal, when other terminal devices receive the first image and want to share the first image with other social accounts, the target indication information may be extracted from the first image, and the target indication information is sent to the first terminal, so that the first terminal may determine the corresponding social account relationship according to the target indication information and search the corresponding social accounts for the other terminal devices under the condition that the other terminal devices do not send the matching condition.
As an optional embodiment, in a case that the matching process is implemented by the target server, the first terminal may further send, to the target server, a social account having a friend relationship with the first social account in a process of sending the first matching condition to the target server.
In the embodiment of the application, in order to facilitate the target server to search the social accounts meeting the first matching condition, the first terminal may send the social account information with the friend relationship established with the first social account to the target server while sending the first matching condition to the target server, so that the target server screens out the social accounts meeting other conditions in the first matching condition directly according to the social account information sent by the first terminal, and an operation of the target server determining the social accounts with the friend relationship established with the first social account is omitted.
The foregoing description is directed to the first terminal as the first sharer of the image, and the following description is further directed to the case where the first terminal is the sharee of the image and the matching process is implemented by the target server.
Wherein, the method can also comprise:
receiving a second image sent by a third terminal through a fifth social contact account; receiving a fifth input of the user, and responding to the fifth input, and sending a sharing request to the target device; receiving a sixth social account determined by the target device according to the sharing request and the second social account relationship; and sending the second image to a seventh social account.
The target device is a target server or a terminal device which shares the second image for the first time.
The sharing request is used for requesting to acquire a social account which corresponds to the first terminal and to which the second image can be shared.
And the fifth social account is determined by the target device according to the second matching condition.
Wherein the second matching condition includes: and establishing a social account which is within a second preset area range within a second preset time period and has a friend relationship with the eighth social account. For the explanation of the second matching condition, the explanation of the first matching condition can be referred to, and the explanation is omitted here.
The second image is added with target indication information, and the target indication information is used for indicating that the terminal device receiving the second image can acquire the social account to which the second image can be shared from the target device under the condition that the matching condition is not sent. And the social account to which the second image can be shared is determined by the target device according to a second social account relationship, and the second social account relationship is determined by the target device according to the second matching condition and social account friend relationship information sent by each terminal device in advance. The second social account relationship includes: the social accounts capable of receiving the second images and the social accounts to which the second images corresponding to the social accounts capable of receiving the second images can be shared.
The seventh social account is at least one of the sixth social accounts.
As an alternative embodiment, in case the matching procedure is implemented by the target server, the first terminal may send the second target information to the target server.
Wherein, the second target information may include: the first terminal is located at different time, the ninth social account and the social account with the friend relationship with the ninth social account.
Wherein, the ninth social account includes at least one social account.
In the embodiment of the application, the first terminal can acquire and record the geographical position information and the corresponding time information of the first terminal once every first preset time, and upload the geographical position information and the corresponding time information to the target server for storage. The first terminal can also obtain the ninth social contact account and the social contact account with the friend relationship established in the ninth social contact account once every second preset time, and upload the ninth social contact account and the social contact account to the target server for storage. The first terminal uploads the first target information to the target server, so that the target server can conveniently search the social account meeting the matching condition.
Optionally, when the first terminal sends the social account information (e.g., the first social account, the social account with the friend relationship established with the first social account, the ninth social account, the social account with the friend relationship established with the ninth social account, and the like) to the target server, the social account information may be encrypted to improve the security of the social account information.
Finally, in order to better understand the technical solutions provided in the embodiments of the present application, the following further explains the embodiments with an example. Wherein the matching process is implemented by the target server in this example.
Suppose that user A, user B, user C, user D, and user E have joined a birthday party. User a has obtained a picture x during the birthday party that needs to be shared with user B, user C, user D and user E.
Assume again that the user a corresponds to a social account a, the user B corresponds to a social account B, the user C corresponds to a social account C, the user D corresponds to a social account D, and the user E corresponds to a social account E. The friend relationship is established between the social account a and the social accounts b and c, the friend relationship is established between the social account b and the social accounts d and e, and the friend relationship is not established between the social accounts d and e and the social accounts a. The social relationships between the five social accounts are shown in FIG. 4:
based on the image sharing method provided by the embodiment of the application, the picture x can be shared in the following manner:
the user A sends a first matching condition (such as a first preset time period, a first preset area range and a social account establishing a friend relationship with the social account a) to the target server through the first terminal, and the target server returns the social account matched with the first matching condition to the first terminal. Assuming that the social account returned by the target server includes a social account b and a social account c, the user may share the photo x to the social account b and the social account c through the social account a.
Since social account a is not associated with social account d and social account e, photograph x cannot be sent to social account d and social account e through social account a. However, the social account b has a friend relationship with the social account d and the social account e, so that the photo x can be shared to the social account d and the social account e through the social account b when the social account a does not have a friend relationship with the social account d and the social account e.
After the second terminal receives the photo x shared by the first terminal through the social account b, when the second terminal shares the photo x to the social account d and the social account e, the following two schemes can be adopted, respectively:
the first scheme is as follows: and the second terminal sends a second matching condition (a first preset time period, a first preset area range and a social account establishing a friend relationship with the social account b) to the target server, and then shares the photo x according to a return result of the target server. Wherein the time period condition and the area range condition in the first matching condition and the second matching condition are the same.
Scheme II: after the first terminal sends the first matching condition to the target server, the target server may determine all social accounts to which the photo x may be shared (the social accounts need to satisfy the conditions of the first preset time period and the first preset area range) according to the first matching condition and the friend relationship information of the social accounts sent to the target server by different terminal devices in advance, and relationships between the social accounts are similar to those shown in fig. 4. In this way, when the second terminal shares the photo x, a sharing request (excluding the matching condition) may be directly sent to the target server, and the target server may directly return, to the second terminal, the social accounts (such as the social account d and the social account e) meeting the conditions of the first preset time period, the first preset area range, and the social account with the friend relationship established with the social account b according to the sharing request.
In order to determine whether the sharing request sent by the second terminal is a sharing request for the photo x, the first terminal may add indication information (i.e., the aforementioned target indication information) to the photo x before sharing the photo x, and upload the indication information to the target server. In this way, when the second terminal shares the photo x, the second terminal can extract the indication information from the photo x, add the indication information to the sharing request, and send the indication information to the target server, so that the target server performs analysis and judgment.
The above is a description of the example, and it should be noted that the example is only for illustration and is not the only limitation to the embodiments of the present application.
In summary, in the embodiment of the application, the social account to which the image to be shared can be shared is determined according to the time, the geographic position, the social account and other information, and when the sharing object is rapidly determined, the operation of manually searching the social account for sharing the image or the operation of establishing the social group by the user can be omitted, so that the image sharing operation is simpler and more convenient. In addition, the image sharing method and the image sharing device can share the image in a step-by-step sharing mode on the basis of the original friend relationship, a group does not need to be established for sharing the image, a new friend account does not need to be added for sharing the image, and the image sharing operation is further facilitated.
It should be noted that in the image sharing method provided in the embodiment of the present application, the execution main body may be an image sharing device, or a control module in the image sharing device for executing the image sharing method. The image sharing device provided by the embodiment of the present application is described with an example in which the image sharing device executes an image sharing method.
Fig. 5 is a schematic block diagram of an image sharing apparatus according to an embodiment of the present disclosure, where the image sharing apparatus is applied to a first terminal.
As shown in fig. 5, the image sharing apparatus may include:
a first obtaining module 501, configured to obtain a first matching condition.
Wherein the first matching condition comprises: the social contact account establishing method comprises the steps of establishing at least one of a social contact account with a friend relation with a first social contact account, a first preset time period and a first preset area range.
A second obtaining module 502, configured to obtain a second social account matching the first matching condition.
The sending module 503 is configured to send the first image to be shared to the third social account.
Wherein the third social account is at least one of the second social accounts.
As an optional embodiment, the first matching condition further comprises: the first matching verification information.
Wherein the first match verification information includes at least one of: and presetting operation information, text information and image information for the terminal equipment.
As an alternative embodiment, the second obtaining module 502 includes:
and the first acquisition unit is used for acquiring the second terminal corresponding to the fourth social account matched with the sub-matching condition.
Wherein the sub-matching condition comprises: at least one of a social account, a first preset time period and a first preset area range, which has a friend relationship with the first social account, in the first matching condition.
And the second acquisition unit is used for acquiring corresponding second matching verification information of the second terminal.
The determining unit is configured to determine a fourth social account corresponding to the second terminal, where the second matching verification information matches the first matching verification information, as the second social account.
As an alternative embodiment, the apparatus further comprises:
a display module to display the second social account.
A receiving module, configured to receive a first input of the second social account displayed by a user.
A determination module to determine the second social account selected by the first input as the third social account in response to the first input.
As an alternative embodiment, the apparatus further comprises:
and the information adding module is used for adding target indication information to the first image.
The target indication information is used for indicating that the terminal equipment receiving the first image can acquire a fifth social account to which the first image can be shared under the condition that a matching condition is not sent; and a friend relationship is not established between the fifth social contact account and the first account social contact.
The first transmitting module includes:
a sending unit, configured to send the first image added with the target indication information to the third social account.
According to the image sharing method and device, the social account to which the image to be shared can be shared is determined according to the time, the geographic position, the social account and other information, the operation that a user manually searches the social account for sharing the image or establishes a social group can be omitted while the sharing object is rapidly determined, and the image sharing operation is simpler and more convenient.
The image sharing device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Network Attached Storage (NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The image sharing device applied to the first terminal in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The image sharing device provided in the embodiment of the present application can implement each process implemented by the image sharing method embodiment shown in fig. 1, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 6, an embodiment of the present application further provides an electronic device 600, including: the processor 601 and the memory 602 are stored in the memory 602, and a program or an instruction that is stored in the memory 602 and can be executed on the processor 601 is executed by the processor 601 to implement each process of the above-mentioned image sharing method embodiment, and the same technical effect can be achieved.
It should be noted that the electronic device 600 in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein the processor 710 is configured to: acquiring a first matching condition; acquiring a second social account matched with the first matching condition; and sending the first image to be shared to a third social account.
Wherein the first matching condition includes: establishing at least one of a social account with a friend relationship with the first social account, a first preset time period and a first preset area range; the third social account is at least one of the second social accounts.
As an optional embodiment, the first matching condition further comprises: first matching verification information; the first match verification information includes at least one of: and presetting operation information, text information and image information for the terminal equipment.
In the case that the first matching condition includes the first matching verification information, the processor 710 is further configured to: acquiring a second terminal corresponding to a fourth social contact account matched with the sub-matching condition; acquiring corresponding second matching verification information of the second terminal; and determining a fourth social account corresponding to the second terminal, in which the second matching verification information is matched with the first matching verification information, as the second social account.
Wherein the sub-matching conditions include: and at least one of a social account, a first preset time period and a first preset area range, which has a friend relationship with the first social account, in the first matching condition.
As an optional embodiment, before sending the first image to be shared to the third social account, the display unit 706 is configured to display the second social account, and the processor 710 is further configured to: after the user input unit 707 receives a first input by the user to the second social account displayed by the display unit 706, the second social account selected by the first input is determined as the third social account in response to the first input.
As an optional embodiment, before sending the first image to be shared to the third social account, the processor 710 is further configured to: adding target indication information to the first icon, and sending the first image added with the target indication information to the third social account.
The target indication information is used for indicating that the terminal equipment receiving the first image can acquire a fifth social account to which the first image can be shared under the condition that a matching condition is not sent; a friend relationship is not established between the fifth social account and the first social account.
According to the method and the device, the social account to which the image to be shared can be shared is determined according to the time, the geographic position, the social account and other information, the operation that a user manually searches the social account for sharing the image or establishes a social group can be omitted while the sharing object is rapidly determined, and the image sharing operation is simpler and more convenient.
It should be understood that, in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or a video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the image sharing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is configured to run a program or an instruction, implement each process of the above-mentioned image sharing method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (10)

1. An image sharing method is applied to a first terminal, and is characterized by comprising the following steps:
acquiring a first matching condition; wherein the first matching condition includes: establishing at least one of a social account with a friend relationship with the first social account, a first preset time period and a first preset area range;
acquiring a second social account matched with the first matching condition;
sending a first image to be shared to a third social contact account; wherein the third social account is at least one of the second social accounts;
before sending the first image to be shared to the third social account, the method further includes:
adding target indication information to the first image;
the target indication information is used for indicating that the terminal equipment receiving the first image can acquire a fifth social account to which the first image can be shared under the condition that a matching condition is not sent; a friend relationship is not established between the fifth social contact account and the first social contact account, and the fifth social contact account is a social contact account to which the image of the third social contact account can be shared;
the sending the first image to be shared to the third social account includes:
sending the first image added with the target indication information to the third social account.
2. The image sharing method according to claim 1, wherein the first matching condition further includes: first matching verification information;
wherein the first match verification information includes at least one of: and presetting operation information, text information and image information for the terminal equipment.
3. The image sharing method according to claim 2, wherein, in a case where the first matching condition includes the first matching verification information, the obtaining a second social account matching the first matching condition includes:
acquiring a second terminal corresponding to a fourth social contact account matched with the sub-matching condition; wherein the sub-matching conditions include: at least one of a social account, a first preset time period and a first preset area range, which have a friend relationship with the first social account, in the first matching condition;
acquiring corresponding second matching verification information of the second terminal;
and determining a fourth social account corresponding to the second terminal with the second matching verification information matched with the first matching verification information as the second social account.
4. The image sharing method according to claim 1, wherein before the sending the first image to be shared to the third social account, the method further comprises:
displaying the second social account;
receiving a first input of a user to the displayed second social account;
in response to the first input, determining the second social account selected by the first input as the third social account.
5. The utility model provides an image sharing device, is applied to first terminal, its characterized in that, the device includes:
the first acquisition module is used for acquiring a first matching condition; wherein the first matching condition includes: establishing at least one of a social account with a friend relationship with the first social account, a first preset time period and a first preset area range;
the second acquisition module is used for acquiring a second social account matched with the first matching condition;
the sending module is used for sending the first image to be shared to the third social contact account; wherein the third social account is at least one of the second social accounts;
wherein the apparatus further comprises:
the information adding module is used for adding target indication information to the first image;
the target indication information is used for indicating that the terminal device receiving the first image can acquire a fifth social account to which the first image can be shared under the condition that a matching condition is not sent; a friend relationship is not established between the fifth social contact account and the first social contact account, and the fifth social contact account is a social contact account to which the image of the third social contact account can be shared;
the sending module comprises:
a sending unit, configured to send the first image added with the target indication information to the third social account.
6. The image sharing apparatus according to claim 5, wherein the first matching condition further comprises: first matching verification information;
wherein the first match verification information includes at least one of: and presetting operation information, text information and image information for the terminal equipment.
7. The image sharing apparatus according to claim 6, wherein the second obtaining module comprises:
the first obtaining unit is used for obtaining a second terminal corresponding to a fourth social contact account matched with the sub-matching condition; wherein the sub-matching condition comprises: at least one of a social account, a first preset time period and a first preset area range, which have a friend relationship with the first social account, in the first matching condition;
a second obtaining unit, configured to obtain corresponding second matching verification information of the second terminal;
and the determining unit is used for determining a fourth social account corresponding to the second terminal, matched with the first matching verification information, of the second matching verification information as the second social account.
8. The image sharing apparatus according to claim 5, wherein the apparatus further comprises:
a display module to display the second social account;
a receiving module, configured to receive a first input of the second social account displayed by a user;
a determination module to determine, in response to the first input, the second social account selected by the first input as the third social account.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the image sharing method according to any one of claims 1 to 4.
10. A readable storage medium, storing thereon a program or instructions which, when executed by a processor, implement the steps in the image sharing method according to any one of claims 1 to 4.
CN202110456270.3A 2021-04-26 2021-04-26 Image sharing method and device Active CN113162845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110456270.3A CN113162845B (en) 2021-04-26 2021-04-26 Image sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110456270.3A CN113162845B (en) 2021-04-26 2021-04-26 Image sharing method and device

Publications (2)

Publication Number Publication Date
CN113162845A CN113162845A (en) 2021-07-23
CN113162845B true CN113162845B (en) 2022-12-27

Family

ID=76871056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110456270.3A Active CN113162845B (en) 2021-04-26 2021-04-26 Image sharing method and device

Country Status (1)

Country Link
CN (1) CN113162845B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100968A (en) * 2016-05-26 2016-11-09 努比亚技术有限公司 A kind of information sharing method and terminal
CN106789589A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 One kind shares processing method, device and terminal
CN110535754A (en) * 2019-08-29 2019-12-03 维沃移动通信有限公司 Images share method and device
CN111064892A (en) * 2019-12-26 2020-04-24 上海擎感智能科技有限公司 Automatic image sharing method and system, electronic device and storage medium
CN112533072A (en) * 2020-11-25 2021-03-19 维沃移动通信有限公司 Image sending method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291329A (en) * 2011-08-16 2011-12-21 青牛(北京)技术有限公司 Method and system for sharing data content
CN105847111A (en) * 2016-02-29 2016-08-10 北京小米移动软件有限公司 Method and device for adding friend
CN111708635A (en) * 2020-06-16 2020-09-25 深圳天海宸光科技有限公司 Video intelligent grading processing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100968A (en) * 2016-05-26 2016-11-09 努比亚技术有限公司 A kind of information sharing method and terminal
CN106789589A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 One kind shares processing method, device and terminal
CN110535754A (en) * 2019-08-29 2019-12-03 维沃移动通信有限公司 Images share method and device
CN111064892A (en) * 2019-12-26 2020-04-24 上海擎感智能科技有限公司 Automatic image sharing method and system, electronic device and storage medium
CN112533072A (en) * 2020-11-25 2021-03-19 维沃移动通信有限公司 Image sending method and device and electronic equipment

Also Published As

Publication number Publication date
CN113162845A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
US9477687B2 (en) Mobile terminal and metadata setting method thereof
US9584694B2 (en) Predetermined-area management system, communication method, and computer program product
US11886495B2 (en) Predictively presenting search capabilities
KR20120033846A (en) Apparatus and method for providing augmented reality using virtual object
EP2458820A1 (en) Apparatus and method for sharing captured data in portable terminal
CN104123339A (en) Method and device for image management
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN111601066A (en) Information acquisition method and device and electronic equipment
TWI642002B (en) Method and system for managing viewability of location-based spatial object
CN106506771B (en) Contact object classification display method and device and mobile terminal
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
KR20150112789A (en) Method for sharing data of electronic device and electronic device thereof
US10028088B2 (en) Method for providing on-demand digital representations to mobile devices in other geographic locations
US10178305B2 (en) Imaging apparatus and method to capture images based on recommended applications
CN113162845B (en) Image sharing method and device
CN111817944A (en) Picture sharing method and device and electronic equipment
CN111813741B (en) File sharing method and electronic equipment
CN115134316B (en) Topic display method, device, terminal and storage medium
KR20110136084A (en) Apparatus and method for searching of content in a portable terminal
CN112565597A (en) Display method and device
CN112287131A (en) Information interaction method and information interaction device
CN112019686A (en) Display method and device and electronic equipment
CN110447000A (en) Terminal passes through picture searching VR resource
CN112084151A (en) File processing method and device and electronic equipment
CN113705722B (en) Method, device, equipment and medium for identifying operating system version

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
GR01 Patent grant
GR01 Patent grant