Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to providing a data transmission method, apparatus, terminal device, and storage medium that overcome or at least partially solve the foregoing problems.
In a first aspect, an embodiment of the present invention provides a data transmission method, where the method is applied to a conference management server in a data security monitoring system, where the data security monitoring system further includes a third party video scheduling terminal and a monitoring access server, and the method includes:
Receiving a monitoring video watching request sent by a third-party video scheduling terminal, wherein the monitoring video watching request comprises a video network terminal number and a terminal number of a non-master virtual terminal;
sending the monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal so that the monitoring access server sends encrypted monitoring video data to a video networking terminal corresponding to the video networking terminal number, wherein the encrypted monitoring video data corresponds to the terminal number of the non-master virtual terminal and is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance;
acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal;
and sending the public key of the non-master virtual terminal to the video network terminal corresponding to the video network terminal number, so that the video network terminal decrypts the encrypted monitoring video data through the public key of the non-master virtual terminal.
Optionally, an internet-of-view encryption device is installed in the monitoring access server, a primary virtual terminal and the non-primary virtual terminal are configured on the monitoring access server, the primary virtual terminal is used for managing the non-primary virtual terminal, the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-primary virtual terminal in advance, and the method includes:
The monitoring access server receives the monitoring video data sent by the monitoring equipment corresponding to the non-master virtual terminal through the non-master virtual terminal;
and the monitoring access server encrypts the monitoring video data through the private key of the non-master virtual terminal in the video networking encryption equipment.
Optionally, the data security monitoring system further includes a network device management server and a data security server, and before receiving the monitoring video watching request sent by the third-party video scheduling terminal, the method further includes:
the network equipment management server receives a first authentication request of the master virtual terminal sent by the monitoring access server, wherein the first authentication request comprises equipment information of the master virtual terminal, and the equipment information of the master virtual terminal at least comprises a terminal number of the master virtual terminal;
the network equipment management server matches terminal numbers in the equipment information of the main virtual terminal according to a pre-established equipment information table;
if the terminal number of the master virtual terminal is matched with the terminal number of the preset master virtual terminal in the pre-established device information table, the network device management server sends the device information of the master virtual terminal to the data security server so that the data security server generates a key pair of the master virtual terminal, wherein the key pair of the master virtual terminal comprises a public key of the master virtual terminal and a private key of the master virtual terminal.
Optionally, the data security server generates a key pair of the master virtual terminal, including:
the data security server generates a key pair of the main virtual terminal by adopting an SM4 grouping algorithm according to the terminal number and the root key of the main virtual terminal;
the data security server stores the terminal number of the main virtual terminal and the public key of the corresponding main virtual terminal in a database of the data security server;
and the data security server sends the private key of the master virtual terminal to the video networking encryption equipment in the monitoring access server through the network equipment management server.
Optionally, after the request for the first authentication by the network device management server passes, the method further includes:
the network equipment management server receives a second authentication request sent by the non-master virtual terminal and sent by the monitoring access server, wherein the second authentication request comprises equipment information of the non-master virtual terminal and a private key of the master virtual terminal, and the equipment information of the non-master virtual terminal comprises a terminal number of the non-master virtual terminal and monitoring equipment information corresponding to the non-master virtual terminal;
The network equipment management server matches terminal numbers in the equipment information of the non-master virtual terminal according to a pre-established equipment information table;
if the private key of the primary virtual terminal exists in the pre-established device information table and the terminal number of the non-primary virtual terminal is matched with the terminal number of the preset virtual terminal in the pre-established device information table, the network device management server sends the device information of the non-primary virtual terminal and the private key of the primary virtual terminal to the data security server so that the data security server generates a key pair of the non-primary virtual terminal, wherein the key pair of the non-primary virtual terminal comprises a public key of the non-primary virtual terminal and a private key of the non-primary virtual terminal.
Optionally, the data security server generates a key pair of the non-master virtual terminal, including:
the data security server generates a key pair of the non-master virtual terminal by adopting an SM4 grouping algorithm according to the terminal number of the master virtual terminal, the terminal number of the non-master virtual terminal, the monitoring equipment information corresponding to the non-master virtual terminal and a root key;
The data security server stores the terminal number of the non-master virtual terminal and the public key of the corresponding non-master virtual terminal in a database of the data security server;
and the data security server sends the private key of the non-master virtual terminal to the video networking encryption equipment of the monitoring access server through the network equipment management server.
Optionally, the obtaining the public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal includes:
receiving an acquisition request of a public key sent by a viewing networking terminal, wherein the acquisition request comprises a terminal number of the non-master virtual terminal;
and acquiring a public key of the non-master virtual terminal corresponding to the terminal number of the non-master virtual terminal through the database of the data security server according to the terminal number of the non-master virtual terminal.
In a second aspect, an embodiment of the present invention provides a data transmission device, where the device is applied to a conference management server in a data security monitoring system, and the data security monitoring system further includes a third party video scheduling terminal and a monitoring access server, where the device includes:
The receiving module is used for receiving a monitoring video watching request sent by a third-party video scheduling terminal, wherein the monitoring video watching request comprises a video network terminal number and a terminal number of a non-master virtual terminal;
the monitoring video data acquisition module is used for sending the monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal so that the monitoring access server sends encrypted monitoring video data to a video networking terminal corresponding to the video networking terminal number, wherein the encrypted monitoring video data corresponds to the terminal number of the non-master virtual terminal and is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance;
a public key obtaining module, configured to obtain a public key of a non-primary virtual terminal corresponding to the private key of the non-primary virtual terminal;
and the decryption module is used for sending the public key of the non-master virtual terminal to the video network terminal corresponding to the video network terminal number so that the video network terminal decrypts the encrypted monitoring video data through the public key of the non-master virtual terminal.
Optionally, an internet-of-view encryption device is installed in the monitoring access server, a primary virtual terminal and the non-primary virtual terminal are configured on the monitoring access server, the primary virtual terminal is used for managing the non-primary virtual terminal, the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-primary virtual terminal in advance, and the method includes:
the monitoring access server receives the monitoring video data sent by the monitoring equipment corresponding to the non-master virtual terminal through the non-master virtual terminal;
and the monitoring access server encrypts the monitoring video data through the private key of the non-master virtual terminal in the video networking encryption equipment.
Optionally, the data security monitoring system further includes a network device management server and a data security server, and before executing the receiving module, the network device management server includes a first verification module, where the first verification module includes:
a first receiving unit, configured to receive a first authentication request of the primary virtual terminal sent by the monitoring access server, where the first authentication request includes device information of the primary virtual terminal, and the device information of the primary virtual terminal includes at least a terminal number of the primary virtual terminal;
A first matching unit, configured to match terminal numbers in the device information of the master virtual terminal according to a device information table that is established in advance;
and the first verification unit is used for sending the equipment information of the master virtual terminal to the data security server if the terminal number of the master virtual terminal is matched with the terminal number of the preset master virtual terminal in the pre-established equipment information table so as to enable the data security server to generate a key pair of the master virtual terminal, wherein the key pair of the master virtual terminal comprises a public key of the master virtual terminal and a private key of the master virtual terminal.
Optionally, the data security server includes a first key pair generation module, where the first key pair generation module is configured to:
generating a key pair of the master virtual terminal by adopting an SM4 grouping algorithm according to the terminal number and the root key of the master virtual terminal;
storing the terminal number of the main virtual terminal and the public key of the corresponding main virtual terminal in a database of a data security server;
and sending the private key of the master virtual terminal to the video networking encryption equipment in the monitoring access server through the network equipment management server.
Optionally, before executing the receiving module, the network device management server includes a second verification module, where the second verification module includes:
a second receiving unit, configured to receive a second authentication request sent by the non-primary virtual terminal and sent by the monitoring access server, where the second authentication request includes device information of the non-primary virtual terminal and a private key of the primary virtual terminal, and the device information of the non-primary virtual terminal includes a terminal number of the non-primary virtual terminal and the monitoring device information corresponding to the non-primary virtual terminal;
a second matching unit, configured to match terminal numbers in the device information of the non-master virtual terminal according to a device information table that is established in advance;
and the second verification unit is used for sending the equipment information of the non-master virtual terminal and the private key of the master virtual terminal to the data security server if the private key of the master virtual terminal exists in the pre-established equipment information table and the terminal number of the non-master virtual terminal is matched with the terminal number of the preset virtual terminal in the pre-established equipment information table, so that the data security server generates a key pair of the non-master virtual terminal, wherein the key pair of the non-master virtual terminal comprises the public key of the non-master virtual terminal and the private key of the non-master virtual terminal.
Optionally, the data security server includes a second key pair generation module, where the second key pair generation module is configured to:
generating a key pair of the non-master virtual terminal by adopting an SM4 grouping algorithm according to the terminal number of the master virtual terminal, the terminal number of the non-master virtual terminal, the monitoring equipment information corresponding to the non-master virtual terminal and the root key;
storing the terminal number of the non-master virtual terminal and the corresponding public key of the non-master virtual terminal in a database of a data security server;
and sending the private key of the non-master virtual terminal to the video networking encryption equipment of the monitoring access server through the network equipment management server.
Optionally, the public key obtaining module is configured to:
receiving an acquisition request of a public key sent by a viewing networking terminal, wherein the acquisition request comprises a terminal number of the non-master virtual terminal;
and acquiring a public key of the non-master virtual terminal corresponding to the terminal number of the non-master virtual terminal through the database of the data security server according to the terminal number of the non-master virtual terminal.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
The memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the data transmission method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having stored therein a computer program which, when executed, implements the data transmission method provided in the first aspect.
The embodiment of the invention has the following advantages:
the data transmission method, the data transmission device, the terminal equipment and the storage medium provided by the embodiment of the invention receive a monitoring video watching request sent by a third-party video scheduling terminal through a conference management server, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, and sending encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video network terminal corresponding to the video network terminal number, the video network terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The nouns are explained as follows:
visual networking: an Ethernet hardware-based real-time large-bandwidth transmission network is used for a special network for high-speed transmission of high-definition videos and special protocols.
Monitoring access service: the video network monitoring access service system is core equipment for accessing internet monitoring resources into the video network, and is an important tie of the video network in monitoring fusion application. The method supports access to monitoring front-end equipment, video monitoring systems and video monitoring networking platforms of different manufacturers, has low-delay video-audio protocol conversion capability, and realizes fusion, aggregation and real-time scheduling of monitoring resources in the video networking.
Data security service: the system adopts an independent key management system, and relies on the system to complete the whole process management (key generation, storage, distribution, downloading, use, backup, update, destruction and the like) of the whole life cycle of the main control key, the maintenance key and the service operation key used by the application system, the validity authentication of service transaction data and the like.
Confidentiality: the message is ensured not to be illegally leaked and spread, and unauthorized persons cannot access the message.
Symmetric encryption and decryption: encryption and decryption use the same key encryption mechanism.
Asymmetric encryption/decryption-asymmetric encryption algorithm requires two keys: public keys and private keys. The public key and the private key are a pair, and if the data is encrypted by the public key, the data can be decrypted only by the corresponding private key. Because two different keys are used for encryption and decryption, this algorithm is called asymmetric encryption and decryption.
SM4 cryptographic algorithm: the method is a grouping algorithm, the algorithm is designed and put in profile, the structure is characterized, and the method is safe and efficient. The data packet is 128 bits in length and the key is 128 bits in length. The encryption algorithm and the key expansion algorithm both adopt a 32-round iterative structure. The SM4 cryptographic algorithm performs data processing in units of bytes (8 bits) and bytes (32 bits). The SM4 cryptographic algorithm is a involution operation, so the decryption algorithm is the same as the encryption algorithm in structure, except that the round keys are used in reverse order, and the decryption round keys are in reverse order of the encryption round keys.
In the embodiment of the invention, the monitoring access service adopts the monitoring access server to execute the function, and the data security service adopts the data security server to execute the function.
An embodiment of the invention provides a data transmission method for encrypting a monitoring number and then transmitting the encrypted monitoring number. The execution body of the embodiment is a data transmission device and a conference management server arranged in the data security monitoring system.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a data transmission method of the present invention is shown, where the method may be applied to a conference management server in a data security monitoring system, where the data security monitoring system further includes a third party video scheduling terminal and a monitoring access server, and specifically may include the following steps:
s101, receiving a monitoring video watching request sent by a third-party video scheduling terminal, wherein the monitoring video watching request comprises a video network terminal number and a terminal number of a non-master virtual terminal;
specifically, scheduling software is installed in the third-party video scheduling terminal, a user can select a certain video network terminal to watch the monitoring video data of a certain monitoring device on the scheduling software, the third-party video scheduling terminal sends a monitoring video watching request to the conference management server, and the monitoring video watching request comprises the video network terminal number and the terminal number of a non-master virtual terminal corresponding to the monitoring device.
S102, sending the monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, so that the monitoring access server sends encrypted monitoring video data to a video network terminal corresponding to the video network terminal number, wherein the encrypted monitoring video data corresponds to the terminal number of the non-master virtual terminal and is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance;
specifically, the conference management server forwards the monitoring video watching request to the monitoring access server, and the monitoring access server searches the monitoring video data corresponding to the terminal number of the non-master virtual terminal according to the terminal number of the non-master virtual terminal, and the monitoring video data is encrypted by the monitoring access server by adopting a private key configured for the non-master virtual terminal in advance. And the monitoring access server sends the encrypted monitoring video data to the video network terminal corresponding to the video network terminal number.
S103, obtaining a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal;
and after the video network terminal receives the encrypted monitoring video data, sending a request for obtaining the public key to the conference management server, sending the request to the data security server by the conference management server, and sending the public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal to the conference management server by the data security server.
And S104, sending the public key of the non-master virtual terminal to the video network terminal corresponding to the video network terminal number, so that the video network terminal decrypts the encrypted monitoring video data through the public key of the non-master virtual terminal.
Specifically, the conference management server sends the public key of the non-master virtual terminal to the video networking terminal corresponding to the video networking terminal number, and the video networking terminal decrypts the encrypted monitoring video data according to the public key of the non-master virtual terminal, so that the security of data transmission is improved through asymmetric encryption and decryption.
According to the data transmission method provided by the embodiment of the invention, a conference management server receives a monitoring video watching request sent by a third-party video scheduling terminal, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, and sending encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video networking terminal corresponding to the video networking terminal number, the video networking terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved
A further embodiment of the present invention further provides a method according to the above embodiment.
FIG. 2 is a flowchart illustrating steps of another embodiment of a data transmission method of the present invention, as shown in FIG. 2, applied to a data security monitoring system, where the data security monitoring system includes a conference management server, a third party video scheduling terminal, a monitoring access server, a network device management server, and a data security server;
the monitoring access server is provided with a video network encryption device, a main virtual terminal and a non-main virtual terminal are configured on the monitoring access server, the main virtual terminal does not carry out monitoring video service and is used for managing the non-main virtual terminal, the non-main virtual terminal is used for receiving monitoring video data sent by the monitoring device, and the monitoring access server encrypts the monitoring video data through a private key in the video network encryption device.
The video network encryption equipment is connected with a data security server through a private key, and the data security server makes a public key and a private key through video network encryption equipment information and equipment information of the virtual terminal;
the data transmission method comprises the following steps:
step A: the network equipment management server firstly verifies the identity of the main virtual terminal, and specifically:
Receiving a request for monitoring first authentication of the master virtual terminal sent by an access server, wherein the request for first authentication comprises equipment information of the master virtual terminal;
the network equipment management server matches the terminal number in the equipment information of the main virtual terminal according to a pre-established equipment information table;
if the terminal number in the device information of the main virtual terminal is matched with the terminal number of the preset main virtual terminal in the pre-established device information table, the network device management server sends the device information of the main virtual terminal to the data security server;
and (B) step (B): the data security server generates a key pair of the main virtual terminal according to the equipment information of the main virtual terminal and the information of the video networking encryption equipment, and specifically, the data security server generates the key pair of the main virtual terminal by adopting an SM4 grouping algorithm according to the terminal number of the main virtual terminal, the information of the video networking encryption equipment and the root key; the key pair of the master virtual terminal comprises a public key of the master virtual terminal and a private key of the master virtual terminal;
the data security server stores the terminal number of the main virtual terminal and the public key of the corresponding main virtual terminal in a database of the data security server;
And the data security server sends the private key of the main virtual terminal to the video networking encryption equipment in the monitoring access server through the network equipment management server.
Step C: the network device management server firstly verifies the identity of the non-master virtual terminal, and specifically:
the network equipment management server receives a second authentication request sent by a non-master virtual terminal and sent by the monitoring access server, wherein the second authentication request comprises equipment information of the non-master virtual terminal and a private key of the master virtual terminal;
the network equipment management server matches the terminal number in the equipment information of the non-master virtual terminal according to a pre-established equipment information table;
if the private key of the master virtual terminal exists in the pre-established device information table and the terminal number in the device information of the non-master virtual terminal is matched with the device information of the pre-established virtual terminal in the pre-established device information table, the network device management server sends the device information of the non-master virtual terminal and the private key of the master virtual terminal to the data security server;
step D: the data security server generates a key pair of the non-master virtual terminal according to the equipment information of the non-master virtual terminal, the information of the video network encryption equipment and the private key of the master virtual terminal, and specifically, the data security server generates the key pair of the non-master virtual terminal by adopting an SM4 grouping algorithm according to the terminal number of the master virtual terminal, the terminal number of the non-master virtual terminal, the monitoring equipment information corresponding to the non-master virtual terminal, the information of the video network encryption equipment and the root key, wherein the key pair of the non-master virtual terminal comprises the public key of the non-master virtual terminal and the private key of the non-master virtual terminal.
The data security server stores the terminal number of the non-master virtual terminal and the public key of the corresponding non-master virtual terminal in a database of the data security server;
and the data security server sends the private key of the non-master virtual terminal to the video networking encryption equipment of the monitoring access server through the network equipment management server.
During actual data transmission, the data transmission, in particular,
step E: the conference management server receives a monitoring video watching request sent by a third-party video scheduling terminal, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal;
the third-party video scheduling terminal is pre-provided with scheduling software, such as pamil software. The user can select the monitoring video data of a certain monitoring device to be watched on the pamil software, and the third-party video scheduling terminal sends a monitoring video watching request through the scheduling software.
Step F: sending the monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, so that the monitoring access server sends encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number;
Specifically, the monitoring access server receives monitoring video data sent by monitoring equipment corresponding to a non-master virtual terminal through the non-master virtual terminal;
the monitoring access server encrypts the monitoring video data through a private key of a non-master virtual terminal in the video networking encryption equipment.
And after receiving the monitoring video watching request, sending the encrypted monitoring video data to the video network.
Step G: acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal;
specifically, the conference management server receives an acquisition request of a public key sent by a video networking terminal, wherein the acquisition request comprises a terminal number of a non-master virtual terminal;
the conference management server sends the acquisition request to a data security server, the data security server searches a public key of a non-master virtual terminal corresponding to the terminal number of the non-master virtual terminal through a pre-established database according to the terminal number of the non-master virtual terminal, wherein the pre-established database stores the corresponding relation between the terminal number of the virtual terminal and the public key, and sends the found public key of the non-master virtual terminal to the conference management server, and then the conference management server sends the public key to the video networking terminal.
Step H: and sending the public key of the non-master virtual terminal to the video network terminal corresponding to the video network terminal number, so that the video network terminal decrypts the encrypted monitoring video data through the public key of the non-master virtual terminal.
Specifically, the conference management server sends the public key to the video networking terminal corresponding to the video networking terminal number, and the video networking terminal decrypts the encrypted monitoring video data according to the non-master virtual terminal public key.
Specifically, the data transmission method as shown in fig. 2 includes:
(1) The monitoring access server sends a main virtual terminal identity verification request to the network equipment management server;
(2) The network equipment management server verifies the identity of the main virtual terminal, and if the verification is passed, the equipment information of the main virtual terminal is sent to the data security server;
(3) The data security server generates a main virtual terminal key pair comprising a public key and a private key, namely a signature key, sends the signature key to the network equipment management server, and stores the public key in a database;
(4) The network equipment management server sends the signature key of the main virtual terminal to the video networking encryption equipment of the monitoring access server;
(5) The monitoring access server sends a non-master virtual terminal identity verification request to the network equipment management server;
(6) The network equipment management server verifies the identity of the non-master virtual terminal, and if the verification is passed, the equipment information of the master virtual terminal and the signature key of the master virtual terminal are sent to the data security server;
(7) The data security server generates a non-master virtual terminal key pair comprising a public key and a private key, namely a signature key, sends the signature key to the network equipment management server, and stores the public key in a database;
(8) The network equipment management server sends a non-master virtual terminal signing key, namely a private key, to the video networking encryption equipment of the monitoring access server;
(9) The monitoring access server sends an acquisition request of a private key of a non-master virtual terminal to the network equipment management server;
(10) The network equipment management server sends an acquisition request of a private key of a non-master virtual terminal to the data security server;
(11) The data security server sends the private key of the non-master virtual terminal to the network equipment management server;
(12) The network equipment management server sends the private key to the video network encryption equipment;
(13) The conference management server receives a request for watching the monitoring A, which is sent by the pamil converged video scheduling platform;
(14) The conference management server sends a request for acquiring the public key A to the data security server;
(15) The conference management server receives a public key A sent by the data security server;
(16) The conference management server sends the public key A to the video networking terminal;
(17) The conference management server sends a request for watching the monitoring video of the monitoring A to the monitoring access server;
(18) The monitoring access server sends the encrypted monitoring video to the video network, the video network terminal obtains the encrypted monitoring video from the video network, and the encrypted monitoring video is encrypted through the private key.
According to the data transmission method provided by the embodiment of the invention, the security in the process of monitoring video data transmission can be greatly improved through the identity authentication and hardware encryption of the virtual terminal.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
According to the data transmission method provided by the embodiment of the invention, a conference management server receives a monitoring video watching request sent by a third-party video scheduling terminal, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, and sending encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video network terminal corresponding to the video network terminal number, the video network terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved.
Another embodiment of the present invention provides a data transmission apparatus for executing the data transmission method provided in the foregoing embodiment.
Referring to fig. 3, a block diagram of an embodiment of a data transmission device of the present invention is shown, where the device may be applied to a conference management server in a data security monitoring system, where the data security monitoring system further includes a third party video scheduling terminal and a monitoring access server, and specifically may include the following modules: a receiving module 301, a surveillance video data obtaining module 302, a public key obtaining module 303 and a decrypting module 304, wherein:
the receiving module 301 is configured to receive a surveillance video viewing request sent by a third party video scheduling terminal, where the surveillance video viewing request includes a terminal number of a video network and a terminal number of a non-master virtual terminal;
the monitor video data obtaining module 302 is configured to send the monitor video viewing request to a monitor access server corresponding to the terminal number of the non-primary virtual terminal, so that the monitor access server sends encrypted monitor video data to a video network terminal corresponding to the video network terminal number, where the encrypted monitor video data corresponds to the terminal number of the non-primary virtual terminal and is encrypted by the monitor access server through a private key configured in advance for the non-primary virtual terminal;
The public key obtaining module 303 is configured to obtain a public key of a non-primary virtual terminal corresponding to the private key of the non-primary virtual terminal;
the decryption module 304 is configured to send the public key of the non-primary virtual terminal to the internet-of-view terminal corresponding to the internet-of-view terminal number, so that the internet-of-view terminal decrypts the encrypted surveillance video data through the public key of the non-primary virtual terminal.
The data transmission device provided by the embodiment of the invention receives a monitoring video watching request sent by a third-party video scheduling terminal through a conference management server, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, and sending encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video network terminal corresponding to the video network terminal number, the video network terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved.
A further embodiment of the present invention further provides a data transmission device provided in the above embodiment.
Fig. 4 is a block diagram of still another embodiment of a data transmission apparatus according to the present invention, as shown in fig. 4, applied to a data security monitoring system, where the data security monitoring system includes a conference management server, a third party video scheduling terminal, a monitoring access server, a network device management server, and a data security server, where a video network encryption device is installed in the monitoring access server, a primary virtual terminal and a non-primary virtual terminal are configured on the monitoring access server, the primary virtual terminal is used for managing the non-primary virtual terminal, the non-primary virtual terminal is used for receiving monitoring video data sent by the monitoring device, and the monitoring access server encrypts the monitoring video data through a private key in the video network encryption device.
Specifically, the conference management server includes a receiving module 301, a monitoring video data obtaining module 302, a public key obtaining module 303, and a decrypting module 304, where the decrypting module 304 is connected to a video network encrypting device 405 in the monitoring access server, which is not described herein again;
optionally, the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance, including:
The monitoring access server receives the monitoring video data sent by the monitoring equipment corresponding to the non-master virtual terminal through the non-master virtual terminal;
and the monitoring access server encrypts the monitoring video data through the private key of the non-master virtual terminal in the video networking encryption equipment.
Optionally, the network device management server includes a first verification module 401, and the first verification module 401 includes: the first receiving unit 4011, the first matching unit 4012, and the first verification unit 4013, and specifically:
the first receiving unit 4011 is configured to receive a first authentication request of the primary virtual terminal sent by the monitoring access server, where the first authentication request includes device information of the primary virtual terminal, and the device information of the primary virtual terminal includes at least a terminal number of the primary virtual terminal;
the first matching unit 4012 is configured to match terminal numbers in the device information of the primary virtual terminal according to a device information table that is established in advance;
the first verification unit 4013 is configured to send the device information of the primary virtual terminal to the data security server if the terminal number of the primary virtual terminal matches with a terminal number of a preset primary virtual terminal in the pre-established device information table, so that the data security server generates a key pair of the primary virtual terminal, where the key pair of the primary virtual terminal includes a public key of the primary virtual terminal and a private key of the primary virtual terminal.
Optionally, the network device management server includes a second authentication module 402, and the second authentication module 402 includes: a second receiving unit 4021, a second matching unit 4022, and a second verification unit 4023, specifically:
the second receiving unit 4021 is configured to receive a second authentication request sent by the non-primary virtual terminal and sent by the monitoring access server, where the second authentication request includes device information of the non-primary virtual terminal and a private key of the primary virtual terminal, and the device information of the non-primary virtual terminal includes a terminal number of the non-primary virtual terminal and the monitoring device information corresponding to the non-primary virtual terminal;
the second matching unit 4022 is configured to match terminal numbers in the device information of the non-primary virtual terminal according to a device information table that is established in advance;
the second verification unit 4023 is configured to send, if the private key of the primary virtual terminal exists in the pre-established device information table and the terminal number of the non-primary virtual terminal matches the terminal number of the preset virtual terminal in the pre-established device information table, the device information of the non-primary virtual terminal and the private key of the primary virtual terminal to the data security server, so that the data security server generates a key pair of the non-primary virtual terminal, where the key pair of the non-primary virtual terminal includes a public key of the non-primary virtual terminal and a private key of the non-primary virtual terminal.
Optionally, the data security server includes a first key pair generating module 403, connected to the first verification module 401, where the first key pair generating module 403 is configured to:
generating a key pair of the master virtual terminal by adopting an SM4 grouping algorithm according to the terminal number and the root key of the master virtual terminal;
storing the terminal number of the main virtual terminal and the public key of the corresponding main virtual terminal in a database of a data security server;
and sending the private key of the master virtual terminal to the video networking encryption equipment in the monitoring access server through the network equipment management server.
Optionally, the data security server includes a second key pair generating module 404 connected to the second verification module 402, where the second key pair generating module 404 is configured to:
generating a key pair of the non-master virtual terminal by adopting an SM4 grouping algorithm according to the terminal number of the master virtual terminal, the terminal number of the non-master virtual terminal, the monitoring equipment information corresponding to the non-master virtual terminal and the root key;
storing the terminal number of the non-master virtual terminal and the corresponding public key of the non-master virtual terminal in a database of a data security server;
And sending the private key of the non-master virtual terminal to the video networking encryption equipment of the monitoring access server through the network equipment management server.
Optionally, the public key obtaining module 303 is configured to:
receiving an acquisition request of a public key sent by a viewing networking terminal, wherein the acquisition request comprises a terminal number of the non-master virtual terminal;
and acquiring a public key of the non-master virtual terminal corresponding to the terminal number of the non-master virtual terminal through the database of the data security server according to the terminal number of the non-master virtual terminal.
It should be noted that, in this embodiment, each of the embodiments may be implemented separately, or may be implemented in any combination without conflict, without limiting the application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The data transmission device provided by the embodiment of the application receives a monitoring video watching request sent by a third-party video scheduling terminal through a conference management server, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, and sending encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video network terminal corresponding to the video network terminal number, the video network terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved.
A further embodiment of the present invention provides a terminal device configured to perform the data transmission method provided in the foregoing embodiment.
Fig. 5 is a schematic structural view of a terminal device of the present invention, as shown in fig. 5, the terminal device includes: at least one processor 501 and memory 502;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the data transmission method provided in the above embodiment.
The terminal device provided in this embodiment receives, through the conference management server, a surveillance video viewing request sent by a third-party video scheduling terminal, where the surveillance video viewing request includes a video network terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to a terminal number of a non-master virtual terminal, and obtaining encrypted monitoring video data corresponding to the terminal of the non-master virtual terminal, which is sent by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video network terminal corresponding to the video network terminal number, the video network terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved.
A further embodiment of the present application provides a computer-readable storage medium having stored therein a computer program which, when executed, implements the data transmission method provided in any of the above embodiments.
According to the computer readable storage medium of the embodiment, a monitoring video watching request sent by a third-party video scheduling terminal is received through a conference management server, wherein the monitoring video watching request comprises a video networking terminal number and a terminal number of a non-master virtual terminal; sending a monitoring video watching request to a monitoring access server corresponding to the terminal number of the non-master virtual terminal, and sending encrypted monitoring video data corresponding to the terminal number of the non-master virtual terminal to a video networking terminal corresponding to the video networking terminal number by the monitoring access server, wherein the encrypted monitoring video data is encrypted by the monitoring access server through a private key configured for the non-master virtual terminal in advance; acquiring a public key of the non-master virtual terminal corresponding to the private key of the non-master virtual terminal; the public key is sent to the video network terminal corresponding to the video network terminal number, the video network terminal decrypts the encrypted monitoring video data through the public key, and the data are processed in an asymmetric encryption and decryption mode, so that the safety of data transmission is improved.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The foregoing has described in detail a data transmission method and a data transmission device according to the present invention, and specific examples are provided herein to illustrate the principles and embodiments of the present invention, the above examples being provided only to assist in understanding the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.