CN105933393A - Intra-local area network data synchronization method, device and user terminal - Google Patents

Intra-local area network data synchronization method, device and user terminal Download PDF

Info

Publication number
CN105933393A
CN105933393A CN201610224855.1A CN201610224855A CN105933393A CN 105933393 A CN105933393 A CN 105933393A CN 201610224855 A CN201610224855 A CN 201610224855A CN 105933393 A CN105933393 A CN 105933393A
Authority
CN
China
Prior art keywords
source terminal
data
cloud server
lan
new data
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
CN201610224855.1A
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.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610224855.1A priority Critical patent/CN105933393A/en
Publication of CN105933393A publication Critical patent/CN105933393A/en
Priority to PCT/CN2016/099901 priority patent/WO2017177621A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the synchronization technical field and relates to an intra-local area network data synchronization method, an intra-local area network data synchronization device and a user terminal. The intra-local area network data synchronization method includes the following steps that: whether updated data exist in a cloud server is detected; when it is detected that updated data exist in the cloud server, the identification information of an intra-local area network source terminal from which the updated data come are obtained from the cloud server; and the updated data are synchronized from the source terminal according to the identification information of the source terminal. In the synchronization process, in the same local area network, the cloud server does not serve as an intermediary of synchronization between source terminals and terminals to be synchronized, and therefore, the bandwidth load of the cloud server can be decreased, and time for data synchronization between the terminals in the local area network can be shortened, and synchronization efficiency can be improved.

Description

