Method and system for camera communication control

By adopting multiple encryption and multi-link transmission methods in the camera control system, the problem of poor data transmission reliability and stability caused by single-link transmission is solved, and higher data transmission reliability and stability are achieved.

CN119946419APending Publication Date: 2025-05-06中央广播电视总台 +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510049794.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the existing camera control system, the direct transmission of a single link between the control end and the controlled camera leads to poor reliability and stability of data transmission.

Method used

The control command is encrypted by the control terminal and then transmitted to the base station. The base station decrypts and encrypts again and then transmits to the camera through two serial links. The camera decrypts the control command based on the second key and executes it.

Benefits of technology

Multiple encryption and multi-link transmission are realized, which improves the reliability and stability of data transmission and solves the problem of poor reliability and stability caused by single-link transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946419A_ABST
    Figure CN119946419A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for camera communication control. The method comprises the steps that a control end receives a control instruction input by a user; encrypting the control instruction by adopting a first encryption algorithm to generate a first ciphertext and a first secret key, and transmitting the first ciphertext and the first secret key to a base station; the base station decrypts the first ciphertext based on the first key to obtain a control instruction; encrypting the control instruction by adopting a second encryption algorithm to generate a second ciphertext and a second key; respectively transmitting the second ciphertext and the second secret key to the camera through two serial port links; and the camera decrypts the second ciphertext based on the second key to obtain the control instruction, and executes the control instruction according to the control instruction. According to the invention, the technical problem of poor reliability and stability of data transmission caused by direct transmission between the control end and the controlled camera by adopting a single link is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of camera remote control, and in particular, to a method and system for camera communication control. Background Art

[0002] With the continuous development of domestic Internet and television technology, people's requirements for television entertainment are also increasing. Ultra-high-definition video has entered thousands of households with the development of technology. At the same time, the full IPization of ultra-high-definition TV program shooting and production systems is the inevitable direction of television technology development.

[0003] When using broadcast-grade ultra-high-definition cameras, the control process mainly relies on camera technicians through the camera control panel (OCP).

[0004] In the existing camera control system, the UDP control protocol has the problem of low reliability, which may cause data loss or data errors; the control instructions are not processed by the confidentiality algorithm, and the authenticity of the control commands cannot be ensured, which is vulnerable to illegal tampering or forgery. Even if some technologies use remote transmission of control instructions or video data and encrypt them using algorithms, such as CN101902576B and CN113973160A; but the control end and the controlled camera often use a single link for direct transmission, and the reliability and stability of data transmission are poor.

[0005] In view of the problem that the reliability and stability of data transmission are poor due to the single-link direct transmission often used between the control end and the controlled camera in the related technology, no effective solution has been proposed so far. Summary of the invention

[0006] The main purpose of the present application is to provide a method and system for camera communication control, so as to solve the problem of poor reliability and stability of data transmission caused by single-link direct transmission between the control end and the controlled camera.

[0007] In order to achieve the above objective, according to one aspect of the present application, a method for camera communication control is provided.

[0008] The method for camera communication control according to the present application includes: a control end receives a control instruction input by a user; a first encryption algorithm is used to encrypt the control instruction to generate a first ciphertext and a first key, and then the ciphertext is transmitted to a base station; the base station decrypts the first ciphertext based on the first key to obtain a control instruction; a second encryption algorithm is used to encrypt the control instruction to generate a second ciphertext and a second key; the second ciphertext and the second key are transmitted to the camera through two serial port links respectively; the camera decrypts the second ciphertext based on the second key to obtain the control instruction, and executes according to the control instruction.

[0009] Furthermore, when the control end receives a control instruction input by the user, before transmitting the second ciphertext and the second secret key to the camera through two serial port links respectively, it also includes: obtaining the camera status; using the first encryption algorithm to encrypt the control instruction and the camera status to generate the first ciphertext and the first secret key, and then transmitting them to the base station; the base station decrypts the first ciphertext based on the first secret key to obtain the control instruction and the camera status; using a matching algorithm to match the camera status with the current camera status, and if the match is successful, using the second encryption algorithm to encrypt the control instruction to generate the second ciphertext and the second secret key.

