Camera self-configuration method, client, camera, system and storage medium

By automatically discovering and configuring cameras on the client side, and utilizing multicast technology and security protocols to achieve camera self-configuration, the problem of low efficiency in manual configuration in existing technologies is solved, the success rate of camera online is improved, and data transmission security is enhanced.

CN121644983APending Publication Date: 2026-03-10CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511983315.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing camera configuration methods rely on manual operation, which is inefficient and has a high error rate, making it difficult to meet the convenience requirements for large-scale deployment.

Method used

The client automatically discovers cameras within the local area network, generates configuration parameters using multicast technology and pre-agreed communication protocols, and transmits these parameters to the cameras for self-configuration using the Hypertext Transfer Protocol, while simultaneously authenticating and registering with the cloud platform.

Benefits of technology

It improves camera configuration efficiency and online success rate, achieves automated configuration without manual intervention, and enhances data transmission security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121644983A_ABST
    Figure CN121644983A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a camera self-configuration method, a client, a camera, a system and a storage medium. The method comprises the following steps: automatically discovering a camera in a first local area network; generating configuration parameters of the camera according to the protocol parameters of the first communication protocol; the first communication protocol is a communication protocol pre-agreed with the camera; and transmitting the configuration parameters of the camera to the camera, so that the camera performs self-configuration according to the configuration parameters. According to the camera self-configuration method, the client, the camera, the system and the storage medium provided by the embodiment of the invention, the camera does not need to be manually configured, the camera configuration efficiency can be improved, and the camera online success rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure belongs to the field of computer information technology, and in particular relates to a camera self-configuration method, client, camera, system and storage medium. Background Technology

[0002] With the continuous development of video surveillance technology, more and more cameras are being widely used in daily life and social management. The large-scale deployment of cameras places higher demands on the efficiency and convenience of their configuration and access platforms. Currently, technical personnel need to log into the camera's local management page and manually input configuration parameters. Summary of the Invention

[0003] This disclosure provides a camera self-configuration method, client, camera, system, and storage medium, which can improve camera configuration efficiency and increase the success rate of camera going online.

[0004] In a first aspect, embodiments of this disclosure provide a camera self-configuration method applied to a client, comprising: automatically discovering cameras within a first local area network; generating camera configuration parameters according to protocol parameters of a first communication protocol; the first communication protocol being a communication protocol pre-agreed with the camera; and transmitting the camera configuration parameters to the camera so that the camera can self-configure according to the configuration parameters.

[0005] In one feasible implementation, the configuration parameters include one or more of the following: username information, password information, local port information, platform IP information, port number information, device identification information, bitstream index information, and main video channel lens identification information.

[0006] In one feasible implementation, automatically discovering cameras within a first local area network includes: automatically discovering cameras within a first local area network based on multicast technology.

[0007] In one feasible implementation, automatically discovering cameras within a first local area network based on multicast technology includes: sending a device discovery request to a preset multicast address based on the protocol header of multicast technology, so that the device discovery request is multicast within the first local area network; receiving response information from the cameras; and marking the cameras according to the camera response information.

[0008] In one feasible implementation, transmitting camera configuration parameters to the camera includes: transmitting camera configuration parameters to the camera using a Hypertext Transfer Security Protocol (HTTP).

[0009] Secondly, embodiments of this disclosure provide a camera self-configuration method, applied to a camera, comprising: responding to a device discovery request sent by a client, sending response information to the client; responding to camera configuration parameters sent by the client, performing self-configuration based on the configuration parameters; wherein the configuration parameters are determined according to a pre-agreed communication protocol with the client. Based on the configuration parameters, authentication is performed with a cloud platform to enable the camera to register and go online on the cloud platform.

[0010] In one feasible implementation, the configuration parameters include password information; authentication with the cloud platform is performed based on the configuration parameters, including: encrypting the password information based on a hash algorithm to obtain encrypted password information; and performing authentication with the cloud platform based on digest authentication technology based on the encrypted password information.

[0011] Thirdly, embodiments of this disclosure provide a client, including: The discovery module is used to automatically discover cameras within the first local area network. The generation module is used to generate the camera's configuration parameters according to the protocol parameters of the first communication protocol; the first communication protocol is a communication protocol pre-agreed with the camera. The transmission module is used to transmit the camera's configuration parameters to the camera so that the camera can self-configure according to the configuration parameters.

[0012] Fourthly, embodiments of this disclosure provide a camera, including: The sending module is used to respond to client requests and send response information to the client. The self-configuration module is used to respond to the camera configuration parameters sent by the client and perform self-configuration based on the configuration parameters; wherein, the configuration parameters are determined according to the communication protocol agreed upon with the client in advance.

[0013] The registration module is used to authenticate with the cloud platform based on configuration parameters, so that the camera can be registered and launched on the cloud platform.

[0014] Fifthly, embodiments of this disclosure provide a camera self-configuration system, including: A client is used to execute the camera self-configuration method of any one of the embodiments of the first aspect described above; A camera for performing the camera self-configuration method of any one of the embodiments of the second aspect above; The cloud platform is used for authenticating cameras.

[0015] Sixthly, embodiments of this disclosure provide a computer storage medium storing computer program instructions; when executed by a processor, the computer program instructions implement any of the camera self-configuration methods described in the above embodiments.

[0016] In a seventh aspect, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed, implements any of the camera self-configuration methods described in the above embodiments.

[0017] The camera self-configuration method, client, camera, system, and storage medium of this disclosure embodiment can automatically discover cameras within a first local area network through the client, generate camera configuration parameters according to the protocol parameters of a first communication protocol, and transmit the camera configuration information to the camera; the camera responds to the device discovery request sent by the client by sending response information to the client; and in response to the camera configuration parameters sent by the client, it performs self-configuration based on the configuration parameters. This eliminates the need for manual camera configuration, improving camera configuration efficiency and increasing the success rate of camera going online; furthermore, the camera authenticates with the cloud platform to register and go online on the cloud platform, thus achieving multiple encryption and improving the security of data transmission. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic flowchart of a camera self-configuration method provided in an embodiment of this disclosure; Figure 2 This is a schematic flowchart of a camera self-configuration method provided in an embodiment of this disclosure; Figure 3 This is an interactive schematic diagram of a camera discovery method based on multicast technology provided in an embodiment of this disclosure; Figure 4 This is a schematic flowchart of a camera self-configuration method provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram of the structure of a camera self-configuration system provided in an embodiment of this disclosure; Figure 6 This is an interactive schematic diagram of a camera self-configuration system provided in an embodiment of this disclosure; Figure 7 This is a schematic diagram of the structure of a client provided in an embodiment of this disclosure; Figure 8 This is a schematic diagram of the structure of a camera provided in an embodiment of this disclosure. Detailed Implementation

[0020] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely intended to explain the present invention and not to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present invention by illustrating examples of the invention.

[0021] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0022] In existing technologies, cameras are generally deployed based on the national standard GB / T28181 protocol. However, GB / T28181 only standardizes information such as device registration information and channel stream configuration information. Cameras still require manual configuration by technicians based on their understanding of the national standard protocol and platform requirements. This configuration method relies heavily on the experience and meticulousness of the technicians, demands high professional skills, is time-consuming and labor-intensive, inefficient, and has a high error rate. Another configuration method, using QR code access, requires the camera's firmware to pre-configure the IP address, port number, and QR code label information of the access platform. Different access platforms have different IP addresses, port numbers, and QR code label content, hindering widespread adoption.

[0023] To address the problems in the prior art, this disclosure provides a camera self-configuration method, a client, a camera, a system, and a storage medium, which can improve camera configuration efficiency and increase the success rate of camera going online.

