Nothing Special   »   [go: up one dir, main page]

CN105430068B - A kind of cloud clone method and system based on local area network - Google Patents

A kind of cloud clone method and system based on local area network Download PDF

Info

Publication number
CN105430068B
CN105430068B CN201510754657.1A CN201510754657A CN105430068B CN 105430068 B CN105430068 B CN 105430068B CN 201510754657 A CN201510754657 A CN 201510754657A CN 105430068 B CN105430068 B CN 105430068B
Authority
CN
China
Prior art keywords
area network
local area
target device
source
port
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.)
Active
Application number
CN201510754657.1A
Other languages
Chinese (zh)
Other versions
CN105430068A (en
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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510754657.1A priority Critical patent/CN105430068B/en
Publication of CN105430068A publication Critical patent/CN105430068A/en
Application granted granted Critical
Publication of CN105430068B publication Critical patent/CN105430068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of cloud clone method and system based on local area network, the described method includes: source device obtains the source file of user's selection replicate, the interim web services of an offer download service are established, the port of interim web services is using default port;Ip scans corresponding default port to target device one by one in local area network, detects whether default port opens;If detecting default port open, determine that the corresponding equipment in default port opened is source device, target device accesses the interim web services of source device, downloading source file to target device.The present invention can utilize cloud reproduction technology, it can be achieved to select duplication in one equipment of user, it can directly be pasted in another equipment in same local area network, save the transmission time of user, be that multiple electric rooms transmission file of the user in local area network provides convenience.

Description

A kind of cloud clone method and system based on local area network
Technical field
The present invention relates to network technique field more particularly to a kind of cloud clone methods and system based on local area network.
Background technique
The television equipment that current individual possesses is more and more, the various electronics such as mobile phone, PC, laptop, smart television Equipment.Although improving the convenience of the various information processings of each electronic equipment, between each equipment the transmission of data at Problem.Current cloud disk automatic synchronization, the transmission of QQ file both provide the information transfer capability of equipment room.But it operates more Trouble, needs to log in application, point-to-point mutual biography.
File transmission in local area network between more equipment also needs to need in every equipment by tools such as cloud disk, QQ Login account point-to-point transmission again operates fairly cumbersome.Cloud disk automatic backup function needs are put files under fixed catalogue, Other terminals be also by under file automated back-up to fixed catalogue, it is not flexible there are file storing directory the problems such as.
Therefore, the prior art has much room for improvement and improves.
Summary of the invention
In view of the deficiencies in the prior art, it is an object of that present invention to provide a kind of cloud clone method based on local area network and it is System, it is intended to solve file transmission between the multiple equipment in the prior art in local area network and need after user's login account point-to-point biography again It is defeated, it is complicated for operation, while utilizing the inflexible defect of file storing directory of cloud disk automatic backup function storage.
Technical scheme is as follows:
A kind of cloud clone method based on local area network, wherein method includes:
A, source device obtains the source file of user's selection replicate, and establishes the interim of an offer download service Web services, the port of interim web services is using default port;
B, ip scans corresponding default port to target device one by one in local area network, detects whether default port opens It opens;
If C, detecting default port open, determine that the corresponding equipment in default port opened is source device, target is set The interim web services of standby access source device, downloading source file to target device.
The cloud clone method based on local area network, wherein after the step C further include:
D, after the completion of target device downloads source file, source device, source device is notified to receive the source of target device sending After the notice that file download is completed, interim web services are closed.
The cloud clone method based on local area network, wherein the step C is specifically included:
After C1, target device detect port open identical with default port, determine that the default port opened is corresponding Equipment is source device;
The web services of C2, target device access source device, source file is downloaded under temporary folder;
C3, it is dumped to after the completion of downloading in temporary file under the specified file pasted of target device.
The cloud clone method based on local area network, wherein the default port is No. 8083 ports.
Cloud clone method described in any of the above-described based on local area network, wherein the source device, the target device are hand One of machine, desktop computer, laptop, smart television, all-in-one machine, tablet computer.
A kind of cloud dubbing system based on local area network, wherein system includes:
Source file uploading module obtains the source file of user's selection replicate for source device, establishes one The interim web services of download service are provided, the port of interim web services is using default port;
Scanning and detection module, for target device, ip scans corresponding default port, inspection one by one in local area network Survey whether default port opens;
Access and download module, if determining that the default port opened is corresponding for detecting default port open and setting Standby is source device, and target device accesses the interim web services of source device, downloading source file to target device.
The cloud dubbing system based on local area network, wherein the system also includes:
Notification module, for notifying source device after the completion of target device downloads source file.
The cloud dubbing system based on local area network, wherein the system also includes:
Staging server closedown module receives the notice of the source file downloading completion of target device sending for source device Afterwards, interim web services are closed.
The cloud dubbing system based on local area network, wherein the access is specifically included with download module:
Detection and judging unit after detecting port open identical with default port for target device, determine to open The corresponding equipment in default port be source device;
Access unit downloads to source file under temporary folder for the web services of target device access source device;
Unloading unit is dumped to after the completion of for downloading in temporary file under the specified file pasted of target device.
The cloud dubbing system based on local area network, wherein the default port is No. 8083 ports.
The utility model has the advantages that the present invention can utilize cloud reproduction technology, it can be achieved that in one equipment of user select duplication, can be same It is directly pasted in another equipment in local area network, saves the transmission time of user, be multiple electricity of the user in local area network Sub- equipment room transmission file provides convenience.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the preferred embodiment of cloud clone method based on local area network of the invention of the invention;
Fig. 2 is a kind of flow chart of the concrete application embodiment of cloud clone method based on local area network of the invention;
Fig. 3 is a kind of functional schematic block diagram of the preferred embodiment of cloud dubbing system based on local area network of the invention.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, below to the present invention further specifically It is bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The flow chart of the preferred embodiment of the present invention provides a kind of cloud clone method based on local area network, as shown in Figure 1, The described method includes:
Step S100, source device obtains the source file of user's selection replicate, and establishes an offer downloading clothes The interim web services of business, the port of interim web services is using default port.
When it is implemented, user selects source device when user wants when the file of source device copies in another equipment A source file replicated, click duplication option.Source device establishes an interim web services at this time.And it is interim Web services are served only for providing file download, i.e., the source file replicated before downloading user.Interim web services use fixed port Number for default port numbers, the default port is No. 8083 ports.
Specifically, source device includes but is not limited to mobile phone, desktop computer, laptop, smart television, all-in-one machine, puts down The smart machines such as plate computer.
Step S200, ip scans corresponding default port to target device one by one in local area network, detects default port Whether open.
When it is implemented, target device is equipment of the user by pasting after the duplication of above-mentioned source file.Specifically, target is set The standby including but not limited to smart machines such as mobile phone, desktop computer, laptop, smart television, all-in-one machine, tablet computer.Mesh Marking device detects user after selection cloud paste operation instruction, to the address network ip in current local area network from 192:168: In 1:1 to 192:168:1:254, IP scans corresponding 8083 port one by one, and whether judgement opens with default 8083 port of port.
If step S300, detecting default port open, determine that the corresponding equipment in default port opened is source device, Target device accesses the interim web services of source device, downloading source file to target device.
When it is implemented, if detecting that default port numbers are opened, represent the equipment where the corresponding ip of the port as Source device where the source file of copy function is provided.Target device accesses the interim web services established before the source device, therefrom File is downloaded, paste operation is completed.
When it is implemented, after the step S300 further include:
Step S400, after the completion of target device downloads source file, source device, source device is notified to receive target device hair After the notice that source file downloading out is completed, interim web services are closed.
When it is implemented, working as target device by source file after the completion of downloading in interim web services, one is sent to source device It is a that notice is completed comprising downloading, for notifying source device this document to download, to carry out the operation of next step.Source device connects After the source file downloading completion notice for receiving target device sending, show that target device has succeeded loading source file, source is set at this time It is standby to close interim web services.After the operational order that the file for receiving user again replicates, then interim web services are opened, weight Multiple above-mentioned steps.
Further, the step S300 is specifically included:
Step S301, after target device detects port open identical with default port, determine the default port opened Corresponding equipment is source device;
Step S302, the web services of target device access source device, source file is downloaded under temporary folder;
Step S303, it is dumped to after the completion of downloading in temporary file under the specified file pasted of target device.
The flow chart of the concrete application embodiment of the present invention also provides a kind of cloud clone method based on local area network is such as schemed Shown in 2, wherein source device is denoted as equipment A, and target device is denoted as equipment B, which comprises
Step S10, equipment A receives the instruction that some file in user's devices selected A carries out duplication operation;
Step S20, interim web services are established in equipment A;
Step S30, equipment B receives the cloud paste operation instruction of user;
Step S40, equipment B is in local area network scan designated ends slogan;
Step S50, equipment of the equipment B by finding port numbers unlatching, to access the interim web services of the equipment;
Step S60, equipment B downloads file from the interim web services of equipment A;
Step S70, under the file that equipment B pastes the file copy that downloading finishes to user;
Step S80, equipment B notifies equipment A file to complete to transmit;
Step S90, terminal A closes interim web services.
By above method embodiment it is found that the present invention provides a kind of cloud clone method based on local area network, when user needs It, can be by establishing interim web services on source device, and by source file when the source file of source device is copied to target device It uploads in interim web services, and target device passes through the default port phase used in scanning local area network with interim web services Same port finds related interim web services, downloads source file, and notify source device after the download is complete, source device receives logical Interim web services are closed after knowing, complete a file copy operation.The present invention makes arbitrary equipment of the user in same local area network On all reproducible file, can directly be pasted in another equipment, eliminate user log in and transmission operation, save user's Time transmits file for user and provides convenience.
On the basis of above method embodiment, the present invention also provides a kind of cloud dubbing system based on local area network compared with The functional schematic block diagram of good embodiment, as shown in figure 3, the system comprises:
Source file uploading module 100 obtains the source file of user's selection replicate for source device, establishes one A to provide the interim web services of download service, the port of interim web services is using default port;As detailed above.
Scanning and detection module 200, for target device, ip scans corresponding default port one by one in local area network, Detect whether default port opens;As detailed above.
Access and download module 300, if determining that the default port opened is corresponding for detecting default port open Equipment is source device, and target device accesses the interim web services of source device, downloading source file to target device;Specific institute as above It states.
The cloud dubbing system based on local area network, wherein the system also includes:
Notification module is closed interim after receiving the notice that the source file downloading that target device issues is completed for source device Web services;As detailed above.
The cloud dubbing system based on local area network, wherein the system also includes:
Staging server closedown module is closed after receiving the source file downloading notice that target device issues for source device Interim web services;As detailed above.
The cloud dubbing system based on local area network, wherein the access is specifically included with download module:
Detection and judging unit after detecting port open identical with default port for target device, determine to open The corresponding equipment in default port be source device;As detailed above.
Access unit downloads to source file under temporary folder for the web services of target device access source device; As detailed above.
Unloading unit is dumped to after the completion of for downloading in temporary file under the specified file pasted of target device; As detailed above.
Cloud dubbing system described in any of the above-described based on local area network, wherein the default port is No. 8083 ports;Tool Body is as described above.
In conclusion the present invention provides a kind of cloud clone method and system based on local area network, which comprises source Equipment obtains the source file of user's selection replicate, and establishes the interim web services of an offer download service, temporarily The port of web services is using default port;Ip scans corresponding default port, detection to target device one by one in local area network Whether open default port;If detecting default port open, determine that the corresponding equipment in default port opened sets for source Standby, target device accesses the interim web services of source device, downloading source file to target device.The present invention can replicate skill using cloud Art can directly be pasted in another equipment in same local area network, be saved, it can be achieved that selection duplication in one equipment of user Multiple electric rooms that the transmission time of user is user in local area network transmit file and provide convenience.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (8)

1. a kind of cloud clone method based on local area network, which is characterized in that method includes:
A, source device obtains the source file of user's selection replicate, and establishes the interim web of an offer download service Service, the port of interim web services is using default port;
B, ip scans corresponding default port to target device one by one in local area network, detects whether default port opens;
If C, detecting default port open, determine that the corresponding equipment in default port opened is source device, target device is visited The interim web services for asking source device, source file is downloaded under temporary folder, is dumped to after the completion of downloading in temporary file Under the specified file pasted of target device.
2. the cloud clone method based on local area network according to claim 1, which is characterized in that after the step C further include:
D, after the completion of target device downloads source file, source device, source device is notified to receive the source file of target device sending After downloading the notice completed, interim web services are closed.
3. the cloud clone method based on local area network according to claim 1, which is characterized in that the default port is No. 8083 Port.
4. the cloud clone method described in -3 any one based on local area network according to claim 1, which is characterized in that the source device, The target device is one of mobile phone, desktop computer, laptop, smart television, all-in-one machine, tablet computer.
5. a kind of cloud dubbing system based on local area network, which is characterized in that system includes:
Source file uploading module obtains the source file of user's selection replicate for source device, establishes an offer The interim web services of download service, the port of interim web services is using default port;
Scanning and detection module, for target device, ip scans corresponding default port one by one in local area network, and detection is pre- If whether port opens;
Access and download module, if determining that the corresponding equipment in default port opened is for detecting default port open Source device, target device access the interim web services of source device, downloading source file to target device;
The access is specifically included with download module:
Detection and judging unit after detecting port open identical with default port for target device, determine to open pre- If the corresponding equipment in port is source device;
Access unit downloads to source file under temporary folder for the web services of target device access source device;
Unloading unit is dumped to after the completion of for downloading in temporary file under the specified file pasted of target device.
6. the cloud dubbing system based on local area network according to claim 5, which is characterized in that the system also includes:
Notification module, for notifying source device after the completion of target device downloads source file.
7. the cloud dubbing system based on local area network according to claim 6, which is characterized in that the system also includes:
Staging server closedown module is closed after receiving the notice that the source file downloading that target device issues is completed for source device Close interim web services.
8. the cloud dubbing system based on local area network according to claim 5, which is characterized in that the default port is No. 8083 Port.
CN201510754657.1A 2015-11-09 2015-11-09 A kind of cloud clone method and system based on local area network Active CN105430068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510754657.1A CN105430068B (en) 2015-11-09 2015-11-09 A kind of cloud clone method and system based on local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510754657.1A CN105430068B (en) 2015-11-09 2015-11-09 A kind of cloud clone method and system based on local area network

Publications (2)

Publication Number Publication Date
CN105430068A CN105430068A (en) 2016-03-23
CN105430068B true CN105430068B (en) 2019-06-11

Family

ID=55508004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510754657.1A Active CN105430068B (en) 2015-11-09 2015-11-09 A kind of cloud clone method and system based on local area network

Country Status (1)

Country Link
CN (1) CN105430068B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242412A (en) * 2008-03-17 2008-08-13 张建中 A transmission method, device and system for multi-dimension data instance
CN101547211A (en) * 2009-05-19 2009-09-30 济宁盛世光明软件技术有限公司 A method for discovering specific website by specifically scanning IP address field
CN101674325A (en) * 2009-09-15 2010-03-17 中国联合网络通信集团有限公司 Generalization-based plug and play information-pushing method, system thereof and family gateway equipment
CN101800668A (en) * 2010-03-23 2010-08-11 成都市华为赛门铁克科技有限公司 Method and device for merging logs
CN102932520A (en) * 2011-08-10 2013-02-13 阿里巴巴集团控股有限公司 Information interaction method and system for mobile equipment
CN103514147A (en) * 2012-06-29 2014-01-15 腾讯科技(深圳)有限公司 Method and system for copying and pasting webpage content
CN103533051A (en) * 2013-10-15 2014-01-22 北京奇虎科技有限公司 Processing and providing method and device for network multimedia resource information
CN104618500A (en) * 2015-02-15 2015-05-13 冠捷显示科技(厦门)有限公司 Local area network application program data sharing method based on DLNA

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242412A (en) * 2008-03-17 2008-08-13 张建中 A transmission method, device and system for multi-dimension data instance
CN101547211A (en) * 2009-05-19 2009-09-30 济宁盛世光明软件技术有限公司 A method for discovering specific website by specifically scanning IP address field
CN101674325A (en) * 2009-09-15 2010-03-17 中国联合网络通信集团有限公司 Generalization-based plug and play information-pushing method, system thereof and family gateway equipment
CN101800668A (en) * 2010-03-23 2010-08-11 成都市华为赛门铁克科技有限公司 Method and device for merging logs
CN102932520A (en) * 2011-08-10 2013-02-13 阿里巴巴集团控股有限公司 Information interaction method and system for mobile equipment
CN103514147A (en) * 2012-06-29 2014-01-15 腾讯科技(深圳)有限公司 Method and system for copying and pasting webpage content
CN103533051A (en) * 2013-10-15 2014-01-22 北京奇虎科技有限公司 Processing and providing method and device for network multimedia resource information
CN104618500A (en) * 2015-02-15 2015-05-13 冠捷显示科技(厦门)有限公司 Local area network application program data sharing method based on DLNA

Also Published As

Publication number Publication date
CN105430068A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
US11991249B2 (en) Method, user equipment, server, and apparatus for implementing information sharing
CN102819461A (en) Desktop synchronization method, device, equipment and system
EP2911063A1 (en) Remote storage system and method using network attached storage (nas) device
CN105912421A (en) Backup method and device for storing data in mobile terminals, mobile terminals and terminals
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN104168309A (en) Data backup and operation method based on cloud service
CN105827740A (en) Method, equipment and system for contact person information backup
CN104468947B (en) A kind of information processing method and electronic equipment
US20110016175A1 (en) Method for realization of thin client and client terminal and server for same
CN105430068B (en) A kind of cloud clone method and system based on local area network
US10394482B2 (en) Snap tree arbitrary replication
WO2019029183A1 (en) Storage device access method, apparatus, storage medium and processor
CN104580672A (en) Information processing method and electronic equipment
CN109617928B (en) Method and system for sharing data between devices
CN103118068B (en) Obtained the method and system of data from other data-source device by current application equipment
WO2013125894A1 (en) Apparatus and method for processing data of mobile terminal
CN104125288A (en) Full-load testing method and system for network hard disk
CN112596752B (en) Internet of things method and system for electronic evidence obtaining equipment
WO2024017191A1 (en) Interaction method and apparatus, and device and storage medium
CN115599412A (en) Long connection transfer method and related device
US9531811B2 (en) Method for sharing application
CN113868024A (en) Method and device for automatic wireless backup of IOS equipment and related equipment
KR20070102120A (en) Data synchronization method for home network
KR20150142875A (en) P2P connection between devices through the private system and method for automatic data sharing and spreading
JP2000165331A (en) Data transfer communication unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant