CN105636028A - Video data transmission method and device and wireless terminal - Google Patents

Video data transmission method and device and wireless terminal Download PDF

Info

Publication number
CN105636028A
CN105636028A CN201510454175.4A CN201510454175A CN105636028A CN 105636028 A CN105636028 A CN 105636028A CN 201510454175 A CN201510454175 A CN 201510454175A CN 105636028 A CN105636028 A CN 105636028A
Authority
CN
China
Prior art keywords
wireless terminal
video data
sip signaling
encryption
sip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510454175.4A
Other languages
Chinese (zh)
Inventor
夏绍华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510454175.4A priority Critical patent/CN105636028A/en
Publication of CN105636028A publication Critical patent/CN105636028A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

The embodiment of the invention discloses a video data transmission method and device and a wireless terminal. The video data transmission method comprises the following steps: when the wireless terminal establishes a data transmission channel based on a session initial protocol SIP, carrying out video encrypted negotiation to determine whether to transmit video data in an encryption manner; when the condition that the video data needs to be transmitted in the encryption manner is determined, obtaining an encryption/decryption key; after the data transmission channel is established and when the video data is transmitted, if a sending end determines that the video data needs to be transmitted in the encryption manner according to a negotiation result, encrypting the video data by using a pre-obtained encryption key, and sending the encrypted video data; and after the receiving end receives the video data, and if determining to transmit the video data in the encryption manner according to the negotiation result, decrypting the received video data by using a pre-obtained decryption key. The encrypted transmission of the video data is realized to improve the security of the video data in a video data transmission process.

Description

Method of transmitting video data, device and wireless terminal
Technical field
The present invention relates to communication technical field, more particularly, it relates to a kind of method of transmitting video data, device and wireless terminal.
Background technology
Along with mobile network's speed improves constantly, the use frequency of phone video call steps up, and has provided the user better call and has experienced.
In order to ensure the safety of video calling, current video calling simply carries out simple user name and cipher authentication when user logs in, and can carry out video calling once login successfully, and in transmitting procedure, the safety of video data cannot ensure.
Therefore, how to improve the safety of video data in video data transmission process and become problem demanding prompt solution.
Summary of the invention
It is an object of the invention to provide a kind of method of transmitting video data, device and wireless terminal, to improve the safety of video data in video data transmission process.
For achieving the above object, the technical scheme is that
A kind of method of transmitting video data, is applied to the first wireless terminal, and described method includes:
Obtaining sets up in data transmission channel process at the dialogue-based initiation protocol SIP of described first wireless terminal and the second wireless terminal, carries out video-encryption and consults determined negotiation result;
If described negotiation result is encrypted transmission video data, treat transmitting video data with the first encryption key obtained in advance to be encrypted, described first encryption key is set up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, determines when described negotiation result is encrypted transmission video data;
Video data after sending encryption by from described data transmission channel to described second wireless terminal.
Said method, it is preferred that the process that realizes that described video-encryption is consulted includes:
A SIP signaling, the first CIPHERING REQUEST carried in a described SIP signaling is sent to described second wireless terminal;
Receive the 2nd SIP signaling that described second wireless terminal sends, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
Said method, it is preferred that the process that realizes that described video-encryption is consulted includes:
Receive the 3rd SIP signaling that described second wireless terminal sends, described 3rd SIP signaling carries the second CIPHERING REQUEST;
Based on described second CIPHERING REQUEST display User Interface, user choose whether to agree to encrypted transmission video data;
Select to send the 4th SIP signaling to described second wireless terminal based on user, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
Said method, it is preferred that the acquisition process of described first encryption key includes:
Generate the first PKI and first private key paired with described first PKI;
Send the 5th SIP signaling to described second wireless terminal, described 5th SIP signaling carries described first PKI;
Receiving the 6th SIP signaling that described second wireless terminal sends, carry the second PKI in described 6th SIP signaling, described second PKI is described first encryption key.
Said method, it is preferred that the acquisition process of described first encryption key includes:
Generating the first key with default key generation method, described first key is described first encryption key.
A kind of method of transmitting video data, is applied to the second wireless terminal, and described method includes:
Receive the video data that the first wireless terminal sends;
Obtain and set up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption and consult determined negotiation result;
If described negotiation result is encrypted transmission video data, with the first decruption key obtained in advance, the video data received is decrypted, described first decruption key is set up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, determines when described negotiation result is encrypted transmission video data.
Said method, it is preferred that the process that realizes that described video-encryption is consulted includes:
Receive the SIP signaling that described first wireless terminal sends, the first CIPHERING REQUEST carried in a described SIP signaling;
Based on described first CIPHERING REQUEST display User Interface, user choose whether to agree to encrypted transmission video data;
Select to send the 2nd SIP signaling to described first wireless terminal based on user, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
Said method, it is preferred that the process that realizes that described video-encryption is consulted includes:
Send the 3rd SIP signaling to described first wireless terminal, described 3rd SIP signaling carries the second CIPHERING REQUEST;
Receive the 4th SIP signaling that described first wireless terminal sends, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
Said method, it is preferred that the acquisition process of described first decruption key includes:
Generating the second PKI and second private key paired with described second PKI, described second private key is described first decruption key;
Send the 6th SIP signaling to described first wireless terminal, described 6th SIP signaling carries described second PKI;
Receive the 5th SIP signaling that described first wireless terminal sends, described 5th SIP signaling carries the first PKI.
Said method, it is preferred that the acquisition process of described first decruption key includes:
Generating the first key with default key generation method, described first key is described first decruption key.
A kind of video data transmission device, is applied to the first wireless terminal, and described device includes:
First negotiation module, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described first wireless terminal and two wireless terminals, carries out video-encryption negotiation;
First generation module, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, when described first negotiation module determines that negotiation result is encrypted transmission video data, generate keys for encryption/decryption;
First acquisition module, for obtaining the negotiation result that described first negotiation module is determined;
Encrypting module, if being encrypted transmission video data for described negotiation result, the first encryption key obtained in advance with described first generation module is treated transmitting video data and is encrypted;
First sending module, for the video data after sending encryption by described data transmission channel to described second wireless terminal.
Said apparatus, it is preferred that described first negotiation module includes:
First transmitting element, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, a SIP signaling, the first CIPHERING REQUEST carried in a described SIP signaling is sent to described second wireless terminal;
First receives unit, for receiving the 2nd SIP signaling that described second wireless terminal sends, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
Said apparatus, it is preferred that described first negotiation module includes:
Second receives unit, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described first wireless terminal and the second wireless terminal, receive the 3rd SIP signaling that described second wireless terminal sends, described 3rd SIP signaling carries the second CIPHERING REQUEST;
First display unit, for based on described second CIPHERING REQUEST display User Interface, being chosen whether to agree to encrypted transmission video data by user;
Second transmitting element, for selecting to send the 4th SIP signaling to described second wireless terminal based on user, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
Said apparatus, it is preferred that described first generation module includes:
First generates unit, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, when described first negotiation module determines that negotiation result is encrypted transmission video data, generate the first PKI and first private key paired with described first PKI;
3rd transmitting element, for sending the 5th SIP signaling to described second wireless terminal, carries described first PKI in described 5th SIP signaling;
3rd receives unit, for receiving the 6th SIP signaling that described second wireless terminal sends, carries the second PKI in described 6th SIP signaling, and described second PKI is described first encryption key.
Said apparatus, it is preferred that described first generation module includes:
Second generates unit, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, when described first negotiation module determines that negotiation result is encrypted transmission video data, generating the first key with default key generation method, described first key is described first encryption key.
A kind of video data transmission device, is applied to the second wireless terminal, and described device includes:
Second negotiation module, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, carries out video-encryption negotiation;
Second generation module, for setting up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, when described second negotiation module determines that negotiation result is encrypted transmission video data, generate keys for encryption/decryption;
First receiver module, for receiving the video data that described first wireless terminal sends;
Second acquisition module, for obtaining the negotiation result that described second negotiation module is determined;
Deciphering module, if being encrypted transmission video data for described negotiation result, the video data received is decrypted by the first decruption key obtained in advance with described second generation module.
Said apparatus, it is preferred that described second negotiation module includes:
4th receives unit, for setting up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, receive the SIP signaling that described first wireless terminal sends, the first CIPHERING REQUEST carried in a described SIP signaling;
Second display unit, for based on described first CIPHERING REQUEST display User Interface, being chosen whether to agree to encrypted transmission video data by user;
4th transmitting element, for selecting to send the 2nd SIP signaling to described first wireless terminal based on user, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
Said apparatus, it is preferred that described second negotiation module includes:
5th transmitting element, for setting up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, send the 3rd SIP signaling to described first wireless terminal, described 3rd SIP signaling carries the second CIPHERING REQUEST;
5th receives unit, for receiving the 4th SIP signaling that described first wireless terminal sends, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
Said apparatus, it is preferred that described second generation module includes:
3rd generates unit, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, when determining that described negotiation result is encrypted transmission video data, generating the second PKI and second private key paired with described second PKI, described second private key is described first decruption key;
6th transmitting element, for sending the 6th SIP signaling to described first wireless terminal, carries described second PKI in described 6th SIP signaling;
6th receives unit, for receiving the 5th SIP signaling that described first wireless terminal sends, carries the first PKI in described 5th SIP signaling.
Said apparatus, it is preferred that described second generation module includes:
4th generates unit, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, when determining that described negotiation result is encrypted transmission video data, generating the first key with default key generation method, described first key is described first decruption key.
A kind of mobile radio terminal, including the video data transmission device described in as above any one.
By above scheme, a kind of method of transmitting video data that the application provides, device and wireless terminal, set up in data transmission channel process at the dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption negotiation, to determine whether encrypted transmission video data, determine need encrypted transmission video data time, obtain keys for encryption/decryption, after setting up data transmission channel, when transmitting video data, if transmitting terminal is determined according to negotiation result needs encrypted transmission video data, with the encryption key obtained in advance, video data is encrypted, then the video data after encryption is sent, receiving terminal is after receiving video data, if determining according to negotiation result and needing encrypted transmission video data, with the decruption key obtained in advance, the video data received is decrypted. achieve the encrypted transmission of video data, thus improving the safety of video data in video data transmission process.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of flowchart of the method for transmitting video data that Fig. 1 provides for the embodiment of the present invention;
A kind of flowchart of the process that realizes that Fig. 2 consults for the video-encryption that the embodiment of the present invention provides;
The another kind of flowchart of the process that realizes that Fig. 3 consults for the video-encryption that the embodiment of the present invention provides;
Fig. 4 generates a kind of flowchart of keys for encryption/decryption for the first wireless terminal that the embodiment of the present invention provides;
The another kind of flowchart of the method for transmitting video data that Fig. 5 provides for the embodiment of the present invention;
Another flowchart of the process that realizes that Fig. 6 consults for the video-encryption that the embodiment of the present invention provides;
Another flowchart of the process that realizes that Fig. 7 consults for the video-encryption that the embodiment of the present invention provides;
Fig. 8 generates a kind of flowchart of keys for encryption/decryption for the second wireless terminal that the embodiment of the present invention provides;
Another flowchart of the method for transmitting video data that Fig. 9 provides for the embodiment of the present invention;
Another flowchart of the method for transmitting video data that Figure 10 provides for the embodiment of the present invention;
A kind of structural representation of the video data transmission device that Figure 11 provides for the embodiment of the present invention;
A kind of structural representation of the first negotiation module that Figure 12 provides for the embodiment of the present invention;
The another kind of structural representation of the first negotiation module that Figure 13 provides for the embodiment of the present invention;
A kind of structural representation of the first generation module that Figure 14 provides for the embodiment of the present invention;
The another kind of structural representation of the first generation module that Figure 15 provides for the embodiment of the present invention;
The another kind of structural representation of the video data transmission device that Figure 16 provides for the embodiment of the present invention;
A kind of structural representation of the second negotiation module that Figure 17 provides for the embodiment of the present invention;
The another kind of structural representation of the second negotiation module that Figure 18 provides for the embodiment of the present invention;
A kind of structural representation of the second generation module that Figure 19 provides for the embodiment of the present invention;
The another kind of structural representation of the second generation module that Figure 20 provides for the embodiment of the present invention.
Term " first " in specification and claims and above-mentioned accompanying drawing, " second ", " the 3rd " " the 4th " etc. (if existence) are for distinguishing similar part, without being used for describing specific order or precedence. Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to embodiments herein described herein can be implemented with the order except here illustrating.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not paying creative work premise, broadly fall into the scope of protection of the invention.
Method of transmitting video data and device that the embodiment of the present invention provides realize based on IP Multimedia System (IPMultimediaSubsystem, IMS). IMS is a multimedia control/Call-Control1 platform on PS (PacketSwitch, packet switch) territory, is provided that efficient video calling.
IMS video calling uses conversation initialized protocol (SessionInitiationProtocol, SIP) to conversate foundation, namely sets up data transmission channel based on SIP.
Refer to a kind of flowchart of the method for transmitting video data being applied to the first wireless terminal that Fig. 1, Fig. 1 provide for the embodiment of the present invention, it is possible to including:
Step S11: obtain and set up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, carries out video-encryption and consults determined negotiation result;
In the embodiment of the present invention, set up in the process of data transmission channel based on SIP at the first wireless terminal and the second wireless terminal, carry out video-encryption negotiation, namely set up based on SIP at the first wireless terminal and the second wireless terminal in the process of data transmission channel and consult whether to want encrypted transmission video data.
Wherein, video-encryption is consulted to be initiated to the second wireless terminal by the first wireless terminal, it is also possible to initiated to the first wireless terminal by the second wireless terminal. The originating end specifically can consulted by video-encryption is initiated video-encryption according to user setup to another wireless terminal and is consulted. Namely set up in the process of video data transmission at the first wireless terminal and the second wireless terminal, if the user setup of the first wireless terminal is encrypted transmitting video data, then the first wireless terminal initiates video-encryption negotiation to the second wireless terminal. In like manner, if the user setup of the second wireless terminal is encrypted transmitting video data, then the second wireless terminal initiates video-encryption negotiation to the first wireless terminal.
By user's manual unlocking, interface can be set to arrange whether encrypted transmission, or interface is set by wireless terminal automatic spring so that user setup whether encrypted transmission.
After data transmission channel is set up, when needs transmitting video data, obtain the negotiation result of video-encryption negotiation to determine the need for video data waiting for transmission is encrypted.
Step S12: if negotiation result is encrypted transmission video data, treat transmitting video data with the first encryption key obtained in advance to be encrypted, first encryption key is set up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, determines when negotiation result is encrypted transmission video data;
In embodiments of the present invention, set up in the process of data transmission channel at the first wireless terminal and the second wireless terminal, except carrying out video-encryption negotiation, also obtain keys for encryption/decryption. That is, determine through consultation want encrypted transmission video data time, the first wireless terminal and the second wireless terminal obtain keys for encryption/decryption respectively.
After data transmission channel is set up, when the first wireless terminal wants transmitting video data, determine whether to encrypted transmission video data by video-encryption negotiation result. To encrypted transmission video data, then with the encryption key obtained in advance, the video data needing transmission is encrypted.
Step S13: the data transmission channel passing through to set up sends the video data after encrypting to the second wireless terminal.
If video-encryption negotiation result is not for encrypt transmitting video data, then video data waiting for transmission is not encrypted, but sends video data waiting for transmission either directly through the data transmission channel set up to the second wireless terminal.
The method of transmitting video data that the embodiment of the present invention provides, set up in data transmission channel process at the dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption negotiation, to determine whether encrypted transmission video data, determine need encrypted transmission video data time, obtain keys for encryption/decryption, after setting up data transmission channel, when transmitting video data, if the first wireless terminal is determined according to negotiation result needs encrypted transmission video data, with the encryption key obtained in advance, video data is encrypted, then the video data after encryption is sent, second wireless terminal is after receiving video data, if determining according to negotiation result and needing encrypted transmission video data, with the decruption key obtained in advance, the video data received is decrypted. achieve the encrypted transmission of video data, thus improving the safety of video data in video data transmission process.
It addition, the embodiment of the present invention provides video data cipher mode end to end, scheme is simple, it is not necessary to server participates in, and cipher key agreement process is simple, and implementation cost is low.
Optionally, it is possible to carry out video data encrypted negotiation by SIP signaling (e.g., INFO). Carry in SIP signaling by negotiation information. Wherein, negotiation information includes CIPHERING REQUEST and the response message for CIPHERING REQUEST.
Optionally, a kind of flowchart of the process that realizes that above-mentioned video-encryption is consulted is as in figure 2 it is shown, may include that
Step S21: send a SIP signaling, the first CIPHERING REQUEST carried in a SIP signaling to the second wireless terminal;
In the embodiment of the present invention, the first wireless terminal initiate video-encryption and consult.
Step S22: receiving the 2nd SIP signaling that the second wireless terminal sends, carry the first response message for the first CIPHERING REQUEST in the 2nd SIP signaling, this first response message is used for characterizing whether the second wireless terminal agrees to encrypted transmission video data.
Whether the second wireless terminal agrees to encrypted transmission video data, it is possible to selected to determine by the user of the second wireless terminal.
Optionally, the another kind of flowchart of the process that realizes that above-mentioned video-encryption is consulted is as it is shown on figure 3, may include that
Step S31: receive the 3rd SIP signaling that the second wireless terminal sends, carry the second CIPHERING REQUEST in the 3rd SIP signaling;
In the embodiment of the present invention, the second wireless terminal initiate video-encryption and consult.
Step S32: show User Interface based on the second CIPHERING REQUEST, is chosen whether to agree to encrypted transmission video data by user;
Whether the first wireless terminal agrees to encrypted transmission video data, can after receiving the 3rd SIP signaling, display has the interactive interface of the option whether agreeing to encrypted transmission video data, the user of the first wireless terminal choose whether to agree to encrypted transmission video data.
Step S33: select to send the 4th SIP signaling to the second wireless terminal based on user, carrying the second response message for the second CIPHERING REQUEST in 4th SIP signaling, this second response message is used for characterizing whether the first wireless terminal agrees to encrypted transmission video data.
Even user selects to agree to encrypted transmission video data, then the first wireless terminal generates the second response message characterizing the first wireless terminal agreement encrypted transmission video data; If user selects to disagree encrypted transmission video data, then the first wireless terminal generates sign the first wireless terminal and disagrees the second response message of encrypted transmission video data.
Optionally, if negotiation result is encrypted transmission video data, then the first wireless terminal and the second wireless terminal obtain keys for encryption/decryption.
Optionally, a kind of flowchart of the first wireless terminal generation keys for encryption/decryption is as shown in Figure 4, it is possible to including:
Step S41: generate the first PKI and first private key paired with this first PKI;
In the embodiment of the present invention, if video-encryption is consulted to be initiated to the second wireless terminal by the first wireless terminal, then the first wireless terminal can receive the first response message that the second wireless terminal sends, and this first response message characterize second wireless terminal agree to encrypted transmission video data time, generate the first PKI and first private key paired with this first PKI. Second wireless terminal can send the first response message to the first wireless terminal, and when this first response message characterizes the second wireless terminal agreement encrypted transmission video data, generates the second PKI and second private key paired with this second PKI.
If video-encryption is consulted to be initiated to the first wireless terminal by the second wireless terminal, then the first wireless terminal can send the second response message to the second wireless terminal, and this second response message characterize first wireless terminal agree to encrypted transmission video data time, generate the first PKI and first private key paired with this first PKI. Second wireless terminal can receive the second response message that the first wireless terminal sends, and when this second response message characterizes the first wireless terminal agreement encrypted transmission video data, generates the second PKI and second private key paired with this second PKI.
Step S42: send the 5th SIP signaling to the second wireless terminal, carry described first PKI in the 5th SIP signaling;
First PKI is sent to the second wireless terminal by the first wireless terminal. The video data that needs are sent to the first wireless terminal by the second wireless terminal with this first PKI is encrypted.
When the enciphered video data that the first wireless terminal reception sends to the second wireless terminal, the video data received is decrypted by the first wireless terminal by the first private key.
Step S43: receiving the 6th SIP signaling that described second wireless terminal sends, carry the second PKI in described 6th SIP signaling, described second PKI is described first encryption key.
Second PKI is sent to the first wireless terminal by the second wireless terminal, and the video data that needs are sent to the second wireless terminal by the first wireless terminal with this second PKI is encrypted, say, that the second PKI is the first encryption key.
In the embodiment of the present invention, after the first wireless terminal and the negotiation of the second wireless terminal determine encrypted transmission video data, the first wireless terminal and the second wireless terminal are also by SIP signaling negotiation encryption/key.
It should be noted that, in the embodiment of the present invention, the execution sequence of step S43 and step S41 or step S42 is not specifically limited, step S43 can perform before step S41, can also perform after step S42, or can also perform between step S41 and step S42, or, step S43 can perform with step S41 or step S42 simultaneously.
In the embodiment of the present invention, the first wireless terminal and the second wireless terminal use unsymmetrical key to be encrypted/decipher. Wherein, the first PKI is the encryption key of the second wireless terminal side, and the first private key is the decruption key of the first wireless terminal side; Second PKI is the encryption key of the first wireless terminal side.
Optionally, the another kind of implementation of the first wireless terminal generation keys for encryption/decryption can be:
Generating the first key with default key generation method, this first key is the first encryption key.
In the embodiment of the present invention, the first wireless terminal and the second wireless terminal use identical key generation method to generate identical key, and this key is the encryption key of the first wireless terminal side, is also the decruption key of the first wireless terminal side. Meanwhile, the encryption key of this key or the second wireless terminal side and decruption key.
In the embodiment of the present invention, the first wireless terminal and the second wireless terminal use symmetric key to be encrypted/decipher.
The embodiment of the present invention also provides for a kind of method of transmitting video data being applied to the second wireless terminal, and the another kind of flowchart of the method for transmitting video data that the embodiment of the present application provides is as it is shown in figure 5, may include that
Step S51: receive the video data that the first wireless terminal sends;
The video data that first wireless terminal sends is probably the video data after encryption, it is also possible to do not have the video data of encryption.
Step S52: obtain and set up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, carries out video-encryption and consults determined negotiation result;
In the embodiment of the present invention, set up in the process of data transmission channel based on SIP at the first wireless terminal and the second wireless terminal, carry out video-encryption negotiation, namely set up based on SIP at the first wireless terminal and the second wireless terminal in the process of data transmission channel and consult whether to want encrypted transmission video data.
Wherein, video-encryption is consulted to be initiated to the second wireless terminal by the first wireless terminal, it is also possible to initiated to the first wireless terminal by the second wireless terminal. The originating end specifically can consulted by video-encryption is initiated video-encryption according to user setup to another wireless terminal and is consulted. Namely set up in the process of video data transmission at the first wireless terminal and the second wireless terminal, if the user setup of the first wireless terminal is encrypted transmitting video data, then the first wireless terminal initiates video-encryption negotiation to the second wireless terminal. In like manner, if the user setup of the second wireless terminal is encrypted transmitting video data, then the second wireless terminal initiates video-encryption negotiation to the first wireless terminal.
By user's manual unlocking, interface can be set to arrange whether encrypted transmission, or interface is set by wireless terminal automatic spring so that user setup whether encrypted transmission.
After receiving the video data that the first wireless terminal sends, whether the negotiation result obtaining video-encryption negotiation is enciphered video data to judge the video data received.
Step S53: if negotiation result is encrypted transmission video data, with the first decruption key obtained in advance, the video data received is decrypted, first decruption key is set up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, determines when negotiation result is encrypted transmission video data.
In embodiments of the present invention, set up in the process of data transmission channel at the first wireless terminal and the second wireless terminal, except carrying out video-encryption negotiation, also obtain keys for encryption/decryption. That is, determine through consultation want encrypted transmission video data time, the first wireless terminal and the second wireless terminal obtain keys for encryption/decryption respectively.
If the negotiation result that video-encryption is consulted is encrypted transmission video data, illustrate that the video data received is encryption, it is necessary to be decrypted. Therefore, if the negotiation result that video-encryption is consulted is encrypted transmission video data, then with the decruption key obtained in advance, the video data received is decrypted.
The method of transmitting video data that the embodiment of the present invention provides, set up in data transmission channel process at the dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption negotiation, to determine whether encrypted transmission video data, determine need encrypted transmission video data time, obtain keys for encryption/decryption, after setting up data transmission channel, when transmitting video data, if the first wireless terminal is determined according to negotiation result needs encrypted transmission video data, with the encryption key obtained in advance, video data is encrypted, then the video data after encryption is sent, second wireless terminal is after receiving video data, if determining according to negotiation result and needing encrypted transmission video data, with the decruption key obtained in advance, the video data received is decrypted. achieve the encrypted transmission of video data, thus improving the safety of video data in video data transmission process.
Optionally, it is possible to carry out video data encrypted negotiation by SIP signaling (e.g., INFO). Carry in SIP signaling by negotiation information. Wherein, negotiation information includes CIPHERING REQUEST and the response message for CIPHERING REQUEST.
Optionally, another flowchart of the process that realizes that above-mentioned video-encryption is consulted is as shown in Figure 6, it is possible to including:
Step S61: receive the SIP signaling that the first wireless terminal sends, the first CIPHERING REQUEST carried in a SIP signaling;
In the embodiment of the present invention, the first wireless terminal initiate video-encryption and consult.
Step S62: show User Interface based on the first CIPHERING REQUEST, is chosen whether to agree to encrypted transmission video data by user;
Whether the second wireless terminal agrees to encrypted transmission video data, can after receiving a SIP signaling, display has the interactive interface of the option whether agreeing to encrypted transmission video data, the user of the second wireless terminal choose whether to agree to encrypted transmission video data.
Step S63: select to send the 2nd SIP signaling to the first wireless terminal based on user, carrying the first response message for the first CIPHERING REQUEST in 2nd SIP signaling, the first response message is used for characterizing whether the second wireless terminal agrees to encrypted transmission video data.
Even user selects to agree to encrypted transmission video data, then second select terminal to generate the first response message characterizing the second wireless terminal agreement encrypted transmission video data; If user selects to disagree encrypted transmission video data, then second select terminal to generate the first response message to characterize the second wireless terminal and disagree the first response message of encrypted transmission video data.
Optionally, another flowchart of the process that realizes that above-mentioned video-encryption is consulted is as it is shown in fig. 7, may include that
Step S71: send the 3rd SIP signaling to the first wireless terminal, carry the second CIPHERING REQUEST in the 3rd SIP signaling;
In the embodiment of the present invention, the second wireless terminal initiate video-encryption and consult.
Step S72: receiving the 4th SIP signaling that the first wireless terminal sends, carry the second response message for the second CIPHERING REQUEST in the 4th SIP signaling, the second response message is used for characterizing whether the first wireless terminal agrees to encrypted transmission video data.
Whether the first wireless terminal agrees to encrypted transmission video data, it is possible to selected to determine by the user of the first wireless terminal.
Optionally, if negotiation result is encrypted transmission video data, then the first wireless terminal and the second wireless terminal obtain keys for encryption/decryption.
Optionally, a kind of flowchart of the second wireless terminal generation keys for encryption/decryption is as shown in Figure 8, it is possible to including:
Step S81: generating the second PKI and second private key paired with this second PKI, the second private key is the first decruption key;
In the embodiment of the present invention, if video-encryption is consulted to be initiated to the second wireless terminal by the first wireless terminal, then the second wireless terminal can send the first response message to the first wireless terminal, and this first response message characterize second wireless terminal agree to encrypted transmission video data time, generate the second PKI and second private key paired with this second PKI. First wireless terminal can receive the first response message that the second wireless terminal sends, and when this first response message characterizes the second wireless terminal agreement encrypted transmission video data, generates the first PKI and first private key paired with this first PKI.
If video-encryption is consulted to be initiated to the first wireless terminal by the second wireless terminal, then the second wireless terminal can receive the second response message that the first wireless terminal sends, and this second response message characterize first wireless terminal agree to encrypted transmission video data time, generate the second PKI and second private key paired with this second PKI. First wireless terminal can send the second response message to the second wireless terminal, and when this second response message characterizes the first wireless terminal agreement encrypted transmission video data, generates the first PKI and first private key paired with this first PKI.
The video data received is decrypted by the second wireless terminal with the second private key.
Step S82: send the 6th SIP signaling to the first wireless terminal, carry the second PKI generated to some extent in the 6th SIP signaling;
Second PKI is sent to the first wireless terminal by the second wireless terminal, and the video data that needs are sent to the second wireless terminal by the first wireless terminal with this second PKI is encrypted.
Step S83: receive the 5th SIP signaling that the first wireless terminal sends, carry the first PKI in the 5th SIP signaling.
First PKI is sent to the second wireless terminal by the first wireless terminal. The video data that needs are sent to the first wireless terminal by the second wireless terminal with this first PKI is encrypted.
In the embodiment of the present invention, the second PKI is the encryption key of the first wireless terminal side, and the second private key is the decruption key of the second wireless terminal side; First PKI is the encryption key of the second wireless terminal side.
It should be noted that, in the embodiment of the present invention, the execution sequence of step S83 and step S81 or step S82 is not specifically limited, step S83 can perform before step S81, can also perform after step S82, or can also perform between step S81 and step S82, or, step S83 can perform with step S81 or step S82 simultaneously.
Optionally, another implementation of the second wireless terminal generation keys for encryption/decryption can be:
Generating the first key with default key generation method, this first key is the first decruption key.
In the embodiment of the present invention, the first wireless terminal and the second wireless terminal use identical key generation method to generate identical key, and this key is the encryption key of the second wireless terminal side, is also the decruption key of the second wireless terminal side. Meanwhile, the encryption key of this key or the first wireless terminal side and decruption key.
In the embodiment of the present invention, the first wireless terminal and the second wireless terminal use symmetric key to be encrypted/decipher.
Another flowchart of the method for transmitting video data that the embodiment of the present invention provides is as it is shown in figure 9, may include that
Data transmission channel establishment stage and video data transmission stage; Wherein,
Data transmission channel establishment stage includes:
Step S91: the first wireless terminal sends a SIP signaling, the first CIPHERING REQUEST carried in a SIP signaling to the second wireless terminal.
Step S92: the second wireless terminal shows User Interface based on the first CIPHERING REQUEST, user choose whether to agree to encrypted transmission video data.
Step S93: the second wireless terminal sends the 2nd SIP signaling to the first wireless terminal, carrying the first response message for the first CIPHERING REQUEST in 2nd SIP signaling, the first response message is used for characterizing whether the second wireless terminal agrees to encrypted transmission video data.
Step S94: if the first response message characterizes the second wireless terminal and agrees to encrypted transmission video data, the second wireless terminal obtains keys for encryption/decryption.
Step S95: if the first response message characterizes the second wireless terminal and agrees to encrypted transmission video data, the first wireless terminal obtains keys for encryption/decryption.
It should be noted that in the embodiment of the present invention, the execution sequence of step S94 and step S95 is not specifically limited. Step S94 can after step S95, it is also possible to before step S95, or, step S94 and step S95 performs simultaneously.
The video data transmission stage includes:
Step S96: when needs send video data, the first wireless terminal obtains to be set up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, carries out video-encryption and consults determined negotiation result.
Step S97: if negotiation result is encrypted transmission video data, the first wireless terminal is treated transmitting video data with the first encryption key obtained in advance and is encrypted.
The data transmission channel that step S98: the first wireless terminal passes through to set up sends the video data after encrypting to the second wireless terminal.
After the video data that step S99: the second wireless terminal reception the first wireless terminal sends, obtaining sets up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, carries out video-encryption and consults determined negotiation result.
Step S910: if negotiation result is encrypted transmission video data, is decrypted the video data received with the first decruption key obtained in advance.
Another flowchart of the method for transmitting video data that the embodiment of the present invention provides is as shown in Figure 10, it is possible to including:
Data transmission channel establishment stage and video data transmission stage; Wherein,
Data transmission channel establishment stage includes:
Step S101: the second wireless terminal sends the 3rd SIP signaling to the first wireless terminal, carries the second CIPHERING REQUEST in the 3rd SIP signaling.
Step S102: the first wireless terminal shows User Interface based on the second CIPHERING REQUEST, user choose whether to agree to encrypted transmission video data.
Step S103: the first wireless terminal sends the 4th SIP signaling to the second wireless terminal, carrying the second response message for the second CIPHERING REQUEST in 4th SIP signaling, this second response message is used for characterizing whether the first wireless terminal agrees to encrypted transmission video data.
Step S104: if the second response message characterizes the first wireless terminal and agrees to encrypted transmission video data, the first wireless terminal obtains keys for encryption/decryption.
Step S105: if the second response message characterizes the first wireless terminal and agrees to encrypted transmission video data, the second wireless terminal obtains keys for encryption/decryption.
It should be noted that in the embodiment of the present invention, the execution sequence of step S104 and step S105 is not specifically limited. Step S104 can after step S105, it is also possible to before step S105, or, step S104 and step S105 performs simultaneously.
The video data transmission stage includes:
Step S106: when needs send video data, the first wireless terminal obtains to be set up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, carries out video-encryption and consults determined negotiation result.
Step S107: if negotiation result is encrypted transmission video data, the first wireless terminal is treated transmitting video data with the first encryption key obtained in advance and is encrypted.
The data transmission channel that step S108: the first wireless terminal passes through to set up sends the video data after encrypting to the second wireless terminal.
After the video data that step S109: the second wireless terminal reception the first wireless terminal sends, obtaining sets up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, carries out video-encryption and consults determined negotiation result.
Step S1010: if negotiation result is encrypted transmission video data, is decrypted the video data received with the first decruption key obtained in advance.
Need illustrate time, in Fig. 9 and Figure 10 embodiment, all using the first wireless terminal as video data transmitting terminal, the embodiment of the present invention is illustrated by the second wireless terminal as video data receiving terminal. In the embodiment of the present invention, the second wireless terminal can also as video data transmitting terminal, and the first wireless terminal is video data receiving terminal.
Corresponding with embodiment of the method, the embodiment of the present invention also provides for a kind of video data transmission device, this video data transmission device can apply to the first wireless terminal, and a kind of structural representation of the video data transmission device that the embodiment of the present invention provides is as shown in figure 11, it is possible to including:
First negotiation module 111, the first generation module 112, the first acquisition module 113, encrypting module 114 and the first sending module 115; Wherein,
First negotiation module 111, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and two wireless terminals, carries out video-encryption negotiation;
First generation module 112 is for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, when the first negotiation module 111 determines that negotiation result is encrypted transmission video data, generates keys for encryption/decryption;
First acquisition module 113 is for obtaining the negotiation result that the first negotiation module is determined;
If encrypting module 114 is encrypted transmission video data for negotiation result, the first encryption key obtained in advance with the first generation module 112 is treated transmitting video data and is encrypted;
First sending module 115 sends the video data after encrypting for the data transmission channel passing through to set up to the second wireless terminal.
The video data transmission device that the embodiment of the present invention provides, first negotiation module is set up in data transmission channel process at the dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption negotiation, to determine whether encrypted transmission video data, determine need encrypted transmission video data time, first generation module obtains keys for encryption/decryption, after setting up data transmission channel, when transmitting video data, if transmitting terminal is determined according to negotiation result needs encrypted transmission video data, video data is encrypted by the encryption key that encrypting module obtains in advance with the first generation module, then the video data after encryption is sent, receiving terminal is after receiving video data, if determining according to negotiation result and needing encrypted transmission video data, with the decruption key obtained in advance, the video data received is decrypted. achieve the encrypted transmission of video data, thus improving the safety of video data in video data transmission process.
Optionally, a kind of structural representation of the first negotiation module 111 is as shown in figure 12, it is possible to including:
First transmitting element 121 and first receives unit 122; Wherein,
First transmitting element 121, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, sends a SIP signaling, the first CIPHERING REQUEST carried in a SIP signaling to the second wireless terminal;
First receives unit 122 for receiving the 2nd SIP signaling that the second wireless terminal sends, carrying the first response message for the first CIPHERING REQUEST in 2nd SIP signaling, this first response message is used for characterizing whether the second wireless terminal agrees to encrypted transmission video data.
Optionally, the another kind of structural representation of the first negotiation module 111 is as described in Figure 13, it is possible to including:
Second receives unit 131, the first display unit 132 and the second transmitting element 133; Wherein
Second receives unit 131 for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, receives the 3rd SIP signaling that the second wireless terminal sends, carries the second CIPHERING REQUEST in the 3rd SIP signaling;
First display unit 132, for showing User Interface based on the second CIPHERING REQUEST, is chosen whether to agree to encrypted transmission video data by user;
Second transmitting element 133 is for selecting to send the 4th SIP signaling to the second wireless terminal based on user, carrying the second response message for the second CIPHERING REQUEST in 4th SIP signaling, this second response message is used for characterizing whether the first wireless terminal agrees to encrypted transmission video data.
Optionally, a kind of structural representation of the first generation module 112 is as shown in figure 14, it is possible to including:
First generates unit 141, and the 3rd transmitting element 142 and the 3rd receives unit 143; Wherein,
First generates unit 141 for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, when the first negotiation module determines that negotiation result is encrypted transmission video data, generate the first PKI and first private key paired with the first PKI;
3rd transmitting element 142, for sending the 5th SIP signaling to the second wireless terminal, carries the first PKI that the first generation unit 141 generates in the 5th SIP signaling;
3rd receives unit 143 for receiving the 6th SIP signaling that the second wireless terminal sends, and carries the second PKI in the 6th SIP signaling, and this second PKI is the first encryption key.
Optionally, the another kind of structural representation of the first generation module 112 is as shown in figure 15, it is possible to including:
Second generates unit 151, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the first wireless terminal and the second wireless terminal, when the first negotiation module determines that negotiation result is encrypted transmission video data, generating the first key with default key generation method, the first key is the first encryption key.
The embodiment of the present invention also provides for a kind of first wireless terminal, and this wireless terminal has video data transmission device disclosed in figure illustrated embodiment as any one in Figure 11 to Figure 15.
The embodiment of the present invention also provides for a kind of video data transmission device that can apply to the second wireless terminal. The another kind of structural representation of the video data transmission device that the embodiment of the present invention provides is as shown in figure 16, it is possible to including:
Second negotiation module 161, the second generation module 162, the first receiver module 163, the second acquisition module 164 and deciphering module 165; Wherein,
Second negotiation module 161, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, carries out video-encryption negotiation;
Second generation module 162 is for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, when the second negotiation module determines that negotiation result is encrypted transmission video data, generates keys for encryption/decryption;
First receiver module 163 is for receiving the video data that the first wireless terminal sends;
Second acquisition module 164 is for obtaining the negotiation result that the second negotiation module is determined;
If deciphering module 165 is encrypted transmission video data for negotiation result, the video data received is decrypted by the first decruption key obtained in advance with the second generation module 162.
The video data transmission device that the embodiment of the present invention provides, second negotiation module is set up in data transmission channel process at the dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption negotiation, to determine whether encrypted transmission video data, determine need encrypted transmission video data time second generation module obtain keys for encryption/decryption, after setting up data transmission channel, when transmitting video data, if the first wireless terminal is determined according to negotiation result needs encrypted transmission video data, with the encryption key obtained in advance, video data is encrypted, then the video data after encryption is sent, second wireless terminal is after the first receiver module receives video data, if determining that the video data received is enciphered video data according to negotiation result, the video data received is decrypted by the deciphering module decruption key obtained in advance. achieve the encrypted transmission of video data, thus improving the safety of video data in video data transmission process.
Optionally, a kind of structural representation of the second negotiation module 161 is as shown in figure 17, it is possible to including:
4th receives unit 171, the second display unit 172 and the 4th transmitting element 173; Wherein,
4th receives unit 171, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, receives the SIP signaling that the first wireless terminal sends, the first CIPHERING REQUEST carried in a SIP signaling;
Second display unit 172, for showing User Interface based on the first CIPHERING REQUEST, is chosen whether to agree to encrypted transmission video data by user;
4th transmitting element 173, for selecting to send the 2nd SIP signaling to the first wireless terminal based on user, carrying the first response message for the first CIPHERING REQUEST in 2nd SIP signaling, this first response message is used for characterizing whether the second wireless terminal agrees to encrypted transmission video data.
Optionally, the another kind of structural representation of the second negotiation module 161 is as shown in figure 18, it is possible to including:
5th transmitting element 181 and the 5th receives unit 182; Wherein,
5th transmitting element 181, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, sends the 3rd SIP signaling to the first wireless terminal, carries the second CIPHERING REQUEST in the 3rd SIP signaling;
5th receives unit 182 for receiving the 4th SIP signaling that the first wireless terminal sends, carrying the second response message for the second CIPHERING REQUEST in 4th SIP signaling, this second response message is used for characterizing whether the first wireless terminal agrees to encrypted transmission video data.
Optionally, a kind of structural representation of the second generation module 162 is as shown in figure 19, it is possible to including:
3rd generates unit 191, and the 6th transmitting element 192 and the 6th receives unit 193; Wherein,
3rd generates unit 191 for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of the second wireless terminal and the first wireless terminal, when determining that negotiation result is encrypted transmission video data, generating the second PKI and second private key paired with described second PKI, the second private key is the first decruption key;
6th transmitting element 192, for sending the 6th SIP signaling to the first wireless terminal, carries the second PKI that the 3rd generation unit 191 generates in the 6th SIP signaling;
6th receives unit 193 for receiving the 5th SIP signaling that the first wireless terminal sends, and carries the first PKI in the 5th SIP signaling.
Optionally, the another kind of structural representation of the second generation module 162 is as shown in figure 20, it is possible to including:
4th generates unit 201, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, when determining that described negotiation result is encrypted transmission video data, generating the first key with default key generation method, described first key is described first decruption key.
The embodiment of the present invention also provides for a kind of wireless terminal, and this wireless terminal has video data transmission device disclosed in figure illustrated embodiment as any one in Figure 16 to Figure 20.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments. Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (21)

1. a method of transmitting video data, is applied to the first wireless terminal, it is characterised in that described method includes:
Obtaining sets up in data transmission channel process at the dialogue-based initiation protocol SIP of described first wireless terminal and the second wireless terminal, carries out video-encryption and consults determined negotiation result;
If described negotiation result is encrypted transmission video data, treat transmitting video data with the first encryption key obtained in advance to be encrypted, described first encryption key is set up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, determines when described negotiation result is encrypted transmission video data;
Video data after sending encryption by from described data transmission channel to described second wireless terminal.
2. method according to claim 1, it is characterised in that the process that realizes that described video-encryption is consulted includes:
A SIP signaling, the first CIPHERING REQUEST carried in a described SIP signaling is sent to described second wireless terminal;
Receive the 2nd SIP signaling that described second wireless terminal sends, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
3. method according to claim 1, it is characterised in that the process that realizes that described video-encryption is consulted includes:
Receive the 3rd SIP signaling that described second wireless terminal sends, described 3rd SIP signaling carries the second CIPHERING REQUEST;
Based on described second CIPHERING REQUEST display User Interface, user choose whether to agree to encrypted transmission video data;
Select to send the 4th SIP signaling to described second wireless terminal based on user, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
4. according to the method in claim 2 or 3, it is characterised in that the acquisition process of described first encryption key includes:
Generate the first PKI and first private key paired with described first PKI;
Send the 5th SIP signaling to described second wireless terminal, described 5th SIP signaling carries described first PKI;
Receiving the 6th SIP signaling that described second wireless terminal sends, carry the second PKI in described 6th SIP signaling, described second PKI is described first encryption key.
5. according to the method in claim 2 or 3, it is characterised in that the acquisition process of described first encryption key includes:
Generating the first key with default key generation method, described first key is described first encryption key.
6. a method of transmitting video data, is applied to the second wireless terminal, it is characterised in that described method includes:
Receive the video data that the first wireless terminal sends;
Obtain and set up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, carry out video-encryption and consult determined negotiation result;
If described negotiation result is encrypted transmission video data, with the first decruption key obtained in advance, the video data received is decrypted, described first decruption key is set up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, determines when described negotiation result is encrypted transmission video data.
7. method according to claim 6, it is characterised in that the process that realizes that described video-encryption is consulted includes:
Receive the SIP signaling that described first wireless terminal sends, the first CIPHERING REQUEST carried in a described SIP signaling;
Based on described first CIPHERING REQUEST display User Interface, user choose whether to agree to encrypted transmission video data;
Select to send the 2nd SIP signaling to described first wireless terminal based on user, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
8. method according to claim 6, it is characterised in that the process that realizes that described video-encryption is consulted includes:
Send the 3rd SIP signaling to described first wireless terminal, described 3rd SIP signaling carries the second CIPHERING REQUEST;
Receive the 4th SIP signaling that described first wireless terminal sends, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
9. the method according to claim 7 or 8, it is characterised in that the acquisition process of described first decruption key includes:
Generating the second PKI and second private key paired with described second PKI, described second private key is described first decruption key;
Send the 6th SIP signaling to described first wireless terminal, described 6th SIP signaling carries described second PKI;
Receive the 5th SIP signaling that described first wireless terminal sends, described 5th SIP signaling carries the first PKI.
10. the method according to claim 7 or 8, it is characterised in that the acquisition process of described first decruption key includes:
Generating the first key with default key generation method, described first key is described first decruption key.
11. a video data transmission device, it is applied to the first wireless terminal, it is characterised in that described device includes:
First negotiation module, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described first wireless terminal and two wireless terminals, carries out video-encryption negotiation;
First generation module, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, when described first negotiation module determines that negotiation result is encrypted transmission video data, generate keys for encryption/decryption;
First acquisition module, for obtaining the negotiation result that described first negotiation module is determined;
Encrypting module, if being encrypted transmission video data for described negotiation result, the first encryption key obtained in advance with described first generation module is treated transmitting video data and is encrypted;
First sending module, for the video data after sending encryption by described data transmission channel to described second wireless terminal.
12. device according to claim 11, it is characterised in that described first negotiation module includes:
First transmitting element, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, a SIP signaling, the first CIPHERING REQUEST carried in a described SIP signaling is sent to described second wireless terminal;
First receives unit, for receiving the 2nd SIP signaling that described second wireless terminal sends, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
13. device according to claim 11, it is characterised in that described first negotiation module includes:
Second receives unit, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described first wireless terminal and the second wireless terminal, receive the 3rd SIP signaling that described second wireless terminal sends, described 3rd SIP signaling carries the second CIPHERING REQUEST;
First display unit, for based on described second CIPHERING REQUEST display User Interface, being chosen whether to agree to encrypted transmission video data by user;
Second transmitting element, for selecting to send the 4th SIP signaling to described second wireless terminal based on user, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
14. the device according to claim 12 or 13, it is characterised in that described first generation module includes:
First generates unit, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, when described first negotiation module determines that negotiation result is encrypted transmission video data, generate the first PKI and first private key paired with described first PKI;
3rd transmitting element, for sending the 5th SIP signaling to described second wireless terminal, carries described first PKI in described 5th SIP signaling;
3rd receives unit, for receiving the 6th SIP signaling that described second wireless terminal sends, carries the second PKI in described 6th SIP signaling, and described second PKI is described first encryption key.
15. the device according to claim 12 or 13, it is characterised in that described first generation module includes:
Second generates unit, for setting up in data transmission channel process at described first wireless terminal with the described second dialogue-based initiation protocol SIP of wireless terminal, when described first negotiation module determines that negotiation result is encrypted transmission video data, generating the first key with default key generation method, described first key is described first encryption key.
16. a video data transmission device, it is applied to the second wireless terminal, it is characterised in that described device includes:
Second negotiation module, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, carries out video-encryption negotiation;
Second generation module, for setting up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, when described second negotiation module determines that negotiation result is encrypted transmission video data, generate keys for encryption/decryption;
First receiver module, for receiving the video data that described first wireless terminal sends;
Second acquisition module, for obtaining the negotiation result that described second negotiation module is determined;
Deciphering module, if being encrypted transmission video data for described negotiation result, the video data received is decrypted by the first decruption key obtained in advance with described second generation module.
17. device according to claim 16, it is characterised in that described second negotiation module includes:
4th receives unit, for setting up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, receive the SIP signaling that described first wireless terminal sends, the first CIPHERING REQUEST carried in a described SIP signaling;
Second display unit, for based on described first CIPHERING REQUEST display User Interface, being chosen whether to agree to encrypted transmission video data by user;
4th transmitting element, for selecting to send the 2nd SIP signaling to described first wireless terminal based on user, carrying the first response message for described first CIPHERING REQUEST in described 2nd SIP signaling, described first response message is used for characterizing whether described second wireless terminal agrees to encrypted transmission video data.
18. device according to claim 16, it is characterised in that described second negotiation module includes:
5th transmitting element, for setting up in data transmission channel process at described second wireless terminal with the described first dialogue-based initiation protocol SIP of wireless terminal, send the 3rd SIP signaling to described first wireless terminal, described 3rd SIP signaling carries the second CIPHERING REQUEST;
5th receives unit, for receiving the 4th SIP signaling that described first wireless terminal sends, carrying the second response message for described second CIPHERING REQUEST in described 4th SIP signaling, described second response message is used for characterizing whether described first wireless terminal agrees to encrypted transmission video data.
19. the device according to claim 17 or 18, it is characterised in that described second generation module includes:
3rd generates unit, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, when determining that described negotiation result is encrypted transmission video data, generating the second PKI and second private key paired with described second PKI, described second private key is described first decruption key;
6th transmitting element, for sending the 6th SIP signaling to described first wireless terminal, carries described second PKI in described 6th SIP signaling;
6th receives unit, for receiving the 5th SIP signaling that described first wireless terminal sends, carries the first PKI in described 5th SIP signaling.
20. the device according to claim 17 or 18, it is characterised in that described second generation module includes:
4th generates unit, for setting up in data transmission channel process at the dialogue-based initiation protocol SIP of described second wireless terminal and the first wireless terminal, when determining that described negotiation result is encrypted transmission video data, generating the first key with default key generation method, described first key is described first decruption key.
21. a mobile radio terminal, it is characterised in that include the video data transmission device as described in claim 11-20 any one.
CN201510454175.4A 2015-07-29 2015-07-29 Video data transmission method and device and wireless terminal Pending CN105636028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454175.4A CN105636028A (en) 2015-07-29 2015-07-29 Video data transmission method and device and wireless terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454175.4A CN105636028A (en) 2015-07-29 2015-07-29 Video data transmission method and device and wireless terminal

Publications (1)

Publication Number Publication Date
CN105636028A true CN105636028A (en) 2016-06-01

Family

ID=56050419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454175.4A Pending CN105636028A (en) 2015-07-29 2015-07-29 Video data transmission method and device and wireless terminal

Country Status (1)

Country Link
CN (1) CN105636028A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636031A (en) * 2018-06-21 2019-12-31 视联动力信息技术股份有限公司 Video conference data processing method and device
CN111201574A (en) * 2017-10-11 2020-05-26 派尔疗法股份有限公司 System and method for ensuring data security in the treatment of diseases and disorders using digital therapy
CN111901103A (en) * 2020-07-06 2020-11-06 珠海世纪鼎利科技股份有限公司 Method, device and equipment for obtaining SIP key of android terminal
CN111201574B (en) * 2017-10-11 2024-04-19 克里克疗法有限公司 System and method for ensuring data security in the treatment of diseases and disorders using digital therapy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222324A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Method and apparatus for implementing end-to-end media stream safety
CN101267298A (en) * 2008-05-05 2008-09-17 华为技术有限公司 A secret key negotiation method, device and system based on media stream service
CN101552666A (en) * 2009-05-07 2009-10-07 杭州威威网络科技有限公司 Real time media stream encryption transmission method
CN101800734A (en) * 2009-02-09 2010-08-11 华为技术有限公司 Session information interacting method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222324A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Method and apparatus for implementing end-to-end media stream safety
CN101267298A (en) * 2008-05-05 2008-09-17 华为技术有限公司 A secret key negotiation method, device and system based on media stream service
CN101800734A (en) * 2009-02-09 2010-08-11 华为技术有限公司 Session information interacting method, device and system
CN101552666A (en) * 2009-05-07 2009-10-07 杭州威威网络科技有限公司 Real time media stream encryption transmission method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111201574A (en) * 2017-10-11 2020-05-26 派尔疗法股份有限公司 System and method for ensuring data security in the treatment of diseases and disorders using digital therapy
US11658946B2 (en) 2017-10-11 2023-05-23 Pear Therapeutics (Us), Inc. Systems and methods for ensuring data security in the treatment of diseases and disorders using digital therapeutics
US11916888B2 (en) 2017-10-11 2024-02-27 Click Therapeutics, Inc. Systems and methods for ensuring data security in the treatment of diseases and disorders using digital therapeutics
CN111201574B (en) * 2017-10-11 2024-04-19 克里克疗法有限公司 System and method for ensuring data security in the treatment of diseases and disorders using digital therapy
CN110636031A (en) * 2018-06-21 2019-12-31 视联动力信息技术股份有限公司 Video conference data processing method and device
CN110636031B (en) * 2018-06-21 2022-05-17 视联动力信息技术股份有限公司 Video conference data processing method and device
CN111901103A (en) * 2020-07-06 2020-11-06 珠海世纪鼎利科技股份有限公司 Method, device and equipment for obtaining SIP key of android terminal

Similar Documents

Publication Publication Date Title
US8831224B2 (en) Method and apparatus for secure pairing of mobile devices with vehicles using telematics system
US8291222B2 (en) Method for agreeing between at least one first and one second communication subscriber to security key for securing communication link
CN105577680B (en) Key generation method, encrypted data analysis method, device and key management center
US10038676B2 (en) Call encryption systems and methods
CN103986503B (en) Safe bluetooth earphone and voice communication method thereof
CN109302412B (en) VoIP communication processing method based on CPK, terminal, server and storage medium
CN109845214B (en) Method, device and system for transmitting data
JP4234718B2 (en) Secure transmission method for mobile subscriber authentication
WO2007063420A3 (en) Authentication in communications networks
RU2008146960A (en) METHOD AND SYSTEM OF PROVIDING PROTECTED COMMUNICATION USING A CELLULAR NETWORK FOR MANY PERSONALIZED COMMUNICATION DEVICES
MX2008016258A (en) Method and apparatus for security protection of an original user identity in an initial signaling message.
JP6800169B2 (en) Systems and methods for making secure VOIP multi-party calls
WO2018016713A3 (en) Method for security of user equipment connection identifier in wireless communication system and apparatus therefor
EP2979418B1 (en) Method to establish a secure voice communication using generic bootstrapping architecture
CA2579272A1 (en) Method and apparatus for pseudo-secret key generation to generate a response to a challenge received from service provider
CN104484596A (en) Method and terminal for creating password in multi-operation system
US20110135093A1 (en) Secure telephone devices, systems and methods
US8693686B2 (en) Secure telephone devices, systems and methods
RU2016148585A (en) Method and device for transmitting routing information
CN106792700A (en) The method for building up and system of a kind of secure communication environment of wearable device
CN103795966A (en) Method and system for realizing safe video call based on digital certificate
CN105636028A (en) Video data transmission method and device and wireless terminal
CN108306793B (en) Intelligent device, intelligent home gateway, and method and system for establishing connection
CN105592451A (en) Voice call method, voice response method, and mobile terminal
CN106209384B (en) Use the client terminal of security mechanism and the communication authentication method of charging 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601

RJ01 Rejection of invention patent application after publication