[0024] The camera self-configuration method provided in the embodiments of this disclosure will be introduced first.

[0025] Figure 1 This is a flowchart illustrating a camera self-configuration method provided in an embodiment of this disclosure. Figure 1As shown, this camera self-configuration method is executed by the client and may include the following steps: Step S101: Automatically discover cameras within the first local area network; Step S102: Generate camera configuration parameters according to the protocol parameters of the first communication protocol; Step S103: Transmit the camera's configuration information to the camera so that the camera can self-configure according to the configuration parameters.

[0026] It should be noted that in some embodiments, the client can be a mobile device application or other communication terminal or its software, and this disclosure does not specifically limit it.

[0027] In some embodiments, the first local area network (LAN) can be the same LAN as the client. For example, cameras within the same LAN are automatically discovered.

[0028] In some embodiments, the first local area network (LAN) can be a LAN different from the LAN where the client is located. For example, the first LAN can be a preset LAN; the number of preset LANs can be one or more; each preset LAN can be pre-configured with a first routing policy; the first routing policy can enable clients in different LANs to discover the routing policy of cameras within the preset LAN; and automatically discover cameras within multiple preset LANs.

[0029] It should be noted that, in some embodiments, the first communication protocol is a communication protocol pre-agreed with the camera.

[0030] In some embodiments, the first communication protocol may be the national standard GB / T28181 protocol. For example, the protocol parameters of the first communication protocol are the protocol parameters specified in the national standard GB / T28181 protocol.

[0031] In some embodiments, a pre-developed network service interface is used to transmit camera configuration information to the camera. For example, the pre-developed network service interface is a representational state transition interface. For instance, the Uniform Resource Locator (URL) of this representational state transition interface can be: PUT / SDCAPI / V1.0 / Gbt28181 / PlatformParam?ServerType={Server Type}.

[0032] In some embodiments of this disclosure, the client automatically discovers cameras within the first local area network; generates camera configuration parameters according to the protocol parameters of the first communication protocol; and transmits the camera configuration information to the camera so that the camera can self-configure according to the configuration parameters. This eliminates the need for manual camera configuration, thereby improving camera configuration efficiency and increasing the success rate of camera going online.

[0033] Figure 2 This is a flowchart illustrating a camera self-configuration method provided in an embodiment of this disclosure. Figure 2 As shown, this method is executed by the client and may include the following steps: Step S201: Automatically discover cameras within the first local area network based on multicast technology; Step S102: Generate camera configuration parameters according to the protocol parameters of the first communication protocol; Step S202: Using the Hypertext Transfer Security Protocol, the camera's configuration parameters are transmitted to the camera so that the camera can self-configure according to the configuration parameters.

[0034] It should be noted that in some embodiments, cameras within one or more preset local area networks (LANs) are automatically discovered. These preset LANs are different from the LAN where the client is located. Each preset LAN may be pre-configured with a first routing policy. The first routing policy enables clients located in different LANs to discover cameras within the preset LAN. For example, one or more cameras within one or more preset LANs are automatically discovered based on multicast technology. These preset LANs are different from the LAN where the client is located. Each preset LAN may be pre-configured with a first routing policy. The first routing policy enables clients located in different LANs to discover cameras within the preset LAN using a multicast routing policy.

[0035] In some embodiments, the multicast technology can be the User Datagram Protocol (UDP).

[0036] In some embodiments, a device discovery request is sent to a preset multicast address based on a multicast protocol header, enabling the device discovery request to be multicast within the first local area network; response information from the camera is received; and the camera is marked based on the camera's response information. For example, the client sends a device discovery request to a preset multicast address based on a UDP multicast protocol header, enabling the device discovery request to be multicast within the first local area network; response information from the camera is received; and the camera is marked based on the camera's response information. This eliminates the need for manual configuration, avoiding the inefficiency and high error rate of manual configuration, and also eliminates the need to pre-configure cloud platform information in the camera's firmware version. It enables efficient automated device discovery and reliable device configuration based on multicast technology, improving camera configuration efficiency and online success rate.

