CN105187796A - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN105187796A
CN105187796A CN201510583844.8A CN201510583844A CN105187796A CN 105187796 A CN105187796 A CN 105187796A CN 201510583844 A CN201510583844 A CN 201510583844A CN 105187796 A CN105187796 A CN 105187796A
Authority
CN
China
Prior art keywords
server
data
web camera
data acquisition
acquisition instruction
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
CN201510583844.8A
Other languages
Chinese (zh)
Other versions
CN105187796B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510583844.8A priority Critical patent/CN105187796B/en
Publication of CN105187796A publication Critical patent/CN105187796A/en
Application granted granted Critical
Publication of CN105187796B publication Critical patent/CN105187796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the field of information technologies, and discloses a data transmission method, a data transmission device and a data transmission system, which can ensure that a client can control a network video camera to perform operation such as data transmission normally. The data transmission method comprises the steps of: sending a data acquisition instruction to a first server, so that the first server indicates the network video camera to establish connection with a second server, and the data acquisition instruction is used for indicating the network video camera to transmit data; establishing connection with the second server; and receiving data which is output by the network video camera and sent by the second server. By utilizing the scheme, the effect that instruction transmission is independent of data transmission can be achieved, and the smooth transmission of data is ensured.

Description

A kind of data transmission method, Apparatus and system
Technical field
The present invention relates to areas of information technology, particularly a kind of data transmission method, Apparatus and system.
Background technology
Along with the development of information technology, web camera occurs thereupon, and more and more welcome.Wherein, user can pass through network shooting machine monitoring children, old man, the house etc. of oneself.Web camera is a kind of video camera of new generation produced in conjunction with traditional cameras and network technology, it can by shooting video data by Internet Transmission to server, and then by network by take video data transmission in the client of terminal equipment.
At present, the control command that client sends to web camera and the data that web camera sends to client are transmitted mainly through same transmission channel, usually the transmission means of transmission channel can be configured to the mode being applicable to carry out transfer of data.But, different with requirement with the condition that control command is transmitted owing to carrying out data, by the transmission channel for carrying out transfer of data, carry out the transmission of control command, control command can be caused to there is the situation of bust this, thus cause client normally cannot carry out transfer of data by net control video camera.
Summary of the invention
In view of this, the invention provides a kind of data transmission method, Apparatus and system, main purpose is to ensure that the normal net control video camera of client carries out the operations such as transfer of data.
According to one aspect of the invention, provide a kind of data transmission method, comprising:
Send data acquisition instruction to first server, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data;
Connect with described second server;
The data of described web camera output are obtained from described second server.
According to another aspect of the present invention, provide a kind of data transmission method, comprising:
Receive the data acquisition instruction that first server sends, described data acquisition instruction is used to indicate web camera transmission data;
Connect with second server;
Send described data to described second server, described data are used for being undertaken obtaining and exporting by client.
According to another aspect of the present invention, provide a kind of client, comprising:
Transmitting element, for sending data acquisition instruction to first server, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data;
Set up unit, for connecting with described second server;
Acquiring unit, for obtaining the data that described web camera exports from described second server.
According to the present invention another aspect again, provide a kind of web camera, comprising:
Receiving element, for receiving the data acquisition instruction that first server sends, described data acquisition instruction is used to indicate web camera transmission data;
Set up unit, for connecting with second server;
Transmitting element, for sending described data to described second server, described data are used for being undertaken obtaining and exporting by client.
According to the transmission system that present invention also offers a kind of data, comprising:
Client, for sending data acquisition instruction to service server;
Service server, for sending described data acquisition instruction to web camera;
Web camera, for connecting with Relay Server and sending data to described Relay Server;
Described service server, also for receiving response success message corresponding to described data acquisition instruction that described web camera sends and response success message corresponding to the described data acquisition instruction sent to described client;
Described Relay Server, also for connecting with described client and sending described data to described client.
By technique scheme, the technical scheme that the embodiment of the present invention provides at least has following advantages:
Embodiments provide a kind of data transmission method, Apparatus and system, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of data transmission method flow chart that the embodiment of the present invention provides;
Fig. 2 shows the another kind of data transmission method flow chart that the embodiment of the present invention provides;
Fig. 3 shows another data transmission method flow chart that the embodiment of the present invention provides;
Fig. 4 shows another data transmission method flow chart that the embodiment of the present invention provides;
Fig. 5 shows a kind of client terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 6 shows the another kind of client terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 7 shows a kind of network camera structure schematic diagram that the embodiment of the present invention provides;
Fig. 8 shows the another kind of network camera structure schematic diagram that the embodiment of the present invention provides;
Fig. 9 shows a kind of data transmission system structural representation that the embodiment of the present invention provides;
Figure 10 shows the another kind of data transmission system structural representation that the embodiment of the present invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of data transmission method, can be applied to client, as shown in Figure 1, described method comprises:
101, data acquisition instruction is sent to first server.
Further, described data acquisition instruction can make described first server indication network video camera and second server connect.Wherein, described data acquisition instruction is used to indicate described web camera transmission data.Described first server is service server, and described second server is Relay Server.Described service server externally provides the high-performance computer of business service for a management resource in internet corresponding to web camera.The service request from computer client or client mobile communication end in computer communication network is intercepted by service server, and service request is responded and processes, and then provide the business service of web camera for computer client or client mobile communication end.Described Relay Server also can be called video stream server, sends to the data of client, thus can alleviate the load of web camera master server at the internet repeating web camera that web camera is corresponding, improves the response speed of master server.Described web camera is a kind of video camera of new generation produced in conjunction with traditional cameras and network technology, image can be reached the other end by network, and the viewer of far-end does not need to use any professional software, as long as the web browser of standard gets final product the image of monitoring network shot by camera, web camera is generally by camera lens, image, sound transducer, A/D converter (analog/digital converter, Analogue/Digitalconverter), image, sound, controller network server, external alert, the part such as control interface composition, the embodiment of the present invention does not limit.
Wherein, described data are specifically as follows video data, and can be also video requency frame data, the embodiment of the present invention limit.Particularly, after described first server receives described data acquisition instruction, it is the discernible data acquisition signaling of described web camera by described data acquisition instruction transformation, again data acquisition signaling is sent to web camera, then described web camera obtains data according to described data acquisition signaling and transmits data.The data that web camera obtains can for after web camera receives data acquisition instruction, the data of Real-time Collection, makes client can the data of the current collection of playing network video camera in real time, thus can monitor in real time current scene.Described data also can for after web camera receives data acquisition instruction, data in the preset time period obtained, wherein, the intraday data that preset time period can obtain for web camera, data etc. in one hour, the embodiment of the present invention does not limit, thus can carry out playback to the video data in special time period.For the embodiment of the present invention, by the data in the predetermined amount of time of the real time data or collection of transmitting current collection, client can be realized and export data in transmission random time section, thus transmission and the output of video data can be carried out according to user's request.
For the embodiment of the present invention, step 101 is specifically as follows: when the web camera icon in client receives triggering command, and client sends data acquisition instruction to first server.Triggering command can be that web camera user initiatively sends, such as, when web camera user click or web camera icon in striking client time, client sends data acquisition instruction to first server; Also can trigger for condition, such as, carry out triggering according to the time, ad-hoc location etc. of web camera user setting, the embodiment of the present invention does not limit.
Wherein, described data acquisition instruction is the one in the control command of client transmission, can also be carried out other for client to web camera to control, now, described control command can also be web camera enabled instruction, web camera volume adjustment instruction, image resolution ratio adjustment instruction etc., and the embodiment of the present invention does not limit.
Further, client can also send other control commands to first server, carries out corresponding operating with net control video camera.Such as, web camera enabled instruction can be sent, be used to indicate described web camera start or close, image resolution ratio adjustment instruction can be sent, the shooting resolution of net control video camera adjustment image, also can send web camera volume adjustment instruction, be used to indicate described web camera and start or close volume, the embodiment of the present invention does not limit.By control command, remote operation web camera can be realized, thus can user be facilitated, improve Consumer's Experience.And the control command that client sends to web camera is undertaken transmitting by different transmission channels from web camera to the data that client sends, control command can be avoided to there is the situation of bust this, thus can ensure that client success net control video camera carries out transfer of data.
102, connect with described second server.
Wherein, connecting with described second server is the video data obtained for transmission network video camera, for ensureing the transmission speed of video data, the large requirement of volume of transmitted data to be met with the transmission channel after described second server connects, therefore, usually adopt the long connection that volume of transmitted data is larger, such as, TCP (transmission control protocol, TransmissionControlProtocol) is long to be connected, and the embodiment of the present invention does not limit.Now, for the embodiment of the present invention, step 102 is specifically as follows: send IP (Internet protocol, InternetProtocol) address request to described second server, now, described second server returns response message corresponding to described IP address request; Then, from described response message, obtain the IP address of described second server, according to the IP address of described second server, set up TCP length with described second server and be connected.
103, the data of described web camera output are obtained from described second server.
For the embodiment of the present invention, step 103 is specifically as follows: after described web camera receives the data acquisition instruction that client sent by described first server, connect with described second server, and send data to described second server, send described data to client after described second server receives data, thus client can obtain the data of described web camera output from described second server.The control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that client success net control video camera carries out transfer of data.
For the embodiment of the present invention, concrete application scenarios can be as follows, but be not limited thereto, comprise: when the user holding web camera A click or web camera icon in striking customer end B time, customer end B sends data acquisition instruction to service server.After service server receives described data acquisition instruction, send data acquisition signaling to web camera A.After web camera A receives data acquisition signaling, obtain data; Send IP address request to Relay Server simultaneously, then, the IP address of Relay Server is obtained the response message that the described IP address request returned from described Relay Server is corresponding, according to the IP address of described Relay Server, connect with described Relay Server and transmit data to described Relay Server.Customer end B, by after connecting with described Relay Server, receives the data that web camera A is transmitted by described Relay Server.With at present only undertaken compared with the transmission of data acquisition instruction and data by Relay Server, the embodiment of the present invention, carry out the transmission of data acquisition instruction by service server and carried out the transmission of data by Relay Server, avoid the transmission being carried out data acquisition instruction and data by a transmission channel, thus data acquisition instruction can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
A kind of data transmission method that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Embodiments provide another kind of data transmission method, can be applied to client, as shown in Figure 2, described method comprises:
201, data acquisition instruction is sent to first server.
Further, described data acquisition instruction can make described first server indication network video camera and second server connect.Wherein, described data acquisition instruction is used to indicate described web camera transmission data.Described first server is service server, and described second server is Relay Server.The concept of described service server and explaining in the detailed elaboration of step 101, does not repeat them here.Described Relay Server, Relay Server also can become video stream server, send to the data of client at the internet repeating web camera that web camera is corresponding, thus the load of web camera master server can be alleviated, improve the response speed of master server.Wherein, described data are specifically as follows video data, and can be also video requency frame data, the embodiment of the present invention limit.
For the embodiment of the present invention, described first server according to preset encryption rule, can be encrypted described data acquisition instruction after receiving the described data acquisition instruction of client transmission; Then the data acquisition instruction after encryption is sent to web camera, last described web camera obtains data according to described data acquisition signaling and transmits data.Wherein, preset encryption rule can be arranged according to the actual demand of user, and also can arrange according to the default mode of system, the embodiment of the present invention does not limit.
Wherein, preset encryption rule can be the rule that is encrypted by preset cryptographic algorithm, and preset cryptographic algorithm is specifically as follows rivest, shamir, adelman, also can symmetric encipherment algorithm, and the embodiment of the present invention does not limit.Rivest, shamir, adelman can be RSA Algorithm, DSA algorithm (Digital Signature Algorithm, DigitalSignatureAlgorithm), ECC (elliptic curve cryptosystem, EllipticCurveCryptosystem) algorithm, Diffie-Hellman algorithm, the embodiment of the present invention does not limit.Symmetric encipherment algorithm can be DES (data encryption standard, DataEncryptionStandard), 3DES, also can be AES (high-level data encryption standard, AdvancedEncryptionStandard) and Blowfish algorithm, the embodiment of the present invention does not limit.The encryption key that described cryptographic algorithm uses is the configuration of described first server.If described first server adopts rivest, shamir, adelman to be encrypted described data acquisition instruction, before described data acquisition instruction is encrypted, first public private key pair is obtained, then generate encryption key by described public-key cryptography to be encrypted described data acquisition instruction, thus after web camera receives described data acquisition instruction, can be decrypted described data acquisition instruction according to private cipher key generating solution decryption key.After described data acquisition instruction being encrypted by first server, described data acquisition instruction is sent again to web camera, the fail safe of the data acquisition instruction transmitted between client and IP Camera can be improved, decrease the potential safety hazard existed in the described data acquisition instruction of transmission.
For the embodiment of the present invention, the data acquisition instruction after encryption can be sent to web camera by signal server by described first server.Particularly, data acquisition instruction after encryption is sent to signal server by first server, then, described data acquisition instruction transformation is the data acquisition signaling that described web camera can identify by signal server, and is encrypted data acquisition signaling according to above-mentioned preset encryption rule.Finally, the data acquisition signaling after encryption is sent to the webserver.
For the embodiment of the present invention, step 201 is specifically as follows: send described data acquisition instruction by HTTPS (hypertext Encryption Transmission Protocol, HyperTextTransferProtocoloverSecureSocketLayer) to described first server.Wherein, described HTTPS take safety as the HTTP passage (HyperTextTransferProtocol of target, HTML (Hypertext Markup Language)), it is the safe version of HTTP, namely SSL (SecureSocketLayer, SSL) layer is added under HTTP, owing to have employed SSL in HTTPS, therefore send described data acquisition instruction by HTTPS to described first server, the fail safe of control signal transmitting procedure can be promoted further.
Further, when sending described data acquisition instruction by HTTPS to described first server, the strong verifying function of described HTTPS can be opened.Wherein, the strong verifying function of described HTTPS can, for the additional function configured when carrying out signalling by HTTPS, be may be used for protecting the safety of being carried out signalling by HTTPS.For the embodiment of the present invention, before by HTTPS described data acquisition instruction being sent to described web camera, open the strong verifying function of described HTTPS, the fail safe being carried out data acquisition command by HTTPS can be improved, decrease the potential safety hazard of transmission data acquisition instruction.
Particularly, when carrying out described data acquisition command by HTTPS, open the strong verifying function of described HTTPS, can when determining that the data of described data acquisition instruction exist potential safety hazard, the transmission of data acquisition instruction described in force termination, if do not open the strong verifying function of described HTTPS, when open be the weak verifying function of described HTTPS time, data acquisition command is being carried out by HTTPS, when determining that the data of described data acquisition instruction exist potential safety hazard, the information about potential safety hazard can be exported, user can according to the described information about potential safety hazard, whether stop the operation of described data acquisition command, but while determining that the data of described data acquisition instruction exist potential safety hazard, the transmission of data acquisition instruction can be proceeded, and then the fail safe of data acquisition command can be reduced.
For the embodiment of the present invention, the mode directly sending data acquisition instruction to first server can be: by being connected with the length that described first server is set up the data acquisition instruction sending described encryption to described first server.
Wherein, described long connection is that one first establishes a communications link, and does not disconnect after connection establishment, then can repeat the connected mode that message sends and receives.By setting up long connection with described first server, the promptness of data acquisition command can be ensured and increase the disposal ability of data acquisition command mistake.
202, the response success message that the described data acquisition instruction of described first server forwarding is corresponding is judged whether to receive.
Wherein, described response success message is that described web camera sends when getting described data acquisition instruction.Described response success message is for notifying that web camera described in client connects with described second server, described response success message can be acoustic frequency response success message, text response success message, video response success message, and the embodiment of the present invention does not limit.Described response success message is sent to first server by web camera, then described response success message is transmitted to client by first server, can ensure client in time and second server connect and obtain data, thus when web camera can be avoided normally not export data, client and second server carry out unnecessary connection.
If 203 receive response success message corresponding to described data acquisition instruction that described first server forwards, then connect with described second server.
For the embodiment of the present invention, connecting with described second server is the video data obtained for transmission network video camera, for ensureing the transmission speed of video data, the large requirement of volume of transmitted data to be met with the transmission channel after described second server connects, therefore, the long connection that usual employing volume of transmitted data is larger, now, step 203 is specifically as follows: if the response success message that the described data acquisition instruction receiving the forwarding of described first server is corresponding, then set up long connection with described second server.By setting up long connection with described second server, the requirement that volume of transmitted data is large can be met, the promptness of transfer of data can be ensured simultaneously and increase the disposal ability of data transmission fault.
204, the data of described web camera output are obtained from described second server.
For the embodiment of the present invention, step 204 is specifically as follows: the data obtaining the described web camera output after being encrypted by presetting rule from described second server.Described second server is after the data receiving the output of described web camera, first, according to described presetting rule, the data that described web camera exports are encrypted, thus client can obtain the data that the described web camera after being encrypted by presetting rule is exported.Wherein, presetting rule can be arranged according to the actual demand of user, and also can arrange according to the default mode of system, the embodiment of the present invention does not limit.Such as, the data that web camera exports can divide according to preset division rule by second server, are divided into multiple data cell, are then encrypted respectively described multiple video data unit by preset encryption rule.Wherein, preset division rule can be arranged according to the actual demand of user, and also can arrange according to the default mode of system, the embodiment of the present invention does not limit.Such as can divide according to the carrying out of the sequence number of data.Preset encryption rule can be arranged according to the actual demand of user, and also can arrange according to the default mode of system, the embodiment of the present invention does not limit.Such as, preset encryption rule can be the rule that is encrypted by preset cryptographic algorithm, and preset cryptographic algorithm is specifically as follows rivest, shamir, adelman, also can symmetric encipherment algorithm, and the embodiment of the present invention does not limit.
Particularly, if the data that web camera exports are video data, video data can be divided into multiple video requency frame data; According to the sequence of positions at the described multiple video requency frame data place in described video data of preset ordering rule adjustment, wherein, preset ordering rule can be arranged according to the actual demand of user, also can arrange according to the default mode of system, such as, preset ordering rule can be randomly ordered rule; Then, the original sequence number of each video requency frame data is obtained; According to the described private key of preset symmetric cryptography rule and the original sequence number of each video requency frame data described, generate the encryption key corresponding respectively with each video requency frame data described respectively, finally corresponding respectively according to each video requency frame data described encryption key is encrypted described multiple video requency frame data.For the embodiment of the present invention, be encrypted by after Data Placement that described web camera is exported, can while the fail safe ensureing transfer of data, extra data are produced after can avoiding data encryption, thus the Internet resources of process shared by excessive data can be reduced, and the cpu resource shared by excessive data.
For the embodiment of the present invention, concrete application scenarios can be as follows, but be not limited thereto, comprise: when the user holding web camera A click or web camera icon in striking customer end B time, customer end B sends data acquisition instruction to service server.After service server receives described data acquisition instruction, can be encrypted described data acquisition instruction by RSA cryptographic algorithms; Then the data acquisition instruction after encryption is sent to signal server, then, described data acquisition instruction transformation is the data acquisition signaling that described web camera can identify by signal server, and is encrypted data acquisition signaling by AES encryption algorithm.Finally, the data acquisition signaling after encryption is sent to the webserver.After described data acquisition instruction being encrypted by service server, described data acquisition instruction is sent again to web camera, the fail safe of the data acquisition instruction transmitted between client and IP Camera can be improved, decrease the potential safety hazard existed in the described data acquisition instruction of transmission.
After web camera A receives the data acquisition signaling after encryption, by private key generating solution decryption key, data acquisition signaling is decrypted; Then according to the data acquisition signaling after deciphering, video data is obtained; Simultaneously, IP address request is sent to Relay Server, then, the IP address of Relay Server is obtained the response message that the described IP address request returned from described Relay Server is corresponding, according to the IP address of described Relay Server, set up long to be connected and to described Relay Server transmitting video data with described Relay Server.Described Relay Server is after the video data receiving the output of described web camera, first, the video data that web camera exports is divided according to preset division rule, be divided into multiple video requency frame data, then by des encryption algorithm, described multiple video requency frame data be encrypted respectively.Be encrypted after being divided by the video data that described web camera is exported, can while the fail safe ensureing video data transmission, extra data are produced after video data can be avoided to encrypt, thus the Internet resources of process shared by excessive data can be reduced, and the cpu resource shared by excessive data.
After web camera A obtains described video data, return response success message to service server, the described response success message that returns is sent to customer end B by service server.After returning response success message described in customer end B receives, connecting with described Relay Server, when connecting successfully with described Relay Server, receiving the video data that web camera A is transmitted by described Relay Server.By described response success message is transmitted to client, can ensure client in time and second server connect and obtain video data, thus when web camera can be avoided not have normal output video data, client and second server carry out unnecessary connection.With at present only undertaken compared with the transmission of data acquisition instruction and data by Relay Server, the embodiment of the present invention, carry out the transmission of data acquisition instruction by service server and carried out the transmission of data by Relay Server, avoid the transmission being carried out data acquisition instruction and data by a transmission channel, thus data acquisition instruction can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
The another kind of data transmission method that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Embodiments provide another data transmission method, can be applied to web camera, as shown in Figure 3, described method comprises:
301, the data acquisition instruction that first server sends is received.
Wherein, described data acquisition instruction is used to indicate web camera to client transmissions data.Described first server is service server.The concept of described service server and explaining in the detailed elaboration of step 101, does not repeat them here.Described client can be installed on the terminal device, terminal equipment can be mobile phone, also can for panel computer, the embodiment of the present invention does not limit.The operating system of the terminal equipment that client is corresponding can be Android system, and can be also apple iOS system, the embodiment of the present invention limit.
302, connect with second server.
Wherein, described second server is Relay Server, also can be called video stream server, sends to the data of client at the internet repeating web camera that web camera is corresponding, thus the load of web camera master server can be alleviated, improve the response speed of master server.
303, described data are sent to described second server.
Wherein, described data are used for being undertaken obtaining and exporting by described client.Described data can be the data of web camera Real-time Collection, and the data in the preset time period that also can gather for web camera, the embodiment of the present invention does not limit.
For the embodiment of the present invention, step 303 is specifically as follows: web camera sends the data in the preset time period of real time data or the web camera collection gathered to described second server.Data in the real time data gathered by transmission or preset time period, can be realized client and export data in transmission random time section, thus can promote the experience of user.
Another data transmission method that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Embodiments provide another data transmission method, can be applied to web camera, as shown in Figure 4, described method comprises:
401, the data acquisition instruction that first server sends is received.
Wherein, described data acquisition instruction is used to indicate web camera to client transmissions data.Described first server is service server, and described second server is Relay Server.The concept of described service server and Relay Server and explaining in the detailed elaboration of step 101, does not repeat them here.
For the embodiment of the present invention, step 401 is specifically as follows: receive the data acquisition instruction that described first server is sent by HTTPS.Wherein, described HTTPS take safety as the HTTP passage of target, is the safe version of HTTP, namely adds SSL layer under HTTP.Therefore send described data acquisition instruction by HTTPS to described first server owing to have employed SS in HTTPS, the safety of control signal transmitting procedure can be promoted further
For the embodiment of the present invention, step 401 can also be specifically: receive described first server by HTTPS send according to presetting rule encryption after data acquisition instruction.
For the embodiment of the present invention, step 401 can also be specifically: be connected by setting up length with described first server the data acquisition instruction receiving described first server and send.For the embodiment of the present invention, by setting up long connection with described first server, the promptness of data acquisition command can be ensured and increase the disposal ability of data acquisition command mistake.
402, long connection is set up with second server.
For the embodiment of the present invention, by setting up long connection with described second server, the requirement that volume of transmitted data is large can be met, the promptness of transfer of data can be ensured simultaneously and increase the disposal ability of data transmission fault.
403, long connection response success message corresponding to described data acquisition instruction is sent to described first server by setting up with described first server.
Wherein, described response success message judges whether to connect with described second server for described client.Wherein, described response success message is that described web camera sends when getting described data.Described response success message is for notifying that web camera described in client connects with described second server.
For the embodiment of the present invention, by sending described response success message to described first server, can ensure client in time and second server connect and obtain data, thus when web camera can be avoided normally not export data, client and second server carry out unnecessary connection.In addition, by setting up long connection with described first server, the promptness of described response success transmission of messages can be ensured.
For the embodiment of the present invention, step 403 is specifically as follows: the response success message that the described data acquisition instruction sent to described first server by HTTPS is corresponding.For the embodiment of the present invention, by sending described response success message to described first server, the fail safe of described response success message transmitting procedure can be ensured.
404, described data are sent to described second server.
Wherein, described data export for described client.Wherein, described data export for described client.Described data can be the data of web camera Real-time Collection, and the data in the preset time period that also can gather for web camera, the embodiment of the present invention does not limit.
Another data transmission method that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Further, as the specific implementation of method described in Fig. 1, embodiments provide a kind of client, as shown in Figure 5, described client comprises: transmitting element 51, sets up unit 52, acquiring unit 53.
Transmitting element 51, may be used for sending data acquisition instruction to first server.
Further, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data.
Set up unit 52, may be used for connecting with described second server.
Acquiring unit 53, may be used for the data obtaining the output of described web camera from described second server.
It should be noted that, other corresponding descriptions of each functional unit involved by a kind of client that the embodiment of the present invention provides, the correspondence in reference diagram 1 can describe, do not repeat them here.
A kind of client that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Further, as the specific implementation of method described in Fig. 2, embodiments provide a kind of client, as shown in Figure 6, described client comprises: transmitting element 61, sets up unit 62, acquiring unit 63.
Transmitting element 61, may be used for sending data acquisition instruction to first server.
Further, described data acquisition instruction can make described first server indication network video camera and second server connect, and described data acquisition instruction is used to indicate described web camera transmission data.
Set up unit 62, may be used for connecting with described second server.
Acquiring unit 63, may be used for the data obtaining the output of described web camera from described second server.
Described client also comprises: judging unit 64.
Described judging unit 64, may be used for judging whether receiving the response success message that described data acquisition instruction that described first server forwards is corresponding, and described response success message is that described web camera sends when getting described data acquisition instruction.
Describedly set up unit 62, receive the response success message that described data acquisition instruction that described first server forwards is corresponding if specifically may be used for, then connect with described second server.
Described transmitting element 61, specifically may be used for sending described data acquisition instruction by HTTPS to described first server.
Described acquiring unit 63, specifically may be used for the data obtaining the described web camera output after according to presetting rule encryption from described second server.
Describedly set up unit 62, specifically can also be used for setting up long connection with described second server.
Described transmitting element 61, specifically can also be used for long connection sending data acquisition instruction to described first server by setting up with described first server.
Wherein, described first server is service server, and described second server is Relay Server.
It should be noted that, other corresponding descriptions of each functional unit involved by the another kind of client that the embodiment of the present invention provides, the correspondence in reference diagram 2 can describe, do not repeat them here.
Another client that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Further, as the specific implementation of method described in Fig. 3, embodiments provide a kind of web camera, as shown in Figure 7, described web camera comprises: receiving element 71, sets up unit 72, transmitting element 73.
Receiving element 71, may be used for the data acquisition instruction receiving first server transmission, and described data acquisition instruction is used to indicate web camera transmission data.
Set up unit 72, may be used for connecting with second server.
Transmitting element 73, may be used for sending described data to described second server, and described data are used for being undertaken obtaining and exporting by described client.
It should be noted that, other corresponding descriptions of each functional unit involved by a kind of web camera that the embodiment of the present invention provides, the correspondence in reference diagram 3 can describe, do not repeat them here.
A kind of web camera that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Further, as the specific implementation of method described in Fig. 4, embodiments provide another kind of web camera, as shown in Figure 8, described web camera comprises: receiving element 81, sets up unit 82, transmitting element 83.
Receiving element 81, may be used for the data acquisition instruction receiving first server transmission, and described data acquisition instruction is used to indicate web camera transmission data.
Set up unit 82, may be used for connecting with second server and obtaining data.
Transmitting element 83, may be used for sending described data to described second server, and described data are used for being undertaken obtaining and exporting by described client.
Described receiving element 81, specifically may be used for receiving the data acquisition instruction that described first server is sent by HTTPS.
Described receiving element 81, specifically can also be used for receiving described first server by HTTPS send according to the data acquisition instruction after presetting rule encryption.
Described transmitting element 83, can also be used for long connection sending response success message corresponding to described data acquisition instruction to described first server by setting up with described first server, described response success message judges whether to connect with described second server for described client.
Described transmitting element 83, the response success message that the described data acquisition instruction that specifically may be used for being sent to described first server by HTTPS is corresponding.
Describedly set up unit 83, specifically may be used for setting up long connection with described second server.
Described receiving element 81, specifically can also be used for long connection receiving described first server by setting up with described first server and passing through to set up to grow and connect the data acquisition instruction sent.
Wherein, described first server is service server, and described second server is Relay Server.
It should be noted that, other corresponding descriptions of each functional unit involved by the another kind of web camera that the embodiment of the present invention provides, the correspondence in reference diagram 4 can describe, do not repeat them here.
The another kind of web camera that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
Further, embodiments provide a kind of data transmission system, as shown in Figure 9, described system comprises: client 91, service server 92, web camera 93, Relay Server 94.
Client 91, may be used for sending data acquisition instruction to service server 92.
Service server 92, may be used for sending described data acquisition instruction to web camera 93.
Web camera 93, may be used for connecting with Relay Server 94 and sending data to described Relay Server 94.
Described service server 92, can also be used for receiving response success message corresponding to described data acquisition instruction that described web camera 93 sends and response success message corresponding to the described data acquisition instruction sent to described client 91.
Described Relay Server 94, can also be used for connecting with described client 91 and sending described data to described client 91.
For the embodiment of the present invention, can also signal server be increased in above-mentioned data transmission system, now, can be as shown in Figure 10, described system comprises: client 1001, service server 1002, signal server 1003, web camera 1004, Relay Server 1005.
Client 1001, may be used for sending data acquisition instruction to service server 1002.
Service server 1002, may be used for sending described data acquisition instruction to signal server 1003.
Signal server 1003, may be used for sending described data acquisition signaling to web camera 1004.
Web camera 1004, may be used for connecting with Relay Server 1005 and sending data to described Relay Server 1005.
Described service server 1002, can also be used for receiving response success message corresponding to described data acquisition instruction that described web camera 1004 sends and response success message corresponding to the described data acquisition instruction sent to described signal server 1003.
Described signal server 1003, the response success message that the described data acquisition instruction that can also be used for sending to described client 1001 is corresponding.
Described Relay Server 1005, can also be used for connecting with described client 1001 and sending described data to described client 1001.
The data transmission system that the embodiment of the present invention provides, first, control command is sent to first server by client, by described first server, described control command is transmitted to web camera; Then, described web camera and second server connect and send data to described second server; Finally, described client and described second server connect and receive the data that described web camera exported by described second server.The data that the control command sent to web camera with current client and web camera send to client are undertaken by same transmission channel compared with transmission, the control command that the embodiment of the present invention is sent to web camera by first server forwarding client, and by the data that second server transmission network video camera sends to client, the control command that client sends to web camera can be realized transmitted by different transmission channels from the data that web camera sends to client, thus control command can be avoided to there is the situation of bust this, and then can ensure that the normal net control video camera of client carries out the operations such as transfer of data.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in data transmission method, web camera, client and the data transmission system that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " or " comprising " is not got rid of existence and do not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of data transmission method, be applied to a client, comprise:
Send data acquisition instruction to first server, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data;
Connect with described second server;
The data of described web camera output are obtained from described second server.
A2, method as described in A1, before the step that described and described second server connects, described method comprises further:
Judge whether to receive the response success message that described data acquisition instruction that described first server forwards is corresponding, described response success message is that described web camera sends when getting described data acquisition instruction;
The step that described and described second server connects comprises further:
If receive the response success message that the described data acquisition instruction of described first server forwarding is corresponding, then connect with described second server.
A3, method as described in A1, the described step sending data acquisition instruction to first server comprises further:
Described data acquisition instruction is sent to described first server by hypertext Encryption Transmission Protocol HTTPS.
A4, method as described in A1, the described step obtaining the data that described web camera exports from described second server comprises further:
The data of the described web camera output after according to presetting rule encryption are obtained from described second server.
A5, method as described in A1, the step that described and described second server connects comprises further:
Long connection is set up with described second server.
A6, method as described in A1, the described step sending data acquisition instruction to first server comprises further:
Long connection data acquisition instruction is sent to described first server by setting up with described first server.
A7, method as described in any one of A1-A6, described first server is service server, and described second server is Relay Server.
The invention discloses B8, a kind of data transmission method, be applied to a web camera, comprise:
Receive the data acquisition instruction that first server sends, described data acquisition instruction is used to indicate described web camera transmission data;
Connect with second server;
Send described data to described second server, described data are used for being undertaken obtaining and exporting by client.
B9, method as described in B8, the step of the data acquisition instruction that described reception first server sends comprises further:
Receive the data acquisition instruction that described first server is sent by hypertext Encryption Transmission Protocol HTTPS.
B10, method as described in B9, the described first server of described reception is comprised further by the step of the data acquisition instruction that hypertext Encryption Transmission Protocol HTTPS sends:
Receive described first server by HTTPS send according to presetting rule encryption after data acquisition instruction.
B11, method as described in B9, describedly connect with second server and after obtaining the step of data, also comprise:
Long connection send response success message corresponding to described data acquisition instruction to described first server by setting up with described first server, described response success message is used for described client and judges whether to connect with described second server.
B12, method as described in B11, the step of the response success message that the described described data acquisition instruction sent to described first server is corresponding comprises further:
Response success message corresponding to described data acquisition instruction is sent to described first server by HTTPS.
B13, method as described in any one of B8-B12, the step that described and described second server connects comprises further:
Long connection is set up with described second server.
B14, method as described in B8, the step of the data acquisition instruction that described reception first server sends comprises further:
The data acquisition instruction receiving described first server and send is connected by setting up length with described first server.
B15, method as described in any one of B8-B14, described first server is service server, and described second server is Relay Server.
The invention discloses C16, a kind of client, comprising:
Transmitting element, for sending data acquisition instruction to first server, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data;
Set up unit, for connecting with described second server;
Acquiring unit, for obtaining the data that described web camera exports from described second server.
C17, client as described in C16, described client comprises further: judging unit,
Described judging unit, for judging whether to receive response success message corresponding to described data acquisition instruction that described first server forwards, described response success message is that described web camera sends when getting described data acquisition instruction;
Describedly set up unit, if specifically for receiving response success message corresponding to described data acquisition instruction that described first server forwards, then connect with described second server.
C18, client as described in C16,
Described transmitting element, specifically for sending described data acquisition instruction by hypertext Encryption Transmission Protocol HTTPS to described first server.
C19, client as described in C16,
Described acquiring unit, specifically for obtaining the data that the described web camera after according to presetting rule encryption exports from described second server.
C20, client as described in C16,
Describedly set up unit, specifically also for setting up long connection with described second server.
C21, client as described in C16,
Described transmitting element, specifically also for long connection sending data acquisition instruction to described first server by setting up with described first server.
C22, client as described in any one of C16-C21, described first server is service server, and described second server is Relay Server.
The invention discloses D23, a kind of web camera, comprising:
Receiving element, for receiving the data acquisition instruction that first server sends, described data acquisition instruction is used to indicate web camera transmission data;
Set up unit, for connecting with second server;
Transmitting element, for sending described data to described second server, described data are used for being undertaken obtaining and exporting by described client.
D24, web camera as described in D23,
Described receiving element, specifically for receiving the data acquisition instruction that described first server is sent by hypertext Encryption Transmission Protocol HTTPS.
D25, web camera as described in D23,
Described receiving element, specifically also for receive described first server by HTTPS send according to presetting rule encryption after data acquisition instruction.
D26, web camera as described in D23,
Described transmitting element, also for long connection sending response success message corresponding to described data acquisition instruction to described first server by setting up with described first server, described response success message is used for described client and judges whether to connect with described second server.
D27, web camera as described in D26,
Described transmitting element, the response success message that the described data acquisition instruction specifically for being sent to described first server by HTTPS is corresponding.
D28, web camera as described in D23,
Describedly set up unit, specifically for setting up long connection with described second server.
D29, web camera as described in D23,
Described receiving element, specifically also for long connection receiving described first server by setting up with described first server and pass through to set up to grow and connect the data acquisition instruction sent.
D30, web camera as described in any one of D23-D29, described first server is service server, and described second server is Relay Server.
The invention discloses E31, a kind of data transmission system, comprising: the client as described in C16-C22, the web camera as described in D23-D29, service server, Relay Server,
Described service server, for receiving the data acquisition instruction of described client transmission and sending described data acquisition instruction to described web camera;
Described Relay Server, for connecting with described web camera and receiving the data that described web camera sends;
Described service server, also for receiving response success message corresponding to described data acquisition instruction that described web camera sends and response success message corresponding to the described data acquisition instruction sent to described client;
Described Relay Server, also for connecting with described client and sending described data to described client.

