CN104010231A - Data synchronizing method and device - Google Patents

Data synchronizing method and device Download PDF

Info

Publication number
CN104010231A
CN104010231A CN201410181276.4A CN201410181276A CN104010231A CN 104010231 A CN104010231 A CN 104010231A CN 201410181276 A CN201410181276 A CN 201410181276A CN 104010231 A CN104010231 A CN 104010231A
Authority
CN
China
Prior art keywords
media file
digital media
url
synchronous terminal
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410181276.4A
Other languages
Chinese (zh)
Inventor
王石成
徐国市
孙鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410181276.4A priority Critical patent/CN104010231A/en
Publication of CN104010231A publication Critical patent/CN104010231A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a data synchronizing method and device. The data synchronizing method comprises the steps of obtaining the URL of a digital media file to be synchronized and transmitting the URL to a terminal to be synchronized so that the terminal to be synchronized can obtain the digital media file from a server according to the URL. Through the data synchronizing method and device, resources of the synchronized terminal can be saved.

Description

Method of data synchronization and device
Technical field
The present invention relates to terminal technology field, relate in particular to a kind of method of data synchronization and device.
Background technology
At present, user can be by rice connection technology by the digital media content in the terminal such as mobile phone terminal or PAD, and wireless being shipped on Digital Television end carries out synchronously playing and showing.
In correlation technique, carrying out in the synchronous process of above-mentioned digital media content, taking synchronization video stream as example, need first on mobile phone terminal or PAD, to download and treat synchronous video flowing, the video flowing of downloading is decoded, and open corresponding video player, load decoded video stream data and play; Then, utilize relevant simultaneous techniques, for example: DLAN (Digital Living Network Alliance, DLNA) specification, is synchronized to Digital Television end by decoded video stream data.
Visible, treat synchronous video flowing owing to downloading and play on mobile phone terminal or PAD, make to take the system resource on mobile phone terminal or PAD, and, the video stream data amount synchronous due to needs is large, in the time that the network condition between mobile phone terminal or PAD and Digital Television end is poor, video flowing synchronous effect is poor.
Summary of the invention
For overcoming the problem existing in correlation technique, the invention provides a kind of method of data synchronization and device, can save and carry out synchronous terminal resource.
According to the first aspect of the embodiment of the present invention, a kind of method of data synchronization is provided, comprising:
Obtain the URL that treats synchronous digital media file;
Send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server.
Further, in the time that described digital media file is video file, described in obtain the URL that treats synchronous digital media file, comprising:
Extract video tab from web page;
Type to described video tab is identified;
According to the type-collection video URL of described video tab.
Further, describedly extract video tab from web page, comprising:
Scan the dom tree of described web page, find all literal nodes;
From described all literal nodes, extract the literal node that includes default feature word;
Using the father node of literal node that includes described default feature word as described video tab.
Further, described method also comprises:
When detecting while thering is described digital media file on current web page, detect described in whether existing under current LAN environment and treat synchronous terminal;
If treat synchronous terminal described in existing, generate the Data synchronization interface corresponding with described digital media file; By described Data synchronization interface, to treat the URL of synchronous digital media file described in obtaining.
Further, described method also comprises:
Obtain the control command to described digital media file;
Described in being sent to, described control command treats synchronous terminal, to treat that to described described digital media file on synchronous terminal controls.
Further, described method also comprises:
Described in reception, treat the broadcasting ending message of the described digital media file that synchronous terminal returns;
Detect the subsequent media file whether described digital media file exists continuous broadcasting;
If there is described subsequent media file, obtain the URL of described subsequent media file;
The URL that sends described subsequent media file to described in treat synchronous terminal so that described in treat that synchronous terminal obtains described subsequent media file according to the URL of described subsequent media file from described server.
Further, described method also comprises:
By meter Lian, Airplay, DLNA or Miracast and described in treat that synchronous terminal carries out communication.
According to the second aspect of the embodiment of the present invention, a kind of method of data synchronization is provided, comprising:
Receive the URL that treats synchronous digital media file being obtained by described synchronous terminal that synchronous terminal sends;
Obtain described digital media file according to described URL from server.
Further, described method also comprises:
Receive the control command to described digital media file that described synchronous terminal obtains;
According to described control command, the described digital media file obtaining from described server is controlled.
Further, described method also comprises:
Play while finishing when described digital media file, return to the broadcasting ending message of described digital media file to described synchronous terminal, whether have the follow-up digital media file of continuous broadcasting so that described synchronous terminal detects described digital media file;
If there is described follow-up digital media file, receive the URL of the described follow-up digital media file being obtained by described synchronous terminal of described synchronous terminal transmission;
According to the URL of described follow-up digital media file, obtain described follow-up digital media file from described server.
Further, described method also comprises:
Carry out communication by meter Lian, Airplay, DLNA or Miracast and described synchronous terminal.
According to the third aspect of the embodiment of the present invention, a kind of synchronous terminal is provided, comprising:
URL acquisition module, for obtaining the URL that treats synchronous digital media file;
URL sending module, for sending described URL to treating synchronous terminal so that described in treat that synchronous terminal obtains described digital media file according to described URL from server.
Further, in the time that described digital media file is video file, described URL acquisition module, comprising:
Tag extraction unit, for extracting video tab from web page;
Recognition unit, identifies for the type to described video tab;
URL extraction unit, for according to the type-collection video URL of described video tab.
Further, described tag extraction unit, comprising:
Scanning subelement, for scanning the dom tree of described web page, finds all literal nodes;
Literal node extracts subelement, for extracting from described all literal nodes the literal node that includes default feature word;
Video tab is determined subelement, for using the father node of literal node that includes described default feature word as described video tab.
Further, described terminal also comprises:
Treat synchronous terminal monitoring modular, for when detecting while thering is described digital media file on current web page, detect described in whether existing under current LAN environment and treat synchronous terminal;
Sync cap generation module, if treat synchronous terminal described in existing, generates the Data synchronization interface corresponding with described digital media file; By described Data synchronization interface, to treat the URL of synchronous digital media file described in obtaining.
Further, described terminal also comprises:
Control command acquisition module, for obtaining the control command to described digital media file;
Control command sending module is treated synchronous terminal described in described control command is sent to, to treat that to described described digital media file on synchronous terminal controls.
Further, described terminal also comprises:
Broadcast information receiver module, for treating the broadcasting ending message of the described video file that synchronous terminal returns described in receiving;
Video detection module, for detection of other video files that whether have continuous broadcasting after described video file;
If there are described other video files, described URL acquisition module, also for obtaining the URL of next video file of continuous broadcasting;
Described URL sending module, also for the URL that sends described next video file to described in treat synchronous terminal so that described in treat that synchronous terminal continues to obtain described next video file from server according to the URL of described next video file.
According to the fourth aspect of the embodiment of the present invention, provide one to treat synchronous terminal, comprising:
URL receiver module, the URL that treats synchronous digital media file being obtained by described synchronous terminal sending for receiving synchronous terminal;
File acquisition module, for obtaining described digital media file according to described URL from server.
Further, also comprise:
Control command receiver module, the control command to described digital media file of obtaining for receiving described synchronous terminal;
Control module, for according to described control command, controls the described digital media file obtaining from described server.
Further, also comprise:
Broadcast information is returned to module, while end for playing when described digital media file, return to the broadcasting ending message of described digital media file to described synchronous terminal, whether have the follow-up digital media file of continuous broadcasting so that described synchronous terminal detects described digital media file;
Described URL receiver module, if also when there is described follow-up digital media file, receives the URL of the described follow-up digital media file being obtained by described synchronous terminal that described synchronous terminal sends;
Described file acquisition module, also, for according to the URL of described follow-up digital media file, obtains described follow-up digital media file from described server.
According to the 5th aspect of the embodiment of the present invention, a kind of synchronous terminal is provided, comprising: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to:
Obtain the URL that treats synchronous digital media file;
Send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server.
According to the 6th aspect of the embodiment of the present invention, provide one to treat synchronous terminal, comprising: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to:
Receive the URL that treats synchronous digital media file being obtained by described synchronous terminal that synchronous terminal sends;
Obtain described digital media file according to described URL from server.
The technical scheme that embodiments of the invention provide can comprise following beneficial effect: the synchronous terminal in the present invention is synchronized to digital media file when the synchronous terminal, do not need digital media file to be sent to and to treat synchronous terminal, but obtain the URL of digital media file, this URL is sent to and treats synchronous terminal, thereby, treat that synchronous terminal can obtain corresponding digital media file from server according to this URL.Because synchronous terminal does not need digital media file to be sent to and to treat to make synchronous terminal in synchronizing process, thereby, the storage resources of synchronous terminal can greatly be saved.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the present invention.
Brief description of the drawings
Accompanying drawing is herein merged in specification and forms the part of this specification, shows embodiment according to the invention, and is used from and explains principle of the present invention with specification one.
Fig. 1 is the flow chart of a kind of method of data synchronization of exemplifying of the invention process;
Fig. 2 is the execution schematic flow sheet of step S101 in Fig. 1;
Fig. 3 a kind ofly extracts the realization flow schematic diagram of video tab from web page;
Fig. 4 is the flow chart of the another kind of method of data synchronization of the synchronous terminal side that exemplifies of the invention process;
Fig. 5 is the flow chart of the another kind of method of data synchronization of the synchronous terminal side that exemplifies of the invention process;
Fig. 6 is the flow chart of another method of data synchronization of the synchronous terminal side that exemplifies of the invention process;
Fig. 7 is the synchronous schematic flow sheet of a kind of data for the treatment of synchronous terminal side that the invention process exemplifies;
Fig. 8 is the synchronous schematic flow sheet of another kind of data for the treatment of synchronous terminal side that the invention process exemplifies;
Fig. 9 is the synchronous schematic flow sheet of another data for the treatment of synchronous terminal side that the invention process exemplifies;
Figure 10 is the structural representation of a kind of synchronous terminal of exemplifying of the invention process;
Figure 11 is a kind of structural representation of the URL acquisition module that exemplifies of the invention process;
Figure 12 is a kind of structural representation of the tag extraction unit that exemplifies of the invention process;
Figure 13 is the structural representation of the another kind of synchronous terminal that exemplifies of the invention process;
Figure 14 is the structural representation of another synchronous terminal of exemplifying of the invention process;
Figure 15 is the structural representation of another synchronous terminal of exemplifying of the invention process;
Figure 16 is a kind of structural representation for the treatment of synchronous terminal that the invention process exemplifies;
Figure 17 is the structural representation that another kind that the invention process exemplifies is treated synchronous terminal;
Figure 18 be the invention process exemplify another treat the structural representation of synchronous terminal;
Figure 19 is the block diagram of the terminal equipment embodiment that provides of the embodiment of the present invention;
Figure 20 is the structural representation of server in the embodiment of the present invention.
Embodiment
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to the flow chart of a kind of method of data synchronization shown in an exemplary embodiment, and as shown in Figure 1, this method of data synchronization, for synchronous terminal, comprises the following steps.
Step S101, obtain the URL (Uniform Resource Locator, URL(uniform resource locator)) that treats synchronous digital media file.
Step S102, send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server.
In this embodiment, synchronous terminal need to be by file synchronization to treating synchronous terminal, treats that synchronous file is digital media file.In concrete application, treat that synchronous terminal is in network, to have the terminal that can carry out synchronous sharing.
In step S101, synchronous terminal obtains the URL that treats synchronous digital media file, wherein, treats that synchronous digital media file can comprise: the file of picture, video or audio form,, is not specifically limited herein.
In step S102, synchronous terminal is sent to the URL that treats synchronous digital media file obtaining to treat synchronous terminal, treats that synchronous terminal carries out file synchronization according to the URL receiving.
Particularly, synchronous terminal can be carried at the URL that treats synchronous digital media file to be sent in the synchronization request for the treatment of synchronous terminal, when in the time that synchronous terminal receives synchronization request, obtain the URL that treats synchronous digital media file carrying in synchronization request, and then, according to the URL receiving, access services device, obtain this digital media file from server, thereby realize, digital media file is synchronously being treated on synchronous terminal.
Be with the difference of correlation technique, in the present invention, treat that synchronous digital media file need not open in synchronous terminal, only need synchronous terminal to obtain the URL that treats synchronous digital media file, and this URL is sent to and treats synchronous terminal, can be by treating that synchronous terminal obtains and treats synchronous digital media file from server according to this URL, completes file synchronization process.
Synchronous terminal in the present invention is synchronized to digital media file when the synchronous terminal, do not need digital media file to be sent to and to treat synchronous terminal, but obtain the URL of digital media file, this URL is sent to and treats synchronous terminal, thereby, treat that synchronous terminal can obtain corresponding digital media file from server according to this URL.Because synchronous terminal does not need digital media file to be sent to and to treat to make synchronous terminal in synchronizing process, thereby, the storage resources of synchronous terminal can greatly be saved.
In addition, owing to carrying out in the process of file synchronization, synchronous terminal is only the URL that treats that synchronous digital media file is corresponding with what treat to transmit between synchronous terminal, instead of digital media file itself, therefore, synchronous terminal and treat that the data volume of transmitting between synchronous terminal reduces greatly, is subject to synchronous terminal and treats that the impact of local area network (LAN) situation between synchronous terminal is less, can improve file synchronization efficiency.
In the present invention, treat that synchronous digital media file can comprise: the file of picture, video or audio form.Synchronous terminal is by meter Lian, Airplay, DLNA or Miracast and treat that synchronous terminal carries out communication.Taking video file as example, above-mentioned data synchronization process is elaborated below.
First synchronous terminal is obtained and treats that the URL of synchronous video file describes in detail.
As shown in Figure 2, obtain the schematic flow sheet of the URL that treats synchronous video file for synchronous terminal.This flow process can comprise following execution step:
Step S201, extract video tab from web page;
Step S202, the type of described video tab is identified;
Step S203, according to the type-collection video URL of described video tab.
In the present invention, by the type of the video tab extracting is identified, capture video URL, make the in the situation that of video URL the unknown, can from webpage, capture exactly available video URL, to realize, the automatic batch of video resource is downloaded, and the efficiency of downloading be higher.
Due to video tab all have such as: 1, the 2nd collection, 3 collection, ten, the 18 collection, 21 collection isotypes word, therefore in the embodiment of the present invention, can, using the word of these patterns as default feature word, extract video tab by the mode of identifying default feature word.As shown in Figure 3, extract the realization flow of video tab for a kind of from web page, specifically can comprise following execution step:
Step S301, scan DOM (Document Object Model, the document dbject model) tree of described web page, find all literal nodes;
Step S302, from described all literal nodes, extract the literal node that includes default feature word;
Step S303, using the father node of literal node that includes described default feature word as described video tab.
HTML (Hypertext Markup Language, HTML) example with two video tabs:
<a?href=”example.html”>1</a>
<span onclick=" return apply (); " > like collect </a> in spring second
In above-mentioned example, a element and span element are literal nodes " 1 " and " like collect in spring second " father's element, therefore, a element and span element are judged as video tab.
In the present embodiment, by the text feature of video tab, video tab is extracted, can extract rapidly and accurately the video tab in web page.
In the present embodiment, definition leading character is the word except default feature word in video tab.For example, in " liking to collect in spring second " this video tab, " the second collection " is default feature word, and " liking in spring " is leading character.In video tab, or there is no leading character, or leading character should be consistent with the title extracting from web page.For example: video title is in the page of " liking in spring ", if there is " love apartment 2 ", judges that this video tab is invalid, should delete.
Conventionally from page title, just can extract video title.For example, the title of the excellent storehouse net serial page is roughly as follows: " liking the Chun excellent storehouse of – videos of ", can therefrom extract video title and " like in spring ".
In the embodiment shown in fig. 4, in the time not existing until synchronous terminal in network, initiate invalid all the time synchronous connection for fear of synchronous terminal, can, before carrying out above-mentioned steps S101, carry out following steps:
Step S103, when detecting while thering is described digital media file on current web page, detect described in whether existing under current LAN environment and treat synchronous terminal;
If step S104 treats synchronous terminal described in existing, generate the Data synchronization interface corresponding with described digital media file; By described Data synchronization interface, to treat the URL of synchronous digital media file described in obtaining.
It should be noted that, synchronous terminal can be determined the synchronous terminal for the treatment of in current LAN by some correlation technique, and correlation technique can comprise: meter Lian, Airplay, DLNA and Miracast etc.For example: millet mobile phone joins technology for detection by rice has millet TV or the millet box that can realize synchronous sharing under LAN environment.
In the time detecting that under current LAN environment, existence is until synchronous terminal, on synchronous terminal, just generate the Data synchronization interface corresponding with this digital media file; By this Data synchronization interface, so that obtaining this, synchronous terminal treats the URL of synchronous digital media file.
In another embodiment provided by the invention, provide the flow chart of another kind of method of data synchronization, as shown in Figure 5, this method of data synchronization, for synchronous terminal, comprises the following steps:
Step S101, obtain the URL that treats synchronous digital media file;
Step S102, send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server;
Step S105, obtain the control command to described digital media file;
Step S106, described in being sent to, described control command treats synchronous terminal, to treat that to described described digital media file on synchronous terminal controls.
In the embodiment of the present invention, synchronous terminal can be to treating that synchronous terminal sends the control command of digital media file, and by the control command of this digital media file, the respective digital media file for the treatment of on synchronous terminal is controlled.In practical application, can be on synchronous terminal preset control interface, after synchronous terminal is sent to the URL that treats synchronous digital media file and treats synchronous terminal, can trigger this control interface, in the time that open at this control interface, can pass through this control interface, obtain corresponding control command, to treating synchronous terminal sending controling instruction, this control command is carried out corresponding control for the operation for the treatment of the digital media file on synchronous terminal.Taking video file as example, Control the content can comprise: the conventional vision operations such as playing progress rate adjusting, volume adjusting, time-out.
In another embodiment provided by the invention, provide the flow chart of another method of data synchronization, as shown in Figure 6, can comprise the following steps:
Step S101, obtain the URL that treats synchronous digital media file;
Step S102, send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server;
Step S107, treat the broadcasting ending message of the described digital media file that synchronous terminal returns described in receiving;
Step S108, detect described digital media file and whether exist the subsequent media file of continuous broadcasting;
If step S109 exists described subsequent media file, obtain the URL of described subsequent media file;
Step S110, send described subsequent media file URL to described in treat synchronous terminal so that described in treat that synchronous terminal obtains described subsequent media file according to the URL of described subsequent media file from described server.
This embodiment is for the application scenarios that exists multiple digital media files to play continuously.To play serial class video as example, in practical application, a lot of serial class videos are that a collection plays, and automatically carry out the broadcasting of next collection.Be understandable that, when after synchronous terminal plays current video, can return to broadcasting ending message to synchronous terminal by technology such as meter Lian.After synchronous terminal receives this broadcasting ending message, can detect the next video file whether when the video file of preamble with automatic broadcasting.If had, continue to obtain the URL of next video file and be synchronized to and treat synchronous terminal, thereby, treat that synchronous terminal can continue to obtain next video file according to the URL receiving, and then, continue to play next video file.Visible, in this implementation, can treat that synchronous terminal carries out the Automatic continuous broadcasting of synchronization video file.
With a concrete application scenarios, above-mentioned data synchronization process is carried out to respective description below.Still, taking synchronization video file as example, synchronous terminal is mobile phone terminal, treats that synchronous terminal is Digital Television, has available LAN between mobile phone terminal and Digital Television, and in Digital Television, having can be for the video player of synchronous sharing.First mobile phone terminal obtains the URL that treats synchronous video file, and afterwards, mobile phone terminal need to not play in this locality this video file, but by meter Lian, Airplay, DLNA or Miracast technology, the URL getting is sent to Digital Television.When Digital TV Receiving is after URL, can, according to this URL access services device, obtain this video file from server, load and play this video file.The control of video file being play for the ease of synchronous terminal user, can be on mobile phone terminal preset control interface, in order to improve user experience, can this control interface be set to the control model of similar TV remote controller.Thereby, completing after aforementioned video file synchronizing function, mobile phone terminal can become a video control end.User can carry out by mobile phone the conventional vision operations such as playing progress rate adjusting, volume adjusting, time-out to the video file loading in Digital Television.When mobile phone terminal receives Client-initiated when operation, operation is converted into corresponding control command, and by concrete control command by technology such as meter Lian, send to Digital Television end.Digital Television end is receiving after this control command, can be to carrying out corresponding control at the video of playing.
In practical application, a lot of serial class videos are that a collection plays, and automatically carry out the broadcasting of next collection.When Digital Television end plays after current video, can return to broadcasting ending message to mobile phone terminal by technology such as meter Lian.After mobile phone terminal receives this broadcasting ending message, can detect the next video file whether when the video file of preamble with automatic broadcasting.If had, continue extract the URL of next video file and be synchronized to Digital Television end, thereby Digital Television end can continue to obtain next video file according to the URL receiving, and then, continue to play next video file.
The synchronizing process of picture, audio file and the synchronizing process of video file are similar, no longer repeat herein.
In above-described embodiment, from the angle of synchronous terminal side, the synchronous flow process of corresponding data is described.From treating synchronous terminal side, the synchronous flow process of corresponding data is described below.
As shown in Figure 7, for treating the synchronous flow process of data of synchronous terminal side, this flow process can comprise following execution step:
The URL that treats synchronous digital media file being obtained by described synchronous terminal that step S701, reception synchronous terminal send;
Step S702, obtain described digital media file according to described URL from server.
In this embodiment, synchronous terminal need to be by file synchronization to treating synchronous terminal, treats that synchronous file is digital media file.In concrete application, treat that synchronous terminal is in network, to have the terminal that can carry out synchronous sharing.
In step S701, that treats that synchronous terminal receives not treats synchronous digital media file itself, but the URL that treats synchronous digital media file that synchronous terminal obtains wherein, treats that synchronous digital media file can comprise: the file of picture, video or audio form.
Particularly, synchronous terminal can be carried at the URL that treats synchronous digital media file to be sent in the synchronization request for the treatment of synchronous terminal, when in the time that synchronous terminal receives synchronization request, obtains the URL that treats synchronous digital media file carrying in synchronization request.
In step S702, treat that synchronous terminal is according to the URL receiving, access services device, obtains this digital media file from server, thereby realize, digital media file is synchronously being treated on synchronous terminal.
Be with the difference of correlation technique, in the present invention, treat that synchronous terminal carries out in digital media file synchronizing process, do not need the synchronous digital media file itself for the treatment of sending according to synchronous terminal to carry out synchronously, but the URL that treats synchronous digital media file sending according to synchronous terminal carries out synchronously, that is: treat that synchronous terminal obtains and treats synchronous digital media file from server according to this URL, completes file synchronization process.
Synchronous terminal in the present invention is synchronized to digital media file when the synchronous terminal, do not need digital media file to be sent to and to treat synchronous terminal, but obtain the URL of digital media file, this URL is sent to and treats synchronous terminal, thereby, treat that synchronous terminal can obtain corresponding digital media file from server according to this URL.Because synchronous terminal does not need digital media file to be sent to and to treat to make synchronous terminal in synchronizing process, thereby, the storage resources of synchronous terminal can greatly be saved.
In addition, owing to carrying out in the process of file synchronization, synchronous terminal is only the URL that treats that synchronous digital media file is corresponding with what treat to transmit between synchronous terminal, instead of digital media file itself, therefore, synchronous terminal and treat that the data volume of transmitting between synchronous terminal reduces greatly, is subject to synchronous terminal and treats that the impact of local area network (LAN) situation between synchronous terminal is less, can improve file synchronization efficiency.
In the present invention, treat that synchronous digital media file can comprise: the file of picture, video or audio form.Treat that synchronous terminal carries out communication by meter Lian, Airplay, DLNA or Miracast and synchronous terminal.
In another embodiment provided by the invention, provide the flow chart of another kind of method of data synchronization, as shown in Figure 8, this method of data synchronization is used for treating synchronous terminal, comprises the following steps:
The URL that treats synchronous digital media file being obtained by described synchronous terminal that step S701, reception synchronous terminal send;
Step S702, obtain described digital media file according to described URL from server;
Step S703, receive the control command to described digital media file that described synchronous terminal obtains;
Step S704, according to described control command, the described digital media file obtaining from described server is controlled.
In the embodiment of the present invention, treat that synchronous terminal can receive the control command of the digital media file of synchronous terminal transmission, by the control command of this digital media file, the respective digital media file for the treatment of on synchronous terminal is controlled.In practical application, can be on synchronous terminal preset control interface, after synchronous terminal is sent to the URL that treats synchronous digital media file and treats synchronous terminal, can trigger this control interface, in the time that open at this control interface, can pass through this control interface, obtain corresponding control command, to treating synchronous terminal sending controling instruction, this control command is carried out corresponding control for the operation for the treatment of the digital media file on synchronous terminal.Taking video file as example, Control the content can comprise: the conventional vision operations such as playing progress rate adjusting, volume adjusting, time-out.
In the embodiment described in Fig. 9, can also comprise following execution step:
Step S705, play while finishing when described digital media file, return to the broadcasting ending message of described digital media file to described synchronous terminal, whether have the follow-up digital media file of continuous broadcasting so that described synchronous terminal detects described digital media file;
If step S706 exists described follow-up digital media file, receive the URL of the described follow-up digital media file being obtained by described synchronous terminal of described synchronous terminal transmission;
Step S707, according to the URL of described follow-up digital media file, obtain described follow-up digital media file from described server.
This embodiment is for the application scenarios that exists multiple digital media files to play continuously.To play serial class video as example, in practical application, a lot of serial class videos are that a collection plays, and automatically carry out the broadcasting of next collection.Be understandable that, when after synchronous terminal plays current video, can return to broadcasting ending message to synchronous terminal by technology such as meter Lian.After synchronous terminal receives this broadcasting ending message, can detect the next video file whether when the video file of preamble with automatic broadcasting.If had, continue to obtain the URL of next video file and be synchronized to and treat synchronous terminal, thereby, treat that synchronous terminal can continue to obtain next video file according to the URL receiving, and then, continue to play next video file.Visible, in this implementation, can treat that synchronous terminal carries out the Automatic continuous broadcasting of synchronization video file.
Still, taking synchronization video file as example, synchronous terminal is mobile phone terminal, treats that synchronous terminal is Digital Television, has available LAN between mobile phone terminal and Digital Television, and in Digital Television, having can be for the video player of synchronous sharing.In order to improve user experience, can this control interface be set to the control model of similar TV remote controller.Thereby, completing after aforementioned video file synchronizing function, mobile phone terminal can become a video control end.User can carry out by mobile phone the conventional vision operations such as playing progress rate adjusting, volume adjusting, time-out to the video file loading in Digital Television.When mobile phone terminal receives Client-initiated when operation, operation is converted into corresponding control command, and by concrete control command by technology such as meter Lian, send to Digital Television end.Digital Television end is receiving after this control command, can be to carrying out corresponding control at the video of playing.
When Digital Television end plays after current video, can return to broadcasting ending message to mobile phone terminal by technology such as meter Lian.After mobile phone terminal receives this broadcasting ending message, can detect the next video file whether when the video file of preamble with automatic broadcasting.If had, continue extract the URL of next video file and be synchronized to Digital Television end, thereby Digital Television end can continue to obtain next video file according to the URL receiving, and then, continue to play next video file.
Corresponding said method embodiment, the present invention also provides a kind of synchronous terminal embodiment.
Figure 10 is a kind of structural representation of synchronous terminal.With reference to Figure 10, this device can comprise:
URL acquisition module 101, for obtaining the URL that treats synchronous digital media file;
URL sending module 102, for sending described URL to treating synchronous terminal so that described in treat that synchronous terminal obtains described digital media file according to described URL from server.
In the embodiment of the present invention, synchronous terminal is synchronized to digital media file when the synchronous terminal, do not need digital media file to be sent to and to treat synchronous terminal, but obtain the URL of digital media file, this URL is sent to and treats synchronous terminal, thereby, treat that synchronous terminal can obtain corresponding digital media file from server according to this URL.Because synchronous terminal does not need digital media file to be sent to and to treat to make synchronous terminal in synchronizing process, thereby, the storage resources of synchronous terminal can greatly be saved.
In addition, owing to carrying out in the process of file synchronization, synchronous terminal is only the URL that treats that synchronous digital media file is corresponding with what treat to transmit between synchronous terminal, instead of digital media file itself, therefore, synchronous terminal and treat that the data volume of transmitting between synchronous terminal reduces greatly, is subject to synchronous terminal and treats that the impact of local area network (LAN) situation between synchronous terminal is less, can improve file synchronization efficiency.
In the present invention, treat that synchronous digital media file can comprise: the file of picture, video or audio form.
Be example taking digital media file as video file, Figure 11 shows that a kind of structural representation of URL acquisition module, can comprise:
Tag extraction unit 111, for extracting video tab from web page;
Recognition unit 112, identifies for the type to described video tab;
URL extraction unit 113, for according to the type-collection video URL of described video tab.
Under this implementation, URL acquisition module is by identifying the type of the video tab extracting, capture video URL, make the in the situation that of video URL the unknown, can from webpage, capture exactly available video URL, to realize, the automatic batch of video resource is downloaded, and the efficiency of downloading is higher.
A kind of structural representation that Figure 12 shows that tag extraction unit, can comprise:
Scanning subelement 121, for scanning the dom tree of described web page, finds all literal nodes;
Literal node extracts subelement 122, for extracting from described all literal nodes the literal node that includes default feature word;
Video tab is determined subelement 123, for using the father node of literal node that includes described default feature word as described video tab.
In the present embodiment, by the text feature of video tab, video tab is extracted, can extract rapidly and accurately the video tab in web page.
In addition, in the another kind of synchronous terminal shown in Figure 13, can also comprise with lower module:
Treat synchronous terminal monitoring modular 103, for when detecting while thering is described digital media file on current web page, detect described in whether existing under current LAN environment and treat synchronous terminal;
Sync cap generation module 104, if treat synchronous terminal described in existing, generates the Data synchronization interface corresponding with described digital media file; By described Data synchronization interface, to treat the URL of synchronous digital media file described in obtaining.
In this embodiment, synchronous terminal can be determined the synchronous terminal for the treatment of in current LAN by some correlation technique, and correlation technique can comprise: meter Lian, Airplay, DLNA and Miracast etc.
In another synchronous terminal shown in Figure 14, can also comprise with lower module:
Control command acquisition module 105, for obtaining the control command to described digital media file;
Control command sending module 106 is treated synchronous terminal described in described control command is sent to, to treat that to described described digital media file on synchronous terminal controls.
In the embodiment of the present invention, synchronous terminal can be to treating that synchronous terminal sends the control command of digital media file, and by the control command of this digital media file, the respective digital media file for the treatment of on synchronous terminal is controlled.In practical application, can be on synchronous terminal preset control interface, after synchronous terminal is sent to the URL that treats synchronous digital media file and treats synchronous terminal, can trigger this control interface, in the time that open at this control interface, can pass through this control interface, obtain corresponding control command, to treating synchronous terminal sending controling instruction, this control command is carried out corresponding control for the operation for the treatment of the digital media file on synchronous terminal.
In another synchronous terminal shown in Figure 15, can also comprise with lower module:
Broadcast information receiver module 107, for treating the broadcasting ending message of the described video file that synchronous terminal returns described in receiving;
Video detection module 108, for detection of other video files that whether have continuous broadcasting after described video file;
If there are described other video files, described URL acquisition module, also for obtaining the URL of next video file of continuous broadcasting;
Described URL sending module, also for the URL that sends described next video file to described in treat synchronous terminal so that described in treat that synchronous terminal continues to obtain described next video file from server according to the URL of described next video file.
Correspondingly, the present invention also provides one to treat synchronous terminal.
Figure 16 is a kind of structural representation for the treatment of synchronous terminal, can comprise:
URL receiver module 161, the URL that treats synchronous digital media file being obtained by described synchronous terminal sending for receiving synchronous terminal;
File acquisition module 162, for obtaining described digital media file according to described URL from server.
Be with the difference of correlation technique, in the present invention, treat that synchronous terminal carries out in digital media file synchronizing process, do not need the synchronous digital media file itself for the treatment of sending according to synchronous terminal to carry out synchronously, but the URL that treats synchronous digital media file sending according to synchronous terminal carries out synchronously, that is: treat that synchronous terminal obtains and treats synchronous digital media file from server according to this URL, completes file synchronization process.
It should be noted that, treat that synchronous terminal can receive the URL that treats synchronous digital media file that synchronous terminal sends by some correlation technique, correlation technique can comprise: meter Lian, Airplay, DLNA and Miracast etc.Treat that synchronous digital media file can comprise: the file of picture, video or audio form.
Synchronous terminal in the present invention is synchronized to digital media file when the synchronous terminal, do not need digital media file to be sent to and to treat synchronous terminal, but obtain the URL of digital media file, this URL is sent to and treats synchronous terminal, thereby, treat that synchronous terminal can obtain corresponding digital media file from server according to this URL.Because synchronous terminal does not need digital media file to be sent to and to treat to make synchronous terminal in synchronizing process, thereby, the storage resources of synchronous terminal can greatly be saved.
In addition, owing to carrying out in the process of file synchronization, synchronous terminal is only the URL that treats that synchronous digital media file is corresponding with what treat to transmit between synchronous terminal, instead of digital media file itself, therefore, synchronous terminal and treat that the data volume of transmitting between synchronous terminal reduces greatly, is subject to synchronous terminal and treats that the impact of local area network (LAN) situation between synchronous terminal is less, can improve file synchronization efficiency.
Treating in synchronous terminal shown in Figure 17, can also comprise:
Control command receiver module 163, the control command to described digital media file of obtaining for receiving described synchronous terminal;
Control module 164, for according to described control command, controls the described digital media file obtaining from described server.
In the embodiment of the present invention, treat that synchronous terminal can receive the control command of the digital media file of synchronous terminal transmission, by the control command of this digital media file, the respective digital media file for the treatment of on synchronous terminal is controlled.In practical application, can be on synchronous terminal preset control interface, after synchronous terminal is sent to the URL that treats synchronous digital media file and treats synchronous terminal, can trigger this control interface, in the time that open at this control interface, can pass through this control interface, obtain corresponding control command, to treating synchronous terminal sending controling instruction, this control command is carried out corresponding control for the operation for the treatment of the digital media file on synchronous terminal.
Treating in synchronous terminal shown in Figure 18, can also comprise:
Broadcast information is returned to module 165, while end for playing when described digital media file, return to the broadcasting ending message of described digital media file to described synchronous terminal, whether have the follow-up digital media file of continuous broadcasting so that described synchronous terminal detects described digital media file;
Described URL receiver module 161, if also when there is described follow-up digital media file, receives the URL of the described follow-up digital media file being obtained by described synchronous terminal that described synchronous terminal sends;
Described file acquisition module 162, also, for according to the URL of described follow-up digital media file, obtains described follow-up digital media file from described server.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment about the method, will not elaborate explanation herein.
Figure 19 is according to a kind of block diagram for the synchronous device 800 of data shown in an exemplary embodiment.For example, device 800 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 19, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of processing components 802 common control device 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 806 provides electric power for installing 800 various assemblies.Power supply module 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 800.
Multimedia groupware 808 is included in the screen that an output interface is provided between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal receiving can be further stored in memory 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducers, is used to device 800 that the state estimation of various aspects is provided.For example, sensor cluster 814 can detect the opening/closing state of device 800, the relative positioning of assembly, for example described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or 800 1 assemblies of device changes, user is with device 800 existence that contact or do not have the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 800 and other equipment.Device 800 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the memory 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 800.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of method of data synchronization, and described method comprises:
Obtain the URL that treats synchronous digital media file;
Send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server.
Another kind of non-provisional computer-readable recording medium, in the time that the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of method of data synchronization, and described method comprises:
Receive the URL that treats synchronous digital media file being obtained by described synchronous terminal that synchronous terminal sends;
Obtain described digital media file according to described URL from server.
Figure 20 is the structural representation of server in the embodiment of the present invention.This server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922 (for example, one or more processors) and memory 1932, the storage medium 1930 (for example one or more mass memory units) of one or more storage application programs 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on server 1900.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, for example Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Those skilled in the art, considering specification and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the present invention.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendments and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (22)

1. a method of data synchronization, is characterized in that, comprising:
Obtain the URL that treats synchronous digital media file;
Send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server.
2. method according to claim 1, is characterized in that, in the time that described digital media file is video file, described in obtain the URL that treats synchronous digital media file, comprising:
Extract video tab from web page;
Type to described video tab is identified;
According to the type-collection video URL of described video tab.
3. method according to claim 2, is characterized in that, describedly extracts video tab from web page, comprising:
Scan the dom tree of described web page, find all literal nodes;
From described all literal nodes, extract the literal node that includes default feature word;
Using the father node of literal node that includes described default feature word as described video tab.
4. method according to claim 1, is characterized in that, described method also comprises:
When detecting while thering is described digital media file on current web page, detect described in whether existing under current LAN environment and treat synchronous terminal;
If treat synchronous terminal described in existing, generate the Data synchronization interface corresponding with described digital media file; By described Data synchronization interface, to treat the URL of synchronous digital media file described in obtaining.
5. method according to claim 1, is characterized in that, described method also comprises:
Obtain the control command to described digital media file;
Described in being sent to, described control command treats synchronous terminal, to treat that to described described digital media file on synchronous terminal controls.
6. method according to claim 1, is characterized in that, described method also comprises:
Described in reception, treat the broadcasting ending message of the described digital media file that synchronous terminal returns;
Detect the subsequent media file whether described digital media file exists continuous broadcasting;
If there is described subsequent media file, obtain the URL of described subsequent media file;
The URL that sends described subsequent media file to described in treat synchronous terminal so that described in treat that synchronous terminal obtains described subsequent media file according to the URL of described subsequent media file from described server.
7. according to the method described in any one in claim 1-6, it is characterized in that, described method also comprises:
By meter Lian, Airplay, DLNA or Miracast and described in treat that synchronous terminal carries out communication.
8. a method of data synchronization, is characterized in that, comprising:
Receive the URL that treats synchronous digital media file being obtained by described synchronous terminal that synchronous terminal sends;
Obtain described digital media file according to described URL from server.
9. method according to claim 8, is characterized in that, described method also comprises:
Receive the control command to described digital media file that described synchronous terminal obtains;
According to described control command, the described digital media file obtaining from described server is controlled.
10. method according to claim 8, is characterized in that, described method also comprises:
Play while finishing when described digital media file, return to the broadcasting ending message of described digital media file to described synchronous terminal, whether have the follow-up digital media file of continuous broadcasting so that described synchronous terminal detects described digital media file;
If there is described follow-up digital media file, receive the URL of the described follow-up digital media file being obtained by described synchronous terminal of described synchronous terminal transmission;
According to the URL of described follow-up digital media file, obtain described follow-up digital media file from described server.
In 11. according to Claim 8-10, arbitrary described method, is characterized in that, described method also comprises:
Carry out communication by meter Lian, Airplay, DLNA or Miracast and described synchronous terminal.
12. 1 kinds of synchronous terminals, is characterized in that, comprising:
URL acquisition module, for obtaining the URL that treats synchronous digital media file;
URL sending module, for sending described URL to treating synchronous terminal so that described in treat that synchronous terminal obtains described digital media file according to described URL from server.
13. terminals according to claim 12, is characterized in that, in the time that described digital media file is video file, described URL acquisition module, comprising:
Tag extraction unit, for extracting video tab from web page;
Recognition unit, identifies for the type to described video tab;
URL extraction unit, for according to the type-collection video URL of described video tab.
14. terminals according to claim 13, is characterized in that, described tag extraction unit, comprising:
Scanning subelement, for scanning the dom tree of described web page, finds all literal nodes;
Literal node extracts subelement, for extracting from described all literal nodes the literal node that includes default feature word;
Video tab is determined subelement, for using the father node of literal node that includes described default feature word as described video tab.
15. terminals according to claim 12, is characterized in that, described terminal also comprises:
Treat synchronous terminal monitoring modular, for when detecting while thering is described digital media file on current web page, detect described in whether existing under current LAN environment and treat synchronous terminal;
Sync cap generation module, if treat synchronous terminal described in existing, generates the Data synchronization interface corresponding with described digital media file; By described Data synchronization interface, to treat the URL of synchronous digital media file described in obtaining.
16. terminals according to claim 12, is characterized in that, described terminal also comprises:
Control command acquisition module, for obtaining the control command to described digital media file;
Control command sending module is treated synchronous terminal described in described control command is sent to, to treat that to described described digital media file on synchronous terminal controls.
17. terminals according to claim 12, is characterized in that, described terminal also comprises:
Broadcast information receiver module, for treating the broadcasting ending message of the described video file that synchronous terminal returns described in receiving;
Video detection module, for detection of other video files that whether have continuous broadcasting after described video file;
If there are described other video files, described URL acquisition module, also for obtaining the URL of next video file of continuous broadcasting;
Described URL sending module, also for the URL that sends described next video file to described in treat synchronous terminal so that described in treat that synchronous terminal continues to obtain described next video file from server according to the URL of described next video file.
Treat for 18. 1 kinds to it is characterized in that synchronous terminal, comprising:
URL receiver module, the URL that treats synchronous digital media file being obtained by described synchronous terminal sending for receiving synchronous terminal;
File acquisition module, for obtaining described digital media file according to described URL from server.
19. terminals according to claim 18, is characterized in that, also comprise:
Control command receiver module, the control command to described digital media file of obtaining for receiving described synchronous terminal;
Control module, for according to described control command, controls the described digital media file obtaining from described server.
20. terminals according to claim 18, is characterized in that, also comprise:
Broadcast information is returned to module, while end for playing when described digital media file, return to the broadcasting ending message of described digital media file to described synchronous terminal, whether have the follow-up digital media file of continuous broadcasting so that described synchronous terminal detects described digital media file;
Described URL receiver module, if also when there is described follow-up digital media file, receives the URL of the described follow-up digital media file being obtained by described synchronous terminal that described synchronous terminal sends;
Described file acquisition module, also, for according to the URL of described follow-up digital media file, obtains described follow-up digital media file from described server.
21. 1 kinds of synchronous terminals, is characterized in that, comprising: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to:
Obtain the URL that treats synchronous digital media file;
Send described URL to treating synchronous terminal, so as described in treat that synchronous terminal obtains described digital media file according to described URL from server.
Treat for 22. 1 kinds to it is characterized in that synchronous terminal, comprising: processor; For the memory of storage of processor executable instruction; Wherein, described processor is configured to:
Receive the URL that treats synchronous digital media file being obtained by described synchronous terminal that synchronous terminal sends;
Obtain described digital media file according to described URL from server.
CN201410181276.4A 2014-04-30 2014-04-30 Data synchronizing method and device Pending CN104010231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410181276.4A CN104010231A (en) 2014-04-30 2014-04-30 Data synchronizing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410181276.4A CN104010231A (en) 2014-04-30 2014-04-30 Data synchronizing method and device