[0037] In some embodiments, the multicast address may include a multicast IP address and a port number. For example, the multicast IP address may be 239.100.100.100, and the port number may be 32902.

[0038] Figure 3This is an interactive schematic diagram of a camera discovery method based on multicast technology provided in an embodiment of this disclosure. For example, as shown... Figure 3 As shown, the client uses UDP multicast technology to automatically search for cameras according to the protocol header; the discovered camera sends a response message to the client; the client uniquely identifies the camera based on the camera's serial number (SN) or media access control (MAC) address; the client determines the camera to be configured based on the camera's SN code or MAC address; and exchanges a key and random value with the camera to establish communication with it.

[0039] In some embodiments, the overall message format of UDP multicast technology includes a UDP header, a protocol header, and JSON content. For example, the UDP header is 42 bytes long.

[0040] In some embodiments, the UDP multicast protocol header includes a message sequence number, a protocol version number, a protocol header length, and a JSON content length. For example, the message sequence number, protocol version number, protocol header length, and JSON content length can all be 4 bytes in length, all fields are big-endian, and all are of type int. The message sequence number is a random value generated by the client and is used as the message sequence number; the camera's response message sequence number is consistent with this value. The protocol version number can be set to start from 0002 to ensure compatibility with previous protocols. The protocol header length refers to the total length of the protocol header. The JSON content length refers to the length of the JSON format content, excluding the protocol header.

[0041] In some embodiments, the response information sent by the camera is in JSON format and includes: device serial number (SN), device name, device type, device model, original device information, software version number, activation information, Dynamic Host Configuration Protocol (DHCP) enabled information, MAC address information, IPv4 address information, IPv4 gateway information, and service identifier information. For example, the response information may also include at least one of the following: hardware version number, number of channels, and OM support information.

[0042] It should be noted that, in some embodiments, the protocol parameters of the communication protocol include: username information, password information, local port information, platform IP information, port number information, device ID information, registration expiration time information, heartbeat interval information, heartbeat timeout count information, bitstream index information, main video channel lens ID information, multi-channel parameter information, alarm input ID information, audio output ID information, authentication type information, protocol version information, backup server parameter information, and video stream type information.

[0043] In some embodiments, the camera's configuration parameters include one or more of the following: username information, password information, local port information, platform IP information, port number information, device identification information, stream index information, and main video channel lens identification information. For example, the camera's configuration parameters may also include: registration expiration time information, heartbeat interval information, heartbeat timeout count information, multi-channel parameter information, alarm input ID information, audio output ID information, authentication type information, protocol version information, backup server parameter information, and video stream type information.

[0044] In some embodiments, the multi-channel parameter information includes the request URL, status code, and status string. For example, the request URL can be " / SDCAPI / V1.0 / Gbt28181 / PlatformParam?ServerType=3", the status code can be 0, and the status string can be "OK".

[0045] It should be noted that Hypertext Transfer Protocol Secure (HTTPS) is a transmission protocol used for secure communication over computer networks. It is based on Hypertext Transfer Protocol (HTTP) and uses SSL / TLS to encrypt data packets. In some embodiments, HTTPS is used to transmit camera configuration parameters to the camera. This ensures the confidentiality and integrity of configuration parameters containing sensitive information during transmission, effectively preventing data eavesdropping or tampering, thereby improving data transmission security.

[0046] In some embodiments of this disclosure, the client automatically discovers cameras within the first local area network based on multicast technology; according to the protocol parameters of the first communication protocol, it generates configuration parameters for the cameras, thus eliminating the need to limit device models and ensuring good compatibility with various camera models, improving camera configuration efficiency, and increasing the success rate of camera online; using the Hypertext Transfer Security Protocol, the camera configuration parameters are transmitted to the cameras so that the cameras can self-configure according to the configuration parameters, thereby improving the security of data transmission.

