CN105187481A - Data sharing method between two terminals - Google Patents
Data sharing method between two terminals Download PDFInfo
- Publication number
- CN105187481A CN105187481A CN201510403327.8A CN201510403327A CN105187481A CN 105187481 A CN105187481 A CN 105187481A CN 201510403327 A CN201510403327 A CN 201510403327A CN 105187481 A CN105187481 A CN 105187481A
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- terminals
- new data
- sharing method
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a data sharing method between two terminals, and the method is used for the data sharing between a first terminal and a second terminal. The method comprises the following steps that the first terminal and the second terminal are matched mutually, the first terminal detects new data, and the first terminal sends the new data to the second terminal. In addition, the invention also provides terminal equipment. According to the method, the data of the two terminals can be shared in the database of each other constantly, and the data sharing problem between the two terminals is solved.
Description
Technical field
The present invention relates to a kind of data sharing method, particularly relate to data sharing method between two terminals.
Background technology
Along with the development of society, the progress of science and technology.Intellectuality is more and more universal, completes the transmission of data frequently by mobile terminal.We often can find personal two mobile phones, but in the process used, often there will be such problem.User is kept in this mobile phone after using one of them mobile phone to have received a file, can not check when using another one mobile phone, necessarily need user use before that mobile phone just can check that other people send to his file, very inconvenient for user's viewing files like this.In addition, the rise of Intelligent set top box in our family, facilitates one family and shares picture, screen etc. together.But when need in mobile phone or the picture in computer is placed into Intelligent set top box time need by USB flash disk or other mode.For two problems above, how this goes to solve.
Summary of the invention
For solving the problem, be necessary the method that a kind of file-sharing or file-sharing between mobile phone and Intelligent set top box between mobile phone and mobile phone are provided.Such as, data sharing method between two terminals in the present invention, in addition, the present invention also provides a terminal equipment.
Data sharing method between two terminals, for data sharing between first terminal and the second terminal, comprises following flow process:
First terminal and the second terminal are matched mutually;
First terminal detecting new data;
First terminal sends new data to the second terminal.
Preferably, first terminal is provided with a shared data storing space, and new data is for sharing new content in data storing space.First terminal only detects the new data in shared data storing space.
Have choosing, described first terminal sends new data to the second terminal by local area network (LAN).
Preferably, when first terminal sends new data to the second terminal but when cannot send, then leave this in system and send record, when can transmit data between next first terminal and the second terminal, then again send and do not send successful new data to the second terminal.
A kind of terminal equipment, the data sharing between energy and associated terminal, comprises with lower module:
Detecting module, for detecting the new data of described terminal equipment;
Communication module, for sending the new data that detects to associated terminal.
Accompanying drawing explanation
Fig. 1 is the flow chart of the mutual pairing between the present invention's two terminals in data sharing method.
Fig. 2 is that the first terminal of data sharing method between two terminals of the present invention shares flow chart.
Fig. 3 is that the second terminal between the present invention's two terminals in data sharing method shares flow chart.
Fig. 4 is a kind of terminal equipment structural representation of the present invention.
Main element symbol description
Mobile terminal 100
Detecting module 101
Communication module 102
Judge module 103
Processing module 104.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing, the present invention is described in further detail.The example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining technical scheme of the present invention, and not should be understood to limitation of the present invention.
Data sharing method and a kind of terminal equipment between two terminals of the present invention, between these two terminals, data sharing method is mainly used in the data sharing between two terminals, terminal can be, mobile phone, panel computer, computer, Intelligent set top box or some other intelligent terminal.The method shares information each other automatically after mainly mutually being matched by two terminals.
As shown in Figure 1, be the flow chart of pairing mutually in data sharing method between the present invention's two terminals.
Mutual pairing between two terminals of the present invention in data sharing method, the method is based on the matching method in local area network (LAN).Comprise the following steps:
S11, first terminal arranges password and obtains the agreement interconnected between first terminal information and IP(InternetProtocol or network) address.First terminal inputs a password and matches with it for other equipment.
S12, first terminal sends tcp(transmission control protocol) broadcast.
S13, the tcp that the second terminal receives first terminal transmission broadcasts and receives the password of user's input.Second terminal receives the broadcast of first terminal transmission and ejects interface for password input.Second terminal input password.In addition, the second terminal also receives first terminal information and ip address.In another embodiment, after first terminal confirms that password is correct, first terminal sends its information and ip address to the second terminal.
S14, the second terminal sends password to first terminal according to the first terminal information received and IP address;
S15, first terminal receives the password that the second terminal sends.Concrete, the password that first terminal have received the second terminal transmission within the time of setting is just effective.Suppose, it is after the time sent request in 30 seconds that first terminal arranges time of reception, then the password that the first equipment received in 30 seconds is effective.If do not receive password more than 30 seconds.Then first terminal no longer receives password.That is, if the second terminal sends password to first terminal after first terminal sends request after 30 seconds, then first terminal does not receive.
In another embodiment, match based on setting up between the first terminal of wide area network and the second terminal.Pairing between first terminal and the second terminal is set up by far-end server (far-end server is official's server or the third-party vendor of first terminal or the second terminal), user sends password and relevant information and ip address to far-end server after inputting password, second terminal sends password and relevant information and IP address at the appointed time to far-end server simultaneously, far-end server judges that whether the password that first terminal sends is identical with the password that the second terminal sends, if identical, then between first terminal and the second terminal, set up pairing.
S16, first terminal judges that whether password is correct.If so, then step S17 is performed.If not, then terminate, the pairing failure between first terminal and the second terminal.
S17, first terminal and the second terminal are matched mutually.
Role wherein between first terminal second terminal can exchange.That is, after also can sending tcp broadcast by the second terminal, first terminal receives, and first terminal input password is also sent to the second terminal authentication.In addition, when two terminals are respectively mobile phone and Intelligent set top box or intelligent television, when user may just need the content in mobile phone to be sent to Intelligent set top box or intelligent television.Only then that mobile phone sends sharing request to Intelligent set top box or intelligent television.Specifically change according to user's request and applied environment.Between first terminal and the second terminal after successful matching, when first terminal or the second terminal have had new data to increase, then the second terminal or first terminal can be automatically shared to.It should be noted that, when the IP conversion of first terminal or the second terminal, then can send new IP address to the second terminal or first terminal at once.In addition, mode manually pairing between first terminal and the second terminal can be disconnected.
The first terminal being illustrated in figure 2 data sharing method between a kind of two terminals of the present invention shares flow chart.Concrete steps are as follows:
S21, first terminal detecting new data.Concrete, first terminal detects the new data of the increase of first terminal constantly.In another embodiment, the shared data storing space of system assignment one is to first terminal.Be placed on new data in shared data storing space as shared data, the new data being placed on other positions, not as sharing data, does not namely share to the second terminal.First terminal detecting data also just detects the new data shared in data storing space, and can not detect the new data of first terminal except the external position in shared data storing space.First terminal detecting new data is Auto-Sensing, and when there being the change of data in shared data storing space, first terminal is all detected and obtained;
S22, first terminal sends new data to the second terminal.When first terminal and the second terminal are in local area network (LAN), first terminal sends new data by local area network (LAN) to the second terminal.When first, second terminal is not in same local area network (LAN), then pass through P2P(PeertoPeer) send new data to the second terminal.If new data to the second terminal can not be sent.Then system leaves this and sends memory.When can transmit data between next first terminal and the second terminal, send new data to the second terminal that this detects;
S23, the second terminal receives the new data that first terminal sends.Be similar to first terminal, the second terminal arranges a shared data storing space, and the new data that the first terminal that the second terminal receives sends all is placed in this shared data storing space.When the second terminal is as (role as first terminal) during shared end, the second terminal is similar to first terminal, and the new data in data storing space is shared in detecting.
If Fig. 3 is that the second terminal between the present invention's two terminals in data sharing method shares flow chart.Concrete steps are similar to first terminal:
S31, the second terminal detecting new data;
S32, sends new data to first terminal;
S33, first terminal receives the new data that the second terminal sends.
The present invention also provides a kind of terminal equipment 100.This device end 100 shares new data mutually with another associated terminal.This device end equipment comprises:
Detecting module 101, for detecting terminal device information and ip address;
Communication module 102, for sending tcp broadcast.This broadcasted content comprises: terminal device information, ip address, and for receiving the password that associated terminal sends;
Judge module 103, whether correct for judging the password received.Set up the relation of mutual trust by password between terminal equipment 100 and associated terminal and mutually match;
Processing module 104, for setting up the pairing between terminal equipment 100 and another associated terminal.Detecting module 101 also for detecting the new data on terminal equipment 100, when detect terminal equipment 100 has newly-increased data time, communication module 102 also for sending new data to associated terminal, simultaneously also for receiving the new data that associated terminal sends.
In another embodiment, detecting module 101 is also for detecting the minimizing of terminal equipment 100 file, when detecting the legacy data in terminal equipment and being deleted, communication module 102 is for sending the information of this legacy data to associated terminal, and associated terminal deletes the data corresponding to legacy data information of terminal equipment 100 transmission received.
Claims (7)
1. data sharing method between two terminals, for data sharing between first terminal and the second terminal, is characterized in that, comprises following flow process:
First terminal and the second terminal are matched mutually;
First terminal detecting new data;
First terminal sends new data to the second terminal.
2. data sharing method between two terminals as claimed in claim 1, is characterized in that: described flow process first terminal and the second terminal are mutually matched and sent tcp by first terminal and broadcast, and the second terminal receives the broadcast that first terminal sends.
3. data sharing method between two terminals as claimed in claim 1, it is characterized in that: described first terminal is provided with a shared data storing space, new data is content newly-increased in shared data storing space, and first terminal only detects content newly-increased in shared data storing space.
4. data sharing method between two terminals as claimed in claim 2, is characterized in that: described first terminal sends new data to the second terminal by local area network (LAN).
5. data sharing method between two terminals as claimed in claim 2, is characterized in that: described first terminal sends new data to the second terminal by P2P.
6. data sharing method between two terminals as claimed in claim 2, it is characterized in that: when described first terminal send new data to described second terminal but cannot send time, then leave this in system and send record, when can transmit data between next first terminal and the second terminal, then described first terminal again sends and does not send successful new data to described second terminal.
7. a terminal equipment, carries out data sharing between energy and associated terminal, comprises with lower module:
Detecting module, for detecting the new data of described terminal equipment;
Communication module, for sending the new data that detects to associated terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510403327.8A CN105187481A (en) | 2015-07-11 | 2015-07-11 | Data sharing method between two terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510403327.8A CN105187481A (en) | 2015-07-11 | 2015-07-11 | Data sharing method between two terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105187481A true CN105187481A (en) | 2015-12-23 |
Family
ID=54909322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510403327.8A Pending CN105187481A (en) | 2015-07-11 | 2015-07-11 | Data sharing method between two terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105187481A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878801A (en) * | 2017-02-20 | 2017-06-20 | 山东浪潮商用***有限公司 | A kind of method by Set Top Box sharing video frequency |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100093273A1 (en) * | 2008-10-09 | 2010-04-15 | Sony Corporation | Wireless transfer of data from a mobile device to a server |
CN103179281A (en) * | 2013-03-25 | 2013-06-26 | 成都西可科技有限公司 | Method for quickly realizing resource sharing between intelligent terminals |
CN103647869A (en) * | 2013-11-14 | 2014-03-19 | 深圳创维数字技术股份有限公司 | Terminal pairing method, terminal and system |
CN104488199A (en) * | 2014-03-17 | 2015-04-01 | 华为终端有限公司 | Method of synchronizing contents between terminals and terminals |
CN104702701A (en) * | 2015-03-30 | 2015-06-10 | 魅族科技(中国)有限公司 | Method and device for sharing data |
-
2015
- 2015-07-11 CN CN201510403327.8A patent/CN105187481A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100093273A1 (en) * | 2008-10-09 | 2010-04-15 | Sony Corporation | Wireless transfer of data from a mobile device to a server |
CN103179281A (en) * | 2013-03-25 | 2013-06-26 | 成都西可科技有限公司 | Method for quickly realizing resource sharing between intelligent terminals |
CN103647869A (en) * | 2013-11-14 | 2014-03-19 | 深圳创维数字技术股份有限公司 | Terminal pairing method, terminal and system |
CN104488199A (en) * | 2014-03-17 | 2015-04-01 | 华为终端有限公司 | Method of synchronizing contents between terminals and terminals |
CN104702701A (en) * | 2015-03-30 | 2015-06-10 | 魅族科技(中国)有限公司 | Method and device for sharing data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878801A (en) * | 2017-02-20 | 2017-06-20 | 山东浪潮商用***有限公司 | A kind of method by Set Top Box sharing video frequency |
CN106878801B (en) * | 2017-02-20 | 2019-12-24 | 山东浪潮商用***有限公司 | Method for sharing video through set top box |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110235456B (en) | Intelligent device network access method, mobile terminal, cloud server, device and system | |
EP3484196B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
CN103037477A (en) | Method, server side and client side of family media device accessing to wireless fidelity (wifi) hotspot | |
CN104158883A (en) | Method, device, equipment and system for carrying out user login through cross-terminal equipment | |
CN102891890B (en) | Exchange method between a kind of terminal and relevant device, system | |
CN104378145A (en) | Pairing method and system of Bluetooth device | |
CN107113892B (en) | Method and device for automatically networking gateway equipment | |
WO2017107550A1 (en) | Network connection method and apparatus | |
CN103763327A (en) | Account number logging-in method and system | |
EP2710776A1 (en) | Anonymous signalling | |
CN111194035B (en) | Network connection method, device and storage medium | |
US10321494B2 (en) | Method and apparatus for communicating in a wireless communication network | |
CN103476027A (en) | File transmission method for mobile terminal | |
CN103957037A (en) | Method for automatic communication between PC side and Android mobile phone side based on Bluetooth | |
CN102739947A (en) | Wireless network shooting device and working method of wireless network shooting device | |
CN103414740A (en) | Private cloud account configuration method and device | |
CN107396283A (en) | A kind of router wireless connection authentication method and system | |
CN104113556A (en) | Network logon authentication method and system, mobile terminal and application server | |
EP3261317A1 (en) | Authentication system, communication system, and authentication and authorization method | |
CN103369000A (en) | Data transmission method and data transmission system | |
EP2747339A1 (en) | Method for supporting data-communication, a related system and related devices | |
CN104869107A (en) | Identity authentication method, wearable equipment, authentication server and system thereof | |
US9615400B2 (en) | Network apparatus and network sharing method | |
CN105025477A (en) | Wireless security automatic pairing method, network connection establishing method and wireless access point device | |
US9226223B2 (en) | Network connection system of network electronic device and method allowing a terminal device to access an electronic device connected behind a router without a NAT loopback function |
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: 20151223 |
|
WD01 | Invention patent application deemed withdrawn after publication |