[0010] Furthermore, the control terminal receiving the control command input by the user includes: the control terminal receiving the control command input by the user on the external device through the RS422 serial port and the RJ-45 network port.

[0011] Furthermore, encrypting the control instruction with a first encryption algorithm to generate a first ciphertext and a first key and then transmitting them to the base station includes: encrypting the control instruction with a first encryption algorithm to generate a first ciphertext and a first key and then transmitting them to the base station via a TCP / IP link.

[0012] Furthermore, the serial port link is a LEMO optoelectronic composite cable.

[0013] Furthermore, after transmitting the second ciphertext and the second secret key to the camera respectively through the two serial port links, it also includes: the camera determines whether the second ciphertext and the second secret key are received; if so, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the second ciphertext is decrypted based on the second secret key and no control instruction is obtained, it is determined that the decryption fails; if it is determined that the second ciphertext is received, the first reconnection program is started to try to transmit the serial port link of the second ciphertext; if it is determined that the second secret key is received, the second reconnection program is started to try to transmit the serial port link of the second secret key; if it is determined that the second ciphertext and the second secret key are not received, the first reconnection program and the second reconnection program are started to try to reconnect the two serial port links; if the reconnection is successful, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the reconnection fails, it is determined that the decryption fails.

[0014] In order to achieve the above objective, according to another aspect of the present application, a system for camera communication control is provided.

[0015] The system for camera communication control according to the present application includes: a control end, used to receive control instructions input by a user; the control instructions are encrypted using a first encryption algorithm to generate a first ciphertext and a first key, and then transmitted to a base station; the base station is used to decrypt the first ciphertext based on the first key to obtain the control instructions; the control instructions are encrypted using a second encryption algorithm to generate a second ciphertext and a second key; the second ciphertext and the second key are respectively transmitted to the camera via two serial port links; the camera is used to decrypt the second ciphertext based on the second key to obtain the control instructions, and execute according to the control instructions.

[0016] Furthermore, the control end is also used to obtain the camera status; use the first encryption algorithm to encrypt the control instructions and the camera status to generate a first ciphertext and a first secret key, and then transmit them to the base station; the base station is also used to decrypt the first ciphertext based on the first secret key to obtain the control instructions and the camera status; use a matching algorithm to match the camera status with the current camera status, and if the match is successful, use a second encryption algorithm to encrypt the control instructions to generate a second ciphertext and a second secret key.

[0017] Furthermore, the control end receives control instructions input by the user on the external device through the RS422 serial port and the RJ-45 network port; after encrypting the control instructions using the first encryption algorithm to generate a first ciphertext and a first secret key, the control instructions are transmitted to the base station through a TCP / IP link; the serial port link is a LEMO optoelectronic composite cable.

[0018] Furthermore, after transmitting the second ciphertext and the second secret key to the camera respectively through the two serial port links, it also includes: the camera determines whether the second ciphertext and the second secret key are received; if so, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the second ciphertext is decrypted based on the second secret key and no control instruction is obtained, it is determined that the decryption fails; if it is determined that the second ciphertext is received, the first reconnection program is started to try to transmit the serial port link of the second ciphertext; if it is determined that the second secret key is received, the second reconnection program is started to try to transmit the serial port link of the second secret key; if it is determined that the second ciphertext and the second secret key are not received, the first reconnection program and the second reconnection program are started to try to reconnect the two serial port links; if the reconnection is successful, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the reconnection fails, it is determined that the decryption fails.

[0019] In the embodiment of the present application, a control terminal, a camera and a base station cooperate with each other, and the control terminal encrypts the control instruction and then transmits it remotely to the base station. The base station decrypts the control instruction and then encrypts it, and then transmits it to the camera through two serial port links. The camera decrypts the control instruction and implements corresponding control, thereby achieving the purpose of multiple encryption and multi-link transmission, thereby realizing the technical effect of improving the reliability and stability of data transmission, and further solving the technical problem of poor reliability and stability of data transmission caused by the single-link direct transmission between the control terminal and the controlled camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:

[0021] Figure 1 is a flow chart of a method for camera communication control according to an embodiment of the present application;