[0047] Figure 4 This is a flowchart illustrating a camera self-configuration method provided in an embodiment of this disclosure. Figure 4 As shown, this method is executed by the camera and may include the following steps: Step S401: In response to the device discovery request sent by the client, send response information to the client; Step S402: In response to the camera configuration parameters sent by the client, perform self-configuration based on the configuration parameters; Step S403: Authentication is performed with the cloud platform according to the configuration parameters so that the camera can be registered and launched on the cloud platform.

[0048] It should be noted that, in some embodiments, the device discovery request sent by the client can be sent via UDP multicast to the multicast address, and then the multicast address can multicast the device discovery request within the local area network.

[0049] In some embodiments, the configuration parameters are determined according to a communication protocol pre-agreed with the client.

[0050] In some embodiments, the pre-agreed communication protocol refers to the national standard GB / T28181 protocol. For example, the configuration parameters of the camera sent by the client are the protocol parameters specified in the national standard GB / T28181 protocol; self-configuration is performed based on the protocol parameters specified in the national standard GB / T28181 protocol.

[0051] In some embodiments, the configuration parameters include password information. The specific implementation of authentication with the cloud platform based on the configuration parameters is as follows: the password information is encrypted using a hash algorithm to obtain encrypted password information; authentication with the cloud platform based on digest authentication technology is then performed using the encrypted password information. For example, the password information may include RegPassword, Reg1400Pswd, and OmsPassword.

[0052] In some embodiments, the password information is encrypted using AES256 (ECB) and MD5 to obtain encrypted password information. For example, the padding method can be PKCS7Padding, and the calculation formula can be $password = Base64(AES256_ECB($key, $pwd)), where $password is the encrypted password information; $pwd is the password information; and $key is the key, which can be obtained by MD5 encrypting the camera's serial number and converting it to 32 lowercase.

[0053] In some embodiments of this disclosure, the camera responds to a device discovery request sent by the client by sending response information to the client; responds to the camera's configuration parameters sent by the client by performing self-configuration based on the configuration parameters, which can improve camera configuration efficiency and increase the success rate of camera going online; and authenticates with the cloud platform according to the configuration parameters so that the camera can be registered and launched on the cloud platform, which can achieve multiple encryption and improve the security of data transmission.

[0054] Figure 5 This is a schematic diagram of the structure of a camera self-configuration system provided in an embodiment of this disclosure. For example... Figure 5 As shown, the camera self-configuration system includes a client 510, a camera 520, and a cloud platform 530.

[0055] The client 510 is used to execute any of the camera self-configuration methods executed by the client in the above embodiments.

[0056] Camera 520 is used to execute any of the camera self-configuration methods performed by the camera in the above embodiments.

[0057] The cloud platform 530 is used for camera authentication.

[0058] Figure 6 This is an interactive schematic diagram of a camera self-configuration system provided in an embodiment of this disclosure. Exemplarily, in some embodiments, such as... Figure 6 As shown, client 510 automatically discovers cameras within the same local area network (LAN) based on multicast technology (S601) and sends request information to the multicast IP address within the LAN, so that the multicast IP address broadcasts the client's request information to devices within the LAN; camera 520 responds to client 510's request information by sending response information to client 510 (S602); client 510 generates configuration parameters for camera 520 based on pre-agreed communication protocol parameters (S603); client 510 uses the Hypertext Transfer Security Protocol to transmit the request information to the camera... The configuration parameters of the camera 520 are transmitted to the camera 520 (S604); the camera 520 responds to the configuration parameters sent by the client 510 and performs self-configuration based on the configuration parameters (S605); the camera 520 performs authentication with the cloud platform 530 based on digest authentication technology according to the configuration parameters (S606) and sends password encryption information to the cloud platform 530 (S607); the cloud platform 530 responds to the password encryption information sent by the camera 520 and registers the camera 520 online according to the password encryption information (S608).