Claims (10)

1. a data transmission method, is applied to a client, it is characterized in that, comprising:
Send data acquisition instruction to first server, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data;
Connect with described second server;
The data of described web camera output are obtained from described second server.
2. data transmission method according to claim 1, is characterized in that, before the step that described and described second server connects, described method comprises further:
Judge whether to receive the response success message that described data acquisition instruction that described first server forwards is corresponding, described response success message is that described web camera sends when getting described data acquisition instruction;
The step that described and described second server connects comprises further:
If receive the response success message that the described data acquisition instruction of described first server forwarding is corresponding, then connect with described second server.
3. a data transmission method, is applied to a web camera, it is characterized in that, comprising:
Receive the data acquisition instruction that first server sends, described data acquisition instruction is used to indicate described web camera transmission data;
Connect with second server;
Send described data to described second server, described data are used for being undertaken obtaining and exporting by client.
4. data transmission method according to claim 3, is characterized in that, the step of the data acquisition instruction that described reception first server sends comprises further:
Receive the data acquisition instruction that described first server is sent by hypertext Encryption Transmission Protocol HTTPS.
5. a client, is characterized in that, comprising:
Transmitting element, for sending data acquisition instruction to first server, to make described first server indication network video camera and second server connect, described data acquisition instruction is used to indicate described web camera transmission data;
Set up unit, for connecting with described second server;
Acquiring unit, for obtaining the data that described web camera exports from described second server.
6. client according to claim 5, is characterized in that, described client comprises further: judging unit,
Described judging unit, for judging whether to receive response success message corresponding to described data acquisition instruction that described first server forwards, described response success message is that described web camera sends when getting described data acquisition instruction;
Describedly set up unit, if specifically for receiving response success message corresponding to described data acquisition instruction that described first server forwards, then connect with described second server.
7. a web camera, is characterized in that, comprising:
Receiving element, for receiving the data acquisition instruction that first server sends, described data acquisition instruction is used to indicate web camera transmission data;
Set up unit, for connecting with second server;
Transmitting element, for sending described data to described second server, described data are used for being undertaken obtaining and exporting by described client.
8. web camera according to claim 7, is characterized in that,
Described receiving element, specifically for receiving the data acquisition instruction that described first server is sent by hypertext Encryption Transmission Protocol HTTPS.
9. the web camera according to any one of claim 7-8, is characterized in that, described first server is service server, and described second server is Relay Server.
10. a data transmission system, is characterized in that, comprising: the client described in claim 5-6, the web camera described in claim 7-9, service server, Relay Server,
Described service server, for receiving the data acquisition instruction of described client transmission and sending described data acquisition instruction to described web camera;
Described Relay Server, for connecting with described web camera and receiving the data that described web camera sends;
Described service server, also for receiving response success message corresponding to described data acquisition instruction that described web camera sends and response success message corresponding to the described data acquisition instruction sent to described client;
Described Relay Server, also for connecting with described client and sending described data to described client.
CN201510583844.8A 2015-09-14 2015-09-14 A kind of data transmission method, apparatus and system Active CN105187796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510583844.8A CN105187796B (en) 2015-09-14 2015-09-14 A kind of data transmission method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510583844.8A CN105187796B (en) 2015-09-14 2015-09-14 A kind of data transmission method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105187796A true CN105187796A (en) 2015-12-23
CN105187796B CN105187796B (en) 2019-06-21