Publications (1)

Publication Number Publication Date
CN104010231A true CN104010231A (en) 2014-08-27

Family

ID=51370700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410181276.4A Pending CN104010231A (en) 2014-04-30 2014-04-30 Data synchronizing method and device

Country Status (1)

Country Link
CN (1) CN104010231A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469477A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Media resource pushing method and device
CN104837064A (en) * 2015-04-20 2015-08-12 腾讯科技(北京)有限公司 Control method for media player of open-type operation system and media player
CN104837041A (en) * 2015-04-16 2015-08-12 小米科技有限责任公司 Method and device for video projection
CN105430460A (en) * 2015-11-17 2016-03-23 青岛海信电器股份有限公司 Video data pushing method and video data pushing device based on mobile terminal
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN109040811A (en) * 2018-08-16 2018-12-18 北京奇艺世纪科技有限公司 A kind of video broadcasting method and device
CN111865576A (en) * 2020-07-03 2020-10-30 北京天空卫士网络安全技术有限公司 Method and device for synchronizing URL classification data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN103024608A (en) * 2012-11-19 2013-04-03 Tcl集团股份有限公司 Network media playing method and device
US20130246905A1 (en) * 2012-03-19 2013-09-19 Kabushiki Kaisha Toshiba Information generator, information output device, and recording medium
CN103458305A (en) * 2013-08-28 2013-12-18 小米科技有限责任公司 Video playing method and device, terminal device and server
CN103455602A (en) * 2013-09-03 2013-12-18 小米科技有限责任公司 Video URL (Uniform Resource Locator) capturing method and device and terminal equipment
CN103475917A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for synchronizing play information
CN103731721A (en) * 2013-12-20 2014-04-16 乐视网信息技术(北京)股份有限公司 Video playing method and user terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
US20130246905A1 (en) * 2012-03-19 2013-09-19 Kabushiki Kaisha Toshiba Information generator, information output device, and recording medium
CN103024608A (en) * 2012-11-19 2013-04-03 Tcl集团股份有限公司 Network media playing method and device
CN103458305A (en) * 2013-08-28 2013-12-18 小米科技有限责任公司 Video playing method and device, terminal device and server
CN103475917A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for synchronizing play information
CN103455602A (en) * 2013-09-03 2013-12-18 小米科技有限责任公司 Video URL (Uniform Resource Locator) capturing method and device and terminal equipment
CN103731721A (en) * 2013-12-20 2014-04-16 乐视网信息技术(北京)股份有限公司 Video playing method and user terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469477A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Media resource pushing method and device
CN104469477B (en) * 2014-11-28 2017-08-11 广东欧珀移动通信有限公司 Media resource method for pushing and device
CN104837041A (en) * 2015-04-16 2015-08-12 小米科技有限责任公司 Method and device for video projection
CN104837064A (en) * 2015-04-20 2015-08-12 腾讯科技(北京)有限公司 Control method for media player of open-type operation system and media player
CN104837064B (en) * 2015-04-20 2018-07-27 腾讯科技(北京)有限公司 The control method and media player of the media player of open operating system
CN105430460A (en) * 2015-11-17 2016-03-23 青岛海信电器股份有限公司 Video data pushing method and video data pushing device based on mobile terminal
CN105430460B (en) * 2015-11-17 2019-06-28 青岛海信电器股份有限公司 A kind of video data method for pushing and device based on mobile terminal
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN109040811A (en) * 2018-08-16 2018-12-18 北京奇艺世纪科技有限公司 A kind of video broadcasting method and device
CN111865576A (en) * 2020-07-03 2020-10-30 北京天空卫士网络安全技术有限公司 Method and device for synchronizing URL classification data
CN111865576B (en) * 2020-07-03 2023-02-28 北京天空卫士网络安全技术有限公司 Method and device for synchronizing URL classification data

