WO2018219179A1 - 图像同步方法、装置及服务器 - Google Patents

图像同步方法、装置及服务器 Download PDF

Info

Publication number
WO2018219179A1
WO2018219179A1 PCT/CN2018/087878 CN2018087878W WO2018219179A1 WO 2018219179 A1 WO2018219179 A1 WO 2018219179A1 CN 2018087878 W CN2018087878 W CN 2018087878W WO 2018219179 A1 WO2018219179 A1 WO 2018219179A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
terminal
information
synchronization
summary information
Prior art date
Application number
PCT/CN2018/087878
Other languages
English (en)
French (fr)
Inventor
林立安
刘金
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP18810849.2A priority Critical patent/EP3606009B1/en
Publication of WO2018219179A1 publication Critical patent/WO2018219179A1/zh
Priority to US16/684,350 priority patent/US11327845B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to the field of communications technologies, and in particular, to an image synchronization method, apparatus, and server.
  • the embodiment of the present application provides an image synchronization method, device, and server to save traffic and improve efficiency.
  • An embodiment of the present application provides an image synchronization method, which is applied to a server, and includes the following steps:
  • an embodiment of the present application provides an image synchronization apparatus, which is applied to a server, and includes:
  • a receiving module configured to receive an image backup request sent by the first terminal that logs in to the cloud account, where the image backup request carries a first image to be backed up;
  • a first acquiring module configured to acquire, according to the image backup request, summary information of the first image, where the summary information is used to describe the first image;
  • a determining module configured to determine whether the second terminal that is logged in to the cloud account has synchronized the summary information
  • the first synchronization module is configured to synchronize the summary information to the second terminal when the second terminal does not synchronize the summary information.
  • an embodiment of the present application provides a server, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor performs image synchronization as described above when executing the computer program. method.
  • the embodiment of the present application provides an image synchronization method, device, and server to save traffic and improve efficiency.
  • FIG. 1 is a schematic diagram of a scene of an image synchronization method and apparatus according to an embodiment of the present application.
  • FIG. 2 is a first flowchart of an image synchronization method in an embodiment of the present application.
  • FIG. 3 is a second flowchart of an image synchronization method in an embodiment of the present application
  • FIG. 5 is a first structural diagram of an image synchronization apparatus in an embodiment of the present application.
  • FIG. 6 is a second structural diagram of an image synchronization apparatus in an embodiment of the present application.
  • FIG. 7 is a structural diagram of a server in an embodiment of the present application.
  • FIG. 8 is a fourth flowchart of an image synchronization method in an embodiment of the present application.
  • Fig. 9 is a third structural diagram of the image synchronizing apparatus in the embodiment of the present application.
  • FIG. 10 is a first structural diagram of an electronic device in the embodiment of the present application.
  • FIG. 11 is a second structural diagram of an electronic device in an embodiment of the present application.
  • An embodiment of the present application provides an image synchronization method, which is applied to a server, and includes the following steps:
  • the step of acquiring the summary information of the first image according to the image backup request comprises: extracting the first image from the image backup request;
  • the image backup request carries the bibliographic information of the first image
  • the step of acquiring the digest information of the first image according to the image backup request includes:
  • the method further includes the following steps:
  • the step of transmitting the second image to the second terminal includes:
  • the step of determining whether the second terminal that logs in to the cloud account has synchronized the summary information comprises:
  • the synchronization record is generated when the server performs a synchronization operation to record the synchronization operation.
  • the method further includes:
  • the synchronization record is updated.
  • FIG. 1 is a scene diagram of an image synchronization method and apparatus in the embodiment of the present application.
  • 2 is a flow chart of an image synchronization method in an embodiment of the present application, which is mainly used in a server.
  • the image synchronization method includes the following steps:
  • S101 Receive an image backup request sent by the first terminal that logs in to the cloud account, where the image backup request carries a first image to be backed up, and the image backup request is used to request to back up the first image.
  • the first terminal After the first terminal logs in to the cloud account, it detects that the newly added image is obtained, and sends the newly added image to the server for backup. For example, when a user takes a new photo after taking a photo with the first terminal, the new photo is automatically sent to the server for backup.
  • S102 Acquire summary information of the first image according to the image backup request, where the summary information is used to describe the first image.
  • the summary information may include thumbnails and/or record information of the first image.
  • the record information is generated on the first terminal side, and the record information may include at least one of image type information, image size information, image capturing time information, image capturing location information, image version information, and the like.
  • This thumbnail is generated on the server side. After the server monitors the first image sent by the first terminal, the first image is made into a thumbnail with a smaller file and a smaller resolution.
  • the server may determine whether the second terminal that logs in to the cloud account has synchronized the summary information by querying the synchronization record.
  • the synchronization record is generated when the server performs a synchronization operation to record the synchronization operation.
  • the information of the synchronization operation may include an identifier of an image corresponding to the synchronization operation, terminal information for initiating a synchronization request, and the like.
  • S104 Synchronize the digest information to the second terminal when the second terminal does not synchronize the digest information.
  • the synchronization record is updated after the summary information synchronization is completed. In order to avoid subsequent detection of the second terminal logging in to the cloud account, the summary information is repeatedly synchronized.
  • the image synchronization method provided by the embodiment of the present application receives an image backup request sent by the first terminal that logs in to the cloud account, the image backup request carries the first image to be backed up; and the image backup request is obtained according to the image backup request.
  • the summary information is used to describe the first image; determining whether the second terminal that is logged in to the cloud account has synchronized the summary information; and when the second terminal does not synchronize the summary information Synchronizing the summary information to the second terminal; after the server side receives the first image sent by the first terminal, it is not necessary to immediately synchronize the original image of the first image to the second terminal, and only needs to The summary information of the first image is synchronized to the second terminal, and has the beneficial effects of reducing data traffic, improving data synchronization efficiency, and saving memory space of the second terminal.
  • FIG. 3 is another flowchart of the image synchronization method in the embodiment of the present application, which is mainly used in a server.
  • the image synchronization method includes the following steps:
  • the first terminal After the first terminal logs in to the cloud account, it detects that the newly added image is obtained, and sends the newly added image to the server for backup. For example, when a user takes a new photo after taking a photo with the first terminal, the new photo is automatically sent to the server for backup.
  • S202 Acquire summary information of the first image according to the image backup request, where the summary information is used to describe the first image.
  • the summary information may include thumbnails and/or record information of the first image.
  • the record information is generated on the first terminal side, and the record information may include at least one of image type information, image size information, image capturing time information, image capturing location information, image version information, and the like.
  • This thumbnail is generated on the server side. After the server monitors the first image sent by the first terminal, the first image is made into a thumbnail with a smaller file and a smaller resolution.
  • step S202 may specifically include:
  • S2021 Extract the first image from the image backup request.
  • the first image and the bibliographic information are all loaded in the image backup request sent by the first terminal to the server, and after the image backup request is detected, the corresponding first image is extracted from the image backup request. And save the first image as a backup.
  • S2022 Process the first image to generate a thumbnail of the first image, and use a thumbnail of the first image as summary information of the first image.
  • the resolution or size of the thumbnail can be set in advance. For example, it is possible to uniformly set each thumbnail to be 2Kb. Alternatively, the thumbnail may be formed by being reduced by 20 times according to the size or resolution of the original image of the first image.
  • S2023 Extract the bibliographic information of the first image from the image backup request, and use the bibliographic information of the first image as the digest information of the first image.
  • step S2021 and step S2022 are not indispensable, and step S2023 is not indispensable.
  • the step S203 includes:
  • the terminal information may be information for identifying the identity of the second terminal, such as SIM card information or physical address information.
  • S2032 Query a synchronization record according to the terminal information to determine whether the second terminal has synchronized the summary information, and the synchronization record is generated to record information about the synchronization operation when the server performs a synchronization operation.
  • the information of the synchronization operation may include an identifier of an image corresponding to the synchronization operation, terminal information for initiating a synchronization request, and the like. Since the synchronization operation is generated every time the synchronization operation is performed on the server side, the synchronization record can be queried to determine whether the second terminal has synchronized the summary information.
  • the second terminal does not synchronize the summary information, synchronize the summary information to the second terminal.
  • the synchronization record is updated after the summary information synchronization is completed. In order to avoid subsequent detection of the second terminal login, the summary information is repeatedly synchronized.
  • S205 Acquire an image synchronization request sent by the second terminal for acquiring the second image, where the second image is a preset resolution version of the first image.
  • step S205 when the user observes the summary information (for example, the bibliographic information and/or the thumbnail) of a certain first image by viewing the second terminal, the user wants to see the preset resolution version of the first image.
  • the image synchronization request is sent to the server, and the image synchronization request carries the image identifier of the first image corresponding to the second image that needs to be acquired and the preset resolution.
  • the server invokes the corresponding first image from the storage area according to the image identifier.
  • the server adjusts the first image to the second image of the corresponding resolution according to the preset resolution. For example, if the resolution of the first image stored in the server is X1 and the resolution required by the user is X2, and X1>X2, the server can directly scale the first image with the resolution X1 to the resolution of X2. Two images.
  • the second image of the corresponding resolution can be sent to the second terminal according to the actual needs of the user, so that the original image cannot be transmitted to the second terminal, and the data transmission amount can be reduced and the data transmission speed can be improved.
  • step S207 after generating the second image of the corresponding resolution, the server performs encryption processing, for example, symmetric encryption, on the second image.
  • the encrypted second image is then synchronized to the second terminal.
  • the image synchronization method provided by the embodiment of the present application receives an image backup request sent by the first terminal that logs in to the cloud account, the image backup request carries the first image to be backed up; and the image backup request is obtained according to the image backup request.
  • the summary information is used to describe the first image; determining whether the second terminal that is logged in to the cloud account has synchronized the summary information; and when the second terminal does not synchronize the summary information Synchronizing the summary information to the second terminal; after the server side receives the first image sent by the first terminal, it is not necessary to immediately synchronize the original image of the first image to the second terminal, and only needs to The summary information of the first image is synchronized to the second terminal, and has the beneficial effects of reducing data traffic, improving data synchronization efficiency, and saving memory space of the second terminal.
  • FIG. 5 is a structural diagram of an image synchronization apparatus in the embodiment of the present application, which is mainly used in a server.
  • the image synchronization device 300 includes a receiving module 301, a first obtaining module 302, a determining module 303, a first synchronization module 304, an updating module 305, a second obtaining module 306, a generating module 307, and a second synchronization module 308.
  • the receiving module 301 is configured to receive an image backup request sent by the first terminal that logs in to the cloud account, where the image backup request carries a first image to be backed up, and the image backup request is used to request to back up the first image.
  • the first terminal logs in to the cloud account, it detects that the newly added image is obtained, and sends the newly added image to the server for backup. For example, when a user takes a new photo after taking a photo with the first terminal, the new photo is automatically sent to the server for backup.
  • the first obtaining module 302 is configured to acquire summary information of the first image according to the image backup request, where the summary information is used to describe the first image.
  • the summary information may include thumbnails and/or record information of the first image.
  • the record information is generated on the first terminal side, and the record information may include at least one of image type information, image size information, image capturing time information, image capturing location information, image version information, and the like.
  • This thumbnail is generated on the server side. After the server monitors the first image sent by the first terminal, the first image is made into a thumbnail with a smaller file and a smaller resolution.
  • the determining module 303 is configured to determine whether the second terminal that is logged in to the cloud account has synchronized the summary information.
  • the server may determine whether the second terminal that logs in to the cloud account has synchronized the summary information by querying the synchronization record.
  • the synchronization record is generated when the server performs a synchronization operation to record the synchronization operation.
  • the information of the synchronization operation may include an identifier of an image corresponding to the synchronization operation, terminal information for initiating a synchronization request, and the like.
  • the terminal information is used to identify information about the identity of the second terminal, such as SIM card information or physical address information.
  • the determining module 303 includes an obtaining unit 3031 and a determining unit 3032.
  • the acquiring unit 3031 is configured to acquire terminal information of the second terminal when detecting that the second terminal logs in to the cloud account.
  • the terminal information may be information for identifying the identity of the second terminal, such as SIM card information or physical address information.
  • the determining unit 3032 is configured to query the synchronization record according to the terminal information to determine whether the second terminal has synchronized the summary information, and the synchronization record is generated when the server performs a synchronization operation to record the synchronization operation.
  • the information of the synchronization operation may include an identifier of an image corresponding to the synchronization operation, terminal information for initiating a synchronization request, and the like. Since the synchronization operation is generated every time the server side performs the synchronization operation, the synchronization record can be queried to determine whether the second terminal has synchronized the summary information.
  • the first synchronization module 304 is configured to synchronize the digest information to the second terminal when the second terminal does not synchronize the digest information.
  • the first synchronization module 304 is configured to synchronize the digest information to the second terminal when the second terminal does not synchronize the digest information.
  • the update module 305 is configured to update the synchronization record after the first synchronization module 304 synchronizes the summary information.
  • the second obtaining module 306 is configured to acquire an image synchronization request sent by the second terminal for acquiring the second image, where the second image is a preset resolution version of the first image.
  • the image synchronization request is sent to the server, and the image synchronization request carries an image identifier of the first image corresponding to the second image that needs to be acquired and the preset resolution.
  • the server invokes the corresponding first image from the storage area based on the image identification.
  • the generating module 307 is configured to process the first image to generate a second image of a preset resolution.
  • the server adjusts the first image to a second image of the corresponding resolution according to a preset resolution. For example, if the resolution of the first image stored in the server is X1 and the resolution required by the user is X2, and X1>X2, the server can directly scale the first image with the resolution X1 to the resolution of X2. Two images.
  • the second image of the corresponding resolution can be sent to the second terminal according to the actual needs of the user, so that the original image cannot be transmitted to the second terminal, and the data transmission amount can be reduced and the data transmission speed can be improved.
  • the second synchronization module 308 is configured to send the image to be synchronized to the second terminal. After generating the second image of the corresponding resolution, the server performs encryption processing, such as symmetric encryption, on the second image. The encrypted second image is then synchronized to the second terminal.
  • the image synchronization device receives the image backup request sent by the first terminal that logs in to the cloud account, the image backup request carries the first image to be backed up, and acquires the image according to the image backup request.
  • the summary information is used to describe the first image; determining whether the second terminal that is logged in to the cloud account has synchronized the summary information; and when the second terminal does not synchronize the summary information Synchronizing the summary information to the second terminal; after the server side receives the first image sent by the first terminal, it is not necessary to immediately synchronize the original image of the first image to the second terminal, and only needs to The summary information of the first image is synchronized to the second terminal, and has the beneficial effects of reducing data traffic, improving data synchronization efficiency, and saving memory space of the second terminal.
  • the embodiment of the present application provides a storage medium, where multiple instructions are stored, and the instructions are loaded and executed by a processor:
  • the embodiment of the present application provides a server, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
  • the step of acquiring the summary information of the first image according to the image backup request comprises: extracting the first image from the image backup request;
  • the image backup request carries the bibliographic information of the first image
  • the step of acquiring the digest information of the first image according to the image backup request includes:
  • the method further includes the following steps:
  • the step of transmitting the second image to the second terminal includes:
  • the step of determining whether the second terminal that logs in to the cloud account has synchronized the summary information comprises:
  • the synchronization record is generated when the server performs a synchronization operation to record the synchronization operation.
  • the method further includes:
  • the synchronization record is updated.
  • the embodiment of the present application further relates to a server, which may be a server located on a network, or may be a computer device such as a personal PC.
  • a server which may be a server located on a network, or may be a computer device such as a personal PC.
  • the server 400 includes a communication unit 401, a memory 402 including one or more computer readable storage media, and a processor 403 including one or more processing cores.
  • the communication unit 401 can communicate with the network device or other electronic devices through the network to complete the information transmission and reception between the server 400 and the network device or other electronic devices.
  • the communication unit 401 can communicate with other servers or electronic devices such as smart phones, tablets, and the like through a network.
  • Memory 402 can be used to store applications and data.
  • the application stored in the memory 402 contains executable program code. Applications can form various functional modules.
  • the processor 403 executes various functional applications and data processing by running an application stored in the memory 402.
  • the memory 402 can mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application required for at least one function, and the like, and the storage data area may store data created by the server 400 or exchanged with other electronic devices.
  • the processor 403 is a control center of the server 400, and connects various parts of the entire server 400 using various interfaces and lines, executes the server 400 by running or executing an application stored in the memory 402, and calling data stored in the memory 402.
  • the various functions and processing data provide overall monitoring of the server 400.
  • the processor 403 in the server 400 can load the executable program code corresponding to the process of one or more applications into the memory 402 according to the following instructions, and is stored and stored by the processor 403.
  • the second terminal only needs to synchronize the summary information of the first image to the second terminal, which has the beneficial effects of reducing data traffic and improving data synchronization efficiency.
  • an embodiment of the present application provides an image synchronization method, which is applied to an electronic device, and the electronic device may be a terminal such as a smart phone or a tablet computer.
  • the electronic device may be a terminal such as a smart phone or a tablet computer.
  • the method includes the following steps:
  • S501 Send an image backup request carrying the first image to the server, where the image backup request is used to request backup of the first image.
  • the terminal detects that a new first image is generated, it sends an image backup request to the server.
  • the image backup request carries the first image to be backed up.
  • the server After receiving the image backup request, the server extracts the first image from the image backup request for backup storage; and extracts summary information of the first image from the image backup request.
  • the summary information may include thumbnails and/or record information of the first image.
  • the record information is generated on the terminal side, and the record information may include at least one of image type information, image size information, image capturing time information, image capturing location information, image version information, and the like. This thumbnail is generated on the server side. After the server monitors the first image sent by the terminal, the first image is made into a thumbnail with a smaller file and a smaller resolution.
  • the first image may be directly deleted, and the first image is obtained from the server when the subsequent information needs to be viewed, thereby achieving the beneficial effect of saving the storage space of the terminal.
  • an embodiment of the present application further provides an image synchronization apparatus 600.
  • the image synchronization device 600 includes a transmission module 601, a third acquisition module 602, and a deletion module 603.
  • the sending module 601 is configured to send an image backup request carrying the first image to the server, where the image backup request is used to request backup of the first image;
  • the third obtaining module 602 is configured to acquire and save summary information of the first image returned by the server, where the summary information is used to describe the first image.
  • the deleting module 603 is configured to delete the first image in the terminal. After obtaining the summary information, the device may directly delete the first image, and then obtain the first image from the server when the device needs to be viewed, thereby achieving the beneficial effect of saving the storage space of the terminal.
  • FIG. 10 is a structural diagram of an electronic device in an embodiment of the present application.
  • the electronic device may specifically be a terminal such as a smart phone or a tablet computer.
  • the electronic device 700 includes a processor 701, a memory 702, by calling a computer program in the memory 702, the processor 701 is configured to: send an image backup request carrying a first image to a server, the image backup request And configured to request to perform backup on the first image; acquire summary information of the first image returned by the server, where the summary information is used to describe the first image; and delete the first in the electronic device An image.
  • FIG. 11 is a structural diagram of an electronic device in an embodiment of the present application.
  • the electronic device 800 can be a mobile phone, a tablet, or the like.
  • the electronic device 800 can include a radio frequency (RF) circuit 801, a memory 802 including one or more computer readable storage media, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, and wireless fidelity ( WiFi, Wireless Fidelity module 807, processor 808 including one or more processing cores, and power supply 809 and the like.
  • RF radio frequency
  • the RF circuit 801 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 808. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 801 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the RF circuit 801 can also communicate with the network and other devices through wireless communication.
  • SIM Subscriber Identity Module
  • LNA Low Noise Amplifier
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (CDMA). , Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 802 can be used to store software programs and modules, and the processor 808 executes various functional applications and data processing by running software programs and modules stored in the memory 802.
  • the memory 802 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area can be stored according to Data created by the use of electronic devices (such as audio data, phone books, etc.).
  • memory 802 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 802 may also include a memory controller to provide access to memory 802 by processor 808 and input unit 803.
  • the input unit 803 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 803 can include a touch-sensitive surface as well as other input devices.
  • Touch-sensitive surfaces also known as touch screens or trackpads, collect touch operations on or near the user (such as the user using a finger, stylus, etc., any suitable object or accessory on a touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connecting device according to a preset program.
  • the touch sensitive surface may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 808 is provided and can receive commands from the processor 808 and execute them.
  • touch-sensitive surfaces can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 803 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 804 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 804 can include a display panel.
  • the display panel can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
  • the touch-sensitive surface can cover the display panel, and when the touch-sensitive surface detects a touch operation thereon or nearby, it is transmitted to the processor 708 to determine the type of the touch event, and then the processor 808 displays the type according to the type of the touch event. A corresponding visual output is provided on the panel.
  • the touch-sensitive surface and display panel are implemented as two separate components to implement input and input functions, in some embodiments, the touch-sensitive surface can be integrated with the display panel to implement input and output functions.
  • the electronic device can also include at least one type of sensor 805, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel when the electronic device moves to the ear, and/or Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the electronic device can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
  • An audio circuit 806, a speaker, and a microphone provide an audio interface between the user and the electronic device.
  • the audio circuit 806 can transmit the converted electrical signal of the audio data to the speaker, and convert it into a sound signal output by the speaker; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 806 and then converted.
  • the audio data is then processed by the audio data output processor 808, sent via RF circuitry 801 to, for example, another electronic device, or the audio data is output to memory 802 for further processing.
  • the audio circuit 806 may also include an earbud jack to provide communication of the peripheral earphones with the electronic device.
  • WiFi is a short-range wireless transmission technology.
  • the electronic device can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 807, which provides users with wireless broadband Internet access.
  • FIG. 11 shows the WiFi module 807, it can be understood that it does not belong to the essential configuration of the electronic device, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 808 is a control center for the electronic device that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 802, and recalling data stored in the memory 802, Performs overall monitoring of the phone by performing various functions and processing data of the electronic device.
  • the processor 808 may include one or more processing cores; preferably, the processor 808 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 808.
  • the electronic device also includes a power source 809 (such as a battery) that supplies power to the various components.
  • a power source 809 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 808 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 809 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile electronic device may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 808 in the electronic device loads the executable file corresponding to the process of one or more applications into the memory 802 according to the following instructions, and is stored and stored by the processor 808.
  • An application in memory 802 that implements the following functions:
  • the one or more operations may constitute computer readable instructions stored on one or more computer readable media that, when executed by an electronic device, cause the computing device to perform the operations.
  • the order in which some or all of the operations are described should not be construed as implying that the operations must be sequential. Those skilled in the art will appreciate alternative rankings that have the benefit of this specification. Moreover, it should be understood that not all operations must be present in every embodiment provided herein.
  • the word "preferred” as used herein is intended to serve as an example, instance, or illustration. Any aspect or design described as “preferred” by the text is not necessarily to be construed as being more advantageous than other aspects or designs. Instead, the use of the word “preferred” is intended to present a concept in a specific manner.
  • the term “or” as used in this application is intended to mean an “or” or “an” That is, unless otherwise specified or clear from the context, "X employs A or B” means naturally including any one of the permutations. That is, if X uses A; X uses B; or X uses both A and B, then "X uses A or B" is satisfied in any of the foregoing examples.
  • Each functional unit in the embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

本申请提供一种图像同步方法、装置及服务器。所述方法包括:接收登录云账号的第一终端发送的图像备份请求,图像备份请求携带待备份的第一图像;根据图像备份请求获取第一图像的摘要信息,摘要信息用于描述第一图像;判断登录云账号的第二终端是否已同步摘要信息;当第二终端未同步摘要信息时,将摘要信息同步给第二终端。

Description

图像同步方法、装置及服务器
本申请要求于2017年5月27日提交中国专利局、申请号为201710393125.9、发明名称为“图像同步方法、装置、服务器、存储介质及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种图像同步方法、装置及服务器。
背景技术
由于手机等电子设备的存储空间有限,往往需要将其中的数据(例如,图像)备份到服务器中进行存储。
但是,对于云相册等云系统服务而言,将终端侧的数据备份到服务器侧后,需要使用图像时再从服务器侧同步相关的图像数据。以高清照片为例,若每次同步均需要将照片原图进行同步则会耗费大量的流量,同时会耗费大量时间,影响数据同步的效率。
技术问题
本申请实施例提供一种图像同步方法、装置及服务器,以节约流量并提高效率。
技术解决方案
本申请实施例提供了一种图像同步方法,应用于服务器,包括以下步骤:
接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;
根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断登录所述云账号的第二终端是否已同步所述摘要信息;
当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
相应地,本申请实施例提供了一种图像同步装置,应用于服务器,包括:
接收模块,用于接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;
第一获取模块,用于根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断模块,用于判断登录所述云账号的第二终端是否已同步所述摘要信息;
第一同步模块,用于所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
相应地,本申请实施例提供了一种服务器,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述图像同步方法。
有益效果
本申请实施例提供一种图像同步方法、装置及服务器,以节约流量并提高效率。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
为了更完整地理解本申请及其有益效果,下面将结合附图来进行以下说明,其中在下面的描述中相同的附图标号表示相同部分。
图1为本申请实施例中的图像同步方法及装置的场景示意图。
图2为本申请实施例中的图像同步方法的第一种流程图。
图3是本申请实施例中的图像同步方法的第二种流程图
图4是本申请实施例中的图像同步方法的第三种流程图
图5为本申请实施例中的图像同步装置的第一种结构图。
图6为本申请实施例中的图像同步装置的第二种结构图。
图7为本申请实施例中的服务器的一种结构图。
图8为本申请实施例中的图像同步方法的第四种流程图。
图9本申请实施例中的图像同步装置的第三种结构图。
图10本申请实施例中的电子设备的第一种结构图。
图11为本申请实施例中的电子设备的第二种结构图。
本发明的实施方式
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行之作业的步骤及符号来说明,除非另有述明。因此,其将可了解到这些步骤及操作,其中有数次提到为由计算机执行,包括了由代表了以一结构化型式中的数据之电子信号的计算机处理单元所操纵。此操纵转换该数据或将其维持在该计算机之内存系统中的位置处,其可重新配置或另外以本领域技术人员所熟知的方式来改变该计算机之运作。该数据所维持的数据结构为该内存之实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域技术人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。
本申请实施例提供一种图像同步方法,应用于服务器中,包括以下步骤:
接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像,所述图像备份请求用于请求备份所述第一图像;
根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断登录所述云账号的第二终端是否已同步所述摘要信息;
当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
在一些实施例中,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:从所述图像备份请求中提取出所述第一图像;
生成所述第一图像的缩略图,并将所述第一图像的缩略图作为所述第一图像的摘要信息。在一些实施例中,其中,所述图像备份请求携带有所述第一图像的著录信息,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:
从所述图像备份请求中提取出所述第一图像的著录信息,并将所述第一图像的著录信息作为所述第一图像的摘要信息。
在一些实施例中,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括以下步骤:
获取第二终端发送的用于获取第二图像的图像同步请求,所述第二图像为所述第一图像的预设分辨率版本;
对所述第一图像进行处理以生成预设分辨率的第二图像;
将所述第二图像发送给所述第二终端。
在一些实施例中,其中,所述将所述第二图像发送给所述第二终端的步骤,包括:
对所述第二图像进行加密处理;
将加密处理后的第二图像发送给所述第二终端。
在一些实施例中,其中,所述判断登录所述云账号的第二终端是否已同步所述摘要信息的步骤包括:
当检测到第二终端登录所述云账号时,获取第二终端的终端信息;
根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息。
在一些实施例中,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括:
所述摘要信息同步完成后,更新所述同步记录。
请同时参照图1以及图2,图1是本申请实施例中的图像同步方法及装置的场景图。图2是本申请实施例中的图像同步方法的一种流程图,其主要运用于服务器中。在本实施例中,该图像同步方法包括以下步骤:
S101、接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像,所述图像备份请求用于请求备份所述第一图像。
其中,当第一终端登录云账号后,检测到获取到新增图像时,将该新增图像发送给服务器进行备份。例如,当用户用第一终端拍照后产生了新的照片后,就会自动将该新的照片发送给服务器进行备份。
S102、根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像。
其中,该摘要信息可以包括第一图像的缩略图和/或著录信息。其中,该著录信息在第一终端侧生成,该著录信息可以包括图像类型信息、图像大小信息、图像拍摄时间信息、图像拍摄地点信息、图像版本信息等信息中的至少一种。该缩略图是在服务器侧生成。该服务器监测到第一终端发送的第一图像后,将该第一图像制作成文件更小、分辨率更小的缩略图。
S103、判断登录所述云账号的第二终端是否已同步所述摘要信息。
其中,服务器可以通过查询同步记录来判断登录云账号的第二终端是否已同步摘要信息。该同步记录在服务器进行同步操作时生成以记录该同步操作的信息,该同步操作的信息可以包括同步操作对应的图像的标识以及发起同步请求的终端信息等。
S104、当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。当然,可以理解地,如果第二终端已经同步过该摘要信息,则无需重复同步该摘要信息。在一些实施例中,在摘要信息同步完成后,更新同步记录。以避免后续检测到该第二终端登录云账号时,重复同步该摘要信息。
由上可知,本申请实施例提供的图像同步方法通过接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;判断登录所述云账号的第二终端是否已同步所述摘要信息;当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端;而使得服务器侧在收到第一终端发送的第一图像后,无需将第一图像的原图立即同步给第二终端,只需要将该第一图像的摘要信息同步给第二终端即可,具有减少数据流量、提高数据同步效率以及节约第二终端的内存空间的有益效果。
请参照图3,图3是本申请实施例中的图像同步方法的另一种流程图,其主要运用于服务器中。在本实施例中,该图像同步方法包括以下步骤:
S201、接收登录云账号的第一终端发送的图像备份请求,图像备份请求携带有待备份的第一图像,图像备份请求用于请求备份第一图像。
当第一终端登录云账号后,检测到获取到新增图像时,将该新增图像发送给服务器进行备份。例如,当用户用第一终端拍照后产生了新的照片后,就会自动将该新的照片发送给服务器进行备份。
S202、根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像。
其中,该摘要信息可以包括第一图像的缩略图和/或著录信息。其中,该著录信息在第一 终端侧生成,该著录信息可以包括图像类型信息、图像大小信息、图像拍摄时间信息、图像拍摄地点信息、图像版本信息等信息中的至少一种。该缩略图是在服务器侧生成。该服务器监测到第一终端发送的第一图像后,将该第一图像制作成文件更小、分辨率更小的缩略图。
实际应用中,该步骤S202具体可以包括:
S2021、从所述图像备份请求中提取出所述第一图像。在该步骤中,第一图像以及著录信息都是加载在第一终端发送给服务器的图像备份请求中的,当监测到该图像备份请求后,从该图像备份请求中提取出对应的第一图像,并将第一图像进行备份保存。
S2022、对所述第一图像进行处理以生成所述第一图像的缩略图,并将所述第一图像的缩略图作为所述第一图像的摘要信息。在该步骤中,该缩略图的分辨率或者大小可以预先设定。例如,可以统一设定每一缩略图均为2Kb。或者,可以根据该第一图像的原图的大小或分辨率,缩小20倍后形成缩略图。
S2023、从所述图像备份请求中提取出所述第一图像的著录信息,并将所述第一图像的著录信息作为所述第一图像的摘要信息。
可以理解地,步骤S2021以及步骤S2022并非必不可少地,该步骤S2023也并非必不可少地。
S203、判断登录所述云账号的第二终端是否已同步所述摘要信息。
请同时参照图4,在本实施例中,可以通过终端信息来判断该第二终端是否已同步该摘要信息。实际应用中,该步骤S203包括:
S2031、当检测到第二终端登录所述云账号时,获取第二终端的终端信息。其中,该终端信息可以为用于标识第二终端身份的信息,例如SIM卡信息或者物理地址信息等。
S2032、根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息。该同步操作的信息可以包括同步操作对应的图像的标识以及发起同步请求的终端信息等。由于服务器侧每进行一次同步操作都会产生同步操作的信息,因此,可以通过查询同步记录来判断该第二终端是否已经同步过该摘要信息。
S204、当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。当然,可以理解地,如果第二终端已经同步过该摘要信息,则无需重复同步该摘要信息。在一些实施例中,在摘要信息同步完成后,更新同步记录。以避免后续检测到该第二终端登录时,重复同步该摘要信息。
S205、获取第二终端发送的用于获取第二图像的图像同步请求,第二图像为第一图像的预设分辨率版本。
在该步骤S205中,当用户通过观察该第二终端查看到某一第一图像的摘要信息(例如著录信息和/或缩略图)时,想要看该第一图像的预设分辨率版本的第二图像时,发送图像同步请求给该服务器,该图像同步请求携带有需要获取的第二图像所对应的第一图像的图像标识以及该预设分辨率。服务器根据该图像标识从存储区域调用该对应的第一图像。
S206、对所述第一图像进行处理以生成预设分辨率的第二图像。
在该步骤S206中,服务器接根据预设分辨率将第一图像调整为对应分辨率的第二图像。例如,存储在服务器中的第一图像的分辨率为X1,用户需求的分辨率为X2,且X1>X2,那么服务器可以直接将分辨率为X1的第一图像缩放为分辨率为X2的第二图像。可以根据用户的实际需求,发送对应分辨率的第二图像给第二终端,从而无需传送原图给第二终端,可以减小数据传输量并提高数据传输速度。
S207、将所述第二图像发送给所述第二终端。
在该步骤S207中,服务器在生成对应分辨率的第二图像后,对该第二图像进行加密处理,例如对称加密。然后将经过加密处理后的第二图像同步给第二终端。
由上可知,本申请实施例提供的图像同步方法通过接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;判断登录所述云账号的第二终端是否已同步所述摘要信息;当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端;而使得服务器侧在收到第一终端发送的第一图像后,无需将第一图像的原图立即同步给第二终端,只需要将该第一图像的摘要信息同步给第二终端即可,具有减少数据流量、提高数据同步效率以及节约第二终端的内存空间的有益效果。
请参照图5,图5是本申请实施例中的图像同步装置的一种结构图,其主要运用于服务器中。该图像同步装置300包括:接收模块301、第一获取模块302、判断模块303、第一同步模块304、更新模块305、第二获取模块306、生成模块307以及第二同步模块308。
其中,接收模块301用于接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像,所述图像备份请求用于请求备份所述第一图像。当第一终端登录云账号后,检测到获取到新增图像时,将该新增图像发送给服务器进行备份。例如,当用户用第一终端拍照后产生了新的照片后,就会自动将该新的照片发送给服务器进行备份。
第一获取模块302用于根据所述图像备份请求获取所述第一图像的摘要信息,摘要信息用于描述第一图像。
实际应用中,其中,该摘要信息可以包括第一图像的缩略图和/或著录信息。其中,该著录信息在第一终端侧生成,该著录信息可以包括图像类型信息、图像大小信息、图像拍摄时间信息、图像拍摄地点信息、图像版本信息等信息中的至少一种。该缩略图是在服务器侧生成。该服务器监测到第一终端发送的第一图像后,将该第一图像制作成文件更小、分辨率更小的缩略图。
判断模块303用于判断登录所述云账号的第二终端是否已同步所述摘要信息。其中,服务器可以通过查询同步记录来判断登录云账号的第二终端是否已同步摘要信息。该同步记录在服务器进行同步操作时生成以记录该同步操作的信息,该同步操作的信息可以包括同步操作对应的图像的标识以及发起同步请求的终端信息等。该终端信息用于标识第二终端身份的信息,例如SIM卡信息或者物理地址信息等。
同时参照图6,该判断模块303包括获取单元3031以及判断单元3032。
其中,获取单元3031用于当检测到第二终端登录所述云账号时,获取第二终端的终端信息。其中,该终端信息可以为用于标识第二终端身份的信息,例如SIM卡信息或者物理地址信息等。
判断单元3032用于根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息。该同步操作的信息可以包括同步操作对应的图像的标识以及发起同步请求的终端信息等。由于服务器侧每进行一次同步操作都会产生同步操作的信息,因此可以通过查询同步记录来判断该第二终端是否已经同步过该摘要信息。
第一同步模块304用于当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。当然,可以理解地,如果第二终端已经同步过该摘要信息,则无需重复同步该摘要信息。
更新模块305用于在第一同步模块304将摘要信息同步完成后,更新所述同步记录。
第二获取模块306用于获取第二终端发送的用于获取第二图像的图像同步请求,第二图像为第一图像的预设分辨率版本。当用户通过观察该第二终端查看到某一第一图像的摘要信息(例如著录信息和/或缩略图)时,想要看该第一图像的预设分辨率版本的第二图像时,发送图像同步请求给该服务器,该图像同步请求携带有需要获取的第二图像所对应的第一图像的图像标识以及该预设分辨率。服务器根据该图像标识从存储区域调用该对应的第一 图像。
生成模块307用于对所述第一图像进行处理以生成预设分辨率的第二图像。
服务器接根据预设分辨率将第一图像调整为对应分辨率的第二图像。例如,存储在服务器中的第一图像的分辨率为X1,用户需求的分辨率为X2,且X1>X2,那么服务器可以直接将分辨率为X1的第一图像缩放为分辨率为X2的第二图像。可以根据用户的实际需求,发送对应分辨率的第二图像给第二终端,从而无需传送原图给第二终端,可以减小数据传输量并提高数据传输速度。
第二同步模块308用于将待同步图像发送给所述第二终端。服务器在生成对应分辨率的第二图像后,对该第二图像进行加密处理,例如对称加密。然后将经过加密处理后的第二图像同步给第二终端。
由上可知,本申请实施例提供的图像同步装置通过接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;判断登录所述云账号的第二终端是否已同步所述摘要信息;当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端;而使得服务器侧在收到第一终端发送的第一图像后,无需将第一图像的原图立即同步给第二终端,只需要将该第一图像的摘要信息同步给第二终端即可,具有减少数据流量、提高数据同步效率以及节约第二终端的内存空间的有益效果。
本申请实施例提供了一种存储介质,存储有多条指令,所述指令由处理器加载并执行:
接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;
根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断登录所述云账号的第二终端是否已同步所述摘要信息;
当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
本申请实施例提供一种服务器,其中,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像,所述图像备份请求用于请求备份所述第一图像;
根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断登录所述云账号的第二终端是否已同步所述摘要信息;
当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
在一些实施例中,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:从所述图像备份请求中提取出所述第一图像;
生成所述第一图像的缩略图,并将所述第一图像的缩略图作为所述第一图像的摘要信息。在一些实施例中,其中,所述图像备份请求携带有所述第一图像的著录信息,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:
从所述图像备份请求中提取出所述第一图像的著录信息,并将所述第一图像的著录信息作为所述第一图像的摘要信息。
在一些实施例中,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括以下步骤:
获取第二终端发送的用于获取第二图像的图像同步请求,所述第二图像为所述第一图像的预设分辨率版本;
对所述第一图像进行处理以生成预设分辨率的第二图像;
将所述第二图像发送给所述第二终端。
在一些实施例中,其中,所述将所述第二图像发送给所述第二终端的步骤,包括:
对所述第二图像进行加密处理;
将加密处理后的第二图像发送给所述第二终端。
在一些实施例中,其中,所述判断登录所述云账号的第二终端是否已同步所述摘要信息的步骤包括:
当检测到第二终端登录所述云账号时,获取第二终端的终端信息;
根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息。
在一些实施例中,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后还包括:
所述摘要信息同步完成后,更新所述同步记录。
比如,本申请实施例还涉及一种服务器,服务器可以是位于网络上的服务器,也可以是个人PC等计算机设备。
如图7所示,该服务器400包括:通信单元401、包括有一个或一个以上计算机可读存储介质的存储器402以及包括有一个或者一个以上处理核心的处理器403。
其中,通信单元401可以通过网络与网络设备或者其他电子设备通信,以完成服务器400与网络设备或者其他电子设备之间的信息收发。例如,通信单元401可以通过网络与其他服务器或者诸如智能手机、平板电脑等电子设备进行通信。
存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可执行程序代码。应用程序可以组成各种功能模块。处理器403通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区。其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等,存储数据区可存储服务器400创建的或者与其他电子设备交换的数据。
处理器403是服务器400的控制中心,利用各种接口和线路连接整个服务器400的各个部分,通过运行或执行存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行服务器400的各种功能和处理数据,从而对服务器400进行整体监控。
在本实施例中,服务器400中的处理器403可以按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行程序代码加载到存储器402中,并由处理器403来运行存储在存储器402中的应用程序,从而实现各种功能:
接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;
根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断登录所述云账号的第二终端是否已同步所述摘要信息;
当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
当然,对该各个功能的细化以及拓展在上述图像同步方法以及装置中已经有详细描述,因此不再赘述。
由上可知,通过当监测到第一终端发送的第一图像时,获取所述第一图像的摘要信息;获取与所述第一终端相关联的至少一个第二终端的终端信息;根据所述终端信息将所述摘要信息同步给对应的所述第二终端;从而使得服务器侧在收到第一终端发送的第一图像后,无需将第一图像的原图同步给与该第一终端关联的第二终端,只需要将该第一图像的摘要信息同步给第二终端即可,具有减少数据流量、提高数据同步效率的有益效果。
请参照图8,本申请实施例提供了一种图像同步方法,应用于电子设备中,该电子设备具体可以是智能手机、平板电脑等终端。以终端为例,该方法包括以下步骤:
S501、发送携带有第一图像的图像备份请求至服务器,所述图像备份请求用于请求对所述 第一图像进行备份。该终端检测到有新的第一图像产生时,发送图像备份请求至服务器。该图像备份请求中携带有待备份的第一图像。
S502、获取服务器返回的第一图像的摘要信息并保存,摘要信息用于对所述第一图像进行描述。服务器接收到该图像备份请求后,从该图像备份请求中提取出第一图像进行备份存储;并从该图像备份请求中提取出该第一图像的摘要信息。该摘要信息可以包括第一图像的缩略图和/或著录信息。其中,该著录信息在终端侧生成,该著录信息可以包括图像类型信息、图像大小信息、图像拍摄时间信息、图像拍摄地点信息、图像版本信息等信息中的至少一种。该缩略图是在服务器侧生成。该服务器监测到终端发送的第一图像后,将该第一图像制作成文件更小、分辨率更小的缩略图。
S503、删除所述终端中的第一图像。当获取到摘要信息后,可以直接删除该第一图像,后续需要查看时再从服务器获取第一图像,从而达到节约终端的存储空间的有益效果。
请参照图9,本申请实施例还提供了一种图像同步装置600。该图像同步装置600包括:发送模块601、第三获取模块602以及删除模块603。
发送模块601用于发送携带有第一图像的图像备份请求至服务器,所述图像备份请求用于请求对所述第一图像进行备份;
第三获取模块602用于获取服务器返回的所述第一图像的摘要信息并保存,所述摘要信息用于对所述第一图像进行描述;
删除模块603用于删除所述终端中的第一图像。本装置在获取到摘要信息后,可以直接删除该第一图像,后续需要查看时再从服务器获取第一图像,从而达到节约终端的存储空间的有益效果。
请参照图10,图10是本申请实施例中的电子设备的结构图。该电子设备具体可以是智能手机、平板电脑等终端。该电子设备700包括处理器701、存储器702,通过调用所述存储器702中的计算机程序,所述处理器701用于执行:发送携带有第一图像的图像备份请求至服务器,所述图像备份请求用于请求对所述第一图像进行备份;获取服务器返回的所述第一图像的摘要信息并保存,所述摘要信息用于对所述第一图像进行描述;删除所述电子设备中的第一图像。
请参照图11,图11是本申请实施例中的电子设备的结构图。该电子设备800可以为手机、平板电脑等。该电子设备800可以包括射频(RF,Radio Frequency)电路801、包括有一个或一个以上计算机可读存储介质的存储器802、输入单元803、显示单元804、传感器805、音频电路806、无线保真(WiFi,Wireless Fidelity)模块807、包括有一个或者一个以上处理核心的处理器808、以及电源809等部件。本领域技术人员可以理解,图11中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路801可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器808处理;另外,将涉及上行的数据发送给基站。通常,RF电路801包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,RF电路801还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。存储器802可用于存储软件程序以及模块,处理器808通过运行存储在存储器802的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器802可主要包括存储程序区 和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器802可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器802还可以包括存储器控制器,以提供处理器808和输入单元803对存储器802的访问。
输入单元803可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元803可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器808,并能接收处理器808发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元803还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元804可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元804可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器708以确定触摸事件的类型,随后处理器808根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图11中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。
电子设备还可包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路806、扬声器,传声器可提供用户与电子设备之间的音频接口。音频电路806可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路806接收后转换为音频数据,再将音频数据输出处理器808处理后,经RF电路801以发送给比如另一电子设备,或者将音频数据输出至存储器802以便进一步处理。音频电路806还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。
WiFi属于短距离无线传输技术,电子设备通过WiFi模块807可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块807,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器808是电子设备的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器802内的软件程序和/或模块,以及调用存储在存储器802内的数据,执行电子设备的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器808可包括一个或多个处理核心;优选的,处理器808可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器808中。
电子设备还包括给各个部件供电的电源809(比如电池),优选的,电源可以通过电源管理系统与处理器808逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源809还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,移动电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,电子设备中的处理器808会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器802中,并由处理器808来运行存储在存储器802中的应用程序,从而实现以下功能:
接收登录云账号的第一电子设备发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;
根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
判断登录所述云账号的第二电子设备是否已同步所述摘要信息;
当所述第二电子设备未同步所述摘要信息时,将所述摘要信息同步给所述第二电子设备。本文提供了实施例的各种操作。在一个实施例中,所述的一个或多个操作可以构成一个或多个计算机可读介质上存储的计算机可读指令,其在被电子设备执行时将使得计算设备执行所述操作。描述一些或所有操作的顺序不应当被解释为暗示这些操作必需是顺序相关的。本领域技术人员将理解具有本说明书的益处的可替代的排序。而且,应当理解,不是所有操作必需在本文所提供的每个实施例中存在。
而且,本文所使用的词语“优选的”意指用作实例、示例或例证。奉文描述为“优选的”任意方面或设计不必被解释为比其他方面或设计更有利。相反,词语“优选的”的使用旨在以具体方式提出概念。如本申请中所使用的术语“或”旨在意指包含的“或”而非排除的“或”。即,除非另外指定或从上下文中清楚,“X使用A或B”意指自然包括排列的任意一个。即,如果X使用A;X使用B;或X使用A和B二者,则“X使用A或B”在前述任一示例中得到满足。
而且,尽管已经相对于一个或多个实现方式示出并描述了本公开,但是本领域技术人员基于对本说明书和附图的阅读和理解将会想到等价变型和修改。本公开包括所有这样的修改和变型,并且仅由所附权利要求的范围限制。特别地关于由上述组件(例如元件、资源等)执行的各种功能,用于描述这样的组件的术语旨在对应于执行所述组件的指定功能(例如其在功能上是等价的)的任意组件(除非另外指示),即使在结构上与执行本文所示的本公开的示范性实现方式中的功能的公开结构不等同。此外,尽管本公开的特定特征已经相对于若干实现方式中的仅一个被公开,但是这种特征可以与如可以对给定或特定应用而言是期望和有利的其他实现方式的一个或多个其他特征组合。而且,就术语“包括”、“具有”、“含有”或其变形被用在具体实施方式或权利要求中而言,这样的术语旨在以与术语“包含”相似的方式包括。
本申请实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上 述提到的存储介质可以是只读存储器,磁盘或光盘等。上述的各装置或系统,可以执行相应方法实施例中的方法。
综上所述,虽然本申请已以优选实施例揭露如上,但上述优选实施例并非用以限制本申请,本领域的普通技术人员,在不脱离本申请的精神和范围内,均可作各种更动与润饰,因此本申请的保护范围以权利要求界定的范围为准。

Claims (20)

  1. 一种图像同步方法,应用于服务器中,其中,包括以下步骤:
    接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像,所述图像备份请求用于请求备份所述第一图像;
    根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
    判断登录所述云账号的第二终端是否已同步所述摘要信息;当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
  2. 根据权利要求1所述的图像同步方法,其中,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:
    从所述图像备份请求中提取出所述第一图像;
    生成所述第一图像的缩略图,并将所述第一图像的缩略图作为所述第一图像的摘要信息。
  3. 根据权利要求1所述的图像同步方法,其中,所述图像备份请求携带有所述第一图像的著录信息,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:
    从所述图像备份请求中提取出所述第一图像的著录信息,并将所述第一图像的著录信息作为所述第一图像的摘要信息。
  4. 根据权利要求1所述的图像同步方法,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括以下步骤:
    获取第二终端发送的用于获取第二图像的图像同步请求,所述第二图像为所述第一图像的预设分辨率版本;
    对所述第一图像进行处理以生成预设分辨率的第二图像;
    将所述第二图像发送给所述第二终端。
  5. 根据权利要求4所述的图像同步方法,其中,所述将所述第二图像发送给所述第二终端的步骤,包括:
    对所述第二图像进行加密处理;
    将加密处理后的第二图像发送给所述第二终端。
  6. 根据权利1所述的图像同步方法,其中,所述判断登录所述云账号的第二终端是否已同步所述摘要信息的步骤包括:
    当检测到第二终端登录所述云账号时,获取第二终端的终端信息;
    根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息。
  7. 根据权利要求6所述的图像同步方法,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括:
    所述摘要信息同步完成后,更新所述同步记录。
  8. 一种图像同步装置,应用于服务器,其中,包括:
    接收模块,用于接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像;
    第一获取模块,用于根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
    判断模块,用于判断登录所述云账号的第二终端是否已同步所述摘要信息;
    第一同步模块,用于在所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
  9. 根据权利要求8所述的图像同步装置,其中,所述第一获取模块用于从所述图像备份请求中提取出所述第一图像,以及用于生成所述第一图像的缩略图,并将所述第一图像的缩略图作为所述第一图像的摘要信息。
  10. 根据权利要求8所述的图像同步装置,其中,所述图像备份请求携带有所述第一图像的著录信息;所述第一获取模块用于从所述图像备份请求中提取出所述第一图像的著录信息,并将所述第一图像的著录信息作为所述第一图像的摘要信息。
  11. 根据权利要求8所述的图像同步装置,其中,还包括:
    第二获取模块,用于获取第二终端发送的用于获取第二图像的图像同步请求,所述第二图像为所述第一图像的预设分辨率版本;
    生成模块,用于对所述第一图像进行处理以生成预设分辨率的第二图像;
    第二同步模块,用于将所述第二图像发送给所述第二终端。
  12. 根据权利要求8所述的图像同步装置,其中,所述判断模块包括:
    获取单元,用于当检测到第二终端登录所述云账号时,获取第二终端的终端信息;
    判断单元,用于根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息;
  13. 根据权利要求12所述的图像同步装置,其中,所述装置还包括:
    更新模块,用于在所述第一同步模块将所述摘要信息同步完成后,更新所述同步记录。
  14. 一种服务器,其中,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
    接收登录云账号的第一终端发送的图像备份请求,所述图像备份请求携带有待备份的第一图像,所述图像备份请求用于请求备份所述第一图像;
    根据所述图像备份请求获取所述第一图像的摘要信息,所述摘要信息用于描述所述第一图像;
    判断登录所述云账号的第二终端是否已同步所述摘要信息;
    当所述第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端。
  15. 根据权利要求14所述的服务器,其中,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:
    从所述图像备份请求中提取出所述第一图像;
    生成所述第一图像的缩略图,并将所述第一图像的缩略图作为所述第一图像的摘要信息。
  16. 根据权利要求14所述的服务器,其中,所述图像备份请求携带有所述第一图像的著录信息,所述根据所述图像备份请求获取所述第一图像的摘要信息的步骤包括:
    从所述图像备份请求中提取出所述第一图像的著录信息,并将所述第一图像的著录信息作为所述第一图像的摘要信息。
  17. 根据权利要求14所述的服务器,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括以下步骤:
    获取第二终端发送的用于获取第二图像的图像同步请求,所述第二图像为所述第一图像的预设分辨率版本;
    对所述第一图像进行处理以生成预设分辨率的第二图像;
    将所述第二图像发送给所述第二终端。
  18. 根据权利要求17所述的服务器,其中,所述将所述第二图像发送给所述第二终端的步骤,包括:
    对所述第二图像进行加密处理;
    将加密处理后的第二图像发送给所述第二终端。
  19. 根据权利14所述的服务器,其中,所述判断登录所述云账号的第二终端是否已同步所述摘要信息的步骤包括:
    当检测到第二终端登录所述云账号时,获取第二终端的终端信息;
    根据所述终端信息查询同步记录以判断所述第二终端是否已同步所述摘要信息,所述同步记录在服务器进行同步操作时生成以记录所述同步操作的信息。
  20. 根据权利要求19所述的服务器,其中,所述当第二终端未同步所述摘要信息时,将所述摘要信息同步给所述第二终端的步骤之后,还包括:
    所述摘要信息同步完成后,更新所述同步记录。
PCT/CN2018/087878 2017-05-27 2018-05-22 图像同步方法、装置及服务器 WO2018219179A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18810849.2A EP3606009B1 (en) 2017-05-27 2018-05-22 Image synchronization method and device, and server
US16/684,350 US11327845B2 (en) 2017-05-27 2019-11-14 Image synchronization method and device, and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710393125.9 2017-05-27
CN201710393125.9A CN107277117A (zh) 2017-05-27 2017-05-27 图像同步方法、装置、服务器、存储介质及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/684,350 Continuation US11327845B2 (en) 2017-05-27 2019-11-14 Image synchronization method and device, and server

Publications (1)

Publication Number Publication Date
WO2018219179A1 true WO2018219179A1 (zh) 2018-12-06

Family

ID=60065028

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087878 WO2018219179A1 (zh) 2017-05-27 2018-05-22 图像同步方法、装置及服务器

Country Status (4)

Country Link
US (1) US11327845B2 (zh)
EP (1) EP3606009B1 (zh)
CN (1) CN107277117A (zh)
WO (1) WO2018219179A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277117A (zh) 2017-05-27 2017-10-20 广东欧珀移动通信有限公司 图像同步方法、装置、服务器、存储介质及终端

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179156A (zh) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 一种图片分享方法、系统及设备
CN103731488A (zh) * 2013-12-26 2014-04-16 黄伟 照片分享方法及系统
CN104092749A (zh) * 2014-07-01 2014-10-08 小米科技有限责任公司 同步照片的方法和装置
JP2016162295A (ja) * 2015-03-03 2016-09-05 富士通株式会社 携帯端末装置、サーバ装置、画像共有制御方法、及び画像共有制御プログラム
US20170021875A1 (en) * 2015-07-22 2017-01-26 Pittasoft Co., Ltd. Image recording device for vehicle with dual wi-fi access function and image sharing system using the same
CN106453572A (zh) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 基于云服务器同步图像的方法及系统
CN107277117A (zh) * 2017-05-27 2017-10-20 广东欧珀移动通信有限公司 图像同步方法、装置、服务器、存储介质及终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739682A (zh) * 2012-07-03 2012-10-17 上海盛翔信息科技有限公司 基于互联网图片异地设计和印刷合成系统及方法
US9152313B2 (en) * 2012-08-06 2015-10-06 Shutterfly, Inc. Unified picture access across devices
US9047321B2 (en) * 2013-03-21 2015-06-02 Nexbit Systems Inc. Prioritizing downloading of image files
CN103458016A (zh) * 2013-08-21 2013-12-18 小米科技有限责任公司 图片管理的方法、装置及终端设备
CN103973813A (zh) 2014-05-23 2014-08-06 小米科技有限责任公司 云相册同步方法及装置
US9300737B1 (en) * 2015-06-02 2016-03-29 Mylio, LLC Object replication using object device links and flags
CN104883404B (zh) * 2015-06-04 2017-05-24 上海斐讯数据通信技术有限公司 基于网络的文件云同步方法
CN106302642A (zh) 2016-07-27 2017-01-04 乐视控股(北京)有限公司 一种同步数据的方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179156A (zh) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 一种图片分享方法、系统及设备
CN103731488A (zh) * 2013-12-26 2014-04-16 黄伟 照片分享方法及系统
CN104092749A (zh) * 2014-07-01 2014-10-08 小米科技有限责任公司 同步照片的方法和装置
JP2016162295A (ja) * 2015-03-03 2016-09-05 富士通株式会社 携帯端末装置、サーバ装置、画像共有制御方法、及び画像共有制御プログラム
US20170021875A1 (en) * 2015-07-22 2017-01-26 Pittasoft Co., Ltd. Image recording device for vehicle with dual wi-fi access function and image sharing system using the same
CN106453572A (zh) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 基于云服务器同步图像的方法及系统
CN107277117A (zh) * 2017-05-27 2017-10-20 广东欧珀移动通信有限公司 图像同步方法、装置、服务器、存储介质及终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3606009A4

Also Published As

Publication number Publication date
US20200081799A1 (en) 2020-03-12
EP3606009A4 (en) 2020-04-15
US11327845B2 (en) 2022-05-10
EP3606009A1 (en) 2020-02-05
CN107277117A (zh) 2017-10-20
EP3606009B1 (en) 2021-12-22

Similar Documents

Publication Publication Date Title
CN104518953B (zh) 删除消息的方法、即时通信终端及系统
US10055220B2 (en) Method, apparatus, and system for processing desktop data of mobile terminal
WO2017206916A1 (zh) 处理器中内核运行配置的确定方法以及相关产品
TWI512525B (zh) 關聯終端的方法及系統、終端及電腦可讀取儲存介質
US10956280B2 (en) Data backup method, electronic device, and storage medium
WO2015090248A1 (zh) 服务器的过载保护方法及装置
US20160314219A1 (en) Method and apparatus for invoking application programming interface
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
WO2018049887A1 (zh) 数据传输处理方法及终端设备
WO2018049897A1 (zh) 数据备份方法及设备
WO2016045226A1 (zh) 信息处理方法和装置
WO2018049971A1 (zh) 热点网络切换方法及终端
WO2018049894A1 (zh) 数据传输方法及设备
WO2018120905A1 (zh) 终端中消息提示的方法和终端
US11481357B2 (en) Album display method, electronic device, and storage medium
WO2018049935A1 (zh) 一种数据迁移的方法及终端
WO2018040813A1 (zh) 音视频通信方法、终端、服务器及存储介质
WO2018233631A1 (zh) 一种终端设备的控制方法、存储介质及终端设备
TW201502986A (zh) 使用於瀏覽器網頁的應用程式訊息通知顯示方法、相關設備與系統
CN106156097B (zh) 一种浏览器输入记录的处理方法及装置
CN108270757B (zh) 一种用户账户切换方法、装置、客户端以及系统
WO2019076377A1 (zh) 图像的查看方法及移动终端
WO2018161788A1 (zh) 多媒体数据共享方法及装置
WO2015062234A1 (zh) 移动终端资源处理方法、装置和设备
CN105631059B (zh) 数据处理方法、数据处理装置及数据处理系统

Legal Events

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

Ref document number: 18810849

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018810849

Country of ref document: EP

Effective date: 20191028

NENP Non-entry into the national phase

Ref country code: DE