Video surveillance information security protection system, method, device and medium
By introducing video management platform, certificate management module, identity authentication module and encryption and decryption module into the video surveillance system, and using SM2 algorithm for asymmetric encryption and decryption, the problems of identity authentication and data transmission security in the video surveillance system are solved, and the problem of identity authentication and data transmission security in the video surveillance system is realized Efficient and reliable transmission of video data.
Patent Information
- Application Number
- CN202411087268.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-09
AI Technical Summary
The existing video surveillance system uses username and password to authenticate identity, and the video data is transmitted in plain text and is easily stolen or tampered with. How to ensure the security of video data has become an urgent problem.
Provide a video surveillance information security protection system, including a video management platform, certificate management module, identity authentication module and encryption and decryption module. It uses SM2 algorithm for asymmetric encryption and decryption, and performs two-way identity authentication and data signature based on digital certificates to ensure video Data transmission is secure.
Through digital certificate management and encryption and decryption, video management platforms and video devices have unique identity identifiers. Sensitive data is transmitted using ciphertext, which significantly improves the system's identity authentication security and the security of video data transmission, and reduces information theft or risk of tampering.
Smart Images

Figure CN118631587B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a video surveillance information security protection system, method, equipment and medium based on a national secret algorithm, and relates to the field of video data transmission. Background Art
[0002] The video surveillance system is an important equipment for railways, providing important support for realizing modern and efficient operation and management of railways. The railway video surveillance system provides strong support for railway traffic command, production organization, passenger and freight transportation services, operation monitoring, emergency rescue, and public security prevention by deploying video surveillance systems in major areas such as station halls, platforms, entrances and exits, and power and weak electrical machine rooms, train entry and exit, and passenger boarding and alighting places.
[0003] With the rapid development of video surveillance applications and network technology, data security issues are becoming increasingly prominent. The existing video surveillance system, front-end equipment and monitoring terminals use usernames and passwords for identity authentication, which poses a security risk. Video image data is encoded in international standard formats such as H.264 and H.265, and transmitted in plain text. Video data can be easily stolen or tampered with by others on the network. How to ensure the security of video data has become an urgent problem to be solved. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, in view of the above problems, the purpose of the present invention is to provide a video surveillance information security protection system, method, device and medium that can improve the information security of the video surveillance system.
[0005] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is:
[0006] In a first aspect, the present invention provides a video surveillance information security protection system, which includes a video management platform, a certificate management module, an identity authentication module and an encryption and decryption module;
[0007] The video management platform is used to register video devices;
[0008] The certificate management module is used to create and manage signature and encryption certificates of the video management platform and video devices;
[0009] The identity authentication module is used to be called by the video management platform and implement data signing and verification of the video device based on the certificate management module;
[0010] The encryption and decryption module is used to be called by the video management platform to perform asymmetric encryption or decryption on the video data of the video device using the SM2 algorithm.
[0011] In a possible implementation manner, the video management platform and the video device interact with each other using a standard protocol in SIP+XML format and transmit the data based on a TCP / IP network.
[0012] In a possible implementation manner, the video management platform is used to register the video device, including:
[0013] When the video device registers with the video management platform, the video management platform generates a random number rs and returns it to the registrant. After receiving the random number rs, the registrant generates a random number rc. The registrant signs the data rc+rs+video management platform ID using the private key using the SM2+SM3 algorithm and initiates a registration message;
[0014] After receiving the registration message, the video management platform calls the identity authentication module, and the identity authentication module searches for the signature certificate of the video device according to the video device ID, checks the validity of the certificate, and verifies the signature information;
[0015] When the video management platform returns data to the video device, the identity authentication module is called to sign the data rs+rc+video device ID to be sent using the signature private key of the video management platform based on the SM2+SM3 algorithm, and returns it to the video device.
[0016] In a possible implementation, the working process of the certificate management module includes:
[0017] The certificate administrator logs in to the certificate management module through ukey, enters the certificate application related information, and submits it to the certificate management backend service;
[0018] The certificate management background service calls the service interface of the CA authentication system to apply for a signature and encryption certificate, records the result, and binds the applied encryption certificate to the video management platform and the video device.
[0019] In a possible implementation manner, the encryption and decryption module is used to be called by the video management platform to asymmetrically encrypt or decrypt the video data of the video device using the SM2 algorithm, including:
[0020] Before the video management platform sends the video encryption key and the video key encryption key data, the encryption and decryption module is called; the encryption and decryption module searches for the encryption certificate of the video device through the certificate management module according to the video device ID, and uses the encryption certificate to asymmetrically encrypt the video encryption key and the video key encryption key data based on the SM2 algorithm to generate ciphertext data, and returns the ciphertext data to the video management platform;
[0021] The video management platform encapsulates the ciphertext data into a SIP message according to the protocol rules specified in GB35114 and calculates the summary using the SM3 algorithm and then sends the ciphertext data to the video device; after receiving the ciphertext data, the video device parses the video encryption key, the video key encryption key and the summary from the SIP message according to the protocol rules, and the video device calculates the summary of the SIP message data using the SM3 algorithm and compares it with the received summary. After the summary comparison is successful, the encryption certificate private key is used to decrypt the obtained ciphertext data using the SM2 algorithm to obtain the plain text of the video encryption key and the video key encryption key;
[0022] When the video management platform receives the encrypted data sent by the video device, it constructs the data according to the protocol rules, first calls the encryption and decryption module to verify the validity of the summary, and then calls the encryption and decryption module to decrypt the encrypted data using the private key after the verification.
[0023] In a second aspect, the present invention further provides a security protection method for a video surveillance information security protection system, the method comprising:
[0024] Identity authentication process: the video device sends registration information to the video management platform. After the video management platform accepts the registration, it calls the identity authentication module. The identity authentication module searches for the certificate according to the ID to determine whether the certificate is valid. If it is valid, it verifies whether the signature is valid. If the signature is valid, it sends it to the video management platform. If the authentication result of the video management platform is successful, it sends information to the identity authentication module to complete the data signature. The video management platform constructs a registration return result and sends it to the video device; if the verification certificate is invalid or the verification signature is invalid, it sends information to the video management platform. The video management platform sends the authentication result as failure, and constructs a registration return result and sends it to the video device.
[0025] Decryption process: the video device transmits the video ciphertext data to the video management platform, the video management platform receives and parses the data, and sends the ciphertext data to the encryption and decryption module, the encryption and decryption module calculates a summary of the ciphertext data using the SM3 algorithm and returns it to the video management platform, the video management platform compares the calculated summary with the summary of the sent data, and ends if it is no, and sends the ciphertext data to the encryption and decryption module if it is yes, and the encryption and decryption module decrypts the ciphertext data using the private key of the video management platform through the SM2 algorithm, and returns the decrypted data to the video management platform;
[0026] Encryption process: the video management platform sends the original data to the encryption and decryption module. The encryption and decryption module searches for the device certificate according to the video device ID, encrypts the data with the SM2 algorithm through the certificate public key, and returns the ciphertext data to the video management platform. The video management platform processes the ciphertext data and constructs the data, and sends the constructed data to the encryption and decryption module. The encryption and decryption module calculates the summary with the SM3 algorithm and returns it to the video management platform. The video management platform encapsulates the data in the format specified in GB35114 and returns the data to the video device.
[0027] In a possible implementation, the certificate management process is further included: log in to the certificate management module to select the certificate type, enter the certificate application related information, submit the application, and call the CA authentication system. The CA interface returns the result, and the certificate management module records the interface call result and saves the corresponding type of certificate information to the database of the video management platform, wherein:
[0028] Select the certificate type: If the certificate type is the video management platform, select the platform, obtain the platform ID, the cipher machine ID, and enter the validity period and other information; if the certificate type is the front-end device in the video device, select the device, obtain the device ID, the cipher module ID, generate the CSR information, enter the validity period and other information; if the certificate type is the monitoring terminal user in the video device, select the user, obtain the user ID, obtain the Ukey ID, generate the CSR information, enter the validity period and other information;
[0029] Save the corresponding type of certificate information to the database: if the certificate type is the video management platform, modify the platform parameters and set the platform certificate; if the certificate type is a front-end device, modify the device information, set the device certificate, and import the certificate to the front-end device; if the certificate type is a monitoring terminal user, modify the user information, set the user certificate, and import the certificate into UKEY.
[0030] In a third aspect, the present invention further provides an electronic device, comprising:
[0031] at least one processor; and
[0032] A memory communicatively connected to the processor; wherein,
[0033] The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform any one of the methods described above.
[0034] In a fourth aspect, the present invention further provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include computer instructions, and the computer instructions are used to enable a computer to execute any one of the methods described.
[0035] The present invention adopts the above technical solution, and has the following characteristics:
[0036] 1. In order to enhance the security of system identity authentication, the present invention provides an identity authentication method based on digital certificates that complies with the GB35114 standard. The video management platform, front-end equipment and monitoring terminal users are all issued digital certificates through the CA system and authenticated in a two-way identity authentication mode. The video monitoring management platform manages the certificates in a unified manner, effectively improving security.
[0037] 2. In order to enhance the security of video data transmission, the present invention provides a video data encryption and decryption function that complies with the GB35114 standard. As a national mandatory standard, the GB35114 standard has been widely used in video surveillance systems, reducing the information security risks of video surveillance systems and improving the security protection capabilities of video surveillance systems.
[0038] 3. The present invention utilizes digital certificate management, identity authentication, and encryption and decryption. The video management platform, front-end equipment, and monitoring terminal users all have unique identities. Sensitive data such as video images and keys are transmitted in ciphertext to prevent the information from being stolen or tampered with, making the communication data information more secure, trustworthy, and reliable.
[0039] In summary, the present invention can be widely used in video monitoring of railway systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings:
[0041] Figure 1 The figure is a flow chart of certificate management according to an embodiment of the present invention.
[0042] Figure 2 This is a flow chart of an identity authentication module according to an embodiment of the present invention.
[0043] Figure 3 The figure is a schematic diagram of a decryption process according to an embodiment of the present invention.
[0044] Figure 4 The figure is a schematic diagram of an encryption process according to an embodiment of the present invention.
[0045] Figure 5 FIG. 1 is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0047] Although the terms first, second, third, etc. can be used in the text to describe multiple elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms can only be used to distinguish an element, component, region, layer or section from another region, layer or section. Unless the context clearly indicates, terms such as "first", "second" and other numerical terms do not imply order or sequence when used in the text. Therefore, the first element, component, region, layer or section discussed below can be referred to as the second element, component, region, layer or section without departing from the teaching of the example embodiments.
[0048] For ease of description, spatially relative terms may be used herein to describe the relationship of one element or feature relative to another element or feature as shown in the figures, such as "inside", "outside", "inner side", "outer side", "below", "above", etc. Such spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation depicted in the figures.
[0049] Since the existing video surveillance system and the front-end equipment and the monitoring terminal perform identity authentication through the username and password method, there are potential safety hazards, and the video image data is transmitted in plain text, and the video data is easily stolen or tampered by other people in the network. The video surveillance information security protection system, method, equipment and medium provided by the present invention include a video management platform, a certificate management module, an identity authentication module and an encryption and decryption module; the video management platform is used to register the video device; the certificate management module is used to create and manage the signature and encryption certificates of the video management platform and the video device; the identity authentication module is used to be called by the video management platform, and the data signature and verification of the video device are realized based on the certificate management module; the encryption and decryption module is used to be called by the video management platform, and the video data of the video device is asymmetrically encrypted or decrypted using the SM2 algorithm. Therefore, the present invention uses digital certificate management, identity authentication and encryption and decryption, so that the video management platform and the video device have unique identity identification, and sensitive data are transmitted in ciphertext to prevent the information from being stolen or tampered with, so as to realize the communication data information more secure, credible and reliable.
[0050] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0051] Embodiment 1: The video surveillance information security protection system based on the national secret algorithm provided in this embodiment can be implemented by software, hardware, or a combination of software and hardware. For the convenience of description, this embodiment is described separately by functions divided into various modules. Of course, the functions of each module can be implemented in the same or multiple software and / or hardware during implementation. For example, the system can include integrated or separate functional modules for execution.
[0052] Specifically, the video surveillance information security protection system based on the national secret algorithm provided in this embodiment includes a video management platform, a certificate management module, an identity authentication module and an encryption and decryption module.
[0053] The video management platform is used to communicate with video devices (such as the downstream video management platform, front-end devices, and monitoring terminal users, etc., as an example, but not limited to this), and transmit and process corresponding data through the identity authentication module and the encryption and decryption module. Among them, the video management platform and the video devices can adopt the standard protocol in the SIP+XML format and transmit based on the TCP / IP network. Among them, the downstream video management platform and the video management platform are two entities with the same functions. Both are video management platforms, which are subordinate to each other and can be used according to actual needs.
[0054] The certificate management module is used to create, update and delete signature and encryption certificates for video management platform and video device users.
[0055] In this embodiment, the working process of the certificate management module is as follows: the certificate administrator logs in to the certificate management module through ukey, enters the relevant information of the digital certificate application, and submits it to the certificate management background service. The certificate management background service calls the service interface of the CA authentication system to apply for the signature and encryption certificate, and records the results, binds the applied certificate to the video management platform and video equipment, and the specific information of the digital certificate is shown in Table 1.
[0056]
[0057] The identity authentication module is used to implement the data signature verification function of the video management platform and the video device data signature.
[0058] In this embodiment, when the video device registers with the video management platform, the video management platform generates a random number rs and returns it to the registrant. After receiving the random number rs, the registrant generates a random number rc. The registrant signs the data (rc+rs+video management platform ID) using the private key using the SM2+SM3 algorithm and initiates a registration message. The registration information includes the signature information of the device data. After receiving the registration message, the video management platform calls the identity authentication module. The identity authentication module searches for the signature certificate based on the device ID, checks the validity of the certificate, and verifies the signature information. When the video management platform returns data to the video device, it calls the identity authentication module, uses the signature private key of the video management platform to sign the data to be sent (rs+rc+video device ID) using the SM2+SM3 algorithm, and returns it to the video device. Therefore, it is more secure and reliable than the existing identity authentication method using a username and password.
[0059] The encryption and decryption module is used to implement asymmetric encryption or decryption of data by the video management platform using the SM2 algorithm based on the digital certificate.
[0060] In this embodiment, before the video management platform sends sensitive data such as video encryption key and video key encryption key to the video device, the encryption and decryption module is called. The encryption and decryption module searches for the encryption certificate according to the video device ID and uses the encryption certificate to asymmetrically encrypt the sensitive data using the SM2 algorithm to generate ciphertext data. The encryption and decryption module returns the ciphertext to the video management platform. The video management platform encapsulates the encrypted data into a SIP message according to the protocol rules specified in GB35114 and calculates the summary using the SM3 algorithm and then sends it to the video device. After receiving the data, the video device parses the ciphertext and summary such as the video encryption key and the video key encryption key from the SIP message according to the protocol rules. The video device calculates the summary of the SIP message data using the SM3 algorithm and compares it with the received summary. After the summary comparison is successful, the encryption certificate private key is used to decrypt the obtained ciphertext using the SM2 algorithm to obtain the plaintext of the video encryption key and the video key encryption key. Similarly, when the video management platform receives the encrypted data sent by the video device, it constructs the data according to the protocol rules, first calls the encryption and decryption module to verify the validity of the summary, and then calls the encryption and decryption module to decrypt the encrypted data using the private key after the verification is passed.
[0061] Embodiment 2: Figure 1 As shown, the present invention also provides a video surveillance information security protection method based on a national secret algorithm, comprising:
[0062] S1. Certificate management process: The administrator logs in to the certificate management module, selects the certificate type, enters the relevant information for the certificate application, submits the application, enters the certificate management module to call the CA authentication system, and the CA interface returns the result. The certificate management module records the interface call result and saves the corresponding type of certificate information to the digital certificate database of the video management platform, where the digital certificate database is used to store certificate information.
[0063] In this embodiment, if the certificate type is a video management platform, select the platform, obtain the platform ID, the cryptographic machine ID, and enter the validity period and other information; if the certificate type is a front-end device, select the device, obtain the device ID, the cryptographic module ID, generate the CSR information, enter the validity period and other information; if the certificate type is a monitoring terminal user, select the user, obtain the user ID, obtain the Ukey ID, generate the CSR information, enter the validity period and other information.
[0064] In this embodiment, the corresponding type of certificate information is saved to the database: if the certificate type is a video management platform, modify the platform parameters and set the platform certificate; if the certificate type is a front-end device, modify the device information, set the device certificate, and import the certificate to the device; if the certificate type is a monitoring terminal user, modify the user information, set the user certificate, and import the certificate into UKEY.
[0065] S2. Identity authentication process: Figure 2 As shown, the video management platform, front-end device and / or monitoring terminal user send registration information to the video management platform. After the video management platform accepts the registration, it calls the identity authentication module. The identity authentication module searches for the certificate according to the ID to determine whether the certificate is valid. If it is valid, it verifies whether the signature is valid. If the signature is valid, it is sent to the video management platform. If the authentication result of the video management platform is successful, the information is sent to the identity authentication module to complete the data signature. The video management platform constructs a registration return result and sends it to the downstream video management platform, front-end device or monitoring terminal user; if the verification certificate is invalid or the verification signature is invalid, the information is sent to the video management platform. The video management platform sends the authentication result as failure, and at the same time constructs a registration return result and sends it to the downstream platform, front-end device or monitoring terminal user.
[0066] S3, decryption process: Figure 3 As shown, the downstream video management platform, front-end equipment or monitoring terminal user transmits the video ciphertext data to the video management platform, the video management platform receives and parses the data, and sends the ciphertext data to the encryption and decryption module. The encryption and decryption module calculates a summary of the ciphertext data using the SM3 algorithm and returns it to the video management platform. The video management platform compares the calculated summary with the summary of the sent data. If it is no, the process ends. If it is yes, the ciphertext data is sent to the encryption and decryption module. The encryption and decryption module decrypts the ciphertext data using the private key of the video management platform through the SM2 algorithm and returns the decrypted data to the video management platform.
[0067] S4, encryption process: Figure 4 As shown, the video management platform sends the original data to the encryption and decryption module. The encryption and decryption module searches for the encryption certificate according to the device ID, encrypts the data with the SM2 algorithm through the certificate public key, and returns the ciphertext to the video management platform. The video management platform processes the ciphertext data and constructs the data, and sends the constructed data to the encryption and decryption module. The encryption and decryption module calculates the summary with the SM3 algorithm and returns it to the video management platform. The video management platform encapsulates the data in the format specified in GB35114 and returns the data to the corresponding downstream video management platform, front-end device or monitoring terminal user.
[0068] Embodiment 3: This embodiment provides an electronic device corresponding to the video surveillance information security protection method provided in this embodiment 2. The electronic device may be an electronic device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of embodiment 2.
[0069] like Figure 5As shown, the electronic device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Component (EISA) bus, etc. The memory stores a computer program that can be run on the processor. When the processor runs the computer program, it executes the method of Example 2. The implementation principle and technical effect are similar to those of Example 2, which will not be repeated here. Those skilled in the art can understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computing device to which the scheme of the present application is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0070] In a preferred embodiment, the logic instructions in the above-mentioned memory can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), optical disk and other media that can store program codes.
[0071] In a preferred embodiment, the processor may be a central processing unit (CPU), a digital signal processor (DSP) or other general-purpose processors of various types, which are not limited herein.
[0072] Embodiment 4: This embodiment provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include computer instructions. When the computer instructions are executed by a computer, the computer executes the method provided in the above-mentioned embodiment 2.
[0073] In a preferred embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device, such as but not limited to an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. The computer-readable storage medium stores computer program instructions that cause the computer to execute the method provided in the above-mentioned embodiment 2.
[0074] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0075] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0076] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0077] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In the description of this specification, the description of reference terms "a preferred embodiment", "further", "specifically", "in the present embodiment", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradiction.
[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A video surveillance information security protection system, characterized in that: The system includes a video management platform, a certificate management module, an identity authentication module and an encryption and decryption module; The video management platform is used to register video devices, including: When the video device registers with the video management platform, the video management platform generates a random number rs and returns it to the registrant. After receiving the random number rs, the registrant generates a random number rc. The registrant signs the data rc+rs+video management platform ID using the private key using the SM2+SM3 algorithm and initiates a registration message; After receiving the registration message, the video management platform calls the identity authentication module, and the identity authentication module searches for the signature certificate of the video device according to the video device ID, checks the validity of the certificate, and verifies the signature information; When the video management platform returns data to the video device, the identity authentication module is called to sign the data rs+rc+video device ID to be sent using the signature private key of the video management platform based on the SM2+SM3 algorithm, and the signature is returned to the video device; The certificate management module is used to create and manage signature and encryption certificates of the video management platform and video devices; The identity authentication module is used to be called by the video management platform and implement data signing and verification of the video device based on the certificate management module; The encryption and decryption module is used to be called by the video management platform to asymmetrically encrypt and decrypt the video data of the video device using the SM2 algorithm, including: Before the video management platform sends the video encryption key and the video key encryption key data, the encryption and decryption module is called; the encryption and decryption module searches for the encryption certificate of the video device through the certificate management module according to the video device ID, and uses the encryption certificate to asymmetrically encrypt the video encryption key and the video key encryption key data based on the SM2 algorithm to generate ciphertext data, and returns the ciphertext data to the video management platform; The video management platform encapsulates the ciphertext data into a SIP message according to the protocol rules specified in GB35114 and calculates the summary using the SM3 algorithm and then sends the result to the video device; after receiving the ciphertext data, the video device parses the video encryption key, the video key encryption key and the summary from the SIP message according to the protocol rules, and the video device calculates the summary of the SIP message data using the SM3 algorithm and compares it with the received summary. After the summary comparison is successful, the ciphertext data obtained is decrypted using the SM2 algorithm using the encryption certificate private key of the video device to obtain the plain text of the video encryption key and the video key encryption key; When the video management platform receives the encrypted data sent by the video device, it constructs the data according to the protocol rules, first calls the encryption and decryption module to verify the validity of the summary, and then calls the encryption and decryption module to decrypt the encrypted data using the private key after the verification.
2. The video surveillance information security protection system according to claim 1, characterized in that: The video management platform and the video equipment interact with each other using a standard protocol in SIP+XML format and are transmitted based on a TCP / IP network.
3. The video surveillance information security protection system according to claim 1, characterized in that: The working process of the certificate management module includes: The certificate administrator logs in to the certificate management module through ukey, enters the certificate application related information, and submits it to the certificate management backend service; The certificate management background service calls the service interface of the CA authentication system to apply for a signature and encryption certificate, records the result, and binds the applied certificate to the video management platform and the video device.
4. A security protection method based on the video surveillance information security protection system according to any one of claims 1 to 3, characterized in that: The method includes: Identity authentication process: The video device sends registration information to the video management platform. After the video management platform accepts the registration, it calls the identity authentication module. The identity authentication module looks up the certificate based on the ID to determine whether the certificate is valid. If it is valid, it verifies whether the signature is valid. If the signature is valid, it is sent to the video management platform. If the authentication result of the video management platform is successful, it sends information to the identity authentication module to complete the data signature. The video management platform constructs a registration return result and sends it to the video device. If the verification certificate is invalid or the verification signature is invalid, it sends information to the video management platform. The video management platform sends the authentication result as failure and constructs a registration return result and sends it to the video device. Decryption process: The video device transmits the video ciphertext data to the video management platform. The video management platform receives and parses the data and sends the ciphertext data to the encryption and decryption module. The encryption and decryption module uses the SM3 algorithm to calculate the summary of the ciphertext data and returns it to the video management platform. The video management platform compares the calculated summary with the summary of the sent data. If it is no, the process ends. If it is yes, the ciphertext data is sent to the encryption and decryption module. The encryption and decryption module uses the private key of the video management platform through the SM2 algorithm to decrypt the ciphertext data and returns the decrypted data to the video management platform. Encryption process: The video management platform sends the original data to the encryption and decryption module. The encryption and decryption module searches for the device certificate according to the video device ID, encrypts the data with the SM2 algorithm through the certificate public key, and returns the ciphertext data to the video management platform. The video management platform processes the ciphertext data and constructs the data, and sends the constructed data to the encryption and decryption module. The encryption and decryption module calculates the summary with the SM3 algorithm and returns it to the video management platform. The video management platform encapsulates the data in the format specified in GB35114 and returns the data to the video device.
5. The safety protection method according to claim 4, characterized in that: It also includes the certificate management process: log in to the certificate management module to select the certificate type, enter the certificate application related information, submit the application, and call the CA certification system. The CA interface returns the result. The certificate management module records the interface call result and saves the corresponding type of certificate information to the database of the video management platform, where: select the certificate type: if the certificate type is a video management platform, select the platform, obtain the platform ID, the cipher machine ID, and enter the validity period information; if the certificate type is a front-end device, select the device, obtain the device ID, the cipher module ID, generate the CSR information, and enter the validity period information; if the certificate type is a monitoring terminal user, select the user, obtain the user ID, obtain the Ukey ID, generate the CSR information, and enter the validity period information; Save the corresponding type of certificate information to the database: If the certificate type is a video management platform, modify the platform parameters and set the platform certificate; if the certificate type is a front-end device, modify the device information, set the device certificate, and import the certificate to the device; if the certificate type is a monitoring terminal user, modify the user information, set the user certificate, and import the certificate into UKEY.
6. An electronic device, characterized in that: include: at least one processor; as well as A memory communicatively connected to the processor; wherein, The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform the method according to any one of claims 4-5.
7. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include computer instructions for causing a computer to execute the method according to any one of claims 4-5.
