CN102932789A - Data transmission method - Google Patents

Data transmission method Download PDF

Info

Publication number
CN102932789A
CN102932789A CN2012104185224A CN201210418522A CN102932789A CN 102932789 A CN102932789 A CN 102932789A CN 2012104185224 A CN2012104185224 A CN 2012104185224A CN 201210418522 A CN201210418522 A CN 201210418522A CN 102932789 A CN102932789 A CN 102932789A
Authority
CN
China
Prior art keywords
equipment
authentication code
linking
information
server
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.)
Granted
Application number
CN2012104185224A
Other languages
Chinese (zh)
Other versions
CN102932789B (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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN201210418522.4A priority Critical patent/CN102932789B/en
Publication of CN102932789A publication Critical patent/CN102932789A/en
Application granted granted Critical
Publication of CN102932789B publication Critical patent/CN102932789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data transmission method. According to the method, when first equipment agrees to be connected with second equipment, the first equipment sends connection authentication code information of the first equipment connected with the second equipment to the second equipment; the second equipment sends information containing a connection authentication code of the second equipment connected with the first equipment to the first equipment; then the first equipment sends an authentication code of the first equipment and the connection authentication code of the second equipment connected with the first equipment to a server; the second equipment sends an authentication code of the second equipment and a connection authentication code of the first equipment connected with the second equipment to the server; and when the authentication codes all meet preset conditions, the first equipment is connected with the second equipment, so that transmission of data to be transmitted is realized. According to the method, the server realizes multiple security authentication among equipment; insecurity caused by only one checking code is avoided; and the data can be securely transmitted.

Description

A kind of data transmission method
Technical field
The present invention relates to data processing field, particularly a kind of data transmission method.
Background technology
Development along with society, transfer of data demand between mobile communication equipment is increasing, at present comparatively general by using bluetooth approach to carry out the method for transfer of data, in the process of using the bluetooth approach the transmission of data, before two equipment carry out transfer of data, the pair verification code that needs input the other side, then set up the blue-teeth data passage, the beginning transfer of data, wherein, only input the one-time authentication code and carried out data transfer, the not high problem of fail safe of transfer of data will occur like this.
Summary of the invention
Problem to be solved by this invention is: a kind of data transmission method is provided, and defeated one-time authentication code can produce unsafe problem only to solve in the prior art.
A kind of data transmission method, described method comprises:
The first equipment sends the information that includes the first device name;
The second equipment receives described information, judge whether that described the second equipment agreement links to each other with described the first equipment, if, described the first equipment sends the information that is connected authentication code that includes the first equipment that links to each other with the second equipment to described the second equipment, described the second equipment to described the first equipment send include the second equipment of linking to each other with the first equipment be connected authentication code information;
Described the first equipment send the first device authentication code be connected the second equipment of linking to each other with the first equipment be connected authentication code to server, judge described the first device authentication code and be connected being connected authentication code and whether meeting first pre-conditioned of the second equipment of linking to each other with the first equipment, if so, described the first equipment and described server connect;
Described the second equipment send the second device authentication code be connected the first equipment of linking to each other with the second equipment be connected authentication code to server, judge described the second device authentication code and be connected being connected authentication code and whether meeting second pre-conditioned of the first equipment of linking to each other with the second equipment, if, described the second equipment is connected foundation with described server, and described the first equipment and described the second equipment connect;
Described the first equipment transmits data waiting for transmission and described the second equipment.
Preferably, also comprise:
When request that described the first equipment initiates to disconnect to described server, the described request that disconnects of described server parses, obtain analysis result, and described analysis result is sent to described the second equipment, described the first equipment and described the second equipment disconnect.
Preferably, described information is audio-frequency information.
Preferably, describedly judge described the first device authentication code and be connected being connected authentication code and whether meeting the first pre-conditioned process and comprise of the second equipment of linking to each other with the first equipment:
Judge described the first device authentication code and be connected the information in the authentication code information bank whether authentication code meet default initiation connection request of being connected of the second equipment of linking to each other with the first equipment, if, meet first pre-conditionedly, if not, then do not meet first pre-conditioned.
Preferably, describedly judge described the second device authentication code and be connected being connected authentication code and whether meeting the second pre-conditioned process and comprise of the first equipment of linking to each other with the second equipment:
Judge described the second device authentication code and be connected the information in the authentication code information bank whether authentication code meet default agreement connection request of being connected of the first equipment of linking to each other with the second equipment, if, meet second pre-conditionedly, if not, then do not meet second pre-conditioned.
Preferably, also comprise: the process that described the first equipment and described the second equipment connect comprises:
Described the first equipment is connected by 3G network or wifi with described the second equipment.
As can be seen from the above technical solutions, a kind of data transmission method is provided among the present invention, comprise when the first equipment is agreed with the second equipment connection, described the first equipment is connected authentication code information to the second equipment sends and the second equipment links to each other the first equipment, described the second equipment to described the first equipment send include the second equipment of linking to each other with the first equipment be connected authentication code information, then described the first equipment sends to server with the authentication code that is connected of the first device authentication code and the second equipment that links to each other with the first equipment, described the second equipment sends to server with the authentication code that is connected of the second device authentication code and the first equipment that links to each other with the second equipment, when above-mentioned authentication code all meets when pre-conditioned, described the first equipment and described the second equipment connection are set up, thereby realized data transfer waiting for transmission, realized the maltilevel security authentication of equipment room in the described method by server, avoided only having the insecurity of an identifying code, thereby so that data can realize safe transmission.
Description of drawings
Fig. 1 is the method flow schematic diagram of embodiment one disclosed a kind of transfer of data;
Fig. 2 is the method flow schematic diagram of embodiment two disclosed a kind of transfer of data.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to protection scope of the present invention not making the every other embodiment that obtains under the creative work prerequisite.
Disclose a kind of method of transfer of data in the embodiment of the invention one, referring to shown in Figure 1, described method comprises:
Step S101: the first equipment sends the information that includes the first device name;
Step S102: the second equipment receives described information, judges whether that described the second equipment agreement links to each other with described the first equipment, if so, and execution in step S103;
Step S103: described the first equipment sends the information that is connected authentication code that includes the first equipment that links to each other with the second equipment to described the second equipment, described the second equipment to described the first equipment send include the second equipment of linking to each other with the first equipment be connected authentication code information;
Step S104: described the first equipment send the first device authentication code be connected the second equipment of linking to each other with the first equipment be connected authentication code to server;
Step S105: judge described the first device authentication code be connected the second equipment of linking to each other with the first equipment be connected authentication code whether meet first pre-conditioned, if so, execution in step S106;
Step S106: described the first equipment and described server connect;
Step S107: described the second equipment send the second device authentication code be connected the first equipment of linking to each other with the second equipment be connected authentication code to server;
Step S108: judge described the second device authentication code be connected the first equipment of linking to each other with the second equipment be connected authentication code whether meet second pre-conditioned, if so, execution in step S109;
Step S109: described the second equipment is connected foundation with described server, and described the first equipment and the foundation of described the second equipment connection;
Step S110: described the first equipment transmits data waiting for transmission and described the second equipment.
The present embodiment discloses a kind of data transmission method, described method comprises when the first equipment is agreed with the second equipment connection, described the first equipment is connected authentication code information to the second equipment sends and the second equipment links to each other the first equipment, described the second equipment to described the first equipment send include the second equipment of linking to each other with the first equipment be connected authentication code information, then described the first equipment sends to server with the authentication code that is connected of the first device authentication code and the second equipment that links to each other with the first equipment, described the second equipment sends to server with the authentication code that is connected of the second device authentication code and the first equipment that links to each other with the second equipment, when above-mentioned authentication code all meets when pre-conditioned, described the first equipment and described the second equipment connection are set up, thereby realized data transfer waiting for transmission, realized the maltilevel security authentication of equipment room in the described method by server, avoided only having the insecurity of an identifying code, thereby so that data can realize safe transmission.
The embodiment of the invention two discloses a kind of method of transfer of data, and referring to shown in Figure 2, described method step comprises:
Step S201: the first equipment sends the information that includes the first device name;
Wherein, described information is audio-frequency information;
Step S202: the second equipment receives described information, judges whether that described the second equipment unification links to each other with described the first equipment, if so, and execution in step S203;
Step S203: described the first equipment sends the information that is connected authentication code that includes the first equipment that links to each other with the second equipment to described the second equipment, described the second equipment to described the first equipment send include the second equipment of linking to each other with the first equipment be connected authentication code information;
Step S204: described the first equipment send the first device authentication code be connected the second equipment of linking to each other with the first equipment be connected authentication code to server;
Step S205: judge described the first device authentication code be connected the second equipment of linking to each other with the first equipment be connected authentication code whether meet first pre-conditioned, if so, execution in step S206;
Wherein, judge described the first device authentication code and be connected the information in the authentication code information bank whether authentication code meet default initiation connection request of being connected of the second equipment of linking to each other with the first equipment, if so, then meet first pre-conditioned;
Step S206: described the first equipment and described server connect;
Step S207: described the second equipment send the second device authentication code be connected the first equipment of linking to each other with the second equipment be connected authentication code to server;
Step S208: judge described the second device authentication code be connected the first equipment of linking to each other with the second equipment be connected authentication code whether meet second pre-conditioned, if so, execution in step S209;
Wherein, judge described the second device authentication code and be connected the information in the authentication code information bank whether authentication code meet default agreement connection request of being connected of the first equipment of linking to each other with the second equipment, if so, meet second pre-conditioned;
Step S209: described the second equipment is connected foundation with described server, and described the first equipment and the foundation of described the second equipment connection;
Wherein, described the first equipment links to each other by 3G network or wifi with described the second equipment, and described the first equipment and described the second equipment can be cell phones or can link to each other by 3G or wifi and just can carry out the device of transfer of data.
Step S210: described the first equipment transmits data waiting for transmission and described the second equipment;
Step S211: when request that described the first equipment initiates to disconnect to described server, the described request that disconnects of described server parses, obtain analysis result, and described analysis result is sent to described the second equipment, described the first equipment and described the second equipment disconnect.
A kind of data transmission method is disclosed in the embodiment of the invention, described method is on the basis of embodiment one, when request that described the first equipment initiates to disconnect to described server, the described request that disconnects of described server parses, obtain analysis result, and described analysis result sent to described the second equipment, described the first equipment and described the second equipment disconnect, when described the first equipment does not want to carry out transfer of data with described the second equipment, can simply only send out the request that once disconnects, just can realize easily disconnecting of described the first equipment and described the second equipment, and, it is voice messaging that described the first equipment sends the information that includes the first device name, thereby described the second equipment can directly be heard the voice messaging that the first equipment sends, like this, described the second equipment can directly be heard the audio-frequency information that described the first equipment sends, be confirmed whether the first equipment for safety, thereby fail safe is guaranteed when carrying out transfer of data, and, use 3G network or wifi can realize the high efficiency of transmission of data than the transfer of data of Bluetooth technology, improved transmission rate, saved time.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the disclosed method of embodiment, so description is fairly simple, relevant part partly illustrates referring to method and gets final product.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment is apparent to those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, in other embodiments realization.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the wide region consistent with principle disclosed herein and features of novelty.

Claims (6)

1. a data transmission method is characterized in that, described method comprises:
The first equipment sends the information that includes the first device name;
The second equipment receives described information, judge whether that described the second equipment agreement links to each other with described the first equipment, if, described the first equipment sends the information that is connected authentication code that includes the first equipment that links to each other with the second equipment to described the second equipment, described the second equipment to described the first equipment send include the second equipment of linking to each other with the first equipment be connected authentication code information;
Described the first equipment send the first device authentication code be connected the second equipment of linking to each other with the first equipment be connected authentication code to server, judge described the first device authentication code and be connected being connected authentication code and whether meeting first pre-conditioned of the second equipment of linking to each other with the first equipment, if so, described the first equipment and described server connect;
Described the second equipment send the second device authentication code be connected the first equipment of linking to each other with the second equipment be connected authentication code to server, judge described the second device authentication code and be connected being connected authentication code and whether meeting second pre-conditioned of the first equipment of linking to each other with the second equipment, if, described the second equipment is connected foundation with described server, and described the first equipment and described the second equipment connect;
Described the first equipment transmits data waiting for transmission and described the second equipment.
2. method according to claim 1 is characterized in that, also comprises:
When request that described the first equipment initiates to disconnect to described server, the described request that disconnects of described server parses, obtain analysis result, and described analysis result is sent to described the second equipment, described the first equipment and described the second equipment disconnect.
3. method according to claim 1 is characterized in that, described information is audio-frequency information.
4. method according to claim 1 is characterized in that, describedly judges described the first device authentication code and is connected being connected authentication code and whether meeting the first pre-conditioned process and comprise of the second equipment of linking to each other with the first equipment:
Judge described the first device authentication code and be connected the information in the authentication code information bank whether authentication code meet default initiation connection request of being connected of the second equipment of linking to each other with the first equipment, if, meet first pre-conditionedly, if not, then do not meet first pre-conditioned.
5. method according to claim 1 is characterized in that, describedly judges described the second device authentication code and is connected being connected authentication code and whether meeting the second pre-conditioned process and comprise of the first equipment of linking to each other with the second equipment:
Judge described the second device authentication code and be connected the information in the authentication code information bank whether authentication code meet default agreement connection request of being connected of the first equipment of linking to each other with the second equipment, if, meet second pre-conditionedly, if not, then do not meet second pre-conditioned.
6. method according to claim 1 is characterized in that, the process that described the first equipment and described the second equipment connect comprises:
Described the first equipment is connected by 3G network or wifi with described the second equipment.
CN201210418522.4A 2012-10-26 2012-10-26 Data transmission method Active CN102932789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210418522.4A CN102932789B (en) 2012-10-26 2012-10-26 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210418522.4A CN102932789B (en) 2012-10-26 2012-10-26 Data transmission method

Publications (2)

Publication Number Publication Date
CN102932789A true CN102932789A (en) 2013-02-13
CN102932789B CN102932789B (en) 2015-03-25

Family

ID=47647467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210418522.4A Active CN102932789B (en) 2012-10-26 2012-10-26 Data transmission method

Country Status (1)

Country Link
CN (1) CN102932789B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075507A (en) * 2010-07-30 2011-05-25 百度在线网络技术(北京)有限公司 User verification method and equipment based on word-sentence verification diagram

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075507A (en) * 2010-07-30 2011-05-25 百度在线网络技术(北京)有限公司 User verification method and equipment based on word-sentence verification diagram

Also Published As

Publication number Publication date
CN102932789B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
US9654981B2 (en) Data integrity for proximity-based communication
CA2841776C (en) Data integrity for proximity-based communication
CN104080086B (en) Wireless connecting establishment method and wireless connection establish device
US9326114B2 (en) Transferring a voice call
JP6092425B2 (en) Near field communication method and device
CN103312787B (en) A kind of method and mobile terminal being quickly shared file by fingerprint recognition
CN104540089B (en) A kind of main equipment and method, equipment and system from equipment progress Bluetooth pairing
WO2011081311A3 (en) Method and system for supporting security in a mobile communication system
CN103457640A (en) Method and system for rapid data transmission and mobile terminals
CN109905866A (en) Docking station and method of the connecting mobile communication terminal equipment to the communications infrastructure
CN104683003A (en) Bluetooth connection switching method and system
CN106131837A (en) Method, terminal and the communication system that a kind of wireless network connects
CN105407031A (en) Method and system for building instant communication based on members in same group
CN103152464B (en) Equipment, method and system of obtaining fixed phone calling information through wireless way
CN104166637A (en) Information receiving and sending method, terminal and system
CN102932789B (en) Data transmission method
CN103391120A (en) Friend relation establishing method and device based on near-field communication
CN202206519U (en) Bluetooth earphone
CN107277935B (en) Bluetooth communication method, device and application system and equipment thereof
CN105471459A (en) Wearable electronic equipment, mobile equipment, communication system and control method
CN102111732B (en) Method and device for sharing information between wireless terminals
CN101466099B (en) Safety monitoring method and mobile terminal based on packet data protocol activation request
CN103281415A (en) Split mobile terminal and processing method for mobile terminal private data
CN106101081A (en) Speech ciphering method, device, terminal, key management platform and system
CN106559393B (en) Method, device and system for encrypting call

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant