Safe transmission system and method for video monitoring image and structured data
By using the certificate key system of the national secret system in the video surveillance system for two-way identity authentication and signaling authentication, and encrypting and signing images and structured data, the problem of low data security in the existing technology is solved and realized Secure transmission of the entire link from the front-end device to the user terminal.
Patent Information
- Application Number
- CN202410777704.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
AI Technical Summary
Existing video surveillance systems have low security issues during image and structured data processing, especially in the interaction, transmission, storage and application links, making them vulnerable to attack, hijacking and tampering.
The certificate key system based on the national secret system is used to encrypt, sign and verify images and structured data through two-way identity authentication and signaling authentication between front-end equipment, video image information database system and video image information application platform system. verification to ensure the security of data during transmission.
It achieves end-to-end security for the entire link from the front-end device to the user terminal, prevents data hijacking, tampering and leakage, and improves the security of image and structured data processing.
Smart Images

Figure CN118748602A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a video surveillance system data processing technology, and in particular to a video surveillance system image and structured data security transmission system and method. Background Art
[0002] With the advancement and development of science and technology, video surveillance systems have played an increasingly important role. At present, after combining with the deep learning algorithm of artificial intelligence, video surveillance systems generate images and structured data, which can be directly read and recognized by computers, and automatically analyze and mine data. The ability to process video data in an economical and efficient structured manner is the key to the implementation of video big data in digital cities, smart communities and other fields.
[0003] However, in actual use, the front-end equipment of the video surveillance system in the public security field, the video image information database, the video image information application platform, etc., use the GA / T 1400-2017 standard for image and structured data processing. Images and structured data are all in plain text in the interaction, transmission, storage, and application links, which poses obvious security risks, especially for sensitive images and structured data involving key areas. Once a certain link in the link is attacked and the data is hijacked, there is a risk that the plain text data is easily tampered with or directly leaked.
[0004] Therefore, the existing image and structured data processing processes have low security issues in interaction, transmission, storage and application. It can be seen that how to improve the security of the image and structured data processing process is a problem that needs to be solved in this field. Summary of the invention
[0005] In view of the technical problem that the existing image and structured data processing process has low security, the purpose of the present invention is to provide a secure transmission system and method for video surveillance images and structured data, which can ensure the anti-hijacking, anti-tampering, anti-leakage and anti-attack of images and structured data in non-security domains of the network, further improve the security of the image and structured data processing process, and effectively overcome the problems existing in the prior art.
[0006] In order to achieve the above-mentioned object, the present invention provides a secure transmission system for video surveillance images and structured data, including a certificate key system, a front-end device, a video image information database system, a video image information application platform system, and a terminal system for inserting a user key;
[0007] The certificate key system respectively establishes a signal transmission channel with the front-end device, the video image information database system, the video image information application platform system and the terminal system into which the user key is inserted, and provides certificates and symmetric keys;
[0008] The front-end device collects video image information, converts the video image information into structured data, and encrypts and signs the structured data based on encryption information provided by the certificate key system;
[0009] The video image information database system performs two-way identity authentication and signaling authentication with the front-end device. After the authentication is passed, the encrypted and signed image and structured data transmitted by the front-end device are received, and the received image and structured data are verified and verified, and stored after passing the verification;
[0010] After the video image information application platform system and the video image information database system have passed the two-way identity authentication and signaling authentication, the encrypted images and structured data stored in the video image information database system can be called;
[0011] The terminal system into which the user key is inserted performs two-way identity authentication and signaling authentication with the video image information application platform system based on the user key. After the authentication is passed, the user key is used to convert the encrypted and signed images and structured data forwarded by the video image information application platform system into original images and structured data that can be directly used by the terminal system.
[0012] Furthermore, the certificate key system is based on the national encryption system.
[0013] Furthermore, the front-end device includes an acquisition module, a storage module, a password module, a collection module, an analysis and conversion module, an authentication module, a receiving module, an encryption module and a transmission module;
[0014] The acquisition module is connected to the certificate key system to acquire the encrypted certificate, and after decrypting it, stores it in the password module of the device through the storage module;
[0015] The acquisition module acquires video information within the deployment position in real time, and converts the video data into images and structured data after analyzing it through the analysis and conversion module;
[0016] The authentication module performs two-way identity authentication based on the certificate stored in the password module and the video image information database system;
[0017] The receiving module receives the signaling sent by the video image information database system and authenticates the signaling. When the signaling authentication of both parties is passed, the front-end device transmits the encrypted and signed image and structured data to the video image information database system through the transmission module, and closes the interaction between the two parties after the transmission is completed;
[0018] The encryption module signs and encrypts the image and structured data based on the private key in the password module and the symmetric key obtained during the two-way identity authentication.
[0019] Furthermore, the video image information database system includes an acquisition module, a password module, a sending module, a first receiving module, a verification module, a storage module, an authentication module, a second receiving module, a signature module and a transmission module;
[0020] The acquisition module is connected to the certificate key system, obtains the encrypted certificate and symmetric key, decrypts them and stores them in the password module through the storage module, and can establish a communication connection with the front-end device through two-way identity authentication based on the acquired certificate;
[0021] The sending module sends signaling to the front-end device and the video image information application platform system;
[0022] The first receiving module is used to receive the signaling sent by the front-end device and authenticate the signaling. After the authentication is passed, the encrypted and signed image and structured data transmitted by the front-end device are received. After completion, the data transmission between the video image information database system and the front-end device is completed, and the interaction with the front-end device is closed;
[0023] The verification module verifies and checks the received encrypted and signed image and structured data based on the certificate stored in the password module, and stores the encrypted image and structured data through the storage module;
[0024] The authentication module performs two-way identity authentication and signaling authentication with the front-end device and the video image information application platform system based on the certificate stored in the password module;
[0025] The second receiving module receives the signaling sent by the video image information application platform system and authenticates the signaling;
[0026] The signature module performs hash calculation and signature calculation on the encrypted image and structured data in the storage module;
[0027] The transmission module transmits the encrypted and signed image and structured data to the video image information application platform system.
[0028] Furthermore, the video image information application platform system includes an acquisition module, a password module, a call module, an authentication module, a verification module and a transmission module;
[0029] The acquisition module is connected to the certificate key system, obtains the encrypted certificate and symmetric key, decrypts them and stores them in the password module through the storage module, and can establish a communication connection with the video image information database system through two-way identity authentication based on the acquired certificate;
[0030] The calling module is used to call the required images and structured data from the video image information database system;
[0031] The authentication module performs two-way identity authentication and signaling authentication based on the acquired certificate, the video image information database system and the terminal system into which the user key is inserted;
[0032] The verification module verifies and checks the received encrypted and signed image and structured data based on the certificate stored in the cryptographic module;
[0033] The transmission module forwards the encrypted and signed image and structured data to the terminal system into which the user key is inserted.
[0034] Furthermore, the terminal system into which the user key is inserted comprises an acquisition module, a password module, an authentication module, a sending module, a receiving module, a verification module and a transmission module;
[0035] The acquisition module is connected to the certificate key system, and is used to obtain the encrypted certificate, decrypt it and store it in the password module;
[0036] The authentication module performs two-way identity authentication and signaling authentication with the video image information application platform system based on the acquired certificate;
[0037] The sending module sends a signal to the video image information application platform system;
[0038] The receiving module receives the signaling sent by the video image information application platform system, authenticates the signaling, and receives the signed and encrypted image and structured data transmitted by the video image information application platform system after the signaling is authenticated;
[0039] The verification module verifies and checks the received encrypted and signed image and structured data based on the certificate stored in the user key password module;
[0040] The transmission module forwards the encrypted image and structured data verified by the verification module to the user key, and the user key decrypts and generates the original image and structured data that can be directly used by the terminal system.
[0041] In order to achieve the above object, the present invention provides a method for securely transmitting video surveillance images and structured data, and the implementation method includes the following steps:
[0042] The front-end device collects video information and converts it into raw images and structured data, and encrypts and signs the raw images and structured data through encryption information;
[0043] The front-end device performs two-way identity authentication and signaling authentication with the video image information database system. After passing the authentication, the image and structured data encrypted and signed by the front-end device are transmitted to the video image information database system.
[0044] The video image information database system verifies and checks the received encrypted and signed images and structured data through the encrypted information, and then stores the encrypted images and structured data for the video image information application platform system to call;
[0045] The video image information application platform system performs two-way identity authentication and signaling authentication with the video image information database system. After passing the authentication, the encrypted and signed images and structured data of the video image information database system can be called.
[0046] The terminal system with the user key inserted performs two-way identity authentication and signaling authentication with the video image information application platform system. After passing the authentication, the terminal system can receive the encrypted and signed images and structured data forwarded by the video image information application platform system, and verify, check and decrypt the encrypted and signed images and structured data by calling the user key, generating original images and structured data that can be directly used by the terminal system.
[0047] Furthermore, the steps of the two-way authentication between the video image information application platform system and the video image information database system and the two-way authentication between the terminal system in which the user key is inserted and the video image information application platform system are the same as those between the front-end device and the video image information database system.
[0048] Furthermore, the front-end device and the video image information database system perform two-way identity authentication including the following steps:
[0049] S1: The front-end device sends a first request signal to the video image information database system, where the first signal includes the front-end device ID and first encrypted information;
[0050] S2: After receiving the first request signal, the video image information database system generates a first random number and sends a first response signal to the front-end device. The response signal carries the video image information database system ID + the first random number + the second encryption information;
[0051] S3: After receiving the first response signal, the front-end device generates a second random number; calculates the second random number + the first random number + the video image information database system ID using the private key carried by the front-end device to obtain a first result;
[0052] The front-end device resends a second request signal to the video image information database system, carrying the second random number + the first random number + the video image information database system ID + the first result + the first encrypted information;
[0053] S4: After receiving the second request signal, the video image information database system verifies the information carried in the second request signal sent by the front-end device, and a successful verification proves that the identity of the front-end device is legitimate;
[0054] S5: The video image information database system calculates and signs the received second request signal using the key to obtain a second result;
[0055] S6: The video image information database system sends a second response signal to the front-end device, carrying the first random number + the second random number + the front-end device ID + the second result + the algorithm adopted by the video image information database system;
[0056] S7: After receiving the second response signal, the front-end device verifies the information carried in the second response signal sent by the video image information database system. If the verification is successful, it proves that the identity of the video image information database system is legitimate; if the verification fails, a denial of service response is sent.
[0057] Furthermore, the signaling authentication method comprises the following steps:
[0058] S1: After the two-way identity authentication is successful, the signaling sender needs to calculate the signaling message including the sending time + key information to obtain the first result and send it to the signaling receiver before sending the signaling;
[0059] S2: The signaling receiver receives the signaling, compares the sending time with the current time, and if the time difference is within the valid interval, extracts the signaling message + key information and calculates to obtain the second result, and compares the first result with the second result. If the comparison is successful, the signaling authentication is passed, otherwise the authentication fails, the signaling is discarded and the signaling session process is terminated;
[0060] S3: If the signaling receiver authenticates the received signaling, it generates a response instruction, calculates the signaling message containing the sending time + key information to be sent, obtains a third result, and sends it to the signaling sender;
[0061] S4: The signaling sender receives the response signaling, compares the sending time with the current time, and if the time difference is within the valid range, extracts the signaling message + key information and calculates to obtain the fourth result, and compares the third result with the fourth result. If the comparison is successful, the signaling authentication is successful, otherwise the authentication fails and the signaling is discarded.
[0062] The secure transmission system and method for video surveillance images and structured data provided by the present invention are based on the national secret system. Bidirectional identity authentication and signaling authentication are adopted between modules of the system. Data is encrypted, signed and verified in each link of image and structured data transmission, storage and application, thereby achieving end-to-end security of the entire link from the front-end device to the user terminal, and effectively ensuring the anti-hijacking, anti-tampering, anti-leakage and anti-attack of images and structured data in the non-security domain of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.
[0064] Figure 1 The present invention is a schematic diagram of the method for securely transmitting images and structured data of the video surveillance system.
[0065] Figure 2 It is a schematic diagram of the two-way identity authentication process between the front-end device and the video image information database system in the present invention.
[0066] Figure 3 The figure is a schematic diagram of the signaling authentication process between the front-end device and the video image information database system in the present invention.
[0067] Figure 4 It is a schematic diagram of the two-way identity authentication process between the video image information database system and the video image information application platform system in the present invention.
[0068] Figure 5 The figure is a schematic diagram of the signaling authentication process between the video image information database system and the video image information application platform system in the present invention. DETAILED DESCRIPTION
[0069] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below with reference to specific diagrams.
[0070] See also Figure 1 The present invention provides a secure transmission system for video surveillance system images and structured data, which includes a certificate key system, a front-end device, a video image information database system, a video image information application platform system, and a terminal system for inserting a user key.
[0071] Among them, the certificate key system establishes data connections with the front-end equipment, video image information database system, video image information application platform system and the terminal system into which the user key is inserted, and is used to provide certificates and symmetric keys to complete two-way identity authentication, signaling authentication, data signature and verification, data verification and data encryption between the front-end equipment, video image information database system, video image information application platform system and the terminal system into which the user key is inserted.
[0072] The front-end device is connected to the video image information database system and exchanges data. The front-end device converts the collected video data into structured data, and encrypts and signs the structured data using the key information obtained from the certificate key system. The front-end device and the video image information database system complete two-way identity authentication and signaling authentication. After the authentication is passed, the encrypted and signed image and structured data are transmitted to the video image information database system.
[0073] The video image information database system verifies and checks the encrypted and signed images and structured data received, and stores the encrypted images and structured data after verification, which can effectively prevent data leakage. The video image information database system establishes a data connection with the video image information application platform system, and the video image information database system and the video image information application platform system complete two-way identity authentication and signaling authentication. After the authentication is passed, the data required by the video image information application platform system is transmitted.
[0074] Here, the video image information database system will not actively transmit the encrypted images and structured data to the video image information application platform system after storing them. When the video image information application platform system needs it, it will call the required encrypted structured data from the video image information database system, thereby ensuring the security of data transmission.
[0075] The video image information application platform system establishes a data connection with the terminal system with the user key inserted. After the terminal system with the user key inserted completes two-way identity authentication and signaling authentication with the video image information application platform, the encrypted and signed structured data forwarded by the video image information application platform system is verified and verified. After passing the verification, the encrypted structured data is decrypted and the decrypted data is used by the terminal system.
[0076] Furthermore, the certificate key system is respectively connected to the front-end device, the video image information database system, the video image information application platform system and the terminal system into which the user key is inserted, and is used to provide certificates and symmetric keys, which are used in the processes of two-way identity authentication, signaling interaction, signaling authentication, data signing and verification, data verification, data encryption, etc. between the front-end device and the video image information database system, the video image information database system and the video image information application platform system, and the video image information application platform system and the terminal system into which the user key is inserted.
[0077] The cryptographic algorithm involved in the certificate key system in this solution is a national secret algorithm, which complies with national secret specifications and provides an interface that complies with national secret requirements for other components to call.
[0078] In some embodiments, the connection interface between the certificate key system and the front-end device, the video image information database system, the video image information application platform system, and the terminal system for inserting the user key is defined in accordance with the GM / T0089-2020 standard, and the interface protocol is based on the GM / T 0024-2014 standard definition.
[0079] The asymmetric cryptographic operation in the interface protocol uses the SM2 algorithm, and the algorithm implementation complies with the GM / T0009-2012 and GM / T0003-2012 standards. The asymmetric algorithm uses the SM2 algorithm for certificate and symmetric key issuance, two-way identity authentication, data signing and signature verification.
[0080] The hash algorithm uses SM3 for signaling authentication and data verification. SM3 operation is required before using SM2 algorithm for data signing.
[0081] The symmetric algorithm uses the SM4 block cipher algorithm for data encryption. The symmetric cryptographic operation in the interface protocol uses the SM4 algorithm. The algorithm implementation complies with the GM / T 0002-2012 standard. The algorithm mode adopts the ECB mode, and the padding method is implemented in accordance with the requirements of PKCS#7.
[0082] The random numbers generated by the random number generation algorithm meet the requirements of GM / T 0005-2012 standard.
[0083] In addition to being applied to video surveillance systems that comply with the GB / T 28181-2022 standard, the certificate key system can also be applied to video surveillance systems that comply with the GB35114-2017 standard because it meets the requirements of the GB 35114-2017 standard for the certificate key system and cryptographic algorithm, further expanding the applicability of this system.
[0084] The front-end device is used to collect video data and convert it into images and structured data, and complete the signing and encryption of images and structured data based on private keys and symmetric keys within the device.
[0085] The front-end device includes an acquisition module, a storage module, a password module, a collection module, an analysis and conversion module, an authentication module, a receiving module, an encryption module and a transmission module.
[0086] The acquisition module is connected to the certificate key system, and is used to obtain the front-end device certificate and the video image information database system certificate encrypted using the public key carried by the front-end device certificate and the SM2 algorithm from the certificate key system. The certificate is decrypted by the private key stored in the front-end device cryptographic module and the SM2 algorithm and then stored in the cryptographic module in the front-end device through the storage module.
[0087] The acquisition module is used to collect video information within the deployment location in real time. The video information collected by the acquisition module is transmitted to the analysis and conversion module. After receiving the video data collected by the acquisition module, the analysis and conversion module analyzes the video data through the image extraction algorithm and structured data extraction algorithm built into the analysis and conversion module, and converts it into images and structured data.
[0088] The authentication module calls the certificate and front-end device private key stored in the password module, and uses the SM2 and SM3 algorithms to perform two-way authentication with the video image information database system. When the two-way authentication of the front-end device and the video image information database system is passed, the front-end device and the video image information database system establish a communication connection and can interact with signaling and data.
[0089] Among them, the method of using SM2 and SM3 algorithms to perform two-way identity authentication on the front-end device and the video image information database system is as follows: Figure 2 As shown, in some embodiments, the specific method includes the following process:
[0090] S1: The front-end device sends a registration request to the video image information database system. The request includes the front-end device ID, algorithm parameters and key information.
[0091] Among them, the algorithm parameters include asymmetric algorithm description (asymmetric algorithms / modes / filling methods supported by the front-end device), hash algorithm description (hash algorithms supported by the front-end device), symmetric algorithm description (symmetric algorithms / modes / filling methods supported by the front-end device), and signature algorithm description (signature algorithms supported by the front-end device).
[0092] S2: After receiving the registration request, the video image information database system generates a random number R1 and sends a response signal to the front-end device. The response signal carries the video image information database system ID + R1 + algorithm (the algorithm used by the video image information database system)
[0093] S3: After receiving the response signal, the front-end device obtains the video image information database system ID, R1 and algorithm, and generates a random number R2.
[0094] Then, the SM3 algorithm is used to perform a hash calculation on R2+R1+video image information database system ID, and then a digital signature is performed using the private key stored in the front-end device password module and the SM2 algorithm to obtain the result Sign1.
[0095] The front-end device resends a registration request to the video image information database system, carrying R2+R1+video image information database system ID+Sign1+algorithm (the algorithm adopted by the front-end device).
[0096] S4: After receiving the registration request sent by the front-end device, the video image information database system verifies whether the signature of the front-end device has been verified, verifies the validity of R1, verifies whether the video image information database system ID is consistent with itself, and verifies Sign1 using the SM3, SM2 algorithms and the public key contained in the front-end device certificate. Successful verification proves the legality of the front-end device identity.
[0097] S5: The video image information database system encrypts the image and structured data encryption key (ISEK) obtained from the certificate key system using the public key contained in the front-end device certificate and the SM2 algorithm to obtain cryptkey, first performs a hash calculation on R1+R2+front-end device ID+cryptkey using the SM3 algorithm, and then uses the private key stored in the password module of the video image information database system and the SM2 algorithm to perform a digital signature to obtain the result Sign2.
[0098] S6: Send a success response signal to the front-end device, carrying R1+R2+front-end device ID+Sign2+algorithm (the algorithm used by the video image information database system).
[0099] S7: After the front-end device receives the successful response signal, it verifies whether the video image information database system signature has been verified, verifies whether the front-end device ID matches itself, and verifies Sign2 using the SM3 and SM2 algorithms and the public key contained in the video image information database system certificate. If the verification is successful, it proves that the identity of the video image information database system is legitimate.
[0100] Then use the front-end device private key and SM2 algorithm to decrypt cryptkey and get the value of ISEK for subsequent interaction. If the verification fails, a denial of service response is sent.
[0101] When the two-way identity authentication between the front-end device and the video image information database system is passed, the front-end device and the video image information database system establish a communication connection and can perform signaling and data interaction.
[0102] After the front-end device establishes a communication connection with the video image information database system, the receiving module of the front-end device can receive the signaling sent by the video image information database system, and the front-end device uses the SM3 algorithm to authenticate the received signaling.
[0103] Here, the video image information database system is taken as the signaling sender, and the front-end device is taken as the signaling receiver. As an example, the signaling authentication method between the front-end device and the video image information database system is as follows: Figure 3 As shown, the specific method includes the following process:
[0104] S1: After the two-way identity authentication is successful, the signaling sender needs to use the SM3 algorithm to perform a hash operation on the signaling message (including the sending time) + encryption key (ISEK) before sending the signaling, and obtain result 1, and use result 1 and the algorithm used as the field value of the signaling.
[0105] S2: The signaling sender sends the signaling to the signaling receiver.
[0106] S3: The signaling receiver receives the signaling, compares the sending time with the current time, and if the time difference is within the valid range, extracts the signaling message + encryption key (ISEK) and uses the SM3 algorithm to perform a hash operation to obtain result 2, compares result 1 and result 2, and if the comparison is successful, the signaling authentication is successful, otherwise the authentication fails, the signaling is discarded, and the signaling session process is terminated.
[0107] S4: If the signaling receiver authenticates the received signaling, a response instruction is generated, and the signaling message to be sent (including the sending information) + the encryption key (ISEK) are hashed using the SM3 algorithm to obtain result 3.
[0108] S5: Use the obtained result 3 and the algorithm used as the field values of the signaling, and send the response signaling to the signaling sender.
[0109] S6: The signaling sender receives the response signaling and compares the sending time with the current time. If the time difference is within the valid range, the signaling message + encryption key (ISEK) is extracted and hashed using the SM3 algorithm to obtain result 4. Result 3 and result 4 are compared. If the comparison is successful, the signaling authentication is successful. Otherwise, the authentication fails and the signaling is discarded.
[0110] Therefore, the signaling authentication between the front-end device and the video image information database system is realized through the above method. After the signaling authentication between the front-end device and the video image information database system is passed, the front-end device transmits the encrypted and signed image and structured data to the video image information database system through the transmission module, and closes the interaction between the two parties after the transmission is completed.
[0111] Furthermore, the image and structured data are encrypted and signed by the encryption module, and then transmitted after being encrypted and signed by the encryption module, thereby ensuring the confidentiality of the data.
[0112] The encryption module uses the SM4 algorithm to encrypt images and structured data based on the symmetric key ISEK obtained by the front-end device during the two-way identity authentication process.
[0113] Then, the encrypted image and structured data are hashed using the SM3 algorithm to obtain a hash result 1.
[0114] Finally, the front-end device private key and SM2 algorithm are used to perform signature calculation on the encrypted data + hash result to form an encrypted and signed image and structured data 1 (encrypted data + hash result 1 + signature data 1)
[0115] This solution can only transmit encrypted and signed images and structured data after completing two-way identity authentication and signaling authentication between the front-end device and the video image information database system, thereby effectively preventing the transmitted data from being hijacked or tampered with.
[0116] At the same time, the signaling between the front-end device and the video image information database system adopts a signaling authentication method based on a key-based hash operation (SM3), which can effectively prevent attacks.
[0117] The video image information database system stores encrypted images and structured data of front-end devices to facilitate calls by the video image information application platform system.
[0118] The video image information database system comprises an acquisition module, a password module, a sending module, a first receiving module, a verification module, a storage module, an authentication module, a second receiving module, a signature module and a transmission module.
[0119] The acquisition module is connected to the certificate key system, and is used to obtain the front-end device certificate, video image information database system certificate and video image information application platform system certificate, as well as the symmetric key ISEK encrypted using the public key of the video image information database system and the SM2 algorithm from the certificate key system. All certificates and symmetric keys ISEK are decrypted by the private key stored in the video image information database system cryptographic module and the SM2 algorithm and then stored in the cryptographic module through the storage module.
[0120] After the video image information database system establishes a communication connection with the front-end device, the video image information database system sends a signal to the front-end device through the sending module, and the front-end device authenticates the signal sent by the video image information database system.
[0121] The first receiving module can receive the encrypted and signed image and structured data 1 transmitted by the front-end device after the signaling authentication is passed. Since the data itself has been encrypted and signed, it can effectively prevent the data from being hijacked and tampered with.
[0122] After the first receiving module receives the encrypted and signed image and structured data 1, the data transmission between the video image information database system and the front-end device is completed, and the interaction with the front-end device is closed.
[0123] The verification module uses the SM3 and SM2 algorithms to verify the received encrypted and signed image and structured data 1 based on the public key carried by the front-end device certificate. After the verification, the encrypted data is hashed using the SM3 algorithm, and the received hash result 1 is compared with the calculated hash result 1. If they are exactly the same, it is considered that the received encrypted and signed image and structured data 1 have passed the verification, otherwise it has failed the verification.
[0124] The encrypted data that has passed the verification is stored through the storage module. The video image information database system stores the encrypted images and structured data transmitted by the front-end device, which can effectively prevent data leakage.
[0125] When the video image information application platform system needs to call the required images and structured data from the video image information database system during a specific application, the authentication module of the video image information database system performs a two-way authentication with the video image information application platform system based on the certificate obtained by the acquisition module from the certificate key system, the private key stored in the password module, and the SM2 and SM3 algorithms. The method of two-way authentication is as follows: Figure 2 As shown, in some embodiments, the specific method includes the following process:
[0126] S1: The video image information database system sends a registration request to the video image information application platform system. The request includes the video image information database system ID, algorithm parameters and key information.
[0127] Among them, the algorithm parameters include asymmetric algorithm description (asymmetric algorithm / mode / filling method supported by the video image information database system), hash algorithm description (hash algorithm supported by the video image information database system), symmetric algorithm description (symmetric algorithm / mode / filling method supported by the video image information database system), signature algorithm description (signature algorithm supported by the video image information database system).
[0128] S2: The video image information application platform system generates a random number R3, and sends a challenge response 401 to the video image information database system. The response carries the video image information application platform system ID+R3+algorithm (the algorithm used by the video image information application platform system).
[0129] S3: After receiving the 401 response, the video image information database system obtains the video image information application platform system ID, R3 and algorithm value, and generates a random number R4.
[0130] The R4+R3+video image information application platform system ID is first hashed using the SM3 algorithm, and then digitally signed using the private key stored in the video image information database system password module and the SM2 algorithm to obtain the result Sign3.
[0131] The video image information database system resends a registration request to the video image information application platform system, carrying R4+R3+video image information application platform system ID+Sign3+algorithm (the algorithm adopted by the video image information database system).
[0132] S4: After receiving the request, the video image information application platform system verifies whether the video image information database system signature has been verified, verifies the validity of R3, verifies whether the video image information application platform system ID matches itself, and verifies Sign3 using the SM3 and SM2 algorithms and the public key contained in the video image information database system certificate. Successful verification proves the legality of the video image information database system identity.
[0133] S5: The video image information application platform system encrypts the ISEK obtained from the certificate key system using the public key contained in the video image information database system certificate and the SM2 algorithm to obtain cryptkey1, and first performs a hash calculation on R3+R4+video image information database system ID+cryptkey1 using the SM3 algorithm, and then uses the private key stored in the video image information application platform system password module and the SM2 algorithm to perform a digital signature to obtain the result Sign4.
[0134] S6: Send a success response 200OK message to the video image information database system, carrying R3+R4+video image information database system ID+Sign4+algorithm (the algorithm adopted by the video image information application platform system).
[0135] S7: After receiving 200OK, the video image information database system verifies whether the video image information application platform system signature has been verified, verifies whether the video image information database system ID matches itself, and verifies Sign4 using SM3 and SM2 algorithms and the public key contained in the video image information application platform system certificate. If the verification is successful, it proves that the identity of the video image information application platform system is legitimate.
[0136] Then, the private key of the video image information database system and the SM2 algorithm are used to decrypt cryptkey1 to obtain the value of ISEK for subsequent interaction. If the verification fails, a denial of service response is sent.
[0137] After the two-way identity authentication between the video image information database system and the video image information application platform system is passed, the video image information database system and the video image information application platform system establish a communication connection, the second receiving module of the video image information database system can receive the signaling sent by the video image information application platform system, and the video image information database system uses the SM3 algorithm to authenticate the signaling. At the same time, the video image information application platform system also authenticates the signaling sent by the video image information database system.
[0138] Here, the video image information application platform system is used as the signaling sender, and the video image information database system is used as the signaling receiver. The signaling authentication method between the video image information database system and the video image information application platform system is the same as the signaling authentication method between the above-mentioned video image information database system and the front-end device, so it will not be described in detail here.
[0139] When the signaling authentication is passed, the video image information database system uses the signature module to perform signature calculation on the encrypted image and structured data in the storage module.
[0140] Specifically, the signature module uses the SM3 algorithm to perform hash calculation on the encrypted image and structured data in the storage module to obtain a hash result 2, and then uses the video image information database system private key and the SM2 algorithm in the cryptographic module to perform signature calculation on the encrypted data + hash result to form an encrypted and signed image and structured data 2 (encrypted data + hash result 2 + signature data 2). Finally, the encrypted and signed image and structured data 2 is transmitted to the video image information application platform system through the transmission module, and the interaction between the two parties is closed after the transmission is completed.
[0141] Similarly, the signaling between the video image information database system and the video image information application platform system uses a signaling authentication method based on a key-based hash operation (SM3), which can effectively prevent attacks. At the same time, the encrypted and signed images and structured data transmitted by the video image information database system can effectively prevent data leakage.
[0142] The video image information application platform system implements platform authorization login on the terminal system based on the user key, as well as confirmation of the user's authority scope. The video image information application platform system includes an acquisition module, a password module, a call module, an authentication module, a verification module, and a transmission module.
[0143] The acquisition module is connected to the certificate key system, and is used to obtain the certificates of the video image information database system, the video image information application platform system and the user key, as well as the symmetric key ISEK encrypted using the video image information application platform system certificate public key and the SM2 algorithm from the certificate key system. All certificates and symmetric keys ISEK are decrypted by the private key stored in the video image information application platform system cryptographic module and the SM2 algorithm and then stored in the cryptographic module through the storage module.
[0144] The calling module is used to call the required images and structured data from the video image information database system.
[0145] The authentication module uses the SM2 and SM3 algorithms to perform two-way authentication with the video image information database system and the terminal system that inserts the user key based on the obtained certificate. The method of using the SM2 and SM3 algorithms to perform two-way authentication with the video image information database system is as follows: Figure 4 and Figure 5 As shown, in some embodiments, the specific method includes the following process:
[0146] S1: The terminal system with the user key inserted sends a registration request to the video image information application platform system. The request contains the user keyID, algorithm parameters and key information.
[0147] The algorithm parameters include asymmetric algorithm description (asymmetric algorithms / modes / filling methods supported by the user key), hash algorithm description (hash algorithms supported by the user key), symmetric algorithm description (symmetric algorithms / modes / filling methods supported by the user key), signature algorithm description (signature algorithms supported by the user key); keyversion refers to the key version number.
[0148] S2: The video image information application platform system generates a random number R5 and sends a challenge response 401 to the terminal system that has inserted the user key. The response carries the video image information application platform system ID+R5+algorithm. Algorithm is the algorithm used by the video image information application platform system.
[0149] S3: After receiving the 401 response, the terminal system with the user key inserted obtains the video image information application platform system ID, R5 and algorithm value, and generates a random number R6. The SM3 algorithm is used to perform a hash calculation on R6+R5+video image information application platform system ID, and then the private key stored in the user key password module and the SM2 algorithm are used to perform a digital signature to obtain the result Sign5.
[0150] The terminal system that inserts the user key resends a registration request to the video image information application platform system, carrying R6+R5+video image information application platform system ID+Sign5+algorithm. Algorithm is the algorithm used by the terminal system that inserts the user key.
[0151] S4: After receiving the request, the video image information application platform system verifies whether the signature of the terminal system into which the user key is inserted has been verified, verifies the validity of R5, verifies whether the video image information application platform system ID is consistent with itself, verifies Sign5 using the SM3 and SM2 algorithms and the public key contained in the user key certificate, and a successful verification proves that the identity of the terminal system into which the user key is inserted is legitimate.
[0152] S5: The video image information application platform system encrypts the ISEK obtained from the certificate key system using the public key contained in the user key certificate and the SM2 algorithm to obtain cryptkey2, first performs a hash calculation on R5+R6+user keyID+cryptkey2 using the SM3 algorithm, and then uses the private key stored in the video image information application platform system password module and the SM2 algorithm to perform a digital signature to obtain the result Sign6.
[0153] S6: Send a successful response 200OK message to the terminal system that inserted the user key, carrying R5+R6+user keyID+Sign6+algorithm. Algorithm is the algorithm used by the video image information application platform system.
[0154] S7: After the terminal system with the user key inserted receives 200OK, it checks whether the video image information application platform system signature has been verified, checks whether the user keyID matches itself, and uses SM3, SM2 algorithms and the public key contained in the video image information application platform system certificate to verify Sign6. If the verification is successful, it proves that the identity of the video image information application platform system is legal.
[0155] Then the user key private key and SM2 algorithm decrypt cryptkey2 to obtain the value of ISEK, which is used in the subsequent interaction process. If the verification fails, a denial of service response is sent.
[0156] The verification module uses the SM3 and SM2 algorithms to verify the encrypted and signed image and structured data 2 called by the calling module based on the public key carried by the video image information database system certificate. After the verification, the SM3 algorithm is used to perform hash calculation on the encrypted part of the data, and the received hash result 2 is compared with the calculated hash result 2. If they are exactly the same, it is considered that the received encrypted and signed image and structured data 2 have passed the verification, otherwise it has failed the verification.
[0157] After the video image information application platform system establishes a communication connection with the terminal system with the user key inserted, the signaling interaction between the video image information application platform system and the terminal system with the user key inserted is authenticated by the authentication module using the SM3 algorithm. The signaling authentication method is the same as Figure 3 The above are the same and will not be elaborated here.
[0158] After completing the signaling authentication, the video image information application platform system forwards the encrypted and signed image and structured data 2 to the terminal system into which the user key is inserted through the transmission module.
[0159] The terminal system into which the user key is inserted is used to verify, check and decrypt the encrypted and signed images and structured data 2 forwarded by the video image information application platform system, and generate original images and structured data that can be directly used by the terminal system.
[0160] The terminal system into which the user key is inserted includes an acquisition module, an authentication module, a sending module, a receiving module, a verification module and a transmission module.
[0161] The acquisition module is connected to the certificate key system and is used to obtain the video image information database system certificate, video image information application platform system certificate and user key certificate encrypted using the user key certificate public key and SM2 algorithm from the certificate key system. All certificates are decrypted by the user key private key and SM2 algorithm and stored in the user key password module.
[0162] After the terminal system with the user key inserted completes two-way identity authentication with the video image information application platform system through the authentication module to establish a communication connection, the sending module is used to interact with the video image information application platform system through signaling, and the signaling authentication is completed using the SM3 algorithm through the authentication module.
[0163] Here, the two-way authentication process is the same as Figure 5 The signaling authentication process is the same as shown in Figure 3 The same is shown, so I will not go into details here.
[0164] The terminal system receiving module receives the video image information and the application platform system forwards the encrypted and signed image and structured data 2.
[0165] The verification module uses the SM3 and SM2 algorithms to verify the encrypted and signed image and structured data 2 based on the public key carried by the video image information database system certificate. After the verification, the encrypted data is hashed using the SM3 algorithm, and the received hash result 2 is compared with the calculated hash result 3. If they are exactly the same, it is considered that the received encrypted and signed image and structured data 2 have passed the verification, otherwise it has failed the verification.
[0166] The transmission module forwards the encrypted and signed image and the encrypted part of the structured data 2 to the user key. The user key uses the symmetric key ISEK and SM4 algorithm stored in the cryptographic module obtained during the two-way authentication process to decrypt the encrypted part and generate the original image and structured data that can be directly used by the terminal system.
[0167] Based on the secure transmission system of video surveillance images and structured data formed by the above scheme, this scheme also forms an implementation method for secure transmission of video surveillance images and structured data, and the implementation method includes the following:
[0168] The front-end equipment collects video information and converts it into raw images and structured data, and encrypts and signs the raw images and structured data using the national encryption algorithm;
[0169] The front-end device performs two-way identity authentication and signaling authentication with the video image information database system. After passing the authentication, the image and structured data encrypted and signed by the front-end device are transmitted to the video image information database system.
[0170] The video image information database system verifies and checks the received encrypted and signed images and structured data using the national secret algorithm, and then stores the encrypted images and structured data for the video image information application platform system to call;
[0171] The video image information application platform system performs two-way identity authentication and signaling authentication with the video image information database system. After passing the authentication, the encrypted and signed images and structured data of the video image information database system can be called.
[0172] The terminal system with the user key inserted performs two-way identity authentication and signaling authentication with the video image information application platform system. After passing the authentication, the terminal system can receive the encrypted and signed images and structured data forwarded by the video image information application platform system, and verify, check and decrypt the encrypted and signed images and structured data by calling the user key, generating original images and structured data that can be directly used by the terminal system.
[0173] The system and method for secure transmission of images and structured data in a video surveillance system formed by the above-mentioned scheme are based on the national secret system, and encrypt, sign and verify the data in each link of image and structured data interaction, storage and application, thus overcoming the potential security risks existing in the use of traditional images and structured data, and achieving end-to-end security of the entire link from the front-end device to the user terminal, thus ensuring the anti-hijacking, anti-tampering, anti-leakage and anti-attack of images and structured data in non-security domains of the network.
[0174] At the same time, it complies with the requirements of the certificate key system and cryptographic algorithm in the GB 35114-2017 standard, and can be applied to various video surveillance systems of the existing GB / T 28181 and GB 35114 standards.
[0175] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A secure transmission system for video surveillance images and structured data, characterized in that: It includes certificate key system, front-end equipment, video image information database system, video image information application platform system and terminal system for inserting user key; The certificate key system respectively establishes a signal transmission channel with the front-end device, the video image information database system, the video image information application platform system and the terminal system into which the user key is inserted, and provides certificates and symmetric keys; The front-end device collects video image information, converts the video image information into structured data, and encrypts and signs the structured data based on encryption information provided by the certificate key system; The video image information database system performs two-way identity authentication and signaling authentication with the front-end device. After the authentication is passed, the encrypted and signed image and structured data transmitted by the front-end device are received, and the received image and structured data are verified and verified, and stored after passing the verification; After the video image information application platform system and the video image information database system have passed the two-way identity authentication and signaling authentication, the encrypted images and structured data stored in the video image information database system can be called; The terminal system into which the user key is inserted performs two-way identity authentication and signaling authentication with the video image information application platform system based on the user key. After the authentication is passed, the user key is used to convert the encrypted and signed images and structured data forwarded by the video image information application platform system into original images and structured data that can be directly used by the terminal system.
2. A secure transmission system for video surveillance images and structured data according to claim 1, characterized in that: The certificate key system is based on the national encryption system.
3. A secure transmission system for video surveillance images and structured data according to claim 1, characterized in that: The front-end device includes an acquisition module, a storage module, a password module, a collection module, an analysis and conversion module, an authentication module, a receiving module, an encryption module and a transmission module; The acquisition module is connected to the certificate key system to acquire the encrypted certificate, and after decrypting it, stores it in the password module of the device through the storage module; The acquisition module acquires video information within the deployment position in real time, and converts the video data into images and structured data after analyzing it through the analysis and conversion module; The authentication module performs two-way identity authentication based on the certificate stored in the password module and the video image information database system; The receiving module receives the signaling sent by the video image information database system and authenticates the signaling. When both parties pass the signaling authentication, the front-end device transmits the encrypted and signed image and structured data to the video image information database system through the transmission module, and closes the interaction between the two parties after the transmission is completed; The encryption module signs and encrypts the image and structured data based on the private key in the password module and the symmetric key obtained during the two-way identity authentication.
4. A secure transmission system for video surveillance images and structured data according to claim 1, characterized in that: The video image information database system includes an acquisition module, a password module, a sending module, a first receiving module, a verification module, a storage module, an authentication module, a second receiving module, a signature module and a transmission module; The acquisition module is connected to the certificate key system, obtains the encrypted certificate and symmetric key, decrypts them and stores them in the password module through the storage module, and can establish a communication connection with the front-end device through two-way identity authentication based on the acquired certificate; The sending module sends signaling to the front-end device and the video image information application platform system; The first receiving module is used to receive the signaling sent by the front-end device and authenticate the signaling. After the authentication is passed, the encrypted and signed image and structured data transmitted by the front-end device are received. After completion, the data transmission between the video image information database system and the front-end device is completed, and the interaction with the front-end device is closed; The verification module verifies and checks the received encrypted and signed image and structured data based on the certificate stored in the password module, and stores the encrypted image and structured data through the storage module; The authentication module performs two-way identity authentication and signaling authentication with the front-end device and the video image information application platform system based on the certificate stored in the password module; The second receiving module receives the signaling sent by the video image information application platform system and authenticates the signaling; The signature module performs hash calculation and signature calculation on the encrypted image and structured data in the storage module; The transmission module transmits the encrypted and signed image and structured data to the video image information application platform system.
5. The secure transmission system of video surveillance images and structured data according to claim 1, characterized in that: The video image information application platform system includes an acquisition module, a password module, a call module, an authentication module, a verification module and a transmission module; The acquisition module is connected to the certificate key system, obtains the encrypted certificate and symmetric key, decrypts them and stores them in the password module through the storage module, and can establish a communication connection with the video image information database system through two-way identity authentication based on the acquired certificate; The calling module is used to call the required images and structured data from the video image information database system; The authentication module performs two-way identity authentication and signaling authentication based on the acquired certificate, the video image information database system and the terminal system into which the user key is inserted; The verification module verifies and checks the received encrypted and signed image and structured data based on the certificate stored in the cryptographic module; The transmission module forwards the encrypted and signed image and structured data to the terminal system into which the user key is inserted.
6. A secure transmission system for video surveillance images and structured data according to claim 1, characterized in that: The terminal system for inserting the user key includes an acquisition module, a password module, an authentication module, a sending module, a receiving module, a verification module and a transmission module; The acquisition module is connected to the certificate key system, and is used to obtain the encrypted certificate, decrypt it and store it in the password module; The authentication module performs two-way identity authentication and signaling authentication with the video image information application platform system based on the acquired certificate; The sending module sends a signal to the video image information application platform system; The receiving module receives the signaling sent by the video image information application platform system, authenticates the signaling, and receives the signed and encrypted image and structured data transmitted by the video image information application platform system after the signaling is authenticated; The verification module verifies and checks the received encrypted and signed image and structured data based on the certificate stored in the user key password module; The transmission module forwards the encrypted image and structured data verified by the verification module to the user key, and the user key decrypts and generates the original image and structured data that can be directly used by the terminal system.
7. A method for secure transmission of video surveillance images and structured data, characterized in that: The implementation method includes the following: The front-end device collects video information and converts it into raw images and structured data, and encrypts and signs the raw images and structured data through encryption information; The front-end device performs two-way identity authentication and signaling authentication with the video image information database system. After passing the authentication, the image and structured data encrypted and signed by the front-end device are transmitted to the video image information database system. The video image information database system verifies and checks the received encrypted and signed images and structured data through the encrypted information, and then stores the encrypted images and structured data for the video image information application platform system to call; The video image information application platform system performs two-way identity authentication and signaling authentication with the video image information database system. After passing the authentication, the encrypted and signed images and structured data of the video image information database system can be called. The terminal system with the user key inserted performs two-way identity authentication and signaling authentication with the video image information application platform system. After passing the authentication, the terminal system can receive the encrypted and signed images and structured data forwarded by the video image information application platform system, and verify, check and decrypt the encrypted and signed images and structured data by calling the user key, generating original images and structured data that can be directly used by the terminal system.
8. The method for secure transmission of video surveillance images and structured data according to claim 7, characterized in that: The steps of the two-way authentication between the video image information application platform system and the video image information database system and between the terminal system with the user key inserted and the video image information application platform system are the same as those between the front-end device and the video image information database system.
9. A method for secure transmission of video surveillance images and structured data according to claim 8, characterized in that: The two-way identity authentication between the front-end device and the video image information database system includes the following steps: S1: The front-end device sends a first request signal to the video image information database system, where the first signal includes the front-end device ID and first encrypted information; S2: After receiving the first request signal, the video image information database system generates a first random number and sends a first response signal to the front-end device. The response signal carries the video image information database system ID + the first random number + the second encryption information; S3: After receiving the first response signal, the front-end device generates a second random number; The first result is obtained by calculating the second random number + the first random number + the video image information database system ID using the private key carried by the system itself; The front-end device resends a second request signal to the video image information database system, carrying the second random number + the first random number + the video image information database system ID + the first result + the first encrypted information; S4: After receiving the second request signal, the video image information database system verifies the information carried in the second request signal sent by the front-end device, and a successful verification proves that the identity of the front-end device is legitimate; S5: The video image information database system calculates and signs the received second request signal using the key to obtain a second result; S6: The video image information database system sends a second response signal to the front-end device, carrying the first random number + the second random number + the front-end device ID + the second result + the algorithm adopted by the video image information database system; S7: After receiving the second response signal, the front-end device verifies the information carried in the second response signal sent by the video image information database system. If the verification is successful, it proves that the identity of the video image information database system is legitimate; if the verification fails, a denial of service response is sent.
10. The method for secure transmission of video surveillance images and structured data according to claim 7, characterized in that: The signaling authentication method comprises the following steps: S1: After the two-way identity authentication is successful, the signaling sender needs to calculate the signaling message including the sending time + key information to obtain the first result and send it to the signaling receiver before sending the signaling; S2: The signaling receiver receives the signaling, compares the sending time with the current time, and if the time difference is within the valid interval, extracts the signaling message + key information and calculates to obtain the second result, and compares the first result with the second result. If the comparison is successful, the signaling authentication is passed, otherwise the authentication fails, the signaling is discarded and the signaling session process is terminated; S3: If the signaling receiver authenticates the received signaling, it generates a response instruction, calculates the signaling message containing the sending time + key information to be sent, obtains a third result, and sends it to the signaling sender; S4: The signaling sender receives the response signaling, compares the sending time with the current time, and if the time difference is within the valid range, extracts the signaling message + key information and calculates to obtain the fourth result, and compares the third result with the fourth result. If the comparison is successful, the signaling authentication is successful, otherwise the authentication fails and the signaling is discarded.
