Method and device for realizing same-domain cooperation direct connection based on network camera

By integrating the same-domain collaboration direct connection SDK in the webcam, realizing the same-domain collaboration direct connection, solving the complex problems of network camera connection and binding processes in the existing technology, improving the user experience.

CN119450803APending Publication Date: 2025-02-14E SURFING VISION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411575049.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-14

Smart Images

  • Figure CN119450803A_ABST
    Figure CN119450803A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a device for realizing co-domain cooperative direct connection based on network cameras, and belongs to the technical field of co-domain cooperative direct connection, and the method comprises the following steps: the network cameras are integrated with co-domain cooperative direct connection SDKs; when the SDK is started, detecting whether same-domain hotspots and direct connection information need to be generated or not; if yes, direct connection information is generated, and then same-domain hotspots are started; detecting whether network cameras which are not connected to the articulated naturality web platform exist in the same area or not, and detecting whether hot spots exist in the same area or not; if the detection result is that the network cameras which are not connected to the articulated naturality web platform exist in the same area and the same-domain hotspots exist in the same area, connecting the network cameras which are not connected to the articulated naturality web platform to the same-domain hotspots, and obtaining direct connection information; and disconnecting the connection with the same-domain hotspot, connecting to the articulated naturality web platform through the direct connection information, and binding the network camera which is not connected to the articulated naturality web platform to the user account through a binding process. According to the invention, the network camera connection and binding steps are reduced, and the connection and binding time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of network cameras, and in particular relates to a method and device for realizing same-domain collaborative direct connection based on network cameras. Background Art

[0002] With the continuous development and growth of the home security business, the number of connected network cameras is increasing. For traditional network camera binding methods, such as QR codes, users need to log in to the relevant client software, generate QR codes by inputting WIFI information through the client, and scan the QR codes with the camera to connect the network camera to the visual networking platform. When the user has multiple network camera devices that need to be connected to the visual networking platform, the same connection steps need to be performed multiple times. The complex multi-process operation may reduce the user's experience. In order to enable users to improve their experience of network cameras, it is necessary to study and optimize the network camera connection solution in a targeted manner. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the purpose of the invention is to provide a method and device for realizing same-domain collaborative direct connection based on network cameras. When there are multiple network cameras that need to be bound, the network camera connection and binding steps can be reduced, the network camera connection and binding time can be shortened, and the user experience can be improved.

[0004] A first aspect of the present invention provides a method for implementing direct connection of same-domain collaboration based on a network camera, comprising:

[0005] All network cameras are integrated with the same-domain collaborative direct connection SDK, which includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and fast binding module;

[0006] When the network camera SDK is started, it detects whether it is necessary to generate hotspots and direct connection information in the same domain;

[0007] If the detection result is that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password;

[0008] Detect whether there are network cameras in the same area that are not connected to the visual networking platform, and detect whether there are hotspots in the same area whose account is the first account;

[0009] If the detection result shows that there is a network camera that is not connected to the visual networking platform in the same area and there is a hotspot in the same domain whose account is the first account, the collaborative direct connection and fast binding module of the first network camera will connect the network camera that is not connected to the visual networking platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual networking platform will obtain wifi information and user account;

[0010] The network camera that is not connected to the visual networking platform is disconnected from the hotspot in the same domain whose account is the first account, and is connected to the visual networking platform through wifi information and bound to the user account through the extremely fast binding process;

[0011] The same area is an area within a preset range of the first camera.

[0012] Furthermore, the above method for realizing direct connection of same-domain collaboration based on network cameras further includes:

[0013] The network camera is connected to the visual networking platform, and the network camera information is sent to the visual networking platform;

[0014] The visual networking platform verifies the network camera information and sends the verification result with the user binding code to the network camera;

[0015] After receiving the verification result with the user binding code, the network camera sends the user account and the verification result with the user binding code to the visual network platform;

[0016] Bind the webcam to the user account.

[0017] Furthermore, in the above method for realizing same-domain collaborative direct connection based on a network camera, detecting whether it is necessary to generate same-domain hotspots and direct connection information includes:

[0018] Detect whether the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera;

[0019] If the detection result is that the user uses a private protocol with the client to connect to the visual network platform to bind the first network camera, it is necessary to generate a same-domain hotspot and direct connection information.

[0020] Furthermore, in the above-mentioned method of realizing same-domain collaborative direct connection based on network cameras, detecting whether there is a network camera in the same area that is not connected to the visual network platform, and detecting whether there is a same-domain hotspot whose account is the first account are both detected through the collaborative direct connection and extreme speed binding module of the first network camera.

[0021] Furthermore, in the above method for realizing direct connection of same-domain collaboration based on network cameras, the network camera that is not connected to the visual network platform obtains wifi information and user account, including:

[0022] The network camera that is not connected to the visual networking platform interacts with the first network camera through a private protocol to obtain wifi information and a user account.

[0023] Furthermore, in the above method for realizing direct connection of same-domain collaboration based on network cameras, sending network camera information to the visual networking platform includes:

[0024] The network camera negotiates encryption method with the video networking platform;

[0025] The webcam information is encrypted and sent to the visual networking platform.

[0026] Furthermore, the above method for realizing direct connection of same-domain collaboration based on network cameras further includes:

[0027] After receiving the operation of the user logging into the user account on the client, the page for controlling the network camera is entered;

[0028] The webcam control page receives the user's operation and controls the webcam.

[0029] The second aspect of the present invention further proposes a device for implementing direct connection of same-domain collaboration based on a network camera, comprising:

[0030] Integration module: All network cameras are integrated with the same-domain collaborative direct connection SDK, which includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and fast binding module;

[0031] The first detection module: when the SDK of the network camera is started, it detects whether it is necessary to generate the same-domain hotspot and direct connection information;

[0032] Generation module: if the detection result indicates that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password;

[0033] The second detection module is used to detect whether there is a network camera in the same area that is not connected to the visual network platform, and whether there is a hotspot in the same area whose account is the first account;

[0034] Acquisition module: used for, if the detection result shows that there is a network camera that is not connected to the visual networking platform in the same area and there is a hotspot in the same domain whose account is the first account, the collaborative direct connection and fast binding module of the first network camera will connect the network camera that is not connected to the visual networking platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual networking platform will obtain wifi information and user account;

[0035] Binding module: used for the network camera that is not connected to the visual networking platform to disconnect from the hotspot in the same domain whose account is the first account, connect to the visual networking platform through wifi information, and bind the network camera that is not connected to the visual networking platform to the user account through the extremely fast binding process;

[0036] The same area is an area within a preset range of the first camera.

[0037] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory;

[0038] The processor calls the program or instruction stored in the memory to execute any of the above methods for achieving same-domain collaborative direct connection based on a network camera.

[0039] In a fourth aspect of the present invention, a computer-readable storage medium is further proposed, wherein the computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute any of the above methods for realizing same-domain collaborative direct connection based on a network camera.

[0040] The beneficial effects of the present invention are as follows: based on the binding of one network camera, the present invention uses the same-domain hotspot and direct connection information generation module, the collaborative direct connection and the extremely fast binding module same-domain collaborative direct connection process within the SDK, and with the help of the same-domain hotspot, multiple network cameras that need to be connected can be successfully and extremely quickly connected to the visual network platform and bound to the user's account without any operation. When there are multiple network cameras that need to be bound, the network camera connection and binding steps can be reduced, the network camera connection and binding time can be shortened, and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0042] Figure 1 A method for realizing direct connection of same-domain collaboration based on network cameras provided in an embodiment of the present invention Figure 1 ;

[0043] Figure 2 A method for realizing direct connection of same-domain collaboration based on network cameras provided in an embodiment of the present invention Figure 2 ;

[0044] Figure 3 A method diagram for detecting whether it is necessary to generate same-domain hotspots and direct connection information provided by an embodiment of the present invention;

[0045] Figure 4 A method diagram for sending network camera information to a visual networking platform provided by an embodiment of the present invention;

[0046] Figure 5A method for realizing direct connection of same-domain collaboration based on network cameras provided in an embodiment of the present invention Figure 3 ;

[0047] Figure 6 A diagram of a device for implementing direct connection of same-domain collaboration based on a network camera provided in an embodiment of the present invention;

[0048] Figure 7 A schematic block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0050] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0051] In the description of the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0053] The present invention proposes a method, device, electronic device and storage medium for achieving same-domain collaborative direct connection based on network cameras. When there are multiple network cameras that need to be bound, the network camera connection and binding steps can be reduced, the network camera connection and binding time can be shortened, and the user experience can be improved.

[0054] Before introducing the embodiments of the present invention, professional terms involved in the present invention are first introduced.

[0055] Network camera: It is a new generation of camera that combines traditional camera with network technology. It can transmit video, audio, alarm and control signals through the network and accept the management of network monitoring host.

[0056] The same-domain hotspot and direct connection information generation module successfully connects to the network camera of the visual network platform through a private protocol with the client to generate a long-term valid same-domain hotspot and direct connection information. The same-domain hotspot is used to provide direct connection information interaction to network cameras in the same area.

[0057] The collaborative direct connection and ultra-fast binding modules connect the network cameras in the same area that need to be connected to the visual Internet platform to the hotspot in the same domain, interact with the network camera device that generates the hotspot in the same domain through private protocols, and obtain direct connection information, where the direct connection information includes wifi information and user account. Using the obtained direct connection information, quickly connect to the visual Internet platform and bind the network camera to the user account through the ultra-fast binding process. The network camera can be operated by logging in to the user on the client.

[0058] Method Embodiment

[0059] Figure 1 A method for realizing direct connection of same-domain collaboration based on network cameras provided in an embodiment of the present invention Figure 1 .

[0060] In the first aspect of the present invention, a method for realizing direct connection of same-domain collaboration based on a network camera is proposed. Figure 1 , including six steps from S1 to S6:

[0061] S1: All network cameras are integrated with the same-domain collaborative direct connection SDK, which includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and ultra-fast binding module.

[0062] S2: When the network camera SDK is started, it detects whether it is necessary to generate the same-domain hotspot and direct connection information.

[0063] Specifically, in an embodiment of the present invention, detecting whether it is necessary to generate a same-domain hotspot and direct connection information is to detect whether the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera. If the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera, it is necessary to generate a same-domain hotspot and direct connection information. If the user does not use a private protocol with the client to connect to the visual networking platform to bind the first network camera, it is not necessary to generate a same-domain hotspot and direct connection information. The first camera here is one of the multiple cameras bound by the user.

[0064] S3: If the detection result is that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password.

[0065] Specifically, in an embodiment of the present invention, when it is necessary to generate a same-domain hotspot and direct connection information, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then the same-domain hotspot and direct connection information of the first network camera activates the same-domain hotspot with the first account and the first password.

[0066] S4: Detect whether there is a network camera in the same area that is not connected to the visual network platform, and detect whether there is a hotspot in the same area whose account is the first account.

[0067] Specifically, in the embodiment of the present invention, the collaborative direct connection and ultra-fast binding module of the first network camera detects whether there is a network camera in the same area that is not connected to the visual network platform, and detects whether there is a hotspot in the same domain whose account is the first account.

[0068] S5: If the detection result shows that there is a network camera that is not connected to the visual network platform in the same area and there is a hotspot in the same domain with the first account as the account, the collaborative direct connection and ultra-fast binding module of the first network camera will connect the network camera that is not connected to the visual network platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual network platform will obtain the wifi information and user account.

