CN111159440A - Picture synchronization method and device and electronic equipment - Google Patents

Picture synchronization method and device and electronic equipment Download PDF

Info

Publication number
CN111159440A
CN111159440A CN201911329896.7A CN201911329896A CN111159440A CN 111159440 A CN111159440 A CN 111159440A CN 201911329896 A CN201911329896 A CN 201911329896A CN 111159440 A CN111159440 A CN 111159440A
Authority
CN
China
Prior art keywords
picture
electronic device
synchronization
target
electronic equipment
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
Application number
CN201911329896.7A
Other languages
Chinese (zh)
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 CN201911329896.7A priority Critical patent/CN111159440A/en
Publication of CN111159440A publication Critical patent/CN111159440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

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)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a picture synchronization method, a picture synchronization device and electronic equipment, and is applied to the technical field of mobile electronic equipment. The method includes the steps of receiving a first input, responding to the first input, creating a sharing group according to at least one second electronic device identifier indicated by the first input, determining a target synchronization mode aiming at a first picture in the first electronic device, determining a target electronic device according to the target synchronization mode, and synchronizing the first picture to the target electronic device in the sharing group. Because the first electronic device can automatically and directionally synchronize the first picture to the corresponding target electronic device based on the target synchronization mode, the picture synchronization can be realized only by creating the sharing group by the user, so that the operation process of the picture synchronization is simplified, and the efficiency of the picture synchronization is improved.

Description

