CN106411824A - Data transmission method and apparatus, and double-headed line - Google Patents
Data transmission method and apparatus, and double-headed line Download PDFInfo
- Publication number
- CN106411824A CN106411824A CN201510466636.XA CN201510466636A CN106411824A CN 106411824 A CN106411824 A CN 106411824A CN 201510466636 A CN201510466636 A CN 201510466636A CN 106411824 A CN106411824 A CN 106411824A
- Authority
- CN
- China
- Prior art keywords
- terminal
- key
- interface
- authentication
- data transmission
- 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
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data transmission method and apparatus, and a double-headed line. The method comprises the following steps: a first terminal carries out an identity authentication process of a second terminal through a data line interface; after the identity authentication of the second terminal is successfully completed, the first terminal performs the data transmission with the second terminal. According to the scheme of the invention, the first terminal performs the identity authentication process of the second terminal through the data line interface, that is, a mobile terminal completes the connection preparation work before the data communication in a wired connection manner, thereby improving the security of the connection preparation work. After the connection preparation work is completed, the data transmission is carried out in the wired connection or wireless connection manner. The data transmission method improves security of data transmission between the mobile terminals.
Description
Technical field
The present invention relates to data communication field, espespecially a kind of data transmission method and device and double-line.
Background technology
At present the mobile terminal of mobile phone etc can be communicated by way of being wirelessly transferred, for example, wifi, bluetooth, the connected mode such as infrared.
In above-mentioned transmission means, the mobile terminal being required to transmit both sides is operated by screen interface, and complete the connection preparation before data transfer, connect preparation to include selecting the settings such as transmission means, search other side, input pairing code pairing, connecting preparation is also wirelessly to complete, but, wirelessly safety is poor, for example, malice is monitored software and can be obtained input pairing code by way of monitoring, thus the data resource of unauthorized access mobile terminal memory storage.In order to improve the safety of communication between mobile phone, ensure user's right, need the data transfer mode between a kind of safer mobile phone.
Content of the invention
In order to solve the above problems, the present invention proposes a kind of data transmission method and device and double-line, it is possible to increase the safety of the data transfer between mobile terminal.
In order to achieve the above object, the present invention proposes a kind of data transmission method, and methods described includes:
First terminal carries out the authentication procedures of second terminal by data line interface;
After the authentication of second terminal is successfully completed, first terminal carries out the data transfer and second terminal between.
Preferably, described data line interface is earphone interface;Or,
Described data line interface is USB interface.
Preferably, when described data line interface is earphone interface, described included by the authentication procedures that data line interface carries out second terminal:
Key-press input combination is received by described earphone interface;
Key-press input combination according to receiving obtains corresponding key;
Detect whether described key is met with the key prestoring, when meeting, judge that the authentication of second terminal is successfully completed.
Preferably, after the described authentication judging second terminal is successfully completed, described data transmission method also includes:
First terminal sends authentication success notification message by described earphone interface to second terminal, and described authentication success notification message is used for second terminal and starts the data transfer and first terminal between.
Preferably, methods described includes:
First terminal accepts the authentication of third terminal by data line interface;After the authentication of first terminal is successfully completed, first terminal carries out the data transfer and third terminal between;
Wherein, the key of first terminal receiving user's input, and the key according to user input, generate corresponding key-press input combination;
First terminal passes through earphone interface and the combination of described key-press input is sent to third terminal.
In order to achieve the above object, the invention allows for a kind of data transmission device, it is arranged in terminal, described device includes:
Authentication ' unit, for carrying out the authentication procedures of second terminal by data line interface;
Transmission unit, after being successfully completed in the authentication of second terminal, carries out the data transfer and second terminal between.
Preferably, described data line interface is earphone interface;Or,
Described data line interface is USB interface.
Preferably, when described data line interface is earphone interface, described authentication ' unit includes:
Receiver module, for receiving key-press input combination by described earphone interface;
Key acquisition module, for obtaining corresponding key according to the key-press input combination receiving;
Determination module, for detecting whether described key is met with the key prestoring, when meeting, judges that the authentication of second terminal is successfully completed.
Preferably, described authentication ' unit also includes:
Notification module, after being successfully completed in the described authentication judging second terminal, authentication success notification message is sent to second terminal by described earphone interface, described authentication success notification message is used for second terminal and starts the data transfer and first terminal between.
Preferably, described device also includes:
Key transmitting element, for the key of receiving user's input, and the key according to user input, generate corresponding key-press input combination;And the combination of described key-press input is sent to by third terminal by earphone interface.
In order to achieve the above object, the invention allows for a kind of double-line, for connecting first terminal and second terminal, described double-line includes:First interface, second interface and push-button unit;
Described first interface connects to the data line interface of described first terminal, and described second interface connects to the data line interface of described second terminal;
Described push-button unit is used for the key of receiving user's input, and the key according to user input, generates corresponding key-press input combination;And the combination of described key-press input is sent to by described first terminal by first interface.
Compared with prior art, the technical scheme that the present invention provides includes:First terminal carries out the authentication procedures of second terminal by data line interface;After the authentication of second terminal is successfully completed, first terminal carries out the data transfer and second terminal between.By the solution of the present invention, first terminal carries out the authentication procedures of second terminal by data line interface, i.e. mobile terminal completes the connection preparation before data communication by way of wired connection, improve the safety connecting preparation, after connecting preparation and completing, carry out the transmission of data by way of wired connection or wireless connection, by above-mentioned data transmission method, improve the safety of the data transfer between mobile terminal.
Brief description
Below the accompanying drawing in the embodiment of the present invention is illustrated, the accompanying drawing in embodiment is for a further understanding of the present invention, is used for explaining the present invention together with description, does not constitute limiting the scope of the invention.
Fig. 1 is the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 2 is the structure composition schematic diagram of double-line provided in an embodiment of the present invention;
Fig. 3 is the structure composition schematic diagram of data transmission device provided in an embodiment of the present invention.
Specific embodiment
For the ease of the understanding of those skilled in the art, the invention will be further described below in conjunction with the accompanying drawings, can not be used for limiting the scope of the invention.It should be noted that in the case of not conflicting, the embodiment in the application and the various modes in embodiment can be mutually combined.
Referring to Fig. 1, the present invention proposes a kind of data transmission method, and methods described includes:
Step 100, first terminal carries out the authentication procedures of second terminal by data line interface;
Step 200, after the authentication of second terminal is successfully completed, first terminal carries out the data transfer and second terminal between.
In step 100, described data line interface is earphone interface;Or, described data line interface is USB interface.
In step 100, described included by the authentication procedures that data line interface carries out second terminal:
Step 110, receives key-press input combination by described earphone interface;
Step 120, the key-press input combination according to receiving obtains corresponding key;
Step 130, detects whether described key is met with the key prestoring, and when meeting, judges that the authentication of second terminal is successfully completed.
In the embodiment of the present invention, in step 130, after the described authentication judging second terminal is successfully completed, step 100 also includes:
Step 140, first terminal sends authentication success notification message by described earphone interface to second terminal, and authentication success notification message is used for second terminal and starts the data transfer and first terminal between.
In step 200, the data transfer between first terminal and second terminal can be carried out by communication, such as wifi, bluetooth, the communication mode such as infrared.
In the examples described above, first terminal is the role of the masters as authentication, additionally, in the communication process of two terminals, first terminal can also be used as the role of the passive side of authentication.Illustrate below taking the communication process between first terminal and third terminal as a example.
In the embodiment of the present invention, described data transmission method also includes:
Step 500, first terminal accepts the authentication of third terminal by data line interface;
Step 600, after the authentication of first terminal is successfully completed, first terminal carries out the data transfer and third terminal between.
Wherein, step 500 includes:The key of first terminal receiving user's input, and the key according to user input, generate corresponding key-press input combination;First terminal passes through earphone interface and the combination of described key-press input is sent to third terminal.
Wherein it is also possible to the combination of described key-press input is sent to third terminal by other data line interfaces.
Wherein, in the communication process of terminal, terminal is the role of the masters as authentication or can be determined according to user operation as the role of the passive side of authentication.
For example, after first terminal and second terminal are connected by double-line, if the user while key is inputted on the screen of first terminal, so second terminal is using the masters as authentication, second terminal will execute the process of the authentication to first terminal, if the user while key is inputted on the screen of second terminal, then the masters as authentication, first terminal will be executed the process of the authentication to second terminal by first terminal.
In addition, if connecting first terminal and second terminal using the double-line including push-button unit provided in an embodiment of the present invention, after the push-button unit of double-line detects user input key, the combination of corresponding for key key-press input will be sent to first terminal and second terminal by the push-button unit of double-line simultaneously, the screen of first terminal and second terminal can be carried out receive the prompting of key, when first terminal receives the confirmation of the prompting to reception key for the user, so first terminal is using the masters as authentication, first terminal will execute the process of the authentication to second terminal;When second terminal receives the confirmation of the prompting to reception key for the user, then the masters as authentication, second terminal will be executed the process of the authentication to first terminal by second terminal.
Illustrate with reference to specific implement scene, wherein, first terminal is mobile phone 1, and second terminal is mobile phone 2, before the method that mobile phone 1 and mobile phone 2 are provided by the present invention is communicated, first terminal and second terminal can be connected with double-line provided in an embodiment of the present invention.
The embodiment of the present invention provides a kind of double-line, and for connecting first terminal and second terminal, referring to Fig. 2, described double-line includes:First interface 100, second interface 200 and push-button unit 300;
Described first interface 100 connects to the data line interface of described first terminal, and described second interface 200 connects to the data line interface of described second terminal;
Described push-button unit 300 is used for the key of receiving user's input, and the key according to user input, generates corresponding key-press input combination;And the combination of described key-press input is sent to by described first terminal by first interface 100.Additionally, the combination of described key-press input can also be sent to described second terminal by second interface 200 by key-press input combination.
After connecting first terminal and second terminal with double-line provided in an embodiment of the present invention, the communication process of mobile phone 1 and mobile phone 2 is as follows:
Push-button unit on step 11, double-line, according to the key-press input of user, sends key-press input combination to mobile phone 1;
Key-press input combination is specially the combination of set of pulses signal, and push button signalling can be converted corresponding pulse signal by push-button unit, and mobile phone side will be by earphone interface return pulse signal.
The key-press input combination by earphone interface receives input of step 12, mobile phone 1, and corresponding key is obtained according to the key-press input combination receiving.
The corresponding relation that mobile phone side is stored between pulse signal and button, therefore, it can combine the corresponding key of acquisition according to key-press input, for example, is " 123 " according to the corresponding key of set of pulses signal acquisition receiving.
Step 13, mobile phone 1 are compared with prefabricated key to the key obtaining, if meeting, are judged to that the authentication of mobile phone 2 is successfully completed.
Step 14, mobile phone 1 pass through earphone interface and send authentication success notification message to mobile phone 2.
After sending authentication success notification message, mobile phone 1 and mobile phone 2 complete the proof procedure before data communication, can carry out the transmission of data between mobile phone 1 and mobile phone 2.
In above-mentioned example, the connection between mobile phone 1 and mobile phone 2 is carried out by the double-line that the present invention provides, in addition it is also possible to the connection between mobile phone 1 and mobile phone 2 is carried out by the double-line of prior art, and key is inputted by handset touch panel.Illustrate with reference to a specific example, in this example, the communication process of mobile phone 1 and mobile phone 2 is as follows:
Step 21, mobile phone 2 pass through the key of touch screen receiving user's input.
Step 22, mobile phone 2, according to the key of user input, generate corresponding key-press input combination, and send described key-press input combination by earphone interface.
Wherein, key-press input combination is specially the combination of set of pulses signal.
Step 23, mobile phone 1 receive, by earphone interface, the key-press input combination that mobile phone 2 sends, and obtain corresponding key according to the key-press input combination receiving.
The corresponding relation that mobile phone side is stored between pulse signal and button, therefore, it can combine the corresponding key of acquisition according to key-press input, for example, is " 123 " according to the corresponding key of set of pulses signal acquisition receiving.
Step 24, mobile phone 1 are compared with prefabricated key to the key obtaining, if meeting, are judged to that the authentication of mobile phone 2 is successfully completed.
Step 25, mobile phone 1 pass through earphone interface and send authentication success notification message to mobile phone 2.
After sending authentication success notification message, mobile phone 1 and mobile phone 2 complete the proof procedure before data communication, can carry out the transmission of data between mobile phone 1 and mobile phone 2.
Based on same as the previously described embodiments or similar design, the embodiment of the present invention also provides a kind of data transmission device, is arranged in terminal, and referring to Fig. 3, a kind of data transmission device proposed by the present invention includes:
Authentication ' unit 10, for carrying out the authentication procedures of second terminal by data line interface;
Transmission unit 20, after being successfully completed in the authentication of second terminal, carries out the data transfer and second terminal between.
In the embodiment of the present invention, described data line interface is earphone interface;Or,
Described data line interface is USB interface.
In the embodiment of the present invention, when described data line interface is earphone interface, described authentication ' unit 10 includes:
Receiver module 11, for receiving key-press input combination by described earphone interface;
Key acquisition module 12, for obtaining corresponding key according to the key-press input combination receiving;
Determination module 13, for detecting whether described key is met with the key prestoring, when meeting, judges that the authentication of second terminal is successfully completed.
In the embodiment of the present invention, described authentication ' unit 10 also includes:
Notification module 14, after being successfully completed in the described authentication judging second terminal, authentication success notification message is sent to second terminal by described earphone interface, described authentication success notification message is used for second terminal and starts the data transfer and first terminal between.
In the embodiment of the present invention, described data transmission device also includes:
Key transmitting element 30, for the key of receiving user's input, and the key according to user input, generate corresponding key-press input combination;And the combination of described key-press input is sent to by third terminal by earphone interface.
Based on same as the previously described embodiments or similar design, the embodiment of the present invention also provides a kind of terminal, and described terminal includes any data transmitting device provided in an embodiment of the present invention.Terminal provided in an embodiment of the present invention can also include double-line provided in an embodiment of the present invention.
It should be noted that; embodiment described above is for only for ease of those skilled in the art and understands; it is not limited to protection scope of the present invention; on the premise of the inventive concept without departing from the present invention, those skilled in the art the present invention is made any obvious replacement and improve etc. all within protection scope of the present invention.
Claims (11)
1. a kind of data transmission method is it is characterised in that methods described includes:
First terminal carries out the authentication procedures of second terminal by data line interface;
After the authentication of second terminal is successfully completed, first terminal is carried out and second terminal between
Data transfer.
2. data transmission method according to claim 1 it is characterised in that
Described data line interface is earphone interface;Or,
Described data line interface is USB interface.
3. data transmission method according to claim 2 is it is characterised in that when described data wire connects
During mouthful for earphone interface, described included by the authentication procedures that data line interface carries out second terminal:
Key-press input combination is received by described earphone interface;
Key-press input combination according to receiving obtains corresponding key;
Detect whether described key is met with the key prestoring, when meeting, judge second terminal
Authentication is successfully completed.
4. data transmission method according to claim 3 is it is characterised in that judge second described
After the authentication of terminal is successfully completed, described data transmission method also includes:
First terminal sends authentication success notification message, institute by described earphone interface to second terminal
State authentication success notification message and start the data transfer and first terminal between for second terminal.
5. data transmission method according to claim 1 is it is characterised in that methods described includes:
First terminal accepts the authentication of third terminal by data line interface;Identity in first terminal
After certification is successfully completed, first terminal carries out the data transfer and third terminal between;
Wherein, the key of first terminal receiving user's input, and the key according to user input, it is right to generate
The key-press input combination answered;
First terminal passes through earphone interface and the combination of described key-press input is sent to third terminal.
6. a kind of data transmission device, is arranged in terminal it is characterised in that described device includes:
Authentication ' unit, for carrying out the authentication procedures of second terminal by data line interface;
Transmission unit, after being successfully completed in the authentication of second terminal, is carried out and second terminal
Between data transfer.
7. data transmission device according to claim 6 it is characterised in that
Described data line interface is earphone interface;Or,
Described data line interface is USB interface.
8. data transmission device according to claim 7 is it is characterised in that when described data wire connects
When mouth is for earphone interface, described authentication ' unit includes:
Receiver module, for receiving key-press input combination by described earphone interface;
Key acquisition module, for obtaining corresponding key according to the key-press input combination receiving;
Determination module, for detecting whether described key is met with the key prestoring, when meeting,
Judge that the authentication of second terminal is successfully completed.
9. data transmission device according to claim 8 it is characterised in that described authentication ' unit also
Including:
Notification module, after being successfully completed in the described authentication judging second terminal, by institute
State earphone interface and send authentication success notification message, described authentication success notification to second terminal
Message is used for second terminal and starts the data transfer and first terminal between.
10. data transmission device according to claim 5 is it is characterised in that described device is also wrapped
Include:
Key transmitting element, for the key of receiving user's input, and the key according to user input, raw
Become corresponding key-press input combination;And by earphone interface, the combination of described key-press input is sent to the 3rd eventually
End.
A kind of 11. double-lines, for connecting first terminal and second terminal it is characterised in that described double
Head line includes:First interface, second interface and push-button unit;
Described first interface connects to the data line interface of described first terminal, described second interface connect to
The data line interface of described second terminal;
Described push-button unit is used for the key of receiving user's input, and the key according to user input, generates
Corresponding key-press input combination;And by first interface, the combination of described key-press input is sent to described first
Terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466636.XA CN106411824A (en) | 2015-07-31 | 2015-07-31 | Data transmission method and apparatus, and double-headed line |
PCT/CN2016/076275 WO2016177104A1 (en) | 2015-07-31 | 2016-03-14 | Data transmission device method, device and two-tap cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466636.XA CN106411824A (en) | 2015-07-31 | 2015-07-31 | Data transmission method and apparatus, and double-headed line |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106411824A true CN106411824A (en) | 2017-02-15 |
Family
ID=57218103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510466636.XA Pending CN106411824A (en) | 2015-07-31 | 2015-07-31 | Data transmission method and apparatus, and double-headed line |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106411824A (en) |
WO (1) | WO2016177104A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109996235A (en) * | 2017-12-29 | 2019-07-09 | 宝沃汽车(中国)有限公司 | Car networking terminal, for the method and apparatus of car networking terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100606813B1 (en) * | 2004-03-31 | 2006-08-01 | 엘지전자 주식회사 | A Method and System for Exchangeing Personal Information Management Using Mobile Handset |
CN2852576Y (en) * | 2005-11-28 | 2006-12-27 | 中兴通讯股份有限公司 | System for PC side carrying out secrecy processing on mobile terminal |
CN101083537B (en) * | 2006-05-31 | 2011-10-05 | 华为技术有限公司 | Method, apparatus and system for realizing device management |
CN101783834B (en) * | 2009-12-31 | 2014-01-01 | 华为终端有限公司 | Mobile terminal and method for switching screen |
CN105246074A (en) * | 2015-10-29 | 2016-01-13 | 小米科技有限责任公司 | Method and device for establishing connections |
-
2015
- 2015-07-31 CN CN201510466636.XA patent/CN106411824A/en active Pending
-
2016
- 2016-03-14 WO PCT/CN2016/076275 patent/WO2016177104A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2016177104A1 (en) | 2016-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9155026B2 (en) | Systems for facilitating wireless communication and related methods | |
US20130178163A1 (en) | Systems for Facilitating Wireless Communication and Related Methods | |
US9066326B2 (en) | Automatic user notification, with quick response (QR) code generation following failed NFC device pairing | |
CN101409871B (en) | Long-distance remote-control method, system and remote-control device | |
CN110518707B (en) | Transmitting terminal device, receiving terminal device and wireless charging method | |
US9083810B2 (en) | Apparatus and method for motion detecting in mobile communication terminal | |
JP2011254469A (en) | Method, device and system for configuring wifi parameter | |
CN101442344B (en) | Method and apparatus for reporting Bluetooth equipment name | |
CN103795446A (en) | Communication connection establishing method and communication device | |
JP2007089159A (en) | Network system, association method thereof, host and intermediary device | |
CN108124510B (en) | Wireless pairing system and pairing method | |
CN103337144B (en) | Wireless network-based intelligent remote control method and wireless network-based terminal | |
CN102843434B (en) | A kind of equipment room shares method, the Apparatus and system of content | |
KR20140056022A (en) | Method and apparatus for connecting to a wireless local area network | |
CN105491034A (en) | Method for establishing connection with terminal and terminal authentication method and apparatus | |
KR102110015B1 (en) | Smartwatch with function of digital walkie-talkie | |
CN102274013B (en) | Wireless intelligent monitoring system and monitoring terminal equipment | |
CN111279669A (en) | Smart phone and bluetooth headset with digital two-way radio function | |
CN103595798A (en) | Somatic sense sharing master/slave device and method based on WIFI Direct | |
CN106211355B (en) | Equipment and system for controlling data interaction and working method thereof | |
CN105872945A (en) | Wireless display connection method and system, transmitting terminal equipment and receiving terminal equipment | |
CN107567109A (en) | A kind of WIFI Intelligent hardwares quickly connect the system and method for WIFI equipment | |
CN106411824A (en) | Data transmission method and apparatus, and double-headed line | |
CN105070014B (en) | All-purpose learning remote controller and Universal study remote control method based on RF4CE | |
US20130316755A1 (en) | Call control apparatus, ptt terminal, and ptt call system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170215 |