[0069] Specifically, in the embodiment of the present invention, the collaborative direct connection and extremely fast binding module of the first network camera detects that there is a network camera in the same area that is not connected to the visual network platform and there is a same-domain hotspot whose account is the first account. The collaborative direct connection and extremely fast binding module of the first network camera connects the network camera that is not connected to the visual network platform to the same-domain hotspot of the first account, and the network camera that is not connected to the visual network platform obtains the same-domain hotspot of the first network camera and the wifi information and user account generated by the direct connection information generation module.

[0070] S6: The network camera that is not connected to the visual network platform is disconnected from the hotspot in the same domain whose account is the first account, connected to the visual network platform through wifi information, and bound to the user account through the extremely fast binding process.

[0071] Specifically, in an embodiment of the present invention, after a network camera that is not connected to the visual networking platform obtains wifi information and a user account, it disconnects from the hotspot in the same domain, connects to the visual networking platform through the wifi information, and binds the network camera that is not connected to the visual networking platform to the user account through an extremely fast binding process.

[0072] The same area is an area within a preset range of the first camera.

[0073] Specifically, in the embodiment of the present invention, the preset range may be a range within the range of the first camera where a network signal is available.

[0074] Figure 2 A method for realizing direct connection of same-domain collaboration based on network cameras provided in an embodiment of the present invention Figure 2 .

[0075] Furthermore, the above method for realizing direct connection of same-domain collaboration based on network cameras is combined with Figure 2 , and also includes four steps S21 to S24:

[0076] S21: The network camera is connected to the visual networking platform, and the network camera information is sent to the visual networking platform.

[0077] Specifically, in an embodiment of the present invention, a network camera that is not connected to the visual networking platform is connected to the visual networking platform, and the network camera information is sent to the visual networking platform. The network camera information is information such as a device code and a device password.

[0078] S22: The visual network platform verifies the network camera information and sends the verification result with the user binding code to the network camera.

[0079] Specifically, in an embodiment of the present invention, after receiving the network camera information, the visual networking platform verifies the network camera information to obtain a verification result, the verification result is accompanied by a user binding code, and the verification result accompanied by the user binding code is returned to the network camera.

[0080] S23: After receiving the verification result with the user binding code, the network camera sends the user account and the verification result with the user binding code to the visual network platform.

[0081] S24: Bind the network camera to the user account.

[0082] Specifically, in the embodiment of the present invention, after the network camera receives the verification result with the user binding code, it sends the user account and the verification result with the user binding code to the visual network platform to bind the network camera to the user account.

[0083] Figure 3 A method diagram for detecting whether it is necessary to generate same-domain hotspots and direct connection information is provided in an embodiment of the present invention.

[0084] Furthermore, in the above method for realizing the same-domain collaborative direct connection based on a network camera, it is detected whether it is necessary to generate the same-domain hotspot and direct connection information, and combined with Figure 3, including two steps from S31 to S32:

[0085] S31: Detect whether the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera;

[0086] S32: If the detection result is that the user uses a private protocol with the client to connect to the visual network platform to bind the first network camera, it is necessary to generate a same-domain hotspot and direct connection information.

[0087] Specifically, in an embodiment of the present invention, detecting whether it is necessary to generate a same-domain hotspot and direct connection information is to detect whether the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera. If the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera, it is necessary to generate a same-domain hotspot and direct connection information. If the user does not use a private protocol with the client to connect to the visual networking platform to bind the first network camera, it is not necessary to generate a same-domain hotspot and direct connection information.

[0088] Furthermore, in the above method for realizing direct connection of same-domain collaboration based on network cameras, the network camera that is not connected to the visual network platform obtains wifi information and user account, including:

[0089] The network camera that is not connected to the visual networking platform interacts with the first network camera through a private protocol to obtain wifi information and a user account.

[0090] Specifically, in the embodiment of the present invention, the wifi information and the user account are direct connection information.

[0091] Figure 4 A diagram of a method for sending network camera information to a visual networking platform provided in an embodiment of the present invention.