Method of data synchronization and device, user terminal in a kind of LAN
Technical field
The present invention relates to simultaneous techniques field, particularly relate in a kind of LAN method of data synchronization and Device, user terminal.
Background technology
Along with the fast development of the Internet and popularizing of intelligent terminal, the concept synchronizing and backing up is gradually It is deep in the middle of the work of people.Cloud synchronizes can be defined as centered by high in the clouds, and individual is uploaded The data in high in the clouds and documentation can between different devices or carry out resource between equipment and high in the clouds Share, and the data of persistence user and data beyond the clouds.
For connecting the internal distinct device of same LAN or application, source terminal will be treated by LAN Synchronous data transmission is to cloud server, and terminal to be synchronized accesses cloud server, cloud by LAN End server is by data syn-chronization to be synchronized to terminal to be synchronized, thus realizes source terminal and terminal to be synchronized Data and the synchronization of file.
Inventor finds during realizing the embodiment of the present invention: the existing cloud method of synchronization, even if Terminal to be synchronized and source terminal are positioned at same LAN, it is also desirable to by the server in high in the clouds by be synchronized Data syn-chronization is to synchronous terminal, and this kind of synchronous method has the disadvantage that than relatively time-consuming and synchronous efficiency Lowly.
Summary of the invention
In order to overcome above-mentioned technical problem, the object of the invention aims to provide data syn-chronization in a kind of LAN Method and device, user terminal, which solve each equipment when synchronizing in same LAN Exist and synchronize time-consuming and that synchronous efficiency is low problem.
For solving above-mentioned technical problem, embodiment of the present invention offer techniques below scheme:
In first aspect, the embodiment of the present invention provides method of data synchronization in a kind of LAN, and it includes Following steps:
Whether detection cloud server exists more new data;
When detecting that described cloud server exists more new data, obtain institute from described cloud server State and update the identification information of source terminal in the LAN of Data Source;
According to the identification information of described source terminal, from more new data described in the synchronization of described source terminal.
Alternatively, described method also includes:
Data to be updated are selected, then from described more new data
The identification information of source terminal in the LAN of described acquisition described renewal Data Source, particularly as follows:
Obtain the identification information of source terminal in the LAN of described Data Source to be updated;
Described from more new data described in source terminal synchronization, particularly as follows:
Described data to be updated are synchronized from described source terminal.
Alternatively, described more new data by described source terminal synchronized update data to cloud server.
Alternatively, in described LAN, the identification information of source terminal includes the described of cloud server record The device identification of source terminal, application identities and/or ID;
The identification information of source terminal in the LAN of more new data described in described acquisition, particularly as follows:
The device identification of described source terminal, application identities and/or user's mark is obtained from described cloud server Know.
Alternatively, the described identification information according to described source terminal, from described source terminal synchronize described in more New data, specifically includes:
Device identification, application identities and/or ID according to described source terminal and source terminal foundation office Data cube computation in the net of territory,
By more new data described in data cube computation synchronization in described LAN.
In second aspect, the embodiment of the present invention also provides for data synchronization unit in a kind of LAN, including:
Detector unit, is used for detecting whether cloud server exists more new data;
Acquiring unit, for when detecting that described cloud server exists more new data, from described cloud The identification information of source terminal in the LAN of the end server described renewal Data Source of acquisition;
Lock unit, for the identification information according to described source terminal, synchronizes described from described source terminal More new data.
Alternatively, described device also includes:
Select unit, for selecting data to be updated from described more new data, then
Described acquiring unit, specifically for: obtain the LAN endogenous end of described Data Source to be updated The identification information of end;
Described lock unit, specifically for: synchronize described data to be updated from described source terminal.
Alternatively, described more new data by described source terminal synchronized update data to cloud server.
Alternatively, the identification information of described source terminal includes:
The device identification of described source terminal, application identities and/or the ID of cloud server record, Described acquiring unit, specifically for: from described cloud server obtain described source terminal device identification, Application identities and/or ID,
Described updating block, specifically for: according to the device identification of described source terminal, application identities and/ Or ID and source terminal set up data cube computation in LAN, by data cube computation in described LAN More new data described in synchronization.
In the third aspect, the embodiment of the present invention also provides for a kind of user terminal, including:
Communication unit, for setting up data cube computation in LAN, and and cloud server with source terminal Set up network to connect,
Central processing unit, is used for detecting whether cloud server exists more new data;Described when detecting When cloud server exists more new data, obtain described renewal Data Source from described cloud server The identification information of source terminal in LAN;And according to the identification information of described source terminal, same from source terminal More new data described in step.
In embodiments of the present invention, whether there is more new data by detection cloud server, work as detection To described cloud server there is more new data time, from described cloud server obtain described in more new data The identification information of source terminal in the LAN in source, and according to the identification information of described source terminal, from source More new data described in terminal synchronization.In the process, in same LAN, which obviate high in the clouds clothes Business device serves as the intermediary synchronized between each source terminal and each terminal to be synchronized, reduces cloud service The bandwidth load of device, and, be greatly shortened inter-terminal data lock in time in LAN, improve with Step efficiency.
Accompanying drawing explanation
Fig. 1 is between cloud server, source terminal and the terminal to be synchronized that the embodiment of the present invention provides The schematic diagram connected;
Fig. 2 is that the embodiment of the present invention one provides the flow chart of method of data synchronization in a kind of LAN;
Fig. 3 is that the embodiment of the present invention two provides the flow chart of method of data synchronization in a kind of LAN;
Fig. 4 is that the embodiment of the present invention three provides the flow chart of method of data synchronization in a kind of LAN;
Fig. 5 is that the embodiment of the present invention four provides the flow chart of method of data synchronization in a kind of LAN;
Fig. 6 is an enforcement of data synchronization unit in a kind of LAN that the embodiment of the present invention five provides The structural representation of example;
Fig. 7 is the structural representation that the embodiment of the present invention six provides a kind of user terminal.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing And embodiment, the present invention is further elaborated.Should be appreciated that described herein specifically Embodiment only in order to explain the present invention, is not intended to limit the present invention.
If additionally, technical characteristic involved in each embodiment of invention described below The conflict of not constituting each other just can be mutually combined.
LAN described in each embodiment below the present invention builds employing DLNA Or AirPlay (DLNA).The equipment connecting same LAN includes source terminal and end to be synchronized End.The cloud server of the present embodiment is in high in the clouds, and it can be one, it is also possible to is multiple.Source Terminal be mutual with cloud server after, make the equipment of cloud server update content.Source terminal The content synchronized is need not including the required content synchronized of terminal to be synchronized and terminal to be synchronized.Source is eventually End can be one, it is also possible to is multiple.Terminal to be synchronized needs the content of synchronisation source terminal, wherein, This synchronization can be that selectivity synchronizes, and the content i.e. included source terminal carries out selectivity synchronization, herein Can be that the full content included with source terminal carries out synchronize, it is also possible to only and source terminal a portion Content synchronizes.Further, terminal to be synchronized is possible not only to selectivity and synchronizes, and at He Yuan When terminal synchronizes, check content to be synchronized.Terminal to be synchronized herein can be one, it is also possible to is Multiple.
Refer to Fig. 1, Fig. 1 be the embodiment of the present invention provide cloud server, source terminal and treat with The schematic diagram connected between step terminal.As it is shown in figure 1, be in the terminal unit bag of same local area network side Include first source terminal the 101, second source terminal the 102, the 3rd source terminal the 103, first terminal 201 to be synchronized, Second terminal 202 to be synchronized and the 3rd terminal 203 to be synchronized.The equipment being in side, high in the clouds includes high in the clouds Server 100.Cloud server 100, each source terminal and each terminal to be synchronized herein are two Two is interconnective.Wherein, each source terminal and terminal to be synchronized have one's own device identification, Application identities and/or ID.Each source terminal and terminal to be synchronized include any content to be synchronized and Need not the content synchronized.Such as, such as Fig. 1, the first source terminal 101 includes content A, B, C And D, the second source terminal 102 includes that content A and B, the 3rd source terminal 103 include content A, B And C.First terminal 201 to be synchronized includes content A, and the second terminal 202 to be synchronized includes content B, 3rd terminal to be synchronized includes A, B and E.Cloud server includes content A, B, C and D. Content described herein include data, file and other there is the application program of data or information attribute. Below in conjunction with the accompanying drawings the embodiment of the present invention is further elaborated.
Embodiment one
Fig. 2 is that the embodiment of the present invention one provides the flow chart of method of data synchronization in a kind of LAN.As Shown in Fig. 2, said method comprising the steps of:
Whether S21, detection cloud server exist more new data;
For terminal to be synchronized, the more new data packets being herein stored in cloud server includes to be synchronized Terminal needs the content synchronized and need not the content synchronized.Terminal to be synchronized can carry out same with selectivity Walk more new data.As it is shown in figure 1, include that the first terminal 201 to be synchronized of content A is taken by high in the clouds The contents list of business device, the most described contents list includes content A, B, C and D, and understands more New data.First terminal 201 to be synchronized can a synchronizing content B, it is also possible to synchronizing content C and D, Can certainly synchronizing content B, C and D.
In the present embodiment, terminal to be synchronized accesses cloud server according to some cycles, therefrom obtains Up-to-date synchronous situation, and carry out adaptability synchronization according to up-to-date synchronous situation.
S22, when detecting that described cloud server exists more new data, obtain from described cloud server Take the identification information of source terminal in the LAN of described renewal Data Source;
In this step, source terminal includes the required content synchronized of terminal to be synchronized and terminal to be synchronized Need not the content synchronized.Source terminal can be one, it is also possible to is multiple.Further, in conjunction with Step S21, cloud server, source terminal and terminal to be synchronized herein are the most interconnective.
In the present embodiment, in described LAN, the identification information of source terminal includes cloud server record The device identification of described source terminal, application identities and/or ID.Therefore, described renewal is obtained The endogenous end message of LAN of data specifically obtains setting of described source terminal from described cloud server Standby mark, application identities and/or ID.
In the present embodiment, before terminal to be synchronized sends synchronization request, source terminal is and high in the clouds It is mutual that server carries out content, makes the content of cloud server be updated, and meanwhile, high in the clouds takes Business device records this device identification of source terminal, application identities and/or ID updated.Such as, As it is shown in figure 1, first source terminal the 101, second source terminal the 102, the 3rd source terminal 103 is equal and high in the clouds After server 100 is mutual, cloud server 100 all records first source terminal the 101, second source terminal 102 and the 3rd device identification, application identities and/or ID of source terminal 103.
In the present embodiment, when source terminal and cloud server are mutual, cloud server is only responsible for record Data are uploaded and are downloaded, and the management of operation note, and therefore, the service of cloud server is the most clear Clear, it is to avoid cloud server because calculate and the operation of notice source terminal equipment and bear extra bandwidth With the problem affecting cloud server performance.
S23, identification information according to described source terminal, from described source terminal synchronize described in more new data.
In this step, according to device identification, application identities and/or the ID of described source terminal with Source terminal sets up data cube computation in LAN, by more new data described in the synchronization of described data cube computation.
In the present embodiment, terminal to be synchronized and cloud server carry out content contrast, are found to have content When needing to update synchronization, terminal to be synchronized can get from cloud server and carry out this update content The device identification of source terminal, application identities and/or the ID of operation, according to the equipment mark of source terminal Knowledge, application identities and/or ID, by LAN from more new data described in source terminal synchronization, complete Become data and the synchronization of file.Herein, terminal to be synchronized, when synchronizing with source terminal, can check source The content to be synchronized of terminal, and the content including source terminal carries out selectivity synchronization, can be herein The full content included with source terminal carries out synchronize, it is also possible to only enter with source terminal a portion content Row synchronizes.
In the present embodiment, terminal to be synchronized sends synchronization request to the source terminal being in same LAN. Wherein, the synchronized links relation of terminal to be synchronized and source terminal is many-to-many relationship.Such as, such as Fig. 1 Shown in, the first terminal 201 to be synchronized and the second terminal 202 to be synchronized are required to synchronizing content C, then First terminal 201 to be synchronized is according to described source terminal information, and sending synchronization to the first source terminal 101 please Asking, the first source terminal 101 and the first terminal 201 to be synchronized set up data cube computation, it is achieved thereby that interior Hold the synchronization of C;Meanwhile, the second terminal 202 to be synchronized is according to described source terminal information, to Three source terminals 103 send synchronization request, and the 3rd source terminal 103 and the second terminal 202 to be synchronized are set up Data cube computation, it is achieved thereby that the synchronization of content C.
Or, the second terminal 202 to be synchronized is according to described source terminal information, to the first source terminal 101 Sending synchronization request, the first source terminal 101 and the second terminal 202 to be synchronized set up data cube computation, from And achieve the synchronization of content C;Meanwhile, the first terminal 201 to be synchronized is according to described source terminal Information, sends synchronization request to the 3rd source terminal 103, the 3rd source terminal 103 and the first end to be synchronized End 201 sets up data cube computation, it is achieved thereby that the synchronization of content C.Therefore, thus avoid first to treat Synchronous terminal 201 and the second terminal 202 to be synchronized are simultaneously to the first source terminal 101 or the 3rd source terminal 103 send synchronization request, thus add the load of the first source terminal 101 or the 3rd source terminal 103 Situation.Therefore source terminal avoids the situation of load too high to occur as far as possible.Use this kind of mode, its content No-load speed is high, synchronizes effectively.
The method that the present embodiment provides also includes: select data to be updated from described more new data.Cause This, the identification information of source terminal in the LAN of described acquisition described renewal Data Source, particularly as follows: Obtain the identification information of source terminal in the LAN of described Data Source to be updated;Described same from source terminal More new data described in step, particularly as follows: synchronize described data to be updated from described source terminal.
In the present embodiment, LAN build can use DLNA (DLNA) or AirPlay.Cloud server can be one, it is also possible to is multiple.Terminal to be synchronized needs synchronisation source The content of terminal, terminal to be synchronized can be one, it is also possible to is multiple.Terminal to be synchronized herein There are one's own device identification, application identities and/or ID.
In embodiments of the present invention, whether there is more new data by detection cloud server, work as detection To described cloud server there is more new data time, from described cloud server obtain described in more new data The identification information of source terminal in the LAN in source, and according to the identification information of described source terminal, from source More new data described in terminal synchronization.In the process, in same LAN, which obviate high in the clouds clothes Business device serves as the intermediary synchronized between each source terminal and each terminal to be synchronized, reduces cloud service The bandwidth load of device and, be greatly shortened inter-terminal data lock in time in LAN, improve synchronization Efficiency.Embodiment two
Fig. 3 is that the embodiment of the present invention two provides the flow chart of method of data synchronization in a kind of LAN.As Shown in Fig. 3, said method comprising the steps of:
Whether S31, detection cloud server exist more new data;
S32, when detecting that described cloud server exists more new data, obtain from described cloud server Take the identification information of source terminal in the LAN of described renewal Data Source;
S33, identification information according to described source terminal, from described source terminal synchronize described in more new data;
In step S31, S32 and S33, step S31, the specific embodiment party of S32 and S33 Formula is the same with step S21 described above, S22 and S23, is not discussed in detail here.
S34, synchronously complete after, upload synchronized result to described cloud server.
In step S34, described in upload synchronized result and include the device identification of terminal to be synchronized, application Mark and/or ID.Cloud server record the device identification of terminal to be synchronized, application identities and/ Or ID, in order to expand the synchronization object of subsequent synchronizing operation.Owing to synchronization object is many, synchronize Time terminal to be synchronized need not cross the same source terminal that focuses mostly on, therefore it correspondingly also improves data, literary composition The synchronous efficiency of part.
Embodiment three
Fig. 4 is that the embodiment of the present invention three provides the flow chart of method of data synchronization in a kind of LAN.As Shown in Fig. 4, said method comprising the steps of:
Whether S41, detection cloud server exist more new data;
S42, when detecting that described cloud server exists more new data, obtain from described cloud server Take the identification information of source terminal in the LAN of described renewal Data Source;
In step S41 and step S42, the detailed description of the invention of step S41 and step S42 is ibid State described step S21 the same with S22, be not discussed in detail here.
S43, identification information according to described source terminal, send synchronization request to described source terminal;
In this step, described source terminal information includes device identification, application identities and/or ID.
When S44, described source terminal receive multiple synchronization request, check current sync state and equipment money Source;
If the described source terminal of S45 is not provided that service, refuse new synchronization request or by synchronization request Put into work queue;
Integrating step S44 and S45, by checking current sync state and device resource, and according to source eventually End current state, accepts synchronization request or refuses new synchronization request or synchronization request is put into work Queue.Using this kind of mode, it ensure that when source terminal synchronizes, will not load too high, thus tie up Protect the stable and reliable of the system of synchronization, promoted synchronizing speed the most further and synchronous efficiency is provided.
S46, from source terminal synchronize described in more new data.
As the detailed description of the invention of step S46 is with step 23 described above, it is not discussed in detail here.
Embodiment four
Fig. 5 is that the embodiment of the present invention four provides the flow chart of method of data synchronization in a kind of LAN.As Shown in Fig. 5, said method comprising the steps of:
Whether S51, detection cloud server exist more new data;
S52, when detecting that described cloud server exists more new data, obtain from described cloud server Take the identification information of source terminal in the LAN of described renewal Data Source;
S53, identification information according to described source terminal, send synchronization request to described source terminal;
When S54, described source terminal receive multiple synchronization request, check current sync state and equipment money Source;
If the described source terminal of S55 is not provided that service, refuse new synchronization request or by synchronization request Put into work queue;
S56, from source terminal synchronize described in more new data;
In the present embodiment, the detailed description of the invention of step S51 to S56 is with step S41 described above The same with S46, it is not discussed in detail here.
S57, the list of synchronizer be given according to cloud server, according to intervals successively Initiating synchronization request until starting data or file synchronization, the most also can take to high in the clouds according to some cycles Business device obtains up-to-date synchronous situation.
In the present embodiment, when data or file synchronization, source terminal or terminal to be synchronized can be uploaded same Step state is to cloud server, by the status indication of source terminal or terminal to be synchronized in synchronization.Data Or after file synchronization completes, source terminal or terminal to be synchronized can upload synchronous regime to cloud server, By the status indication of source terminal or terminal to be synchronized for synchronizing.Follow-up terminal to be synchronized is according to high in the clouds The list of synchronizer that server is given, selects equipment to enter from the source terminal being labeled as " can synchronize " Row synchronizes.Therefore, use this kind of mode, thus improve the efficiency of synchrodata.
In each embodiment of the method provided by the present invention, described more new data can be same by source terminal Walk more new data to cloud server, it is also possible to by terminal synchronized update data to be synchronized to cloud service Device, source terminal and the role that synchronizes of terminal to be synchronized the most herein are not unalterable, can basis The synchronisation requirement flexible conversion role's of each terminal.
Embodiment five
Fig. 6 is the knot of an embodiment of data synchronization unit in a kind of LAN that the present embodiment provides Structure schematic diagram.As shown in Figure 6, this device includes:
Detector unit 61, is used for detecting whether cloud server exists more new data;
Acquiring unit 62, for when detecting that described cloud server exists more new data, from described The identification information of source terminal in the LAN of the cloud server described renewal Data Source of acquisition;
Lock unit 63, for the identification information according to described source terminal, synchronizes institute from described source terminal State more new data.
In embodiments of the present invention, whether there is more new data by detection cloud server, work as detection To described cloud server there is more new data time, from described cloud server obtain described in more new data The identification information of source terminal in the LAN in source, and according to the identification information of described source terminal, from source More new data described in terminal synchronization.In the process, in same LAN, which obviate high in the clouds clothes Business device serves as the intermediary synchronized between each source terminal and each terminal to be synchronized, reduces cloud service The bandwidth load of device and, be greatly shortened inter-terminal data lock in time in LAN, improve synchronization Efficiency.
In the present embodiment, described more new data can be by source terminal synchronized update data to cloud service Device, it is also possible to by lock unit 63 synchronized update data to cloud server, source terminal the most herein and The role that synchronizes of lock unit 63 is not unalterable, can be according to the synchronisation requirement spirit of each terminal Changing role alive.
The device of the present embodiment also includes selecting unit 64.This selection unit 64 is for from described renewal number According to middle selection data to be updated, therefore, concrete, described acquiring unit 62 be used for obtaining described in treat more The identification information of source terminal in the LAN in new data source;Described lock unit 63 is for from described source Terminal synchronizes described data to be updated.
In the present embodiment, for lock unit 63, it is stored in the renewal of cloud server herein Data include the content that lock unit 63 needs synchronize and the content that need not synchronization.Select unit 64 Synchronized update data can be carried out with selectivity.
In the present embodiment, LAN build can use DLNA (DLNA) or AirPlay.Cloud server can be one, it is also possible to is multiple.Data synchronization unit needs to synchronize The content of source terminal, data synchronization unit can be one, it is also possible to is multiple.Data herein are same Step device has one's own device identification, application identities and/or ID.
In the present embodiment, data synchronization unit accesses cloud server according to some cycles, therefrom obtains Take up-to-date synchronous situation, and carry out adaptability synchronization according to up-to-date synchronous situation.
In the present embodiment, the endogenous end message of described LAN includes the described of cloud server record The device identification of source terminal, application identities and/or ID.Therefore, more new data described in acquisition The endogenous end message of LAN specifically obtains the equipment mark of described source terminal from described cloud server Knowledge, application identities and/or ID.
In the present embodiment, before lock unit 63 sends synchronization request, source terminal is and high in the clouds It is mutual that server carries out content, makes the content of cloud server be updated, and meanwhile, high in the clouds takes Business device records this device identification of source terminal, application identities and/or ID updated.
In the present embodiment, when source terminal and cloud server are mutual, cloud server is only responsible for record Data are uploaded and are downloaded, and the management of operation note, and therefore, the service of cloud server is the most clear Clear, it is to avoid cloud server because calculate and the operation of notice source terminal equipment and bear extra bandwidth With the problem affecting cloud server performance.
In the present embodiment, according to device identification, application identities and/or the ID of described source terminal Set up data cube computation in LAN with source terminal, by described data cube computation synchronize described in more new data.
In the present embodiment, data synchronization unit and cloud server carry out content contrast, in being found to have When holding needs renewal synchronization, acquiring unit 62 can get to enter this update content from cloud server The device identification of source terminal, application identities and/or the ID of row operation, according to the equipment of source terminal Mark, application identities and/or ID, by LAN from more new data described in source terminal synchronization, Complete the synchronization of data and file.Herein, lock unit 63, when synchronizing with source terminal, can be checked The content to be synchronized of source terminal, and the content including source terminal carries out selectivity synchronization, the most permissible It is that the full content included with source terminal carries out synchronize, it is also possible to only and source terminal a portion content Synchronize.
In the present embodiment, lock unit 63 sends synchronization request to the source terminal being in same LAN. Wherein, the synchronized links relation of data synchronization unit and source terminal is many-to-many relationship.Use this kind of side Formula, its content synchronization speed is high, synchronizes effectively.
Those skilled in the art should so think: the present embodiment provide data synchronization unit be with Each embodiment of the method described above is based on same idea, and the corresponding contents in embodiment of the method is fitted For device embodiment, here is omitted.
Embodiment six
Fig. 7 is the structural representation that the embodiment of the present invention provides a kind of user terminal.As it is shown in fig. 7, This user terminal includes:
Communication unit 71, sets up data cube computation in LAN with source terminal, and builds with cloud server Vertical network connects,
Central processing unit 72, is used for detecting whether cloud server exists more new data, when detecting State cloud server when there is more new data, obtain described renewal Data Source from described cloud server LAN in the identification information of source terminal, and according to the identification information of described source terminal, from source terminal More new data described in synchronization.
In embodiments of the present invention, whether there is more new data by detection cloud server, work as detection To described cloud server there is more new data time, from described cloud server obtain described in more new data The identification information of source terminal in the LAN in source, and according to the identification information of described source terminal, from source More new data described in terminal synchronization.In the process, in same LAN, which obviate high in the clouds clothes Business device serves as the intermediary synchronized between each source terminal and each terminal to be synchronized, reduces cloud service The bandwidth load of device and, be greatly shortened inter-terminal data lock in time in LAN, improve synchronization Efficiency.
The technical scheme illustrated in the above embodiment of the present invention is applicable not only to based in LAN Cloud synchronizes, it is also possible to be applicable to the synchronization between the server on the Internet.
Professional should further appreciate that, describes in conjunction with the embodiments described herein The unit of each example and algorithm steps, it is possible to electronic hardware, computer software or the knot of the two Incompatible realization, in order to clearly demonstrate the interchangeability of hardware and software, has pressed Composition and the step of each example is generally described according to function.These functions are actually with hardware or soft Part mode performs, and depends on application-specific and the design constraint of technical scheme.Professional technique people Each specifically should being used for can be used different methods to realize described function by member, but this Realize it is not considered that beyond the scope of this invention.Described computer software can be stored in computer-readable Taking in storage medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body or random store-memory Body etc..
Central processing unit is the control centre of this user terminal, utilizes various interface and connection whole The various piece of electronic equipment, by run or perform the software program that is stored in memory element and/or Module, and call be stored in storage sheep unit in data, with perform electronic equipment various functions and/ Or process data.Described central processing unit can be made up of integrated circuit, it is also possible to by connecting many phases The integrated chip of envelope table of congenerous or difference in functionality and form.I.e. processor can be GPU, numeral letter The combination of the control chip in number processor and communication unit.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all Any amendment, equivalent and the improvement etc. made within the spirit and principles in the present invention, all should comprise Within protection scope of the present invention.