Picture synchronization method and device and electronic equipment
Technical Field
The invention relates to the technical field of mobile electronic equipment, in particular to a picture synchronization method and device and electronic equipment.
Background
It is now very common for people to take pictures using mobile phones. When the mobile phone is used for playing with a friend outside, the mobile phone can be used for shooting landscape pictures, and the mobile phone can also be used for shooting the pictures of the friend. However, when the photos taken during the game are synchronized to the friends, the process is cumbersome.
In the prior art, when pictures need to be synchronized for a plurality of friends, a user needs to transfer photos on a mobile phone to a computer, then the photos are sequentially connected with electronic equipment used by each friend, then the photos needing to be shared with the specified friends are obtained from the transferred photos, and are copied and sent, and the whole synchronization process is complex in operation and low in efficiency.
Disclosure of Invention
The embodiment of the invention provides a picture synchronization method, a picture synchronization device and electronic equipment, which can solve the problems of complex operation and low efficiency in picture synchronization.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides a picture synchronization method, which is applied to a first electronic device, and the method includes:
receiving a first input;
responding to the first input, and creating a sharing group according to at least one second electronic equipment identifier indicated by the first input; the sharing group comprises the first electronic device and the at least one second electronic device;
determining a target synchronization mode for a first picture in the first electronic device, and determining a target electronic device corresponding to the target synchronization mode in the at least one second electronic device according to the target synchronization mode;
and synchronizing the first picture to the target electronic equipment in the sharing group.
In a second aspect, an embodiment of the present invention further provides a picture synchronization method, which is applied to a second electronic device, and the method includes:
receiving a first picture synchronized by first electronic equipment in a sharing group;
the sharing group is created by the first electronic device according to a second electronic device identifier, and comprises the first electronic device and the second electronic device; the first picture is transmitted by the first electronic device when the second electronic device is a target electronic device corresponding to the target synchronization mode.
In a third aspect, an embodiment of the present invention further provides a picture synchronization apparatus, applied to a first electronic device, where the apparatus includes:
the first receiving module is used for receiving a first input;
the first establishing module is used for responding to the first input and establishing a sharing group according to at least one second electronic equipment identifier indicated by the first input; the sharing group comprises the first electronic device and the at least one second electronic device;
the first determining module is used for determining a target synchronization mode aiming at a first picture in the first electronic equipment and determining target electronic equipment corresponding to the target synchronization mode in the at least one second electronic equipment according to the target synchronization mode;
and the first synchronization module is used for synchronizing the first picture to the target electronic equipment in the sharing group.
In a fourth aspect, an embodiment of the present invention further provides a picture synchronization apparatus, applied to a second electronic device, where the apparatus includes:
the first receiving module is used for receiving a first picture synchronized by first electronic equipment in the sharing group according to a target synchronization mode;
the storage module is used for storing the first picture; the sharing group is created by the first electronic device according to a second electronic device identifier, and comprises the first electronic device and the second electronic device; the first picture is transmitted by the first electronic device when the second electronic device is a target electronic device corresponding to the target synchronization mode.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the picture synchronization method according to the first aspect or the second aspect.
In a sixth aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the picture synchronization method according to the first aspect or the second aspect.
To sum up, the picture synchronization method provided in the embodiments of the present invention receives a first input, responds to the first input, and creates a sharing group according to at least one second electronic device identifier indicated by the first input, where the sharing group includes a first electronic device and at least one second electronic device, then determines a target synchronization manner for a first picture in the first electronic device, determines a target electronic device according to the target synchronization manner, and finally synchronizes the first picture to the target electronic device in the sharing group. Because the first electronic device can automatically and directionally synchronize the first picture to the corresponding target electronic device based on the target synchronization mode, the picture synchronization can be realized only by creating the sharing group by the user, so that the operation process of the picture synchronization is simplified, and the efficiency of the picture synchronization is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of a picture synchronization method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of another method for picture synchronization according to an embodiment of the present invention;
FIG. 3-1 is a flowchart illustrating steps of another method for synchronizing pictures according to an embodiment of the present invention;
fig. 3-2 is a flowchart illustrating an operation of creating a sharing group according to an embodiment of the present invention;
fig. 3-3 is a flowchart illustrating another operation of creating a sharing group according to an embodiment of the present invention;
FIGS. 3-4 are flow diagrams illustrating operations of synchronizing pictures according to embodiments of the present invention;
FIGS. 3-5 are flow diagrams illustrating operations of still another embodiment of the present invention for synchronizing pictures;
fig. 4 is a block diagram of a picture synchronization apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of another image synchronization apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of steps of a picture synchronization method provided in an embodiment of the present invention, where the method may be applied to a first electronic device, and as shown in fig. 1, the method may include:
step 101, a first input is received.
In the embodiment of the present invention, the first input may be a selection operation on at least one second electronic device identifier, where the selection operation may be a single click, a double click, a long press, or the like. The user may execute a first input when the user needs to create the sharing group for image synchronization, and accordingly, the first electronic device may receive the first input. For example, the first input may be performed in creating a sharing group interface. The interface for creating the sharing group may be preset, and is used to display an interface of the identifier of the second electronic device. The specific style of the interface for creating the sharing group may be set based on actual requirements, which is not limited in the embodiment of the present invention. The identifier of the second electronic device displayed in the interface may be pre-stored in the first electronic device, or may be manually input by the user. The identification may be a tag that is capable of uniquely representing the second electronic device. For example, the identifier may be a mobile phone number, a network address, a social application account, and the like, which is not specifically limited in this embodiment of the present invention.
Further, the create sharing group interface may be displayed when a user triggers an interface display function, which may be triggered by a create sharing group button. For example, the first electronic device may receive an input operation of a user on a create sharing group button, and in response to the input operation, display a create sharing group interface. The display position and the style of the create-share group button may be preset, for example, the create-share group button may be set in an album or in a file management interface, and the specific style of the create-share group button may be a circle or a square, which is not limited in the embodiment of the present invention. Of course, the interface display function may be triggered in other ways, such as by gesture, voice, etc.
Step 102, in response to the first input, creating a sharing group according to at least one second electronic device identifier indicated by the first input.
In the embodiment of the invention, the second electronic equipment identifier indicated by the first input is the second electronic equipment identifier selected by the first input. When a sharing group is created, the second electronic device corresponding to the identifier of the second electronic device indicated by the first input instruction and the first electronic device may be used as group members of the same group, a group creation request including the identifiers of the electronic devices is sent to the background server, and accordingly, the background server divides the electronic devices into the same group according to the identifiers and returns group information, thereby creating the sharing group. Of course, the sharing group including the first electronic device and the second electronic devices may also be created in other manners, which is not limited in the embodiment of the present invention.
Step 103, determining a target synchronization mode for the first picture in the first electronic device, and determining a target electronic device corresponding to the target synchronization mode in the at least one second electronic device according to the target synchronization mode.
In the embodiment of the present invention, the first picture may be a picture currently taken by the first electronic device, or may be a picture pre-stored in the first electronic device, and the pre-stored pictures may be downloaded from a network by the first electronic device, or may be taken in advance. The target synchronization manner of the first picture may be a policy indicating to which second electronic device the first picture is shared. The target synchronization mode may be a synchronization mode selected from a plurality of preset synchronization modes, and a specific synchronization policy indicated by each synchronization mode may be preset according to actual requirements.
Specifically, when the target synchronization mode is determined, a synchronization mode selection interface including various picture synchronization modes is displayed, a user can select a picture synchronization mode in the synchronization mode selection interface, accordingly, the first electronic device can receive a second input of the user to the synchronization mode selection interface, and the picture synchronization mode indicated by the second input, that is, the picture synchronization mode selected by the user is used as the target synchronization mode. The selection interface can be actively popped up after the sharing group is successfully created, so that a target synchronization mode can be conveniently selected without additional operation of a user, and the convenience of operation can be further improved to a certain extent. Of course, the default synchronization method may be directly used as the target synchronization method. When the target synchronization mode needs to be changed, the user can trigger the first electronic device to display the synchronization mode selection interface, and the user can reselect the synchronization mode selection interface to change the target synchronization mode.
In the embodiment of the present invention, since the synchronization policies indicated by different target synchronization modes are different, the target electronic devices corresponding to the first picture may be different in different target synchronization modes. Accordingly, when picture synchronization is performed, the target electronic device corresponding to the target synchronization mode may be determined according to the target synchronization mode.
And step 104, synchronizing the first picture to the target electronic equipment in the sharing group.
Because the determined target electronic devices are different under different target synchronization modes, the method and the device for synchronizing the first picture can realize targeted automatic orientation and synchronization of the picture according to the target synchronization mode by synchronizing the first picture to the target electronic devices.
To sum up, the picture synchronization method provided in the embodiments of the present invention receives a first input, responds to the first input, and creates a sharing group according to at least one second electronic device identifier indicated by the first input, where the sharing group includes a first electronic device and at least one second electronic device, then determines a target synchronization manner for a first picture in the first electronic device, determines a target electronic device according to the target synchronization manner, and finally synchronizes the first picture to the target electronic device in the sharing group. Because the first electronic device can automatically and directionally synchronize the first picture to the corresponding target electronic device based on the target synchronization mode, the picture synchronization can be realized only by creating the sharing group by the user, so that the operation process of the picture synchronization is simplified, and the efficiency of the picture synchronization is improved.
Fig. 2 is a flowchart of steps of another picture synchronization method provided in an embodiment of the present invention, which may be applied to a second electronic device, and as shown in fig. 2, the method may include:
step 201, receiving a first picture synchronized by a first electronic device in a sharing group according to a target synchronization mode. The sharing group is created by the first electronic device according to a second electronic device identifier, and comprises the first electronic device and the second electronic device; the first picture is transmitted by the first electronic device when the second electronic device is a target electronic device corresponding to the target synchronization mode.
In the embodiment of the invention, the second electronic device can conveniently acquire the picture matched with the second electronic device by receiving the first picture synchronized by the first electronic device according to the target synchronization mode, namely, the picture which needs to be synchronized to the second electronic device.
Step 202, storing the first picture.
In this embodiment of the present invention, the second electronic device may store the first picture in an album of the electronic device, or may store the first picture in a created picture folder.
In summary, in the picture synchronization method provided in the embodiments of the present invention, the second electronic device receives the first picture synchronized by the first electronic device in the sharing group according to the target synchronization method, and stores the first picture. Because the first electronic equipment can automatically and directionally synchronize the first picture to the corresponding second electronic equipment based on the target synchronization mode, the second electronic equipment can realize picture synchronization only by receiving the first picture, so that the operation process of picture synchronization is simplified, and the picture synchronization efficiency is improved.
Fig. 3-1 is a flowchart illustrating steps of another picture synchronization method according to an embodiment of the present invention, and as shown in fig. 3-1, the method may include:
step 301, the first electronic device receives a first input.
Specifically, the step 101 may be referred to in an implementation manner of this step, which is not limited in this embodiment of the present invention.
In this embodiment of the present invention, the first electronic device and the second electronic device may be devices that have network identifiers and can transmit data, and the devices may be a mobile phone, a tablet computer, a desktop computer, and the like.
Step 302, the first electronic device responds to the first input, and creates a sharing group according to at least one second electronic device identifier indicated by the first input; the sharing group includes the first electronic device and the at least one second electronic device.
Specifically, the first electronic device may create the sharing group through the following steps 3021 to 3023:
step 3021, sending a group join request to the second electronic device according to the identifier of the second electronic device.
In an embodiment of the present invention, the group join request may be a request for instructing the second electronic device to join the group. When the group join request is sent, the address of the second electronic device corresponding to the second electronic device may be determined according to the identifier of the second electronic device, and then the group join request is sent to the second electronic device according to the address of the second electronic device. Specifically, the second electronic device Address may be an Internet Protocol (IP) Address or a telephone number.
Specifically, when the second electronic device identifier itself is the second electronic device address, for example, when the second electronic device identifier is an IP address or a phone number, the second electronic device identifier may be directly determined as the second electronic device address. When the second electronic device identifier is not the second electronic device address, the second electronic device address corresponding to the second electronic device identifier may be searched from a preset correspondence between the second electronic device identifier and the second electronic device address. Of course, the determination may be made in other ways, and the embodiment of the present invention is not limited thereto.
Step 3022, receiving a confirmation message returned by the second electronic device; the confirmation message comprises a first user picture; the first user picture includes a portrait of a user of the second electronic device.
In this step, the confirmation message may be sent when the user of the second electronic device agrees to join the sharing group. Specifically, the second electronic device may receive a sharing group join request sent by the first electronic device, and then display the sharing group join request. The group joining request can be displayed on the interface of the second electronic device in a prompt box form, and the specific style and the display position of the prompt box can be set according to actual requirements. For example, the group join request may be displayed in a notification bar interface of the second electronic device in the form of a prompt box. Then, if the second electronic device receives a confirmation input for the sharing group joining request, a first user picture of the second electronic device is acquired. Wherein the confirmation input may be performed by the user of the second electronic device when the user agrees to join the group, and the confirmation input may be a selection operation of a confirmation button. When the first user picture is obtained, the picture input prompt may be displayed, then the picture containing the portrait input by the user is received, and the received picture is used as the first user picture. Finally, the second electronic device may return a confirmation message containing the first user picture to the first electronic device. Specifically, the first user picture may be inserted into a message body of the confirmation message, and then the inserted confirmation message is sent to the first electronic device. In the embodiment of the invention, the second electronic equipment can facilitate the user to select by displaying the group joining request, and meanwhile, under the condition that the user agrees to join, the second electronic equipment returns the confirmation message to the first electronic equipment, so that the first electronic equipment can know that the first electronic equipment agrees to join in time, and the first electronic equipment can conveniently perform subsequent group creating operation.
Accordingly, the first electronic device may receive an acknowledgement message returned by the second electronic device. Of course, the second electronic device user may also perform a rejection input for the sharing group joining request under the condition that the second electronic device user does not agree to join the sharing group, so as to reject joining the sharing group. Accordingly, the second electronic device may return a rejection message, and the first electronic device may receive the rejection message returned by the second electronic device. Therefore, the first electronic device can timely know that the second electronic device does not agree to join the group by returning the rejection message, and the first electronic device can conveniently perform subsequent processing.
Step 3023, associating the first user picture with the second electronic device, and creating the sharing group according to the identifier of the second electronic device and the identifier of the first electronic device.
In the embodiment of the invention, a one-to-one corresponding relation can be established between the first user picture and the corresponding second electronic equipment, so that the first user picture and the corresponding second electronic equipment are associated. Specifically, the step 102 may be referred to as an implementation manner of creating the sharing group according to the second electronic device identifier and the first electronic device identifier. It should be noted that, during association, the first user picture may also be preprocessed. Specifically, a portrait area corresponding to the second electronic device user in the first user picture may be extracted, and only the extracted portrait area is associated with the corresponding second electronic device. Therefore, only the portrait areas are associated, so that the interference of the non-portrait areas to the identification operation when the portrait identification operation is carried out on the subsequent associated-based pictures can be avoided, and the identification accuracy is further improved to a certain extent. Meanwhile, only the portrait area is stored, so that the storage resource of the electronic equipment can be saved.
For example, fig. 3-2 is an operation flowchart for creating a sharing group according to an embodiment of the present invention, as shown in fig. 3-2, a first electronic device may select at least one second electronic device, send a group join request to the second electronic device, and then, in a case where the second electronic device receives the join request, create the sharing group and display a synchronization mode selection interface to determine a target synchronization mode.
For example, assuming that the group includes the second electronic devices A, B, C and D, fig. 3-3 is a flowchart illustrating another operation of creating a sharing group according to an embodiment of the present invention, as shown in fig. 3-3, the first electronic device may select a member electronic device, that is, the second electronic device, according to an electronic device identifier, and then create a picture folder to determine a first picture to be shared. Then, a group join request is sent to the second electronic device a, the second electronic device B, the second electronic device C, and the second electronic device D, and after receiving the group join request, each second electronic device may choose to accept or reject. In the case where the group join request is received, a picture folder may be created and then an acknowledgement message is returned. After receiving the confirmation message of the member electronic device, the first electronic device may display a synchronization mode selection interface to determine the target synchronization mode.
Step 303, the first electronic device determines a target synchronization mode for the first picture in the first electronic device, and determines a target electronic device corresponding to the target synchronization mode in the at least one second electronic device according to the target synchronization mode.
Specifically, reference may be made to step 103 to determine an implementation manner of the target synchronization mode, which is not limited in this embodiment of the present invention. It should be noted that, the first electronic device may determine the first picture through the following substeps S1 to substep S3:
and sub-step S1, receiving a third input.
In this embodiment of the present invention, the third input may be executed by the user when the user needs to create the picture folder, and accordingly, the first electronic device may receive the third input. The third input may contain a designated storage path of a picture folder for storing the picture, and accordingly, the third input may be a selection operation or an input operation of the designated storage path. The third input may be an operation of inputting a storage path by the user, and accordingly, the electronic device may use the input storage path as the designated storage path, or may use a selected operation performed by the user according to the displayed storage path, and accordingly, the electronic device may use the selected storage path as the designated storage path. Therefore, the user can determine the storage path established by the picture folder according to the own requirements, the autonomy of the user can be further improved, and the use experience of the user is also improved.
And a substep S2, in response to the third input, creating a picture folder.
In the embodiment of the present invention, when the image folder is established, the specified storage path included in the third input may be extracted first, and then the image folder is established according to the specified storage path of the third input. Of course, the first electronic device may also establish the picture folder according to a default configuration and a storage path of the default configuration.
And a substep S3 of determining any picture stored in the picture folder as the first picture.
In the embodiment of the invention, the picture folder can be associated with the sharing group, so that any picture in the picture folder can be used as the first picture. The method comprises the steps of creating a picture folder and determining any picture in the picture folder as a first picture. The user only needs to store the pictures to be synchronized to the picture folder, the picture synchronization can be achieved, meanwhile, the first electronic device does not need to conduct extra confirmation, the pictures in the picture folder can be directly read, the first pictures to be synchronized can be determined, and therefore the convenience of operation is improved to a certain extent.
Meanwhile, compared with a mode that a user selects a first picture from all pictures, in the embodiment of the invention, the picture to be synchronized can be separated from other pictures by creating the picture folder, so that the problem of wrong selection caused by selection under the condition that the pictures are mixed together can be avoided to a certain extent.
Further, in the embodiment of the present invention, the target synchronization manner may include all synchronization and member synchronization. Specifically, the first electronic device may determine the target electronic device according to the target synchronization method through the following substeps (1) to (2):
substep (1): and under the condition that the target synchronization mode is the full synchronization, determining all the second electronic devices in the sharing group as the target electronic devices.
In the embodiment of the present invention, all synchronization may refer to synchronizing the picture to each of the other electronic devices except the electronic device in the sharing group. Therefore, the first electronic device may determine all the second electronic devices in the sharing group as the target electronic device when the target synchronization manner is full synchronization.
Substep (2): under the condition that the target synchronization mode is the member synchronization, performing portrait recognition on the first picture; if the portrait exists in the first picture, determining a first user picture which contains the portrait and is matched with the portrait in the first picture; and determining the second electronic equipment associated with the matched first user picture as the target electronic equipment.
In the embodiment of the present invention, the member synchronization may be to determine the electronic device matched in the sharing group when the first picture is synchronized according to the portrait included in the picture. Therefore, when the target synchronization mode is member synchronization, the first picture can be subjected to portrait recognition, and whether the portrait is included in the first picture or not can be determined. Specifically, the detection may be performed by using a preset portrait recognition algorithm. In this way, by detecting whether a portrait exists, the first user picture containing a portrait that matches the portrait in the first picture is determined only if a portrait exists in the first picture. In this way, it is possible to avoid performing an unnecessary operation of determining a matching first user picture in the case where no portrait exists in the first picture.
Further, when determining the first user picture containing the portrait matched with the portrait in the first picture, the first user picture may first obtain a portrait area contained in the first picture, then identify facial feature information of the portrait area in the first picture, compare the facial feature information in the first picture with facial feature information in each first user picture, determine the first user picture in which the facial feature information is matched with the facial feature information in the first picture, and finally determine the first user picture in which the facial feature information is matched with the portrait in the first picture.
Because the portrait in the first user picture is that of the user of the second electronic device, if the two match, the first picture may be considered to be a portrait picture taken for the user of the second electronic device. Accordingly, the first electronic device may determine the second electronic device associated with the matched first user picture as the target electronic device, thereby enabling the first picture to be synchronized to the second electronic device associated with the first user picture in the subsequent step. Therefore, the portrait picture of the second electronic equipment user can not be sent to other irrelevant users, and privacy of the portrait picture is further ensured. Specifically, when synchronizing pictures, the network address of the second electronic device may be determined according to the identifier of the second electronic device, and then the first picture may be sent to the second electronic device according to the network address.
Further, the member synchronization mode may include first member synchronization and second member synchronization, and correspondingly, if no portrait exists in the first picture, or a portrait in the first picture is not matched with a portrait in any one of the first user pictures, under the condition that the member synchronization is the first member synchronization, all the second electronic devices in the sharing group are determined as the target electronic devices; and determining that the target electronic equipment corresponding to the target synchronization mode does not exist under the condition that the member synchronization is the second member synchronization.
The first member synchronization means that the pictures containing the portrait are synchronized to the corresponding electronic devices, and the pictures not containing the portrait of any electronic device user in the sharing group are synchronized to all other electronic devices. The second member synchronization means that the pictures containing the portrait are synchronized to the corresponding electronic devices, and the first pictures not containing the portrait of any electronic device user in the sharing group are not synchronized.
Therefore, the first electronic device may determine all the second electronic devices in the sharing group as the target electronic device under the condition that the first member is synchronized when no portrait exists in the first picture or when the portrait in the first picture is not matched with the portrait in any first user picture. Therefore, the number of subsequent picture synchronization can be increased while the privacy of the portrait picture is not damaged, and the diversity of the picture synchronization is further increased.
Of course, in the case of the second member synchronization, it may be determined that there is no target electronic device corresponding to the target synchronization manner. Therefore, the second electronic device can be ensured not to receive irrelevant pictures while the privacy of the portrait pictures is ensured not to be damaged, the second electronic device can be prevented from being disturbed by the irrelevant pictures, and the storage space of the second electronic device is saved.
For example, when the first picture X only contains the portrait of the second electronic device a, and the target synchronization mode is member synchronization, the first electronic device may only determine the second electronic device a as the target electronic device, so as to ensure that the first picture X is only directionally synchronized to the second electronic device a, and the other second electronic devices in the sharing group except the second electronic device a do not receive the first picture X. When the first picture Y does not include a portrait corresponding to any second electronic device in the sharing group, the first electronic device may determine all the second electronic devices in the sharing group as target electronic devices under the condition that the target synchronization mode is first member synchronization, so as to ensure that the first picture Y is synchronized to each second electronic device in the sharing group, and the first electronic device may determine that no target electronic device exists under the condition that the target synchronization mode is second member synchronization, thereby ensuring that the first picture Y is not synchronized.
Step 304, synchronizing the first picture to the target electronic device in the sharing group.
Specifically, the step 104 may be referred to in the implementation manner of this step, which is not limited in this embodiment of the present invention.
Step 305, the second electronic device receives a first picture synchronized by the first electronic device in the sharing group according to the target synchronization mode.
Specifically, the step 201 may be referred to in an implementation manner of this step, and this is not limited in this embodiment of the present invention.
And step 306, the second electronic device stores the first picture.
Specifically, reference may be made to step 202 in this step, which is not limited in this embodiment of the present invention. It should be noted that the second electronic device may also establish an album associated with the group, and the album may be used exclusively for storing the received synchronized pictures. Therefore, the user can conveniently and quickly distinguish the original picture and the received synchronous picture by specially establishing the related photo album for storing the received picture.
Further, the second electronic device may synchronize the second picture through the following substeps (3) to (5):
substep (3): receiving an indication message sent by the first electronic equipment; the indication message comprises a target synchronization mode.
In the embodiment of the present invention, after determining the target synchronization mode for the first picture in the first electronic device, the first electronic device may use the target synchronization mode for the first picture in the first electronic device as the target synchronization mode for the synchronized pictures in the sharing group, and the first electronic device may send an indication message to the second electronic device, where the indication message includes the target synchronization mode for the synchronized pictures in the sharing group. Accordingly, the second electronic device may receive the indication message, acquire the target synchronization mode in the indication message, and use the target synchronization mode in the indication message as the target synchronization mode of the second picture in the second electronic device.
Substep (4): for a second picture in the second electronic equipment, determining the electronic equipment to be synchronized corresponding to the second picture according to the target synchronization mode; the electronic device to be synchronized is other electronic devices except the second electronic device in the sharing group.
In this step, the second picture may be a picture that needs to be synchronized in the second electronic device. For example, the second picture may be a picture currently taken by the second electronic device, or may be a picture stored in the second electronic device in advance, and the pictures stored in advance may be downloaded from the network by the second electronic device, or may be taken in advance, which is not limited in this embodiment of the present invention. Specifically, the second electronic device may further establish a picture folder, where the picture folder may be associated with the sharing group, and accordingly, the second electronic device may use any picture in the picture folder as the second picture. Through establishing the picture folder to any picture in this picture folder is determined as the second picture, make the user only need with the picture that needs the synchronization save to this picture folder, can realize the picture synchronization, simultaneously, the second electronic equipment need not to carry out extra affirmation, through the picture in the direct reading picture folder, can determine the second picture that needs the synchronization, and then has improved the convenient degree of operation to a certain extent. Specifically, the implementation manner of establishing the image folder may refer to the related description in the foregoing steps, and is not described herein again in the embodiments of the present invention.
Further, according to the target synchronization mode, determining the to-be-synchronized electronic device corresponding to the second picture can be implemented by the following operations:
and under the condition that the target synchronization mode is the full synchronization, determining all other electronic equipment in the sharing group as the electronic equipment to be synchronized. Since all synchronization refers to synchronizing pictures to every other electronic device in the shared group except the electronic device. Therefore, the second electronic device may determine all other electronic devices except the second electronic device in the sharing group as the electronic devices to be synchronized when the target synchronization manner is full synchronization, so that in the subsequent step, the second picture may be sent to all other electronic devices except the second electronic device in the sharing group.
Further, under the condition that the target synchronization mode is the member synchronization, performing portrait recognition on the second picture; if the second picture has the portrait, determining a second user picture which contains the portrait and is matched with the portrait in the second picture; and determining the electronic equipment corresponding to the matched second user picture as the electronic equipment to be synchronized. The second user picture may be obtained in advance by the second electronic device through the following operations: and receiving second user pictures sent by other electronic equipment in the sharing group. And the second user picture comprises the portrait of the user of other electronic equipment. Therefore, the second user pictures of other electronic equipment are obtained in advance, and the electronic equipment to be synchronized can be determined according to the portrait and the synchronization mode when the second pictures need to be synchronized. Specifically, the implementation manner of performing portrait identification and determining a matching picture may refer to the related description in the foregoing steps, and details are not repeated herein in the embodiment of the present invention.
In the embodiment of the invention, whether the portrait exists or not is detected, and the second user picture containing the portrait matched with the portrait in the second picture is determined under the condition that the portrait exists in the second picture. In this way, it is possible to avoid performing an unnecessary operation of determining the matching second user picture in the case where no portrait exists in the second picture. Meanwhile, the second electronic device determines the electronic device corresponding to the matched second user picture as the electronic device to be synchronized. Therefore, the portrait picture of the second electronic equipment user in the subsequent steps can be prevented from being sent to other irrelevant users, and privacy of the portrait picture is further ensured.
Further, if no portrait exists in the second picture, or the portrait in the second picture is not matched with the portrait in any second user picture, determining all other electronic devices in the sharing group as the electronic devices to be synchronized under the condition that the member synchronization is the first member synchronization; and under the condition that the member synchronization is second member synchronization, determining that the second picture does not have the corresponding electronic equipment to be synchronized. In this way, in the case of synchronization of the first member, all other electronic devices are determined as the electronic devices to be synchronized. The number of the synchronous pictures can be increased while the privacy of the portrait pictures is not damaged, and the diversity of the synchronous pictures is further increased. In case of synchronization of the second member, it may be avoided that the second picture is synchronized by determining that there is no corresponding electronic device to be synchronized. Therefore, the method and the device can ensure that other electronic equipment cannot receive irrelevant pictures while ensuring that the privacy of the portrait pictures is not damaged, further avoid the other electronic equipment from being disturbed by the irrelevant pictures, and save the storage space of the other electronic equipment.
Substep (5): and sending the identification of the electronic equipment to be synchronized and the second picture to the first electronic equipment.
In this step, the identifier of the electronic device to be synchronized may be a mark capable of uniquely identifying the electronic device to be synchronized. When the to-be-synchronized electronic device identifier and the second picture are sent to the first electronic device, the to-be-synchronized electronic device identifier may be added to the attribute of the second picture, or the to-be-synchronized electronic device identifier may be marked on the second picture, which is not limited in the embodiment of the present invention. Correspondingly, the first electronic device may receive the identifier of the electronic device to be synchronized and the second picture sent by the second electronic device, and then synchronize the second picture to the electronic device to be synchronized according to the identifier of the electronic device to be synchronized. Specifically, the implementation manner of sending the picture to the electronic device corresponding to the electronic device identifier according to the electronic device identifier may refer to the related description in the foregoing step, and details of the embodiment of the present invention are not repeated herein. Therefore, the second electronic equipment sends the second picture to be synchronized to the first electronic equipment, and the first electronic equipment directionally synchronizes the electronic equipment to be synchronized, so that the workload of the second electronic equipment in synchronizing the picture can be reduced, and the resource consumption of the second electronic equipment in synchronizing the picture can be further saved. Specifically, the first electronic device may store the second picture as a picture to be synchronized in an established picture folder, so as to ensure that the second picture can be synchronized. Of course, the second electronic device may also synchronize the second picture to the electronic device to be synchronized directly according to the identifier of the electronic device to be synchronized, which is not limited in the embodiment of the present invention.
For example, fig. 3 to 4 are operation flowcharts of synchronizing pictures according to an embodiment of the present invention, as shown in fig. 3 to 4, a first electronic device may monitor a newly-appeared picture in real time, and if the picture is a newly-taken picture, the first electronic device may synchronize the picture according to a target synchronization mode, and if the picture is a second picture sent by a second electronic device, the first electronic device may synchronize the second picture according to an identifier of an electronic device to be synchronized. The second electronic device may also monitor a newly shot picture in real time, then determine the electronic device to be synchronized corresponding to the second picture according to the target synchronization mode, mark the electronic device to be synchronized of the electronic device to be synchronized into the picture attribute of the second picture, and then send the picture attribute to the first electronic device.
For example, assuming that the group includes the second electronic devices A, B, C and D, fig. 3-5 are still another operation flow chart for synchronizing pictures according to an embodiment of the present invention, as shown in fig. 3-5, the first electronic device may synchronize the first picture to the second electronic device according to the target synchronization mode, the second electronic device A, B, C, D may determine an electronic device to be synchronized, send the second picture and an identifier of the electronic device to be synchronized to the first electronic device, and accordingly, the first electronic device may receive the second picture and the identifier of the electronic device to be synchronized, and synchronize the second picture according to the identifier of the electronic device to be synchronized.
The following describes an embodiment of the present invention with a specific example. For example, assume that the sharing group includes a first electronic device, a second electronic device a, and a second electronic device B, and the target synchronization mode is member synchronization, where a user of the first electronic device is user a, a user of the second electronic device B is user B, and a user of the second electronic device C is user C. User a has taken a group picture1 for user B and user C using the first electronic device, where the picture1 includes the portrait of user B and user C, then the first electronic device may store picture1 in the picture folder associated with the sharing group, i.e., picture1 is the first picture, and thus the first electronic device may synchronize the picture1 to the second electronic device a and the second electronic device B through portrait identification and matching.
Further, if the user C uses the second electronic device C to take a picture2 for the user a, the second electronic device C can determine that the electronic device to be synchronized corresponding to the picture2 is the first electronic device through portrait identification and matching, and the second electronic device C can send the identifier of the first electronic device and the picture2 to the first electronic device. Accordingly, since the electronic device to be synchronized is the first electronic device, the first electronic device can directly store the picture 2. Further, if the user a uses the first electronic device to take a picture3 for the user B, since the picture3 only contains the portrait of the user B, the matching second electronic device only has the second electronic device B, and therefore, after the first electronic device recognizes and matches the portrait, the picture3 is synchronized to the second electronic device B.
In summary, in the picture synchronization method provided in the embodiments of the present invention, the first electronic device receives the first input, responds to the first input, and creates the sharing group according to the at least one second electronic device identifier indicated by the first input, where the sharing group includes the first electronic device and the at least one second electronic device, then the first electronic device determines a target synchronization manner for a first picture in the first electronic device, determines the target electronic device according to the target synchronization manner, and finally synchronizes the first picture to the target electronic device in the sharing group. Correspondingly, the second electronic device receives the first picture synchronized by the first electronic device in the sharing group according to the target synchronization mode, and stores the first picture. Because the first electronic equipment can automatically and directionally synchronize the first picture to the corresponding target second electronic equipment based on the target synchronization mode, the picture synchronization can be realized only by creating the sharing group by the user, and correspondingly, the picture synchronization can be realized only by receiving the first picture by the second electronic equipment, so that the operation process of the picture synchronization is simplified, and the picture synchronization efficiency is improved.
The picture synchronization method provided by the embodiment of the present invention is described above, and the picture synchronization apparatus provided by the embodiment of the present invention is described below with reference to the accompanying drawings.
Referring to fig. 4, an embodiment of the present invention further provides a block diagram of a picture synchronization apparatus, and as shown in fig. 4, the picture synchronization apparatus 40 may include:
the first receiving module 401 is configured to receive a first input.
A first creating module 402, configured to, in response to the first input, create a sharing group according to at least one second electronic device identifier indicated by the first input; the sharing group includes the first electronic device and the at least one second electronic device.
A first determining module 403, configured to determine a target synchronization manner for a first picture in the first electronic device, and determine, according to the target synchronization manner, a target electronic device corresponding to the target synchronization manner in the at least one second electronic device.
A first synchronization module 404, configured to synchronize the first picture to the target electronic device in the sharing group.
To sum up, the picture synchronization apparatus provided in the embodiments of the present invention receives a first input, responds to the first input, and creates a sharing group according to at least one second electronic device identifier indicated by the first input, where the sharing group includes a first electronic device and at least one second electronic device, then determines a target synchronization manner for a first picture in the first electronic device, determines a target electronic device according to the target synchronization manner, and finally synchronizes the first picture to the target electronic device in the sharing group. Because the first electronic device can automatically and directionally synchronize the first picture to the corresponding target electronic device based on the target synchronization mode, the picture synchronization can be realized only by creating the sharing group by the user, so that the operation process of the picture synchronization is simplified, and the efficiency of the picture synchronization is improved.
Optionally, the first creating module 402 is specifically configured to:
sending a group joining request to the second electronic equipment according to the second electronic equipment identifier;
receiving a confirmation message returned by the second electronic equipment; the confirmation message comprises a first user picture; the first user picture includes a portrait of a user of the second electronic device;
and associating the first user picture with the second electronic equipment, and creating the sharing group according to the identification of the second electronic equipment and the identification of the first electronic equipment.
The picture synchronization mode comprises all synchronization and member synchronization; the first determining module 403 is specifically configured to:
determining all second electronic devices in the sharing group as the target electronic devices under the condition that the target synchronization mode is the full synchronization;
under the condition that the target synchronization mode is the member synchronization, performing portrait recognition on the first picture; if the portrait exists in the first picture, determining a first user picture which contains the portrait and is matched with the portrait in the first picture; and determining the second electronic equipment associated with the matched first user picture as the target electronic equipment.
The member synchronization includes: synchronizing a first member and a second member; the first determining module 403 is further specifically configured to:
if the first picture does not have a portrait, or the portrait in the first picture is not matched with the portrait in any first user picture, determining all second electronic devices in the sharing group as the target electronic devices under the condition that the member synchronization is the first member synchronization; and determining that the target electronic equipment corresponding to the target synchronization mode does not exist under the condition that the member synchronization is the second member synchronization.
Optionally, the first determining module 403 is specifically configured to:
displaying a synchronous mode selection interface; the synchronous mode selection interface comprises at least one picture synchronous mode;
receiving a second input of a user for selecting a displayed picture synchronization mode;
and in response to the second input, determining the picture synchronization mode indicated by the second input as a target synchronization mode.
Optionally, the apparatus 40 further includes:
the second receiving module is used for receiving a second picture and an electronic device identifier to be synchronized, which are sent by the second electronic device; the electronic device to be synchronized is other electronic devices except the second electronic device in the sharing group.
And the second synchronization module is used for synchronizing the second picture to the electronic equipment to be synchronized according to the electronic equipment to be synchronized identifier.
Optionally, the apparatus 40 further includes:
and the third receiving module is used for receiving a third input.
A second creation module to create a picture folder in response to the third input.
And the second determining module is used for determining any picture stored in the picture folder as the first picture.
Referring to fig. 5, an embodiment of the present invention further provides a block diagram of another picture synchronization apparatus, and as shown in fig. 5, the picture synchronization apparatus 50 may include:
the first receiving module 501 is configured to receive a first picture synchronized by a first electronic device in a sharing group according to a target synchronization manner.
A storage module 502, configured to store the first picture; the sharing group is created by the first electronic device according to a second electronic device identifier, and comprises the first electronic device and the second electronic device; the first picture is transmitted by the first electronic device when the second electronic device is a target electronic device corresponding to the target synchronization mode.
In summary, the image synchronization apparatus provided in the embodiments of the present invention receives a first image synchronized by a first electronic device in a sharing group according to a target synchronization method, and stores the first image. Because the first electronic equipment can automatically and directionally synchronize the first picture to the corresponding second electronic equipment based on the target synchronization mode, the second electronic equipment can realize picture synchronization only by receiving the first picture, so that the operation process of picture synchronization is simplified, and the picture synchronization efficiency is improved.
Optionally, the apparatus 50 further includes:
and the second receiving module is used for receiving the sharing group joining request sent by the first electronic equipment.
And the display module is used for displaying the sharing group joining request.
The acquisition module is used for acquiring a first user picture if receiving confirmation input aiming at the sharing group joining request; the first user picture includes a portrait of a user of the second electronic device.
A returning module, configured to return a confirmation message including the first user picture to the first electronic device.
Optionally, the apparatus 50 further includes:
the third receiving module is used for receiving the indication message sent by the first electronic equipment; the indication message comprises a target synchronization mode.
The determining module is used for determining the electronic equipment to be synchronized corresponding to the second picture in the second electronic equipment according to the target synchronization mode; the electronic device to be synchronized is other electronic devices except the second electronic device in the sharing group.
And the sending module is used for sending the identification of the electronic equipment to be synchronized and the second picture to the first electronic equipment.
Optionally, the apparatus 50 further includes:
the fourth receiving module is used for receiving second user pictures sent by other electronic equipment in the sharing group; the second user picture contains the portrait of the user of the other electronic equipment;
the determining module is specifically configured to:
determining all other electronic devices in the sharing group as the electronic device to be synchronized under the condition that the target synchronization mode is the full synchronization;
under the condition that the target synchronization mode is the member synchronization, performing portrait recognition on the second picture; if the second picture has the portrait, determining a second user picture which contains the portrait and is matched with the portrait in the second picture; determining the electronic equipment corresponding to the matched second user picture as the electronic equipment to be synchronized; if the second picture does not have a portrait or the portrait in the second picture is not matched with the portrait in any second user picture, determining all other electronic devices in the sharing group as the electronic devices to be synchronized under the condition that the member synchronization is the first member synchronization; and under the condition that the member synchronization is second member synchronization, determining that the second picture does not have the corresponding electronic equipment to be synchronized.
FIG. 6 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the invention;
the electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the processor 610 is configured to receive a first input;
the processor 610 is configured to, in response to the first input, create a sharing group according to at least one second electronic device identifier indicated by the first input; the sharing group comprises the first electronic device and the at least one second electronic device;
a processor 610, configured to determine a target synchronization manner for a first picture in the first electronic device, and determine, according to the target synchronization manner, a target electronic device corresponding to the target synchronization manner in the at least one second electronic device;
a processor 610, configured to synchronize the first picture to the target electronic device in the sharing group.
To sum up, the picture synchronization method provided in the embodiments of the present invention receives a first input, responds to the first input, and creates a sharing group according to at least one second electronic device identifier indicated by the first input, where the sharing group includes a first electronic device and at least one second electronic device, then determines a target synchronization manner for a first picture in the first electronic device, determines a target electronic device according to the target synchronization manner, and finally synchronizes the first picture to the target electronic device in the sharing group. Because the first electronic device can automatically and directionally synchronize the first picture to the corresponding target electronic device based on the target synchronization mode, the picture synchronization can be realized only by creating the sharing group by the user, so that the operation process of the picture synchronization is simplified, and the efficiency of the picture synchronization is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program that is stored in the memory 609 and can be run on the processor 610, and when being executed by the processor 610, the computer program implements each process of the above-mentioned embodiment of the picture synchronization method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the picture synchronization method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A picture synchronization method is applied to a first electronic device, and is characterized by comprising the following steps:
receiving a first input;
responding to the first input, and creating a sharing group according to the identification of the at least one second electronic device indicated by the first input; the sharing group comprises the first electronic device and the at least one second electronic device;
determining a target synchronization mode for a first picture in the first electronic device, and determining a target electronic device corresponding to the target synchronization mode in the at least one second electronic device according to the target synchronization mode;
and synchronizing the first picture to the target electronic equipment in the sharing group.
2. The method of claim 1, wherein the creating a sharing group according to at least one second electronic device identifier indicated by the first input comprises:
sending a group joining request to the second electronic equipment according to the second electronic equipment identifier;
receiving a confirmation message returned by the second electronic equipment; the confirmation message comprises a first user picture; the first user picture includes a portrait of a user of the second electronic device;
and associating the first user picture with the second electronic equipment, and creating the sharing group according to the identification of the second electronic equipment and the identification of the first electronic equipment.
3. The method of claim 2, wherein the picture synchronization comprises full synchronization and member synchronization;
the determining, according to the target synchronization mode, a target electronic device corresponding to the target synchronization mode in the at least one second electronic device includes:
determining all second electronic devices in the sharing group as the target electronic devices under the condition that the target synchronization mode is the full synchronization;
under the condition that the target synchronization mode is the member synchronization, performing portrait recognition on the first picture; if the portrait exists in the first picture, determining a first user picture which contains the portrait and is matched with the portrait in the first picture; and determining the second electronic equipment associated with the matched first user picture as the target electronic equipment.
4. The method of claim 3, wherein the member synchronization comprises: synchronizing a first member and a second member;
the method further comprises the following steps:
if the first picture does not have a portrait, or the portrait in the first picture is not matched with the portrait in any first user picture, determining all second electronic devices in the sharing group as the target electronic devices under the condition that the member synchronization is the first member synchronization; and determining that the target electronic equipment corresponding to the target synchronization mode does not exist under the condition that the member synchronization is the second member synchronization.
5. The method of claim 1, further comprising:
receiving a second picture and an electronic device identifier to be synchronized sent by the second electronic device; the electronic equipment to be synchronized is other electronic equipment except the second electronic equipment in the sharing group;
and synchronizing the second picture to the electronic equipment to be synchronized according to the electronic equipment to be synchronized identifier.
6. A picture synchronization method applied to a second electronic device is characterized by comprising the following steps:
receiving a first picture synchronized by first electronic equipment in a sharing group according to a target synchronization mode;
storing the first picture;
the sharing group is created by the first electronic device according to a second electronic device identifier, and comprises the first electronic device and the second electronic device; the first picture is transmitted by the first electronic device when the second electronic device is a target electronic device corresponding to the target synchronization mode.
7. The method of claim 6, further comprising:
receiving an indication message sent by the first electronic equipment; the indication message comprises a target synchronization mode;
for a second picture in the second electronic equipment, determining the electronic equipment to be synchronized corresponding to the second picture according to the target synchronization mode; the electronic equipment to be synchronized is other electronic equipment except the second electronic equipment in the sharing group;
and sending the identification of the electronic equipment to be synchronized and the second picture to the first electronic equipment.
8. The method of claim 7, wherein the picture synchronization comprises full synchronization and member synchronization; the member synchronization includes: synchronizing a first member and a second member; the method further comprises the following steps:
receiving second user pictures sent by other electronic equipment in the sharing group; the second user picture contains the portrait of the user of the other electronic equipment;
correspondingly, the determining the electronic device to be synchronized corresponding to the second picture according to the target synchronization mode includes:
determining all other electronic devices in the sharing group as the electronic device to be synchronized under the condition that the target synchronization mode is the full synchronization;
under the condition that the target synchronization mode is the member synchronization, performing portrait recognition on the second picture; if the second picture has the portrait, determining a second user picture which contains the portrait and is matched with the portrait in the second picture; determining the electronic equipment corresponding to the matched second user picture as the electronic equipment to be synchronized; if the second picture does not have a portrait or the portrait in the second picture is not matched with the portrait in any second user picture, determining all other electronic devices in the sharing group as the electronic devices to be synchronized under the condition that the member synchronization is the first member synchronization; and under the condition that the member synchronization is second member synchronization, determining that the second picture does not have the corresponding electronic equipment to be synchronized.
9. A picture synchronization device applied to a first electronic device, the device comprising:
the first receiving module is used for receiving a first input;
the first establishing module is used for responding to the first input and establishing a sharing group according to at least one second electronic equipment identifier indicated by the first input; the sharing group comprises the first electronic device and the at least one second electronic device;
the first determining module is used for determining a target synchronization mode aiming at a first picture in the first electronic equipment and determining target electronic equipment corresponding to the target synchronization mode in the at least one second electronic equipment according to the target synchronization mode;
and the first synchronization module is used for synchronizing the first picture to the target electronic equipment in the sharing group.
10. A picture synchronization device applied to a second electronic device is characterized by comprising:
the first receiving module is used for receiving a first picture synchronized by first electronic equipment in the sharing group according to a target synchronization mode;
the storage module is used for storing the first picture; the sharing group is created by the first electronic device according to a second electronic device identifier, and comprises the first electronic device and the second electronic device; the first picture is transmitted by the first electronic device when the second electronic device is a target electronic device corresponding to the target synchronization mode.
11. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the picture synchronization method as claimed in any one of claims 1 to 5 or 6-8.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the picture synchronization method according to any one of claims 1 to 5 or 6 to 8.
CN201911329896.7A 2019-12-20 2019-12-20 Picture synchronization method and device and electronic equipment Pending CN111159440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329896.7A CN111159440A (en) 2019-12-20 2019-12-20 Picture synchronization method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329896.7A CN111159440A (en) 2019-12-20 2019-12-20 Picture synchronization method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111159440A true CN111159440A (en) 2020-05-15