Family

ID=54909619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510583844.8A Active CN105187796B (en) 2015-09-14 2015-09-14 A kind of data transmission method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105187796B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191122A (en) * 2018-08-10 2019-01-11 中国银行股份有限公司 A kind of method and device obtaining Transaction Information voucher
CN110191322A (en) * 2019-06-05 2019-08-30 重庆两江新区管理委员会 A kind of video monitoring method and system of shared early warning
CN112217862A (en) * 2020-09-03 2021-01-12 视联动力信息技术股份有限公司 Data communication method, device, terminal equipment and storage medium
CN113365025A (en) * 2021-05-08 2021-09-07 山西三友和智慧信息技术股份有限公司 Big data-based smart campus security management platform
CN114286054A (en) * 2021-12-27 2022-04-05 苏州万店掌网络科技有限公司 Remote debugging method, system, equipment and storage medium for network camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198034A (en) * 2007-12-29 2008-06-11 北京航空航天大学 Network video monitoring system and its data exchanging method
CN102014122A (en) * 2010-09-10 2011-04-13 上海复控华龙微系统技术有限公司 IP Camera service system of point-to-point protocol based on two-way safety authentication
CN201805504U (en) * 2010-04-09 2011-04-20 佛山市智邦电子科技有限公司 Remote audio-video monitoring system
US20120169874A1 (en) * 2011-01-04 2012-07-05 Calgary Scientific Inc. Method and system for providing remote control from a remote client computer
CN104065922A (en) * 2014-06-20 2014-09-24 西安诺瓦电子科技有限公司 LED display screen terminal monitoring and control system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198034A (en) * 2007-12-29 2008-06-11 北京航空航天大学 Network video monitoring system and its data exchanging method
CN201805504U (en) * 2010-04-09 2011-04-20 佛山市智邦电子科技有限公司 Remote audio-video monitoring system
CN102014122A (en) * 2010-09-10 2011-04-13 上海复控华龙微系统技术有限公司 IP Camera service system of point-to-point protocol based on two-way safety authentication
US20120169874A1 (en) * 2011-01-04 2012-07-05 Calgary Scientific Inc. Method and system for providing remote control from a remote client computer
CN104065922A (en) * 2014-06-20 2014-09-24 西安诺瓦电子科技有限公司 LED display screen terminal monitoring and control system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191122A (en) * 2018-08-10 2019-01-11 中国银行股份有限公司 A kind of method and device obtaining Transaction Information voucher
CN110191322A (en) * 2019-06-05 2019-08-30 重庆两江新区管理委员会 A kind of video monitoring method and system of shared early warning
CN112217862A (en) * 2020-09-03 2021-01-12 视联动力信息技术股份有限公司 Data communication method, device, terminal equipment and storage medium
CN113365025A (en) * 2021-05-08 2021-09-07 山西三友和智慧信息技术股份有限公司 Big data-based smart campus security management platform
CN114286054A (en) * 2021-12-27 2022-04-05 苏州万店掌网络科技有限公司 Remote debugging method, system, equipment and storage medium for network camera
CN114286054B (en) * 2021-12-27 2023-10-27 苏州万店掌网络科技有限公司 Remote debugging method, system, equipment and storage medium for network camera

Also Published As

Publication number Publication date
CN105187796B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN105187796A (en) Data transmission method, device and system
CN109413060A (en) Message processing method, device, equipment and storage medium
CN104602238A (en) Wireless network connecting method, device and system
EP3242444A1 (en) Service processing method and device
CN105743917A (en) Message transmitting method and terminal
CN116566661A (en) Method, device, electronic equipment and storage medium for data security transmission
CN105119891A (en) Data interaction method, set top box and server
CN110048994A (en) A kind of communication means and device
CN112653671A (en) Network communication method, device, equipment and medium for client and server
CN112416396A (en) Application program updating method and system
CN110875901B (en) Information processing method and device and clothes processing device
CN105262945A (en) Signaling transmission method and device
CN111741006B (en) Discrete acquisition gateway and implementation method thereof
CN111327634B (en) Website access supervision method, secure socket layer agent device, terminal and system
CN103036897A (en) Communication method based on long distance desktop connection between thin client-side and server-side
CN108898026A (en) Data ciphering method and device
CN110213346B (en) Encrypted information transmission method and device
CN114679265B (en) Flow acquisition method, device, electronic equipment and storage medium
CN113922976A (en) Equipment log transmission method and device, electronic equipment and storage medium
CN107343001B (en) Data processing method and device
CN108337083B (en) Method and device for generating secret key in automatic test process
CN113542231B (en) Communication method, electronic device, and storage medium
CN113642022B (en) E-mail processing method, device, system and storage medium
JP6491162B2 (en) Data transmission / reception method and sensing system
CN114125017B (en) Media information display method and device, storage medium and electronic equipment

Legal Events

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

Effective date of registration: 20220714

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right