Similar Documents

Publication Publication Date Title
CN104159275B (en) Method for connecting network and device
CN104010231A (en) Data synchronizing method and device
CN104159218B (en) Internetwork connection establishing method and device
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN104104514A (en) Method and device for identifying by using verification code
CN105338399A (en) Image acquisition method and device
CN104270404A (en) Login method and device based on terminal identification
CN104156401A (en) Webpage loading method, device and equipment
CN105182783A (en) Method, apparatus and terminal for controlling intelligent devices
CN104158722A (en) Message push method and device used for light applications, as well as terminal and server
CN104123341A (en) Method and device for downloading file and route device
CN104219038A (en) Method and device for synchronizing data
CN104320774A (en) Updating method, device and facility
CN105404576A (en) Anomaly information acquisition method and apparatus
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN104639972A (en) Content sharing method, device and equipment
CN105207994A (en) Account number binding method and device
CN103916468A (en) System upgrading method, terminal, server and upgrading system
CN104125162A (en) Network source access processing method and device
CN104837178A (en) Network accessing method and device
CN105183493A (en) Display method and device of network information
CN105094900A (en) Method and apparatus for downloading control program
CN104881304A (en) Resource downloading method and device
CN103944709A (en) Data synchronization method and device
CN104935613A (en) Scene synchronization method, terminal, server and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140827

RJ01 Rejection of invention patent application after publication