Claims (10)

1. method of data synchronization in a LAN, it is characterised in that comprise the following steps:
Whether detection cloud server exists more new data;
When detecting that described cloud server exists more new data, obtain institute from described cloud server State and update the identification information of source terminal in the LAN of Data Source;
According to the identification information of described source terminal, from more new data described in the synchronization of described source terminal.
Method the most according to claim 1, it is characterised in that described method also includes:
Data to be updated are selected, then from described more new data
The identification information of source terminal in the LAN of described acquisition described renewal Data Source, particularly as follows:
Obtain the identification information of source terminal in the LAN of described Data Source to be updated;
Described from more new data described in source terminal synchronization, particularly as follows:
Described data to be updated are synchronized from described source terminal.
Method the most according to claim 1 and 2, it is characterised in that described more new data is by institute State source terminal synchronized update data to cloud server.
Method the most according to claim 3, it is characterised in that source terminal in described LAN Identification information includes the device identification of described source terminal, application identities and/or the use of cloud server record Family identifies;
The identification information of source terminal in the LAN of more new data described in described acquisition, particularly as follows:
The device identification of described source terminal, application identities and/or user's mark is obtained from described cloud server Know.
Method the most according to claim 4, it is characterised in that described according to described source terminal Identification information, from more new data described in the synchronization of described source terminal, specifically includes:
Device identification, application identities and/or ID according to described source terminal and source terminal foundation office Data cube computation in the net of territory,
By more new data described in data cube computation synchronization in described LAN.
6. data synchronization unit in a LAN, it is characterised in that including:
Detector unit, is used for detecting whether cloud server exists more new data;
Acquiring unit, for when detecting that described cloud server exists more new data, from described cloud The identification information of source terminal in the LAN of the end server described renewal Data Source of acquisition;
Lock unit, for the identification information according to described source terminal, synchronizes described from described source terminal More new data.
Device the most according to claim 6, it is characterised in that described device also includes:
Select unit, for selecting data to be updated from described more new data, then
Described acquiring unit, specifically for: obtain the LAN endogenous end of described Data Source to be updated The identification information of end;
Described lock unit, specifically for: synchronize described data to be updated from described source terminal.
8. according to the device described in claim 6 or 7, it is characterised in that described more new data is by institute State source terminal synchronized update data to cloud server.
Device the most according to claim 8, the identification information of described source terminal includes:
The device identification of described source terminal, application identities and/or the ID of cloud server record, Described acquiring unit, specifically for: from described cloud server obtain described source terminal device identification, Application identities and/or ID,
Described updating block, specifically for: according to the device identification of described source terminal, application identities and/ Or ID and source terminal set up data cube computation in LAN, by data cube computation in described LAN More new data described in synchronization.
10. a user terminal, it is characterised in that including:
Communication unit, for setting up data cube computation in LAN, and and cloud server with source terminal Set up network to connect,
Central processing unit, is used for detecting whether cloud server exists more new data;Described when detecting When cloud server exists more new data, obtain described renewal Data Source from described cloud server The identification information of source terminal in LAN;And according to the identification information of described source terminal, same from source terminal More new data described in step.
CN201610224855.1A 2016-04-12 2016-04-12 Intra-local area network data synchronization method, device and user terminal Pending CN105933393A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610224855.1A CN105933393A (en) 2016-04-12 2016-04-12 Intra-local area network data synchronization method, device and user terminal
PCT/CN2016/099901 WO2017177621A1 (en) 2016-04-12 2016-09-23 Data synchronization method in local area network, and apparatus and user terminal therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610224855.1A CN105933393A (en) 2016-04-12 2016-04-12 Intra-local area network data synchronization method, device and user terminal