[0022] Figure 2 It is a structural diagram of a system for camera communication control according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] According to an embodiment of the present invention, a method for camera communication control is provided. Figure 1 As shown, the method includes the following steps S101 to S106:

[0025] Step S101, the control terminal receives a control instruction input by a user;

[0026] Step S102: encrypt the control instruction using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmit the first ciphertext and the first secret key to a base station;

[0027] The user can input the camera parameters (control instructions) through the external device, and the control end receives the control instructions input by the user on the external device through the RS422 serial port and the RJ-45 network port. In order to ensure the authenticity and non-tamperability of the control instructions, the control instructions are encrypted using the first encryption algorithm including the hash algorithm, and the first ciphertext and the first secret key are generated and transmitted to the base station through the TCP / IP link to ensure that the encrypted data cannot be cracked.

[0028] It should be understood that the control end has a remote communication function and has a communication relationship with the base station, so the encrypted first ciphertext and the first secret key can be transmitted to the base station.

[0029] Step S103: The base station decrypts the first ciphertext based on the first secret key to obtain a control instruction;

[0030] Step S104: encrypt the control instruction using a second encryption algorithm to generate a second ciphertext and a second secret key;

[0031] Step S105, transmitting the second ciphertext and the second secret key to the camera through two serial port links respectively;

[0032] After receiving the first secret key and the first ciphertext, the base station first decrypts the first ciphertext with the first secret key. After successfully decrypting and obtaining the control command, it indicates that the data is authentic and reliable, and then encrypts it again, and transmits the second ciphertext and the second secret key generated after encryption to the camera through two serial port links respectively; multiple encryption and multi-link transmission are realized to improve the reliability and stability of data transmission. It should be understood that the serial port link is a LEMO optoelectronic composite cable.

[0033] Step S106: The camera decrypts the second ciphertext based on the second secret key to obtain a control instruction, and executes according to the control instruction.

[0034] After receiving the second key and the second ciphertext, the camera decrypts the second ciphertext based on the second key to obtain the control instruction, and executes according to the control instruction. Further, if the decryption fails, it indicates that the second key is wrong or does not match, and the camera will not be able to execute the instruction, thereby ensuring data security.

[0035] From the above description, it can be seen that the present invention achieves the following technical effects:

[0036] In the embodiment of the present application, a control terminal, a camera and a base station cooperate with each other, and the control terminal encrypts the control instruction and then transmits it remotely to the base station. The base station decrypts the control instruction and then encrypts it, and then transmits it to the camera through two serial port links. The camera decrypts the control instruction and implements corresponding control, thereby achieving the purpose of multiple encryption and multi-link transmission, thereby realizing the technical effect of improving the reliability and stability of data transmission, and further solving the technical problem of poor reliability and stability of data transmission caused by the single-link direct transmission between the control terminal and the controlled camera.

[0037] According to an embodiment of the present invention, preferably, when the control end receives the control instruction input by the user, before transmitting the second ciphertext and the second key to the camera through the two serial port links respectively, the process further includes:

[0038] Get the camera status;

[0039] The control instruction and the camera status are encrypted using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmitted to a base station;

[0040] The base station decrypts the first ciphertext based on the first secret key to obtain the control instruction and the camera status;

[0041] The camera state is matched with the current camera state by using a matching algorithm. If the match is successful, the control instruction is encrypted by using a second encryption algorithm to generate a second ciphertext and a second secret key.

[0042] Through the control terminal, personnel can not only input control parameters, but also pre-set the camera status of the status identifier. The camera status is encrypted together with the control command and transmitted to the base station. After receiving the first ciphertext and the first secret key, the base station decrypts the camera status and control command, and uses the matching algorithm to match the camera status with the currently detected real-time camera status. Only when the match is successful will the secondary encryption be performed, otherwise it will not be encrypted and transmitted to the camera. In this way, the matching can ensure that the camera status meets the specified requirements, thereby ensuring that the camera head can be in the best working state.

[0043] According to an embodiment of the present invention, preferably, after transmitting the second ciphertext and the second key to the camera through two serial port links respectively, the method further includes:

[0044] The camera determines whether the second ciphertext and the second secret key are received; if so, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the second ciphertext is decrypted based on the second secret key and no control instruction is obtained, it is determined that the decryption fails; if it is determined that the second ciphertext is received, the first reconnection program is started to try to transmit the serial link of the second ciphertext; if it is determined that the second secret key is received, the second reconnection program is started to try to transmit the serial link of the second secret key; if it is determined that the second ciphertext and the second secret key are not received, the first reconnection program and the second reconnection program are started to try to reconnect the two serial links; if the reconnection is successful, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the reconnection fails, it is determined that the decryption fails.

[0045] After the base station transmits the second ciphertext and the second secret key to the camera, the above process is executed; that is, the camera needs to determine whether it has received the second ciphertext and the second secret key; only when the second ciphertext and the second secret key are received and the second ciphertext can be decrypted by the second secret key, the decryption is determined to be successful; if the second ciphertext is not decrypted, it indicates that the secret key and the ciphertext do not correspond, and the decryption is determined to be failed; if the second ciphertext is received but the second secret key is not received, it indicates that the link used to transmit the second secret key in the serial link may not be connected, and the link is reconnected through the first reconnection procedure; if the second key is received If the second ciphertext is not received, it indicates that the link in the serial port link used to transmit the second ciphertext may not be connected, and the link is reconnected through the second reconnection procedure; if the second secret key and the second ciphertext are both received, it indicates that both links may not be connected, and the link is reconnected through the first and second reconnection procedures; if the reconnection is successful, and the second ciphertext can be decrypted based on the second secret key to obtain the control instruction, it is determined that the decryption is successful; if the reconnection fails, it is directly determined as a decryption failure; the interference of network disconnection on decryption is eliminated to avoid misjudgment for the purpose of ensuring data security.

[0046] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0047] According to an embodiment of the present invention, a system for implementing the above-mentioned camera communication control method is also provided. Figure 2 As shown, the device comprises:

[0048] The control terminal 10 is used to receive a control instruction input by a user; encrypt the control instruction using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmit the first ciphertext and the first secret key to the base station;

[0049] The user can input the camera parameters (control instructions) through the external device, and the control end receives the control instructions input by the user on the external device through the RS422 serial port and the RJ-45 network port. In order to ensure the authenticity and non-tamperability of the control instructions, the control instructions are encrypted using the first encryption algorithm including the hash algorithm, and the first ciphertext and the first secret key are generated and transmitted to the base station through the TCP / IP link to ensure that the encrypted data cannot be cracked.

[0050] It should be understood that the control end has a remote communication function and has a communication relationship with the base station, so the encrypted first ciphertext and the first secret key can be transmitted to the base station.

[0051] The base station 20 is used to decrypt the first ciphertext based on the first key to obtain the control instruction; encrypt the control instruction using the second encryption algorithm to generate the second ciphertext and the second key; and transmit the second ciphertext and the second key to the camera through two serial port links respectively;

[0052] After receiving the first secret key and the first ciphertext, the base station first decrypts the first ciphertext with the first secret key. After successfully decrypting and obtaining the control command, it indicates that the data is authentic and reliable, and then encrypts it again, and transmits the second ciphertext and the second secret key generated after encryption to the camera through two serial port links respectively; multiple encryption and multi-link transmission are realized to improve the reliability and stability of data transmission. It should be understood that the serial port link is a LEMO optoelectronic composite cable.

[0053] The camera 30 is used to decrypt the second ciphertext based on the second secret key to obtain the control instruction, and execute according to the control instruction.

[0054] After receiving the second key and the second ciphertext, the camera decrypts the second ciphertext based on the second key to obtain the control instruction, and executes according to the control instruction. Further, if the decryption fails, it indicates that the second key is wrong or does not match, and the camera will not be able to execute the instruction, thereby ensuring data security.

[0055] From the above description, it can be seen that the present invention achieves the following technical effects:

[0056] In the embodiment of the present application, a control terminal, a camera and a base station cooperate with each other, and the control terminal encrypts the control instruction and then transmits it remotely to the base station. The base station decrypts the control instruction and then encrypts it, and then transmits it to the camera through two serial port links. The camera decrypts the control instruction and implements corresponding control, thereby achieving the purpose of multiple encryption and multi-link transmission, thereby realizing the technical effect of improving the reliability and stability of data transmission, and further solving the technical problem of poor reliability and stability of data transmission caused by the single-link direct transmission between the control terminal and the controlled camera.

[0057] According to an embodiment of the present invention, preferably, when the control end receives the control instruction input by the user, before transmitting the second ciphertext and the second key to the camera through the two serial port links respectively, the process further includes:

[0058] Get the camera status;

[0059] The control instruction and the camera status are encrypted using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmitted to a base station;

[0060] The base station decrypts the first ciphertext based on the first secret key to obtain the control instruction and the camera status;

[0061] The camera state is matched with the current camera state by using a matching algorithm. If the match is successful, the control instruction is encrypted by using a second encryption algorithm to generate a second ciphertext and a second secret key.

[0062] Through the control terminal, personnel can not only input control parameters, but also pre-set the camera status of the status identifier. The camera status is encrypted together with the control command and transmitted to the base station. After receiving the first ciphertext and the first secret key, the base station decrypts the camera status and control command, and uses the matching algorithm to match the camera status with the currently detected real-time camera status. Only when the match is successful will the secondary encryption be performed, otherwise it will not be encrypted and transmitted to the camera. In this way, the matching can ensure that the camera status meets the specified requirements, thereby ensuring that the camera head can be in the best working state.

[0063] According to an embodiment of the present invention, preferably, after transmitting the second ciphertext and the second key to the camera through two serial port links respectively, the method further includes:

[0064] The camera determines whether the second ciphertext and the second secret key are received; if so, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the second ciphertext is decrypted based on the second secret key and no control instruction is obtained, it is determined that the decryption fails; if it is determined that the second ciphertext is received, the first reconnection program is started to try to transmit the serial link of the second ciphertext; if it is determined that the second secret key is received, the second reconnection program is started to try to transmit the serial link of the second secret key; if it is determined that the second ciphertext and the second secret key are not received, the first reconnection program and the second reconnection program are started to try to reconnect the two serial links; if the reconnection is successful, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the reconnection fails, it is determined that the decryption fails.

[0065] After the base station transmits the second ciphertext and the second secret key to the camera, the above process is executed; that is, the camera needs to determine whether it has received the second ciphertext and the second secret key; only when the second ciphertext and the second secret key are received and the second ciphertext can be decrypted by the second secret key, the decryption is determined to be successful; if the second ciphertext is not decrypted, it indicates that the secret key and the ciphertext do not correspond, and the decryption is determined to be failed; if the second ciphertext is received but the second secret key is not received, it indicates that the link used to transmit the second secret key in the serial link may not be connected, and the link is reconnected through the first reconnection procedure; if the second key is received If the second ciphertext is not received, it indicates that the link in the serial port link used to transmit the second ciphertext may not be connected, and the link is reconnected through the second reconnection procedure; if the second secret key and the second ciphertext are both received, it indicates that both links may not be connected, and the link is reconnected through the first and second reconnection procedures; if the reconnection is successful, and the second ciphertext can be decrypted based on the second secret key to obtain the control instruction, it is determined that the decryption is successful; if the reconnection fails, it is directly determined as a decryption failure; the interference of network disconnection on decryption is eliminated to avoid misjudgment for the purpose of ensuring data security.

[0066] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0067] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0068] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present invention and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0069] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those skilled in the art, the specific meanings of these terms in the present invention can be understood according to specific circumstances.

[0070] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0071] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0072] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for camera communication control, characterized in that: include: The control terminal receives the control command input by the user; Encrypting the control instruction using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmitting the first ciphertext and a first secret key to the base station; The base station decrypts the first ciphertext based on the first secret key to obtain the control instruction; Encrypting the control instruction using a second encryption algorithm to generate a second ciphertext and a second secret key; The second ciphertext and the second secret key are transmitted to the camera through two serial port links respectively; The camera decrypts the second ciphertext based on the second secret key to obtain a control instruction, and executes according to the control instruction.

2. The method according to claim 1, characterized in that When the control end receives the control command input by the user, before transmitting the second ciphertext and the second secret key to the camera through the two serial port links respectively, the method further includes: Get the camera status; The control instruction and the camera status are encrypted using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmitted to a base station; The base station decrypts the first ciphertext based on the first secret key to obtain the control instruction and the camera status; The camera state is matched with the current camera state by using a matching algorithm. If the match is successful, the control instruction is encrypted by using a second encryption algorithm to generate a second ciphertext and a second secret key.