[0059] In some embodiments, client 510 is a user's mobile application. For example, the user logs into the mobile application; the mobile application automatically discovers cameras within the same local area network (LAN) based on multicast technology and sends request information to a multicast IP address within the LAN, so that the multicast IP address broadcasts the client's request information to devices within the LAN; the camera responds to the client's request information by sending a response message to the client; the mobile application generates camera configuration parameters based on pre-agreed communication protocol parameters; the mobile application transmits the camera's configuration parameters to the camera using Hypertext Transfer Security (HTTP); the camera responds to the camera's configuration parameters sent by the mobile application and performs self-configuration based on the configuration parameters; the camera authenticates with the cloud platform based on digest authentication technology according to the configuration parameters and sends encrypted password information to the cloud platform; the cloud platform responds to the encrypted password information sent by the camera and registers the camera online based on the encrypted password information.

[0060] In some embodiments, the cloud platform 530 includes a cloud platform server and a platform configuration server. For example, a user logs into a mobile application; the mobile application accesses the platform configuration server to select a camera to be configured; the platform configuration server sends protocol parameters of the national standard communication protocol corresponding to the camera to the mobile application; the mobile application automatically discovers cameras within the same local area network (LAN) based on multicast technology and sends request information to a multicast IP address within the LAN, so that the multicast IP address broadcasts the mobile application's request information to devices within the LAN; the camera responds to the mobile application's request information by sending response information to the mobile application; the mobile application generates camera configuration parameters based on pre-agreed communication protocol parameters; the mobile application uses Hypertext Transfer Security (HTTP) to transmit the camera's configuration parameters to the camera; the camera responds to the camera's configuration parameters sent by the mobile application and performs self-configuration based on the configuration parameters; the camera authenticates with the cloud platform based on digest authentication technology according to the configuration parameters and sends encrypted password information to the cloud platform; the cloud platform responds to the encrypted password information sent by the camera and registers the camera online according to the encrypted password information.

[0061] It should be noted that this disclosure also provides a client application. Figure 7 This is a schematic diagram of the structure of a client provided in an embodiment of this disclosure. For example... Figure 7 As shown, the device may include a discovery module 710, a generation module 720, and a transmission module 730.

[0062] The discovery module 710 is used to automatically discover cameras within the first local area network.

[0063] The generation module 720 is used to generate configuration parameters for the camera according to the protocol parameters of the first communication protocol; wherein, the first communication protocol is a communication protocol pre-agreed with the camera.

[0064] The transmission module 730 is used to transmit the camera's configuration parameters to the camera so that the camera can self-configure according to the configuration parameters.

[0065] In some embodiments, the configuration parameters generated in the generation module 720 include one or more of the following: username information, password information, local port information, platform IP information, port number information, device identification information, bitstream index information, and main video channel lens identification information.

[0066] In some embodiments, the discovery module 710 is also used to automatically discover cameras within the first local area network based on multicast technology.

[0067] In some embodiments, the discovery module 710 is further configured to send a device discovery request to a preset multicast address based on the protocol header of multicast technology, so that the device discovery request is multicast within the first local area network; receive response information from the camera; and mark the camera according to the camera's response information.

[0068] In some embodiments, the transmission module 730 is further configured to transmit the camera's configuration parameters to the camera using the Hypertext Transfer Security Protocol.

[0069] It should be noted that the client provided in this embodiment includes modules (or units) for executing the various steps of the camera self-configuration method in the above embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0070] It should be noted that this disclosure also provides a camera. Figure 8 This is a schematic diagram of the structure of a camera provided in an embodiment of this disclosure. Figure 8 As shown, the device may include a sending module 810, a self-configuration module 820, and a registration module 830.

[0071] The sending module 810 is used to send response information to the client in response to the device discovery request sent by the client.