Publications (1)

Publication Number Publication Date
CN105933393A true CN105933393A (en) 2016-09-07

Family

ID=56838036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610224855.1A Pending CN105933393A (en) 2016-04-12 2016-04-12 Intra-local area network data synchronization method, device and user terminal

Country Status (2)

Country Link
CN (1) CN105933393A (en)
WO (1) WO2017177621A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017177621A1 (en) * 2016-04-12 2017-10-19 乐视控股(北京)有限公司 Data synchronization method in local area network, and apparatus and user terminal therefor
CN109067913A (en) * 2018-09-19 2018-12-21 量子云未来(北京)信息科技有限公司 A kind of method and device for maintaining data synchronous
CN109167756A (en) * 2018-07-30 2019-01-08 腾讯科技(深圳)有限公司 A kind of synchronous method of user data, device and storage medium
CN112202864A (en) * 2020-09-24 2021-01-08 建信金融科技有限责任公司 Context switching system, method, device, equipment and medium
CN114301929A (en) * 2021-12-10 2022-04-08 阿里巴巴(中国)有限公司 Cloud clipboard data synchronization method and device, cloud server and system
WO2023231836A1 (en) * 2022-05-30 2023-12-07 华为技术有限公司 File synchronization method, apparatus, device, and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613024A (en) * 2017-10-31 2018-01-19 维沃移动通信有限公司 A kind of method of data synchronization and mobile terminal
CN113923230B (en) * 2020-06-22 2022-12-13 华为技术有限公司 Data synchronization method, electronic device, and computer-readable storage medium
CN112163042B (en) * 2020-09-24 2024-01-23 杭州安恒信息技术股份有限公司 Multi-variable data synchronization method and device, electronic device and storage medium
CN113765985B (en) * 2021-01-15 2024-09-24 北京京东拓先科技有限公司 Method and apparatus for synchronizing messages
CN112860721A (en) * 2021-03-12 2021-05-28 云知声智能科技股份有限公司 Cloud data updating method, device and system for smart park

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108051A (en) * 2013-02-27 2013-05-15 上海够快网络科技有限公司 Synchronous file sharing method from cloud server
CN103491137A (en) * 2013-09-02 2014-01-01 用友软件股份有限公司 Data synchronizing system and data synchronizing method
WO2014075250A1 (en) * 2012-11-15 2014-05-22 华为终端有限公司 Method and device for transferring web real-time communication session
CN103873451A (en) * 2012-12-17 2014-06-18 中国移动通信集团公司 Data synchronization method, equipment and system
CN104660706A (en) * 2015-03-09 2015-05-27 陈健强 Data interaction method and system for multiple terminals in LAN (local area network)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327037B (en) * 2012-03-20 2017-09-29 中兴通讯股份有限公司 Method of data synchronization and device
CN105933393A (en) * 2016-04-12 2016-09-07 乐视控股(北京)有限公司 Intra-local area network data synchronization method, device and user terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014075250A1 (en) * 2012-11-15 2014-05-22 华为终端有限公司 Method and device for transferring web real-time communication session
CN103873451A (en) * 2012-12-17 2014-06-18 中国移动通信集团公司 Data synchronization method, equipment and system
CN103108051A (en) * 2013-02-27 2013-05-15 上海够快网络科技有限公司 Synchronous file sharing method from cloud server
CN103491137A (en) * 2013-09-02 2014-01-01 用友软件股份有限公司 Data synchronizing system and data synchronizing method
CN104660706A (en) * 2015-03-09 2015-05-27 陈健强 Data interaction method and system for multiple terminals in LAN (local area network)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017177621A1 (en) * 2016-04-12 2017-10-19 乐视控股(北京)有限公司 Data synchronization method in local area network, and apparatus and user terminal therefor
CN109167756A (en) * 2018-07-30 2019-01-08 腾讯科技(深圳)有限公司 A kind of synchronous method of user data, device and storage medium
CN109167756B (en) * 2018-07-30 2020-09-04 腾讯科技(深圳)有限公司 User data synchronization method, device and storage medium
CN109067913A (en) * 2018-09-19 2018-12-21 量子云未来(北京)信息科技有限公司 A kind of method and device for maintaining data synchronous
CN112202864A (en) * 2020-09-24 2021-01-08 建信金融科技有限责任公司 Context switching system, method, device, equipment and medium
CN114301929A (en) * 2021-12-10 2022-04-08 阿里巴巴(中国)有限公司 Cloud clipboard data synchronization method and device, cloud server and system
CN114301929B (en) * 2021-12-10 2024-03-08 阿里巴巴(中国)有限公司 Cloud clipboard data synchronization method and device, cloud server and system
WO2023231836A1 (en) * 2022-05-30 2023-12-07 华为技术有限公司 File synchronization method, apparatus, device, and storage medium