3. The method according to claim 1, characterized in that The control instructions received by the control end include: The control end receives the control commands input by the user on the external device through the RS422 serial port and RJ-45 network port.

4. The method according to claim 1, characterized in that: Encrypting the control instruction using a first encryption algorithm to generate a first ciphertext and a first secret key and then transmitting the first ciphertext and a first secret key to the base station includes: The control instruction is encrypted using a first encryption algorithm to generate a first ciphertext and a first secret key, which are then transmitted to the base station via a TCP / IP link.

5. The method according to claim 1, characterized in that The serial link is a LEMO photoelectric composite cable.

6. The method according to claim 1, characterized in that After transmitting the second ciphertext and the second secret key to the camera through two serial port links respectively, the following steps are also included: The camera determines whether the second ciphertext and the second secret key are received; if so, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the second ciphertext is decrypted based on the second secret key and no control instruction is obtained, it is determined that the decryption fails; if it is determined that the second ciphertext is received, the first reconnection program is started to try to reconnect the serial link for transmitting the second ciphertext; if it is determined that the second secret key is received, the second reconnection program is started to try to reconnect the serial link for transmitting the second secret key; if it is determined that the second ciphertext and the second secret key are not received, the first reconnection program and the second reconnection program are started to try to reconnect the two serial links; if the reconnection is successful, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the reconnection fails, it is determined that the decryption fails.

7. A system for camera communication control, characterized in that: include: A control terminal, used for receiving control instructions input by a user; Encrypting the control instruction using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmitting the first ciphertext and a first secret key to the base station; The base station is used to decrypt the first ciphertext based on the first secret key to obtain the control instruction; encrypt the control instruction using the second encryption algorithm to generate the second ciphertext and the second secret key; and transmit the second ciphertext and the second secret key to the camera through two serial port links respectively; The camera is used to decrypt the second ciphertext based on the second secret key to obtain a control instruction, and execute according to the control instruction.

8. The system according to claim 7, characterized in that The control end is also used to obtain the camera status; encrypt the control instruction and the camera status using a first encryption algorithm to generate a first ciphertext and a first secret key, and then transmit them to the base station; The base station is also used to decrypt the first ciphertext based on the first secret key to obtain the control instruction and the camera status; use the matching algorithm to match the camera status with the current camera status. If the match is successful, the second encryption algorithm is used to encrypt the control instruction to generate the second ciphertext and the second secret key.

9. The system according to claim 7, characterized in that The control end receives the control command input by the user on the external device through the RS422 serial port and the RJ-45 network port; after encrypting the control command using the first encryption algorithm to generate the first ciphertext and the first secret key, it is transmitted to the base station through the TCP / IP link; the serial port link is a LEMO optoelectronic composite cable.

10. The system according to claim 7, characterized in that After transmitting the second ciphertext and the second secret key to the camera through two serial port links respectively, the following steps are also included: The camera determines whether the second ciphertext and the second secret key are received; if so, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the second ciphertext is decrypted based on the second secret key and no control instruction is obtained, it is determined that the decryption fails; if it is determined that the second ciphertext is received, the first reconnection program is started to try to transmit the serial link of the second ciphertext; if it is determined that the second secret key is received, the second reconnection program is started to try to transmit the serial link of the second secret key; if it is determined that the second ciphertext and the second secret key are not received, the first reconnection program and the second reconnection program are started to try to reconnect the two serial links; if the reconnection is successful, the second ciphertext is decrypted based on the second secret key to obtain a control instruction, and it is determined that the decryption is successful; if the reconnection fails, it is determined that the decryption fails.

Citation Information

Patent Citations

  • Video-encryption camera and encryption method thereof

    CN101902576B

  • Image and instruction encryption method and remote unmanned target vehicle

    CN113973160A

  • Integrated control method and system for network camera SIP extension

    CN101127893A

  • Cognitive ability test value encryption and transmission method based on internet

    CN105025036A

  • Data transmission method and system

    CN110855628A