[0092] Furthermore, in the above method for realizing direct connection of same-domain collaboration based on network cameras, the network camera information is sent to the visual network platform, combined with Figure 4 , including two steps from S41 to S42:

[0093] S41: The network camera negotiates encryption mode with the visual networking platform;

[0094] S42: Encrypt the network camera information and send it to the visual network platform.

[0095] Specifically, in the embodiment of the present invention, the security performance of the network camera information is improved by encrypting the network camera information and sending it to the visual network platform.

[0096] Figure 5 A method for realizing direct connection of same-domain collaboration based on network cameras provided in an embodiment of the present invention Figure 3 .

[0097] Furthermore, the above method for realizing direct connection of same-domain collaboration based on network cameras is combined with Figure 5 , and also includes two steps S51 to S52:

[0098] S51: After receiving the operation of the user logging into the user account on the client, a page for controlling the network camera is entered;

[0099] S52: The webcam control page receives the user's operation and controls the webcam.

[0100] Specifically, in the embodiment of the present invention, after the network camera is successfully bound to the user account, the user account can be logged in on the client to operate the network camera.

[0101] Device Embodiment

[0102] Figure 6 A diagram of a device for implementing same-domain collaborative direct connection based on a network camera provided in an embodiment of the present invention.

[0103] In a second aspect of the present invention, a device for realizing direct connection of same-domain collaboration based on a network camera is also proposed. Figure 6 ,include:

[0104] Integration module 61: used for network cameras to integrate the same-domain collaborative direct connection SDK, the SDK includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and ultra-fast binding module.

[0105] Specifically, in the embodiment of the present invention, the integration module 61 integrates the same-domain collaborative direct connection SDK in all network cameras.

[0106] The first detection module 62 is used to detect whether it is necessary to generate a same-domain hotspot and direct connection information when the SDK of the network camera is started.

[0107] Specifically, in the embodiment of the present invention, the first detection module 62 detects whether it is necessary to generate the same-domain hotspot and direct connection information by detecting whether the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera. If the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera, it is necessary to generate the same-domain hotspot and direct connection information. If the user does not use a private protocol with the client to connect to the visual networking platform to bind the first network camera, it is not necessary to generate the same-domain hotspot and direct connection information.

[0108] Generation module 63: if the detection result indicates that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password.

[0109] Specifically, in an embodiment of the present invention, when it is necessary to generate a same-domain hotspot and direct connection information, the generation module 63 generates wifi information and a user account, and then the same-domain hotspot and direct connection information of the first network camera activate the same-domain hotspot with the first account and the first password.

[0110] The second detection module 64 is used to detect whether there is a network camera in the same area that is not connected to the visual network platform, and to detect whether there is a hotspot in the same area whose account is the first account.

[0111] Specifically, in the embodiment of the present invention, the second detection module 64 detects whether there is a network camera in the same area that is not connected to the visual network platform, and detects whether there is a hotspot in the same domain whose account is the first account.

[0112] Acquisition module 65: If the detection result shows that there is a network camera that is not connected to the visual network platform in the same area and there is a hotspot in the same domain with the first account as the account, the collaborative direct connection and high-speed binding module of the first network camera will connect the network camera that is not connected to the visual network platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual network platform will obtain wifi information and user account.

[0113] Specifically, in the embodiment of the present invention, the collaborative direct connection and extremely fast binding module of the first network camera detects that there is a network camera in the same area that is not connected to the visual network platform and there is a same-domain hotspot whose account is the first account. The collaborative direct connection and extremely fast binding module of the first network camera connects the network camera that is not connected to the visual network platform to the same-domain hotspot of the first account, and the acquisition module 65 of the network camera that is not connected to the visual network platform acquires the same-domain hotspot of the first network camera and the wifi information and user account generated by the direct connection information generation module.

[0114] Binding module 66: used for the network camera that is not connected to the visual networking platform to disconnect from the hotspot in the same domain whose account is the first account, connect to the visual networking platform through wifi information, and bind the network camera that is not connected to the visual networking platform to the user account through the extremely fast binding process.