Family

ID=70557651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329896.7A Pending CN111159440A (en) 2019-12-20 2019-12-20 Picture synchronization method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111159440A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695639A (en) * 2022-10-27 2023-02-03 维沃移动通信有限公司 Image sharing method and device, electronic equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119971A (en) * 2015-07-17 2015-12-02 努比亚技术有限公司 Mobile terminal and fast mutual-picture-taking sharing system and method
CN105554371A (en) * 2015-10-28 2016-05-04 东莞酷派软件技术有限公司 Photographing method and mobile terminal
CN105740426A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Human face recognition based picture sending method and apparatus
CN106209593A (en) * 2016-07-19 2016-12-07 努比亚技术有限公司 A kind of picture sharing apparatus, method and terminal
CN107094280A (en) * 2016-09-13 2017-08-25 口碑控股有限公司 A kind of customer group establishment, resource allocation methods and equipment
WO2018018866A1 (en) * 2016-07-29 2018-02-01 中兴通讯股份有限公司 Data sharing method and device
CN108140031A (en) * 2015-10-02 2018-06-08 谷歌有限责任公司 Equity can synchronize storage system
CN109889348A (en) * 2018-12-24 2019-06-14 维沃移动通信有限公司 A kind of images share method and device
CN110191426A (en) * 2019-05-17 2019-08-30 维沃移动通信有限公司 A kind of method and terminal of information sharing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119971A (en) * 2015-07-17 2015-12-02 努比亚技术有限公司 Mobile terminal and fast mutual-picture-taking sharing system and method
CN108140031A (en) * 2015-10-02 2018-06-08 谷歌有限责任公司 Equity can synchronize storage system
CN105554371A (en) * 2015-10-28 2016-05-04 东莞酷派软件技术有限公司 Photographing method and mobile terminal
CN105740426A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Human face recognition based picture sending method and apparatus
CN106209593A (en) * 2016-07-19 2016-12-07 努比亚技术有限公司 A kind of picture sharing apparatus, method and terminal
WO2018018866A1 (en) * 2016-07-29 2018-02-01 中兴通讯股份有限公司 Data sharing method and device
CN107094280A (en) * 2016-09-13 2017-08-25 口碑控股有限公司 A kind of customer group establishment, resource allocation methods and equipment
CN109889348A (en) * 2018-12-24 2019-06-14 维沃移动通信有限公司 A kind of images share method and device
CN110191426A (en) * 2019-05-17 2019-08-30 维沃移动通信有限公司 A kind of method and terminal of information sharing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695639A (en) * 2022-10-27 2023-02-03 维沃移动通信有限公司 Image sharing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108174103B (en) Shooting prompting method and mobile terminal
US20210349589A1 (en) Image storage method and terminal device
US11543935B2 (en) Information processing method and terminal device
US11250046B2 (en) Image viewing method and mobile terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
WO2020182035A1 (en) Image processing method and terminal device
CN109523253B (en) Payment method and device
CN110866038A (en) Information recommendation method and terminal equipment
CN108459788B (en) Picture display method and terminal
US11842029B2 (en) Image display method and mobile terminal
CN109495638B (en) Information display method and terminal
US20210320995A1 (en) Conversation creating method and terminal device
CN108174109B (en) Photographing method and mobile terminal
WO2021082772A1 (en) Screenshot method and electronic device
CN110825474B (en) Interface display method and device and electronic equipment
CN110955793A (en) Display control method and electronic equipment
CN108762641B (en) Text editing method and terminal equipment
CN110928407A (en) Information display method and device
CN108924413B (en) Shooting method and mobile terminal
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN111061446A (en) Display method and electronic equipment
CN108345657B (en) Picture screening method and mobile terminal
CN107809515B (en) Display control method and mobile terminal
CN109739406B (en) File sending method and terminal

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