WO2016101441A1 - 一种进行文件同步的方法及系统 - Google Patents
一种进行文件同步的方法及系统 Download PDFInfo
- Publication number
- WO2016101441A1 WO2016101441A1 PCT/CN2015/076460 CN2015076460W WO2016101441A1 WO 2016101441 A1 WO2016101441 A1 WO 2016101441A1 CN 2015076460 W CN2015076460 W CN 2015076460W WO 2016101441 A1 WO2016101441 A1 WO 2016101441A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- synchronized
- information
- server
- state information
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the present invention relates to the field of electronic devices, and in particular, to a method and system for performing file synchronization.
- TVs are becoming more and more intelligent and networked. People can perform various operations by installing related applications on smart TVs: watching movies, watching TV, listening to music, browsing pictures, and so on.
- wireless communication devices are playing an increasingly important role in people's lives. People also perform various operations through wireless communication devices: watching e-books, movies, watching live TV, listening. Music, browsing pictures, browsing the web, brushing Weibo, and more.
- the device continues to watch the movie. At this point, it is necessary to find the movie application on the smart device, then search for the movie, start playing the movie, and finally manually adjust to the time point viewed on the smart TV. Similarly, if the user is listening to music, browsing the web, brushing Weibo, etc., it is necessary to perform repeated operations, which is very troublesome, and it may be difficult to find the status point of the previous operation, which affects the user's experience.
- the technical problem to be solved by the present invention is to provide a method and system for performing file synchronization, which can enable files to be used synchronously between different devices to improve user experience.
- a technical solution adopted by the present invention is to provide a system for performing file synchronization, the system comprising: a first device, a server, and at least one second device;
- the first device includes:
- a first sending module configured to send a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device;
- the server includes:
- a first receiving module configured to receive a file synchronization request of the first device
- a first module configured to search, according to the file synchronization request, the locally saved first file synchronization information sent by the first device and the at least one second file synchronization information sent by the at least one second device, where the first
- the file synchronization information includes a file identifier of the file to be synchronized, first state information of the file to be synchronized, and an identifier of the first device, where the second file synchronization information includes a file of the file to be synchronized. Identifying, second state information of the file that needs to be synchronized, and identifier of the second device;
- a determining module configured to determine, according to the first file synchronization information and the at least one second file synchronization information, the latest of the files that need to be synchronized in the first state information and the at least one second state information status information;
- a first sending module configured to send latest state information of the file that needs to be synchronized to the first device
- the first device further includes:
- a receiving module configured to receive latest state information of the file that needs to be synchronized sent by the server
- a synchronization module configured to perform a synchronization operation of the file according to the latest state information of the file that needs to be synchronized
- the first device further includes:
- a second sending module configured to send the first file synchronization information to the server
- the server further includes:
- a second receiving module configured to receive the first file synchronization information sent by the first device, and save the information locally;
- the at least one second device includes:
- a sending module configured to send the at least one second file synchronization information to the server
- the server further includes:
- the third receiving module is configured to receive and receive the at least one second file synchronization information sent by the at least one second device, and save the information locally.
- the first device is a mobile device
- the at least one second device is a smart TV.
- the file to be synchronized includes one or more of a video play file, a music play file, a browser file, a microblog client file, and an e-book reader file.
- another technical solution adopted by the present invention is to provide a method for performing file synchronization, including:
- the first device sends a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device;
- the server Receiving, by the server, a file synchronization request of the first device, and searching, according to the file synchronization request, the locally saved first file synchronization information sent by the first device and the at least one second file sent by the at least one second device Synchronization information, wherein the first file synchronization information includes a file identifier of the file to be synchronized, first state information of the file to be synchronized, and an identifier of the first device, the second file synchronization information a file identifier including the file to be synchronized, second state information of the file to be synchronized, and an identifier of the second device; and according to the first file synchronization information and the at least one second file synchronization information, Determining, in the first state information and the at least one second state information, latest state information of the file that needs to be synchronized; sending latest state information of the file that needs to be synchronized to the first device;
- the first device receives the latest state information of the file that needs to be synchronized sent by the server, and performs a synchronization operation of the file according to the latest state information of the file that needs to be synchronized.
- the method Before the step of the first device sending a file synchronization request to the server, the method includes:
- the first device sends the first file synchronization information to the server
- the server receives the first file synchronization information sent by the first device, and saves the information locally.
- the method further includes:
- the server receives the at least one second file synchronization information sent by the at least one second device, and saves the information locally.
- the first device is a mobile device
- the at least one second device is a smart TV.
- the file to be synchronized includes one or more of a video play file, a music play file, a browser file, a microblog client file, and an e-book reader file.
- another technical solution adopted by the present invention is to provide a system for performing file synchronization, the system comprising: a first device, a server, and at least one second device;
- the first device includes:
- a first sending module configured to send a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device;
- the server includes:
- a first receiving module configured to receive a file synchronization request of the first device
- a first module configured to search, according to the file synchronization request, the locally saved first file synchronization information sent by the first device and the at least one second file synchronization information sent by the at least one second device, where the first
- the file synchronization information includes a file identifier of the file to be synchronized, first state information of the file to be synchronized, and an identifier of the first device, where the second file synchronization information includes a file of the file to be synchronized. Identifying, second state information of the file that needs to be synchronized, and identifier of the second device;
- a determining module configured to determine, according to the first file synchronization information and the at least one second file synchronization information, the latest of the files that need to be synchronized in the first state information and the at least one second state information status information;
- a first sending module configured to send latest state information of the file that needs to be synchronized to the first device
- the first device further includes:
- a receiving module configured to receive latest state information of the file that needs to be synchronized sent by the server
- the synchronization module is configured to perform a synchronization operation of the file according to the latest state information of the file that needs to be synchronized.
- the first device further includes:
- a second sending module configured to send the first file synchronization information to the server
- the server further includes:
- the second receiving module is configured to receive the first file synchronization information sent by the first device, and save the information locally.
- the at least one second device includes:
- a sending module configured to send the at least one second file synchronization information to the server
- the server further includes:
- the third receiving module is configured to receive and receive the at least one second file synchronization information sent by the at least one second device, and save the information locally.
- the first device is a mobile device
- the at least one second device is a smart TV.
- the file to be synchronized includes one or more of a video play file, a music play file, a browser file, a microblog client file, and an e-book reader file.
- the present invention has the following advantages: the present invention saves the first file synchronization information sent by the first device and the at least one second file synchronization information sent by the at least one second device by the server, and according to the foregoing Determining, by the first file synchronization information and the at least one second file synchronization information, the latest state information of the file that needs to be synchronized in the first state information and the at least one second state information, the server will need to synchronize The latest status information of the file is sent to the first device that needs to perform file synchronization, and the first device performs the file synchronization operation according to the latest state information of the file that needs to be synchronized, and adjusts the file to the latest state information saved in the server. Corresponding to the latest state, the file is synchronized between different devices, avoiding the need to manually adjust the file status and manually adjust the inaccuracy, so that the smooth operation of the device is improved, thereby improving the user experience.
- FIG. 1 is a flow chart of an embodiment of a method for performing file synchronization according to the present invention
- FIG. 2 is a flow chart of another embodiment of a method for performing file synchronization according to the present invention.
- FIG. 3 is a flow chart of still another embodiment of a method for performing file synchronization according to the present invention.
- FIG. 5 is a flow chart of a mobile device sending a file synchronization request to a server and implementing file synchronization
- FIG. 6 is a schematic structural diagram of an embodiment of a system for performing file synchronization according to the present invention.
- FIG. 7 is a schematic structural diagram of another embodiment of a system for performing file synchronization according to the present invention.
- FIG. 8 is a schematic structural diagram of still another embodiment of a system for performing file synchronization according to the present invention.
- FIG. 1 is a flowchart of an embodiment of a method for performing file synchronization according to the present invention.
- the method for performing file synchronization in this embodiment includes the following steps:
- Step 101 The first device sends a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device.
- the file identifier of the file to be synchronized is an identifier for identifying a file that needs to be synchronized
- the identifier of the first device is an identifier for identifying the first device corresponding to the first device.
- Step S102 The server receives the file synchronization request of the first device, and searches for the first file synchronization information sent by the locally saved first device and the at least one second file synchronization information sent by the at least one second device according to the file synchronization request, where
- the first file synchronization information includes a file identifier of the file to be synchronized, first state information of the file to be synchronized, and an identifier of the first device
- the second file synchronization information includes a file identifier of the file to be synchronized, and a file to be synchronized.
- the second state information, the identifier of the second device determining the latest state information of the file to be synchronized in the first state information and the at least one second state information according to the first file synchronization information and the at least one second file synchronization information;
- the latest status information of the synchronized file is sent to the first device;
- the first state information of the file to be synchronized is the state of the file that needs to be synchronized when the first device last uses the file that needs to be synchronized, and the identifier of the second device is used to identify the second device.
- the identifier of the second device, the second state information of the file to be synchronized is the state of the file that needs to be synchronized when the second device last uses the file that needs to be synchronized last time; wherein, in specific implementation, the server may establish the first
- the correspondence between the identifier of the device and the identifier of the second device may be convenient for the server to search according to the correspondence.
- the identifier of the first device and the identifier of the second device may be the same, for example, the server according to the file of the first device Synchronizing the request, searching for the first file synchronization information sent by the first device and the second file synchronization information sent by the second device having the same identifier as the first device, and then the server further determines, according to the file identifier of the file to be synchronized, at the first Searching, in the file synchronization information, first state information of the file to be synchronized and searching for second state information in the second file synchronization information, and comparing the first state information and the second state information to determine a file that needs to be synchronized stored in the server
- the latest status information finally sends the latest status information to the first device; the latest status information refers to the status of the file to be synchronized when the last use of the first device or the second device ends.
- the identifier of the first device and the identifier of the second device may also be different identifiers having corresponding relationships
- the server searches for the file that needs to be synchronized of the first device saved by the server according to the file synchronization request of the first device.
- First state information and second state information of a file of the second device having a corresponding device identifier corresponding to the first device, and comparing the first state information and the second state information to determine that the saved in the server needs to be synchronized The latest status information of the file, and finally the latest status information is sent to the first device.
- the server after receiving the first file synchronization information and the second file synchronization information respectively sent by the first device and the second device having the same identifier, finds the file that needs to be synchronized according to the file identifier that needs to be synchronized.
- First state information and second state information and comparing the first state information or the second state information with state information of a file that needs to be synchronized stored on the server to determine the first state information or the second state information and the server
- the latest state information in the saved state information of the file to be synchronized if the first state information or the second state information is the latest state information, and the latest state information is saved, and the old state information saved on the server is cleared, if the server If the state information of the saved file to be synchronized is the latest state information, the server does not save the first state information or the second state information, and continues to retain the latest state information on the server, so that only one state information is saved for one file on the server. Can save storage space; this way, when the server receives When a device file synchronization request, send the latest status information directly to the first device, without the need for a comparison operation, increase the response speed.
- Step S103 The first device receives the latest state information of the file that needs to be synchronized sent by the server, and performs a synchronization operation of the file according to the latest state information of the file that needs to be synchronized.
- the first device adjusts the file that needs to be synchronized to a state corresponding to the latest state information according to the latest state information of the file that needs to be synchronized sent by the server, so as to implement synchronization of the file between different devices.
- the embodiment saves the first file synchronization information sent by the first device and the at least one second file synchronization information sent by the at least one second device by using the server, and according to the first file synchronization information and the at least one
- the second file synchronization information determines the latest state information of the file to be synchronized in the first state information and the at least one second state information
- the server sends the latest state information of the file to be synchronized to the first device that needs to perform file synchronization
- a device performs a file synchronization operation according to the latest state information of the file to be synchronized, and adjusts the file to the latest state corresponding to the latest state information held in the server, thereby realizing the synchronous use of the file between different devices, thereby avoiding
- FIG. 2 is a flowchart of another embodiment of a method for performing file synchronization according to the present invention.
- the embodiment is basically the same as the embodiment of FIG. 1.
- the method for performing file synchronization in this embodiment includes the following steps:
- Step S201 The first device sends the first file synchronization information to the server.
- the first device when the first device sends the first file synchronization information to the server, when the first device ends using the file that needs to be synchronized, the user may actively end the use of the file that needs to be synchronized, or may be because of the abnormal situation, the first device Passively end the use of files that need to be synchronized.
- the abnormal conditions include sudden shutdown of the first device, flashback of files that need to be synchronized, and so on.
- the first device may also send the first file synchronization information to the server at regular intervals during the process of using the file that needs to be synchronized.
- Step S202 The server receives the first file synchronization information sent by the first device, and saves the information locally;
- the server allocates a storage space for the first device according to the identifier of the first device, and is configured to save the first file synchronization information sent by the first device.
- Step 203 The first device sends a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device.
- Step S204 The server receives the file synchronization request of the first device, and searches for the first file synchronization information sent by the locally saved first device and the at least one second file synchronization information sent by the at least one second device according to the file synchronization request, where
- the first file synchronization information includes a file identifier of the file to be synchronized, first state information of the file to be synchronized, and an identifier of the first device
- the second file synchronization information includes a file identifier of the file to be synchronized, and a file to be synchronized.
- the second state information, the identifier of the second device determining the latest state information of the file to be synchronized in the first state information and the at least one second state information according to the first file synchronization information and the at least one second file synchronization information;
- the latest status information of the synchronized file is sent to the first device.
- Step S205 The first device receives the latest state information of the file that needs to be synchronized sent by the server, and performs a synchronization operation of the file according to the latest state information of the file that needs to be synchronized.
- FIG. 3 is a flowchart of another embodiment of a method for performing file synchronization according to the present invention.
- the embodiment is basically the same as the embodiment of FIG. 1.
- the method for performing file synchronization of an embodiment includes the following steps:
- Step S301 The at least one second device sends the at least one second file synchronization information to the server.
- the at least one second device when the at least one second device sends the second file synchronization information to the server, when at least one second device ends using the file that needs to be synchronized, the user may actively end the use of the file that needs to be synchronized, or may be abnormal. At least one second device passively ends using files that need to be synchronized, and the abnormal situation includes at least one second device suddenly shutting down, a file flashing that needs to be synchronized, and the like. Of course, in other embodiments, during the process of using the file that needs to be synchronized, the at least one second device may also send the second file synchronization information to the server once every certain time.
- the at least one second device may be a second device, two second devices, or three or more second devices, etc., that is, an embodiment of the present invention may implement synchronization of the same file between two or more devices.
- Step S302 The server receives at least one second file synchronization information sent by the at least one second device, and saves the information locally;
- the server allocates a storage space for the at least one second device according to the identifier of the at least one second device, and is configured to save the second file synchronization information sent by the at least one second device.
- Step 303 The first device sends a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device.
- Step S304 The server receives the file synchronization request of the first device, and searches for the first file synchronization information sent by the locally saved first device and the at least one second file synchronization information sent by the at least one second device according to the file synchronization request, where
- the first file synchronization information includes a file identifier of the file to be synchronized, first state information of the file to be synchronized, and an identifier of the first device
- the second file synchronization information includes a file identifier of the file to be synchronized, and a file to be synchronized.
- the second state information, the identifier of the second device determining the latest state information of the file to be synchronized in the first state information and the at least one second state information according to the first file synchronization information and the at least one second file synchronization information;
- the latest status information of the synchronized file is sent to the first device.
- Step S305 The first device receives the latest state information of the file that needs to be synchronized sent by the server, and performs a synchronization operation of the file according to the latest state information of the file that needs to be synchronized.
- the first device and the second device have the same identifier by registering an account on the server, and the first device and the second device use the account together, when the first device logs in to the account.
- the account is the device identifier of the first device.
- the account is the device identifier of the second device; the server manages file synchronization information of different devices using the account through the account; You can register an account with the first device or register for an account with the second device.
- the first device or the second device may be a mobile device, such as a smart phone, a tablet computer, etc., and the first device or the second device may also be a smart TV, for example, when the first device is a mobile device.
- the second device is a smart TV, or the first device is a smart TV, and the second device is a mobile device
- the embodiment of the present invention can realize synchronous use of the same file between the mobile device and the smart TV, and the mobile device is generally used.
- the smart TV is generally used by the user at home, and the embodiment of the present invention can enable the user to synchronize the use of the file through the mobile device and the smart TV when the user is at home or on the go, and the user passes the smart at home.
- the smart TV sends the file status information at this time to the server, and the server determines the latest status information of the file according to the file status information sent by the smart TV and the status information of the file saved in the server, and saves Move when the user continues to use the file on the mobile device after going out
- the device sends a file synchronization request to the server, and the server sends the latest status information of the file to the mobile device according to the file synchronization request, and the mobile device adjusts the file to the latest state according to the latest state information, so that the user is on the mobile device. It is used from the latest state of the file, without the need to manually adjust the state of the file to be the same as when it is finished on the smart TV.
- the mobile device sends the file status information at this time to the server, and the server determines the file according to the file status information sent by the mobile device and the status information of the file saved in the server.
- the latest status information of the file is saved and saved.
- the smart TV sends a file synchronization request to the server, and the server sends the latest status information of the file to the smart according to the file synchronization request.
- TV, Smart TV adjusts the file to the latest state based on the latest status information, so that the user can use the latest status of the file on the smart TV without manually adjusting the status of the file to be on the mobile device. The same state is used when the upper end is used.
- not all files used on a mobile device or a smart TV need to be synchronized, and some files are files unique to a mobile device or a smart TV, and are not used in other devices, such as mobile.
- the status information of the file will not be sent to the server; when the mobile device or smart TV starts to use these files that do not need to be synchronized, the mobile device or smart TV will not send a file synchronization request to the server.
- the files to be synchronized include one of a video play file, a music play file, a browser file, a microblog client file, and an e-book reader file, corresponding to the files that need to be synchronized.
- the status information is the time point of the video played by the video playing file, the time point of the music played by the music playing file, the web address of the webpage browsed by the browser file, the location of the browsed webpage, and the microblogging client file browser.
- the following takes the mobile device as the first device and the smart TV as the second device as an example, and illustrates a process of implementing file synchronization between the mobile device and the second device.
- FIG. 4 is a flow chart of the smart TV sending file synchronization information to the server and being saved by the server, including the following steps:
- Step S401 The smart TV logs in to the server through the account
- Step S402 The server finds the storage information corresponding to the account according to the account.
- steps S401 and S402 are steps performed when the smart TV is powered on, and are used to establish a connection between the smart TV and the server; the stored information includes synchronization information of the file corresponding to the login account stored by the server.
- Step S403 The smart TV ends using the current file
- Step S404 determining whether the current file is a file that needs to be synchronized, if otherwise, executing step S405, if yes, executing step S406;
- Step S405 normal operation; that is, the current file is used normally without other operations;
- Step S406 The smart TV acquires state information of the current file.
- Step S407 The smart TV sends the status information of the current file to the server;
- Step S408 The server determines, according to the logged-in account, the latest state information of the file corresponding to the account and saves; the server compares the state information of the current file sent by the smart TV with the state information of the current file saved in the server, Determine the latest status information of the current file and save the latest status information.
- the server receives the video.
- the latest state information of the current video play file is determined and saved, for example, if the video play file is saved in the server.
- the status information is the time point of playing to 40 minutes, then the 52-minute 23-second time point sent by the smart TV is the latest status information of the video playing file, and the server covers the 52-minute 23-second time point to the original storage time of 40 minutes.
- the position of the point as the latest status information of the video playing file if the status information of the video playing file saved in the server is the time point of playing to 55 minutes, the time point is 52 minutes and 23 seconds than the smart TV sends.
- the server continues to reserve the 55-minute time point as the video play file. Date information without saving 52 minutes 23 seconds time point information sent by intelligent television.
- FIG. 5 is a flowchart of a mobile device sending a file synchronization request to a server and implementing file synchronization, including the following steps:
- Step S501 The mobile device logs in to the server by using an account.
- Step S502 The server finds corresponding storage information according to the account
- steps S501 and S502 are steps performed when the mobile device is powered on, and are used to establish a connection between the mobile device and the server;
- the stored information includes synchronization information of the file corresponding to the login account stored by the server;
- Step S503 The mobile device starts to use a certain file
- Step S504 determining whether the current file is a file that needs to be synchronized, if otherwise, executing step S505, if yes, executing step S506;
- Step S505 normal operation; that is, the normal startup uses the current file without performing other operations;
- Step S506 The mobile device sends a file synchronization request to the server.
- Step S507 The server searches for the latest status information of the file corresponding to the account according to the account that the mobile device logs in, and sends the latest status information to the mobile device.
- Step S508 The mobile device adjusts the file to the latest state according to the latest state information.
- the mobile device when the user opens the video play file on the mobile device, the mobile device sends a file synchronization request to the server, and the server searches for the latest status information of the file corresponding to the account according to the account that the mobile device logs in, such as 52 minutes and 23 seconds. Point and send the latest status information to the mobile device, and the mobile device adjusts the video play file to 52 minutes and 23 seconds according to the latest status information, and starts playing from the time point, thus realizing video playback on the mobile device. Synchronous use of files.
- Another embodiment of the present invention further provides a system for performing file synchronization.
- the system can implement the method for performing file synchronization in the foregoing embodiment.
- the system includes a first device 1, a server 2, and at least one Two devices 3;
- the first device 1 includes:
- the first sending module 11 is configured to send a file synchronization request to the server, where the file synchronization request includes a file identifier of the file to be synchronized, and an identifier of the first device;
- Server 2 includes:
- the first receiving module 21 is configured to receive a file synchronization request of the first device 1;
- the searching module 22 is configured to search, according to the file synchronization request, the first file synchronization information sent by the locally saved first device 1 and the at least one second file synchronization information sent by the at least one second device 3, where the first file synchronization information
- the second file synchronization information includes the file identifier of the file to be synchronized, the second state information of the file to be synchronized, and the second The identification of the two devices;
- the determining module 23 is configured to determine, according to the first file synchronization information and the at least one second file synchronization information, the latest state information of the file that needs to be synchronized in the first state information and the at least one second state information;
- the first sending module 24 is configured to send the latest status information of the file that needs to be synchronized to the first device 1;
- the first device 1 further includes:
- the receiving module 12 is configured to receive latest state information of the file that needs to be synchronized sent by the server 2;
- the synchronization module 13 is configured to perform a synchronization operation of the file according to the latest state information of the file that needs to be synchronized.
- the embodiment of the present invention saves the first file synchronization information sent by the first device 1 and the at least one second file synchronization information sent by the at least one second device 3 by the server 2, and according to the first file synchronization information and At least one second file synchronization information, determining, in the first state information and the at least one second state information, latest state information of the file that needs to be synchronized, and the server sending the latest state information of the file that needs to be synchronized to the first file that needs to be synchronized Device 1, the first device 1 performs a file synchronization operation according to the latest state information of the file to be synchronized, and adjusts the file to the latest state corresponding to the latest state information held in the server 2, thereby realizing the file between different devices. Synchronous use avoids the need to manually adjust the file status and manually adjust the inaccuracy, so that the smooth operation of the device is improved, thereby improving the user experience.
- the first device 1 further includes:
- the second sending module 14 is configured to send the first file synchronization information to the server 2;
- Server 2 also includes:
- the second receiving module 25 is configured to receive the first file synchronization information sent by the first device 1, and save the information locally.
- the at least one second device 3 includes:
- the sending module 31 is configured to send at least one second file synchronization information to the server 2;
- Server 2 also includes:
- the third receiving module 26 is configured to receive and receive at least one second file synchronization information sent by the at least one second device 3, and save the information locally.
- the first device 1 or the second device 3 may be a mobile device, such as a smart phone, a tablet computer, etc., and the first device 1 or the second device 3 may also be a smart TV, for example, when the first device 1 is a mobile device, When the second device 3 is a smart TV, or the first device 1 is a smart TV, and the second device 3 is a mobile device, the embodiment of the present invention can realize synchronous use of the same file between the mobile device and the smart TV.
- the files that need to be synchronized include one or more of a video play file, a music play file, a browser file, a microblog client file, and an e-book reader file.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (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)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (13)
- 一种进行文件同步的系统,其特征在于,所述系统包括:第一设备、服务器以及至少一个第二设备;所述第一设备包括:第一发送模块,用于向服务器发送文件同步请求,所述文件同步请求包括需要同步的文件的文件标识、所述第一设备的标识;所述服务器包括:第一接收模块,用于接收所述第一设备的文件同步请求;查找模块,用于根据所述文件同步请求,查找本地保存的所述第一设备发送的第一文件同步信息和至少一个第二设备发送的至少一个第二文件同步信息,其中,所述第一文件同步信息包括所述需要同步的文件的文件标识、所述需要同步的文件的第一状态信息以及所述第一设备的标识,所述第二文件同步信息包括所述需要同步的文件的文件标识、所述需要同步的文件的第二状态信息、所述第二设备的标识;确定模块,用于根据所述第一文件同步信息和至少一个所述第二文件同步信息,在所述第一状态信息与至少一个所述第二状态信息中确定所述需要同步的文件的最新状态信息;第一发送模块,用于将所述需要同步的文件的最新状态信息发送给所述第一设备;所述第一设备还包括:接收模块,用于接收所述服务器发送的所述需要同步的文件的最新状态信息;同步模块,用于按照所述需要同步的文件的最新状态信息进行文件的同步操作;其中,所述第一设备还包括:第二发送模块,用于将所述第一文件同步信息发送给所述服务器;所述服务器还包括:第二接收模块,用于接收所述第一设备发送的所述第一文件同步信息,并保存在本地;其中,所述至少一个第二设备包括:发送模块,用于将所述至少一个第二文件同步信息发送给所述服务器;所述服务器还包括:第三接收模块,用于接收接收所述至少一个第二设备发送的所述至少一个第二文件同步信息,并保存在本地。
- 根据权利要求1所述的系统,其特征在于,所述第一设备是移动设备,所述至少一个第二设备是智能电视。
- 根据权利要求1所述的系统,其特征在于,所述需要同步的文件包括视频播放文件、音乐播放文件、浏览器文件、微博客户端文件、电子书阅读器文件中的一种以上。
- 一种进行文件同步的方法,其特征在于,包括:第一设备向服务器发送文件同步请求,所述文件同步请求包括需要同步的文件的文件标识、所述第一设备的标识;所述服务器接收所述第一设备的文件同步请求;根据所述文件同步请求,查找本地保存的所述第一设备发送的第一文件同步信息和至少一个第二设备发送的至少一个第二文件同步信息,其中,所述第一文件同步信息包括所述需要同步的文件的文件标识、所述需要同步的文件的第一状态信息以及所述第一设备的标识,所述第二文件同步信息包括所述需要同步的文件的文件标识、所述需要同步的文件的第二状态信息、所述第二设备的标识;根据所述第一文件同步信息和至少一个所述第二文件同步信息,在所述第一状态信息与至少一个所述第二状态信息中确定所述需要同步的文件的最新状态信息;将所述需要同步的文件的最新状态信息发送给所述第一设备;所述第一设备接收所述服务器发送的所述需要同步的文件的最新状态信息;按照所述需要同步的文件的最新状态信息进行文件的同步操作。
- 根据权利要求4所述的方法,其特征在于,所述第一设备向服务器发送文件同步请求的步骤之前,包括:所述第一设备将所述第一文件同步信息发送给所述服务器;所述服务器接收所述第一设备发送的所述第一文件同步信息,并保存在本地。
- 根据权利要求4所述的方法,其特征在于,所述第一设备向服务器发送文件同步请求的步骤之前,还包括:所述至少一个第二设备将所述至少一个第二文件同步信息发送给所述服务器;所述服务器接收所述至少一个第二设备发送的所述至少一个第二文件同步信息,并保存在本地。
- 根据权利要求4-6任一项所述的方法,其特征在于,所述第一设备是移动设备,所述至少一个第二设备是智能电视。
- 根据权利要求4-6任一项所述的方法,其特征在于,所述需要同步的文件包括视频播放文件、音乐播放文件、浏览器文件、微博客户端文件、电子书阅读器文件中的一种以上。
- 一种进行文件同步的系统,其特征在于,所述系统包括:第一设备、服务器以及至少一个第二设备;所述第一设备包括:第一发送模块,用于向服务器发送文件同步请求,所述文件同步请求包括需要同步的文件的文件标识、所述第一设备的标识;所述服务器包括:第一接收模块,用于接收所述第一设备的文件同步请求;查找模块,用于根据所述文件同步请求,查找本地保存的所述第一设备发送的第一文件同步信息和至少一个第二设备发送的至少一个第二文件同步信息,其中,所述第一文件同步信息包括所述需要同步的文件的文件标识、所述需要同步的文件的第一状态信息以及所述第一设备的标识,所述第二文件同步信息包括所述需要同步的文件的文件标识、所述需要同步的文件的第二状态信息、所述第二设备的标识;确定模块,用于根据所述第一文件同步信息和至少一个所述第二文件同步信息,在所述第一状态信息与至少一个所述第二状态信息中确定所述需要同步的文件的最新状态信息;第一发送模块,用于将所述需要同步的文件的最新状态信息发送给所述第一设备;所述第一设备还包括:接收模块,用于接收所述服务器发送的所述需要同步的文件的最新状态信息;同步模块,用于按照所述需要同步的文件的最新状态信息进行文件的同步操作。
- 根据权利要求9所述的系统,其特征在于,所述第一设备还包括:第二发送模块,用于将所述第一文件同步信息发送给所述服务器;所述服务器还包括:第二接收模块,用于接收所述第一设备发送的所述第一文件同步信息,并保存在本地。
- 根据权利要求9所述的系统,其特征在于,所述至少一个第二设备包括:发送模块,用于将所述至少一个第二文件同步信息发送给所述服务器;所述服务器还包括:第三接收模块,用于接收接收所述至少一个第二设备发送的所述至少一个第二文件同步信息,并保存在本地。
- 根据权利要求9-11任一项所述的系统,其特征在于,所述第一设备是移动设备,所述至少一个第二设备是智能电视。
- 根据权利要求9-11任一项所述的系统,其特征在于,所述需要同步的文件包括视频播放文件、音乐播放文件、浏览器文件、微博客户端文件、电子书阅读器文件中的一种以上。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/911,949 US9621704B2 (en) | 2014-12-23 | 2015-04-13 | Method and system for file synchronization |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410811344.0 | 2014-12-23 | ||
CN201410811344.0A CN104580169A (zh) | 2014-12-23 | 2014-12-23 | 一种进行文件同步的方法及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016101441A1 true WO2016101441A1 (zh) | 2016-06-30 |
Family
ID=53095350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/076460 WO2016101441A1 (zh) | 2014-12-23 | 2015-04-13 | 一种进行文件同步的方法及系统 |
Country Status (3)
Country | Link |
---|---|
US (1) | US9621704B2 (zh) |
CN (1) | CN104580169A (zh) |
WO (1) | WO2016101441A1 (zh) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018027375A1 (zh) * | 2016-08-06 | 2018-02-15 | 柳柏宏 | 根据市场反馈调整推送记录的方法以及读书系统 |
WO2018027372A1 (zh) * | 2016-08-06 | 2018-02-15 | 柳柏宏 | 根据用户使用习惯调整推送技术的方法以及读书系统 |
WO2018027373A1 (zh) * | 2016-08-06 | 2018-02-15 | 柳柏宏 | 停止向电脑端自动推送阅读记录的方法以及读书系统 |
WO2018027377A1 (zh) * | 2016-08-06 | 2018-02-15 | 柳柏宏 | 手机端读取阅读记录的方法以及读书系统 |
WO2018027376A1 (zh) * | 2016-08-06 | 2018-02-15 | 柳柏宏 | 停止向手机端自动推送阅读记录的方法以及读书系统 |
CN106790378A (zh) * | 2016-11-11 | 2017-05-31 | 北京奇虎科技有限公司 | 设备间的数据全同步方法、装置及系统 |
CN106487932B (zh) * | 2016-12-13 | 2019-08-06 | 南京威耐尔通信技术股份有限公司 | 移动端及服务器端消息同步装置及方法 |
US10110963B1 (en) * | 2017-08-24 | 2018-10-23 | Amdocs Development Limited | System, method, and computer program for media content playback management |
CN107566881B (zh) * | 2017-08-31 | 2021-03-09 | 深圳创维-Rgb电子有限公司 | 一种vr设备控制方法、装置和系统 |
CN108959504B (zh) * | 2018-06-27 | 2021-11-26 | 郑州云海信息技术有限公司 | 一种文件系统远程数据同步实现方法和系统 |
CN110430122A (zh) * | 2019-07-08 | 2019-11-08 | 王凯平 | 一种基于开放平台的内容同步系统以及数据同步的方法 |
CN116506450A (zh) * | 2023-06-27 | 2023-07-28 | 武汉吧哒科技股份有限公司 | 文件同步方法、装置、电子设备及存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523529A (zh) * | 2011-12-08 | 2012-06-27 | 中国联合网络通信集团有限公司 | 多终端设备接续播放视频的方法和视频服务器 |
CN103295609A (zh) * | 2012-02-22 | 2013-09-11 | 腾讯科技(深圳)有限公司 | 视频播放方法、设备及系统 |
WO2013139239A1 (en) * | 2012-03-21 | 2013-09-26 | Tencent Technology (Shenzhen) Company Limited | Method for recommending users in social network and the system thereof |
CN103475939A (zh) * | 2013-09-02 | 2013-12-25 | 小米科技有限责任公司 | 一种处理播放记录的方法、装置及服务器 |
CN103607461A (zh) * | 2013-11-22 | 2014-02-26 | 乐视网信息技术(北京)股份有限公司 | 一种信息共享方法及云端服务器 |
CN103634647A (zh) * | 2013-12-05 | 2014-03-12 | 乐视网信息技术(北京)股份有限公司 | 移动终端与智能电视间播放记录同步的方法和装置 |
CN104185039A (zh) * | 2013-05-27 | 2014-12-03 | 腾讯科技(深圳)有限公司 | 音视频同步播放的方法和装置 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101257375B (zh) * | 2006-12-31 | 2012-08-08 | 华为技术有限公司 | 实现多终端的消息同步的方法及装置 |
JP4650552B2 (ja) * | 2008-10-14 | 2011-03-16 | ソニー株式会社 | 電子機器、コンテンツ推薦方法及びプログラム |
WO2010076497A1 (fr) * | 2008-12-30 | 2010-07-08 | France Telecom | Procede de notification et passerelle d'acces a un reseau de voix sur ip |
US8688146B2 (en) * | 2011-08-09 | 2014-04-01 | Gary W. Grube | Providing safety status information |
US9614878B2 (en) * | 2011-08-19 | 2017-04-04 | Redbox Automated Retail, Llc | System and method for providing supplemental information related to media content |
EP2608061B1 (en) * | 2011-12-22 | 2021-07-28 | Amadeus | Method and system for update message tracking and checking |
US9319952B2 (en) * | 2012-03-30 | 2016-04-19 | Apple Inc. | Apparatus and methods for synchronization recovery in a hybrid network |
US9443230B2 (en) * | 2012-04-30 | 2016-09-13 | At&T Intellectual Property I, L.P. | Point-to point data synchronization |
CN106454472B (zh) * | 2012-05-17 | 2021-06-04 | 华为技术有限公司 | 多屏互动的方法及系统 |
US9003299B2 (en) * | 2012-06-08 | 2015-04-07 | Apple Inc. | Extensible application state preservation architecture |
US9776078B2 (en) * | 2012-10-02 | 2017-10-03 | Razer (Asia-Pacific) Pte. Ltd. | Application state backup and restoration across multiple devices |
CN103873565B (zh) * | 2014-02-28 | 2017-09-05 | 北京智谷睿拓技术服务有限公司 | 数据同步方法及设备 |
US9594636B2 (en) * | 2014-05-30 | 2017-03-14 | Datto, Inc. | Management of data replication and storage apparatuses, methods and systems |
-
2014
- 2014-12-23 CN CN201410811344.0A patent/CN104580169A/zh active Pending
-
2015
- 2015-04-13 US US14/911,949 patent/US9621704B2/en active Active
- 2015-04-13 WO PCT/CN2015/076460 patent/WO2016101441A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523529A (zh) * | 2011-12-08 | 2012-06-27 | 中国联合网络通信集团有限公司 | 多终端设备接续播放视频的方法和视频服务器 |
CN103295609A (zh) * | 2012-02-22 | 2013-09-11 | 腾讯科技(深圳)有限公司 | 视频播放方法、设备及系统 |
WO2013139239A1 (en) * | 2012-03-21 | 2013-09-26 | Tencent Technology (Shenzhen) Company Limited | Method for recommending users in social network and the system thereof |
CN104185039A (zh) * | 2013-05-27 | 2014-12-03 | 腾讯科技(深圳)有限公司 | 音视频同步播放的方法和装置 |
CN103475939A (zh) * | 2013-09-02 | 2013-12-25 | 小米科技有限责任公司 | 一种处理播放记录的方法、装置及服务器 |
CN103607461A (zh) * | 2013-11-22 | 2014-02-26 | 乐视网信息技术(北京)股份有限公司 | 一种信息共享方法及云端服务器 |
CN103634647A (zh) * | 2013-12-05 | 2014-03-12 | 乐视网信息技术(北京)股份有限公司 | 移动终端与智能电视间播放记录同步的方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
US20160352888A1 (en) | 2016-12-01 |
CN104580169A (zh) | 2015-04-29 |
US9621704B2 (en) | 2017-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016101441A1 (zh) | 一种进行文件同步的方法及系统 | |
WO2018233352A1 (zh) | 数据传输方法、装置、终端以及计算机可读存储介质 | |
WO2018076865A1 (zh) | 数据分享方法、装置、存储介质及电子设备 | |
WO2014008858A1 (zh) | 实现跨域跳转的方法以及浏览器、域名服务器 | |
EP3039564A1 (en) | Method for sharing media data and electronic device thereof | |
WO2018120681A1 (zh) | 数据同步方法、装置、系统、数据处理服务器和存储介质 | |
WO2018076841A1 (zh) | 数据分享方法、装置、存储介质及服务器 | |
WO2020224246A1 (zh) | 基于区块链的数据管理方法、装置、设备和存储介质 | |
WO2019174090A1 (zh) | 截屏文件分享的控制方法、装置、设备和计算机存储介质 | |
WO2012055298A1 (zh) | 客户端的离线工作方法和离线工作客户端 | |
WO2015103954A1 (en) | Information sharing method, information sharing apparatus, and electronic device | |
WO2017211054A1 (zh) | 蓝牙智能手表、智能终端、及其spp远程控制拍照的方法和系统 | |
WO2011129635A2 (ko) | 이동통신 시스템에서 응용 서비스를 제공하는 방법 및 장치 | |
WO2015018243A1 (zh) | 一种基于iOS设备的网页拦截方法和设备 | |
WO2017148142A1 (zh) | 桌面图标文件夹的名称切换方法、装置及电子设备 | |
WO2017135776A1 (en) | Display apparatus, user terminal apparatus, system, and controlling method thereof | |
WO2019137217A1 (zh) | 应用程序中的页面跳转方法、终端及存储介质 | |
WO2015126180A1 (en) | Method for creating a content and electronic device thereof | |
WO2016090775A1 (zh) | 同步操作短信数据的方法及系统 | |
WO2017196013A1 (en) | Electronic device and method for providing content | |
WO2018161601A1 (zh) | 屏幕背光调节方法、装置、存储介质及电子设备 | |
WO2015180434A1 (zh) | 一种数据库集群管理数据的方法、节点及系统 | |
WO2016123898A1 (zh) | 一种短信管理方法及其移动终端 | |
WO2020133766A1 (zh) | 视频同步播放方法、设备及计算机可读存储介质 | |
WO2020199599A1 (zh) | 工作队列的信息展示方法、装置、计算机设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 14911949 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15871519 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 05/12/2017) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15871519 Country of ref document: EP Kind code of ref document: A1 |