[0115] Specifically, in an embodiment of the present invention, after a network camera that is not connected to the visual networking platform obtains wifi information and a user account, it disconnects from the hotspot in the same domain, connects to the visual networking platform through the wifi information, and through a very fast binding process, the binding module 66 binds the network camera that is not connected to the visual networking platform to the user account.

[0116] The same area is an area within a preset range of the first camera.

[0117] Specifically, in the embodiment of the present invention, the preset range may be a range within the range of the first camera where a network signal is available.

[0118] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory;

[0119] The processor calls the program or instruction stored in the memory to execute any of the above methods for achieving same-domain collaborative direct connection based on a network camera.

[0120] In a fourth aspect of the present invention, a computer-readable storage medium is further proposed, wherein the computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute any of the above methods for realizing same-domain collaborative direct connection based on a network camera.

[0121] Figure 7 It is a schematic block diagram of an electronic device provided by an embodiment of the present invention.

[0122] like Figure 7 As shown, the electronic device includes: at least one processor 701, at least one memory 702 and at least one communication interface 703. The various components in the electronic device are coupled together through a bus system 704. The communication interface 703 is used to transmit information between external devices. It can be understood that the bus system 704 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 704 .

[0123] It can be understood that the memory 702 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.

[0124] In some implementations, the memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.

[0125] Among them, the operating system includes various system programs, such as the framework layer, the core library layer, the driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. A program that implements any method of the method for realizing direct connection of same-domain collaboration based on a network camera provided in an embodiment of the present invention can be included in the application program.

[0126] In an embodiment of the present invention, the processor 701 calls a program or instruction stored in the memory 702, specifically, a program or instruction stored in an application, and the processor 701 is used to execute the steps of each embodiment of a method for achieving same-domain collaborative direct connection based on a network camera provided in an embodiment of the present invention.

[0127] All network cameras are integrated with the same-domain collaborative direct connection SDK, which includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and fast binding module;

[0128] When the network camera SDK is started, it detects whether it is necessary to generate hotspots and direct connection information in the same domain;

[0129] If the detection result is that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password;

[0130] Detect whether there are network cameras in the same area that are not connected to the visual networking platform, and detect whether there are hotspots in the same area whose account is the first account;

[0131] If the detection result shows that there is a network camera that is not connected to the visual networking platform in the same area and there is a hotspot in the same domain whose account is the first account, the collaborative direct connection and fast binding module of the first network camera will connect the network camera that is not connected to the visual networking platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual networking platform will obtain wifi information and user account;

[0132] The network camera that is not connected to the visual networking platform is disconnected from the hotspot in the same domain whose account is the first account, and is connected to the visual networking platform through wifi information and bound to the user account through the extremely fast binding process;

[0133] The same area is an area within a preset range of the first camera.

[0134] Any of the methods for realizing direct connection of same-domain collaboration based on a network camera provided in an embodiment of the present invention can be applied to the processor 701, or implemented by the processor 701. The processor 701 can be an integrated circuit chip having the ability to process signals. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The above-mentioned processor 701 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0135] The steps of any method in a method for realizing direct connection of same-domain collaboration based on a network camera provided by an embodiment of the present invention can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the method in combination with its hardware.

[0136] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0137] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0138] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

[0139] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for realizing direct connection of same-domain collaboration based on network cameras, characterized in that: include: All network cameras are integrated with the same-domain collaborative direct connection SDK, which includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and fast binding module; When the network camera SDK is started, it detects whether it is necessary to generate hotspots and direct connection information in the same domain; If the detection result is that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password; Detect whether there are network cameras in the same area that are not connected to the visual networking platform, and detect whether there are hotspots in the same area whose account is the first account; If the detection result shows that there is a network camera that is not connected to the visual networking platform in the same area and there is a hotspot in the same domain whose account is the first account, the collaborative direct connection and fast binding module of the first network camera will connect the network camera that is not connected to the visual networking platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual networking platform will obtain wifi information and user account; The network camera that is not connected to the visual networking platform is disconnected from the hotspot in the same domain whose account is the first account, and is connected to the visual networking platform through wifi information and bound to the user account through the extremely fast binding process; The same area is an area within a preset range of the first camera.