[0072] The self-configuration module 820 is used to respond to the camera configuration parameters sent by the client and perform self-configuration based on the configuration parameters; wherein, the configuration parameters are determined according to the communication protocol pre-agreed with the client.

[0073] The registration module 830 is used to authenticate with the cloud platform based on the configuration parameters, so that the camera can be registered and launched on the cloud platform.

[0074] In some embodiments, the configuration parameters include password information; the registration module 830 is further configured to encrypt the password information based on a hash algorithm to obtain encrypted password information; and to perform authentication with the cloud platform based on digest authentication technology based on the encrypted password information.

[0075] It should be noted that the camera provided in this embodiment includes modules (or units) for performing the various steps of the camera self-configuration method in the above embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0076] In conjunction with the camera self-configuration method in the above embodiments, this disclosure can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the camera self-configuration methods in the above embodiments.

[0077] This disclosure also provides a computer program product, including a computer program that, when executed, implements any of the camera self-configuration methods described in the above embodiments.

[0078] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0079] The functional blocks shown in the above structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0080] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0081] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0082] The above are merely specific embodiments of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A camera self-configuration method, characterized by, Applied to a client, comprising: automatically discovering a camera in a first local area network; generating configuration parameters of the camera according to protocol parameters of a first communication protocol; the first communication protocol is a communication protocol agreed with the camera in advance; transmitting the configuration parameters of the camera to the camera, so that the camera is self-configured according to the configuration parameters.

2. The method of claim 1, wherein, The configuration parameters include one or more of the following: username information, password information, local port information, platform IP information, port number information, device identification information, stream index information, and main video channel lens identification information.

3. The method of claim 1, wherein, The automatic discovery of the camera in the first local area network comprises: automatically discovering the camera in the first local area network based on a multicast technology.

4. The method of claim 3, wherein, The automatic discovery of the camera in the first local area network based on the multicast technology comprises: sending a device discovery request to a preset multicast address based on a protocol header of the multicast technology, so that the device discovery request is multicast in the first local area network; receiving response information of the camera; labeling the camera according to the response information of the camera.

5. The method according to any one of claims 1 to 4, characterized in that, The transmission of the configuration parameters of the camera to the camera comprises: transmitting the configuration parameters of the camera to the camera by using a hypertext transfer protocol secure (HTTPS) protocol.

6. A camera self-configuration method, characterized by, Applied to a camera, comprising: sending response information to a client in response to a device discovery request sent by the client; self-configuring based on configuration parameters of the camera sent by the client; wherein the configuration parameters are determined according to a communication protocol agreed with the client in advance; authenticating with a cloud platform according to the configuration parameters, so that the camera is registered online on the cloud platform.

7. The method of claim 6, wherein, The configuration parameters include password information; the authentication with the cloud platform according to the configuration parameters comprises: encrypting the password information based on a hash algorithm to obtain password encryption information; authenticating with the cloud platform based on a digest authentication technology based on the password encryption information.

8. A client, characterized in that, Comprising: a discovery module configured to automatically discover a camera in a first local area network; a generation module configured to generate configuration parameters of the camera according to protocol parameters of a first communication protocol; the first communication protocol is a communication protocol agreed with the camera in advance; a transmission module configured to transmit the configuration parameters of the camera to the camera, so that the camera is self-configured according to the configuration parameters.

9. A video camera, characterized by Comprising: a sending module configured to send response information to a client in response to a request information of the client; a self-configuration module configured to self-configure based on configuration parameters of the camera sent by the client; wherein the configuration parameters are determined according to a communication protocol agreed with the client in advance; a registration module configured to authenticate with a cloud platform according to the configuration parameters, so that the camera is registered online on the cloud platform.

10. A camera self-configuration system, characterized by, The system comprises: a client configured to perform a camera self-configuration method according to any one of claims 1-5. The camera is configured to perform the camera self-configuration method as claimed in any one of claims 6-7. The cloud platform is configured to authenticate the camera.