Also Published As

Publication number Publication date
WO2017177621A1 (en) 2017-10-19

Similar Documents

Publication Publication Date Title
CN105933393A (en) Intra-local area network data synchronization method, device and user terminal
CN109542865B (en) Method, device, system and medium for synchronizing configuration files of distributed cluster system
CN102413112B (en) Method, association server and system for realizing association of equipment
CN109388213A (en) Server system, computer implemented method and non-transitory computer-readable medium
CN109788027A (en) Method of data synchronization, device, server and computer storage medium
CN103856374A (en) Data transmission method, terminal and home interconnected system
CN108632307B (en) Session connection establishing method and SMF entity
CN105659689A (en) Method and system for dual role handling in a wireless environment
CN103812900A (en) Data synchronization method, device and system
CN111200805A (en) Bluetooth networking method and system based on Bluetooth equipment
CN110515762A (en) Data reconstruction method, device, terminal device and storage medium
CN110166823A (en) Throw screen method and relevant apparatus
CN107609197B (en) A kind of method of data synchronization, data synchronization unit and mobile terminal
CN107577822A (en) A kind of method of data synchronization, data synchronization unit and mobile terminal
CN108713199A (en) Right management method, system, mobile terminal, shared charging equipment and server
CN103051484B (en) Session service processing method, system and Session Border Controll
CN107517459A (en) Method, device and system for establishing connection in wireless screen transmission and storage medium
CN112733051A (en) Websocket-based information push management system and method
CN104038518A (en) Information processing method, server and terminal equipment
CN110535959A (en) A kind of method, apparatus and computer readable storage medium for transmitting data
CN104125605A (en) Implementing method and device for request of building WIFI connection
CN105933352B (en) Method of data synchronization, client and system between client-based server
CN103546513B (en) The method and device of communication between a kind of customer terminal webpage
CN112766486A (en) Searching method of neural network structure, terminal, server and readable storage medium
CN104079825A (en) Method and system for expanding photographing function of mobile client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160907

WD01 Invention patent application deemed withdrawn after publication