2. According to claim 1, a method for realizing direct connection of same-domain collaboration based on network cameras is characterized in that: The method further comprises: The network camera is connected to the visual networking platform, and the network camera information is sent to the visual networking platform; The visual networking platform verifies the network camera information and sends the verification result with the user binding code to the network camera; After receiving the verification result with the user binding code, the network camera sends the user account and the verification result with the user binding code to the visual network platform; Bind the webcam to the user account.

3. According to claim 1, a method for realizing direct connection of same-domain collaboration based on network cameras is characterized in that: The detection of whether to generate same-domain hotspots and direct connection information includes: Detect whether the user uses a private protocol with the client to connect to the visual networking platform to bind the first network camera; If the detection result is that the user uses a private protocol with the client to connect to the visual network platform to bind the first network camera, it is necessary to generate a same-domain hotspot and direct connection information.

4. According to claim 1, a method for realizing direct connection of same-domain collaboration based on network cameras is characterized in that: The detection of whether there is a network camera in the same area that is not connected to the visual network platform and the detection of whether there is a hotspot in the same domain whose account is the first account are both detected through the collaborative direct connection and ultra-fast binding module of the first network camera.

5. The method for realizing direct connection of same-domain collaboration based on network cameras according to claim 1, characterized in that: The network camera that is not connected to the visual networking platform obtains wifi information and user account, including: The network camera that is not connected to the visual networking platform interacts with the first network camera through a private protocol to obtain wifi information and a user account.

6. The method for realizing direct connection of same-domain collaboration based on network cameras according to claim 1, characterized in that: The sending of network camera information to the visual networking platform includes: The network camera negotiates encryption method with the video networking platform; The webcam information is encrypted and sent to the visual networking platform.

7. The method for realizing direct connection of same-domain collaboration based on network cameras according to claim 1, characterized in that: The method further comprises: After receiving the operation of the user logging into the user account on the client, the page for controlling the network camera is entered; The webcam control page receives the user's operation and controls the webcam.

8. A device for realizing direct connection of same-domain collaboration based on a network camera, characterized in that: include: Integration module: All network cameras are integrated with the same-domain collaborative direct connection SDK, which includes: same-domain hotspot and direct connection information generation module, collaborative direct connection and fast binding module; The first detection module: when the SDK of the network camera is started, it detects whether it is necessary to generate the same-domain hotspot and direct connection information; Generation module: if the detection result indicates that the same-domain hotspot and direct connection information need to be generated, the same-domain hotspot and direct connection information generation module of the first network camera generates wifi information and a user account, and then starts the same-domain hotspot with the first account and the first password; The second detection module is used to detect whether there is a network camera in the same area that is not connected to the visual network platform, and whether there is a hotspot in the same area whose account is the first account; Acquisition module: used for, if the detection result shows that there is a network camera that is not connected to the visual networking platform in the same area and there is a hotspot in the same domain whose account is the first account, the collaborative direct connection and fast binding module of the first network camera will connect the network camera that is not connected to the visual networking platform to the hotspot in the same domain of the first account, and the network camera that is not connected to the visual networking platform will obtain wifi information and user account; Binding module: used for the network camera that is not connected to the visual networking platform to disconnect from the hotspot in the same domain whose account is the first account, connect to the visual networking platform through wifi information, and bind the network camera that is not connected to the visual networking platform to the user account through the extremely fast binding process; The same area is an area within a preset range of the first camera.

9. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute a method for achieving same-domain collaborative direct connection based on a network camera as described in any one of claims 1 to 7 by calling a program or instruction stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute a method for realizing same-domain collaborative direct connection based on a network camera as described in any one of claims 1 to 7.