CN110545201A - network distribution method, device and system for network camera, computer device and medium - Google Patents

network distribution method, device and system for network camera, computer device and medium Download PDF

Info

Publication number
CN110545201A
CN110545201A CN201910744543.7A CN201910744543A CN110545201A CN 110545201 A CN110545201 A CN 110545201A CN 201910744543 A CN201910744543 A CN 201910744543A CN 110545201 A CN110545201 A CN 110545201A
Authority
CN
China
Prior art keywords
network
gateway
access authentication
camera
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910744543.7A
Other languages
Chinese (zh)
Other versions
CN110545201B (en
Inventor
李建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Original Assignee
Shenzhen Heertai Home Furnishing Online Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Heertai Home Furnishing Online Network Technology Co Ltd filed Critical Shenzhen Heertai Home Furnishing Online Network Technology Co Ltd
Priority to CN201910744543.7A priority Critical patent/CN110545201B/en
Publication of CN110545201A publication Critical patent/CN110545201A/en
Application granted granted Critical
Publication of CN110545201B publication Critical patent/CN110545201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a network distribution method, equipment, a system, computer equipment and a medium for a network camera. The network distribution method of the network camera comprises the following steps: the network camera scans and identifies image information to obtain access authentication information of the routing equipment; the network camera establishes a first network connection with the gateway equipment based on prestored gateway information of the gateway equipment; the network camera sends the access authentication information to the gateway device based on the first network connection, and the access authentication information is used by the gateway device to establish a second network connection with the routing device. The network camera network distribution method is high in network distribution efficiency.

Description

network distribution method, device and system for network camera, computer device and medium
Technical Field
the present application relates to the field of communications, and in particular, to a network distribution method, device, system, computer device, and medium for a network camera.
background
with the development of video monitoring technology, video monitoring systems are also gradually getting deeper into the lives of people. In the video monitoring system, a network camera (IP camera, IPC) is mainly used to upload collected video data to a cloud to realize video monitoring. The network cameras are classified into two types, one is a network camera having a storage function, and the other is a network camera having no storage function. The network camera without the storage function needs to send the acquired video data to the gateway device connected with the network camera, and then the gateway device uploads the video data to the cloud end through the routing device. In order to enable the network camera to upload the video data to the cloud, the network camera needs to be distributed, that is, network connections among the network camera, the gateway device and the routing device need to be established.
In the conventional technology, the network distribution process of the network camera is as follows: first, a configuration terminal (e.g., a mobile phone) establishes a network connection with a routing device to acquire access authentication information (including a service set identifier and a password of a router) of the routing device. And then, the configuration terminal disconnects the network connection with the router, establishes the network connection with the gateway equipment, and sends the access authentication information to the gateway equipment based on the network connection between the terminal and the gateway equipment. And the gateway equipment establishes network connection with the router according to the access authentication information. And finally, configuring the network connection between the network camera and the gateway equipment based on a network connection mode of the network equipment and the routing equipment, so as to establish the network connection among the network camera, the gateway equipment and the routing equipment and realize the network distribution.
However, the network configuration method needs the participation of the configuration terminal, and needs the user to manually switch the network connection of the configuration terminal for many times, which has the problems of complex operation and low distribution network efficiency.
Disclosure of Invention
in view of the above, it is necessary to provide a network distribution method, device, system, computer device and medium for a network camera.
In a first aspect, an embodiment of the present application provides a network distribution method for a network camera, where the method includes:
The network camera scans and identifies image information to obtain access authentication information of the routing equipment;
the network camera establishes a first network connection with the gateway equipment based on prestored gateway information of the gateway equipment;
the network camera sends the access authentication information to the gateway device based on the first network connection, and the access authentication information is used by the gateway device to establish a second network connection with the routing device.
in one embodiment, the method further comprises:
The network camera acquires gateway identity information of the gateway equipment based on the first network connection;
And the network camera accesses a first wireless network corresponding to the gateway identity information according to the gateway identity information so as to establish third network connection with the gateway equipment.
In one embodiment, the first wireless network is a wireless network established by the gateway device after establishing the second network connection with the routing device and destroying the second wireless network, and the second wireless network is a wireless network corresponding to the first network connection.
In the network distribution method of the network camera provided by the first aspect of the application, the network camera obtains access authentication information of the routing equipment by scanning and identifying image information; the network camera establishes a first network connection with the gateway device based on the pre-stored gateway information of the gateway device, and sends access authentication information to the gateway device based on the first network connection, wherein the gateway authentication information is used by the gateway device to establish a second network connection with the routing device. According to the method provided by the embodiment of the application, a configuration terminal is not required to be added in the network distribution process, a user does not need to manually switch the network mode, the automatic connection of the network configuration can be realized, the operation is simple, and the network distribution efficiency is high.
in a second aspect, an embodiment of the present application provides a network distribution method for a network camera, where the method includes:
the gateway equipment establishes a first network connection with the network camera;
The gateway equipment acquires access authentication information of the routing equipment through the network camera based on the first network connection, wherein the access authentication information is obtained by scanning and identifying image information containing the access authentication information by the network camera;
And the gateway equipment establishes a second network connection with the routing equipment according to the access authentication information.
In one embodiment, the method further comprises:
The gateway equipment sends gateway identity information of the gateway equipment to the network camera based on the first network connection;
The gateway device establishes a first wireless network corresponding to the gateway identity information.
In one embodiment, before the gateway device establishes the first wireless network corresponding to the gateway identity information, the method further includes:
And the gateway equipment destroys a second wireless network, wherein the second wireless network is a wireless network corresponding to the first network connection.
in the network distribution method for the network camera provided by the second aspect of the present application, the gateway device establishes the first network connection with the network camera, and acquires the access authentication information of the routing device through the network camera based on the first network connection, and the gateway device further establishes the second network connection with the routing device according to the access authentication information. According to the method provided by the embodiment of the application, a configuration terminal is not required to be added in the network distribution process, the network mode is not required to be manually switched by a user, the automatic connection of the network configuration can be realized, the operation is simple, and the network distribution efficiency is high.
In a third aspect, the present application further provides a network camera networking system, including a network camera and a gateway device, where the network camera is configured to perform the steps of the method provided in the first aspect; the gateway device is adapted to perform the steps of the method as provided in the second aspect above.
In a fourth aspect, the present application further provides a network camera, including:
The access authentication acquisition module is used for scanning and identifying the image information to obtain access authentication information of the routing equipment;
the first network establishing module is used for establishing first network connection with the gateway equipment based on prestored gateway information of the gateway equipment;
and the access authentication sending module is used for sending the access authentication information to the gateway equipment based on the first network connection, and the access authentication information is used by the gateway equipment for establishing a second network connection with the routing equipment.
in a fifth aspect, the present application further provides a gateway device, including:
The first network establishing module is used for establishing first network connection with the network camera;
an access authentication acquisition module, configured to acquire access authentication information of a routing device through the network camera based on the first network connection, where the access authentication information is obtained by the network camera scanning and recognizing image information including the access authentication information;
and the second network establishing module is used for establishing second network connection with the routing equipment according to the access authentication information.
in a sixth aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method as described above when executing the computer program.
in a seventh aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method as set forth above.
Drawings
fig. 1 is an application scene diagram of a network distribution method for a network camera according to an embodiment of the present application;
Fig. 2 is a schematic flow chart of a network distribution method of a network camera according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of a network distribution method of a network camera according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a network distribution method of a network camera according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a network distribution method of a network camera according to an embodiment of the present application;
Fig. 6 is a schematic flow chart of a network distribution method of a network camera according to an embodiment of the present application;
Fig. 7 is a schematic flow chart of a network distribution method for a network camera according to an embodiment of the present application;
Fig. 8 is a schematic flow chart of a network distribution method of a network camera according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a network camera according to an embodiment of the present application;
Fig. 10 is a schematic structural diagram of a gateway device according to an embodiment of the present application;
fig. 11 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application are further described in detail by the following embodiments in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not limiting of the application.
referring to fig. 1, the network distribution method for the network camera provided by the present application may be applied to the video monitoring system shown in fig. 1. The video monitoring system comprises a network camera 10 without a storage function, a gateway device 20, a routing device 30 and a cloud server 40. The network camera 10 is configured to capture video data and store the video data to the gateway device 20 through a network connection with the gateway device 20. The gateway device 20 is used for transmitting the video data collected by the network camera 10 to the routing device 30. The routing device 30 is configured to transmit the video data sent by the gateway device 20 to the cloud server 40. The cloud server 40 is configured to perform various data processing (such as extraction, storage, and the like) on the video data, so as to implement video monitoring.
The network camera network distribution method provided by the application is specifically used for establishing network connection among the network camera 10, the gateway device 20 and the routing device 30 so as to establish a video monitoring network. The network camera 10 may be a camera with image scanning and recognition functions, and may be deployed in various scenes requiring video monitoring, such as traffic intersections for monitoring various conditions of the intersections (e.g., traffic flow, people flow, etc.), or may be deployed in buildings for monitoring various conditions inside the buildings. The gateway device 20 may be a separate device, or may be a computer device or the like that has a gateway function turned on. The routing device 30 may be a host or a switch having a routing function that is turned on by software, a separately provided router, or the like.
referring to fig. 2, an embodiment of the present application provides a network distribution method for network cameras, where the method includes S110 to S130. The method provided by the embodiment can be operated in the network camera shown in fig. 1.
s110, the network camera scans and identifies the image information to obtain the access authentication information of the routing equipment.
The network camera is capable of scanning and recognizing image information. After the network camera is powered on, if a distribution network instruction is received, a distribution network is triggered, and a preset distribution network mode is entered. The network camera scans image information including access authentication information, which may be a two-dimensional code, a barcode, a special pattern composed of at least one of numeric characters and color blocks, and the like. As long as the image information carries the access authentication information, the specific presentation form is not limited. The image information may be displayed on the network camera by an electronic device or a paper document having a graphic generation and graphic display function. The network camera identifies the image information and acquires access authentication information. The access authentication information includes, but is not limited to, a Service Set Identifier (SSID) and a Password (Password) of the router.
and S120, the network camera establishes a first network connection with the gateway device based on the prestored gateway information of the gateway device.
The network camera may have information of the gateway device, i.e., gateway information, pre-stored therein. When the gateway equipment releases the hot spot, the network camera can access the corresponding gateway equipment to establish wireless network connection with the gateway equipment to form first network connection. The gateway information may include a name of a hotspot (i.e., a wireless network) released by the gateway device and a password for accessing the wireless network device. The network camera and the gateway device transmit information through the first network connection. The connection form and connection mode of the first network connection are not limited in this application, and may be set according to actual requirements. In a specific embodiment, the first network connection is a Transmission Control Protocol (TCP) communication connection.
s130, the network camera sends the access authentication information to the gateway equipment based on the first network connection, and the access authentication information is used by the gateway equipment for establishing a second network connection with the routing equipment.
The network camera is connected through a first network, and the access authentication information obtained through identification is sent to the gateway equipment. And the gateway equipment establishes network connection with the routing equipment according to the access authentication message to form second network connection. A first network connection is formed between the network camera and the gateway equipment, and a second network connection is formed between the network equipment and the routing equipment, so that the network camera can access the routing equipment through the gateway equipment, and a network is distributed. Subsequent webcams can transmit information over the network link of the gateway device.
In the embodiment, the network camera obtains the access authentication information of the routing equipment by scanning and identifying the image information; the network camera establishes a first network connection with the gateway device based on the pre-stored gateway information of the gateway device, and sends access authentication information to the gateway device based on the first network connection, wherein the gateway authentication information is used by the gateway device to establish a second network connection with the routing device. According to the method provided by the embodiment of the application, a configuration terminal is not required to be added in the network distribution process, a user does not need to manually switch the network mode, the automatic connection of the network configuration can be realized, the operation is simple, and the network distribution efficiency is high.
In one embodiment, the method further comprises:
the network camera accesses the first wireless network established by the gateway device to establish a third network connection with the gateway device.
The gateway device establishes a first wireless network and establishes an access point for the first wireless network. The network camera is accessed to an access point of a first wireless network of the gateway equipment, so that a third network connection is established between the network camera and the gateway equipment, the network camera and the gateway equipment are in the same network link, and the network camera is accessed to a matched gateway and forms a binding relationship with the gateway equipment to realize a distribution network. The subsequent network camera can transmit information to the gateway equipment through the first wireless network, and the gateway equipment transmits the information to the router through the second network connection. The method provided by the embodiment forms the binding relationship between the network camera and the gateway equipment, ensures the reliability of network connection and has high success rate of the distribution network.
Referring to fig. 3, this embodiment relates to a possible implementation manner in which a network camera accesses a first wireless network established by a gateway device to establish a third network connection with the gateway device, as shown in fig. 3:
S141, the network camera acquires gateway identity information of the gateway device based on the first network connection.
The gateway identity information is used for representing the unique identity of the gateway. In a specific embodiment, the gateway identity information may be a MAC (Media Access Control Address) of the gateway. The gateway device sends the MAC address to the network camera through the first network connection. Optionally, the network camera may further obtain password information corresponding to the gateway identity information based on the first network connection, where the password information is used to access a wireless network (hereinafter, referred to as a first wireless network) corresponding to the gateway identity information.
And S142, the network camera accesses the first wireless network corresponding to the gateway identity information according to the gateway identity information so as to establish third network connection with the gateway equipment.
The network camera accesses a first wireless network established by the gateway equipment according to the acquired gateway identity information, wherein the gateway identity information is uniquely corresponding to the first wireless network. In one embodiment, the network camera may access the first wireless network through the second hotspot released by the access gateway device. The second hotspot is a hotspot named by the gateway identity information. Specifically, the gateway device sends the gateway identity information to the network camera, and the gateway device releases the second hotspot named by the gateway identity information, so that the network camera searches for connection to the second hotspot according to the gateway identity information, accesses the first wireless network, and establishes a third network connection with the gateway device. Specifically, the network camera may access the first wireless network according to the password information corresponding to the identity information of the gateway device sent by the gateway device.
in this embodiment, the network camera is connected to the first wireless network established by the gateway device by acquiring the gateway identity information and naming the hotspot with the gateway identity information. Because the gateway identity information is unique and easy to obtain, the network camera can simply and accurately join the first wireless network established by the gateway equipment, and the network distribution efficiency and the network distribution success rate are further improved.
In one embodiment, the first wireless network establishment is established after destruction of the second wireless network. The second network is a wireless network corresponding to the first network.
That is, the network camera establishes a first network connection with the gateway device, forming a first wireless network. After the gateway device establishes the second network connection with the routing device, the gateway device destroys the second wireless network and releases the second hotspot. And the network camera is accessed to the second hotspot, is accessed to the first wireless network, and establishes third network connection with the gateway equipment. After the second network connection is established, the second wireless network is destroyed, and the network camera is accessed to the first wireless network, so that the security and the uniqueness of the network camera accessing to the network are ensured.
the present embodiment relates to a possible implementation manner of the network camera establishing the first network connection with the gateway device, and S120 includes:
The network camera accesses a first hotspot released by the gateway device in a Station (STA) mode, and establishes a first network connection with the gateway device.
And releasing the first hot spot after the gateway equipment is powered on. The network camera is connected to the first hotspot in an STA mode, so that a network connection with the gateway device is established, and a first network connection is formed.
In the embodiment, the network camera accesses the first hotspot released by the gateway device in a site mode, so that the first network connection with the gateway device is established, the network establishing method is simple and rapid, and the network distribution efficiency is improved.
Referring to fig. 4, in one embodiment, there may be a plurality of gateway devices. The method still further comprises:
s150, the network camera sets an IP (Internet Protocol) address according to the Identity Document (ID);
And S160, the network camera sends the IP address to the gateway equipment based on the first network connection.
The network camera can calculate a unique static IP address according to the ID of the network camera and send the unique static IP address to the gateway equipment through the first network connection. After the gateway equipment acquires the IP address of the network camera, the gateway equipment communicates with the corresponding network camera according to the IP address, so that the accuracy of communication is improved, and the success rate of subsequent distribution network is improved.
Referring to fig. 5, the present embodiment and the following embodiments may be operated in the gateway device shown in fig. 1. The method provided by the embodiment comprises S210-S230:
s210, the gateway equipment establishes a first network connection with the network camera.
The gateway device establishes the first network connection with the network camera, and the specific forms of the network camera and the first network connection are as described in the above embodiments, and are not described herein again.
S220, the gateway equipment acquires the access authentication information of the routing equipment through the network camera based on the first network connection, and the access authentication information is obtained by scanning and identifying image information containing the access authentication information through the network camera.
and the network camera sends the acquired access authentication information to the gateway equipment through the first network connection, wherein the access authentication information at least comprises a service set identifier and a password.
And S230, the gateway equipment establishes a second network connection with the routing equipment according to the access authentication information.
And the gateway equipment accesses the routing equipment according to the service set identifier and the password to establish second network connection.
in this embodiment, the gateway device establishes a first network connection with the network camera, and acquires access authentication information of the routing device through the network camera based on the first network connection, and the gateway device further establishes a second network connection with the routing device according to the access authentication information. According to the method provided by the embodiment of the application, a configuration terminal is not required to be added in the network distribution process, the network mode is not required to be manually switched by a user, the automatic connection of the network configuration can be realized, the operation is simple, and the network distribution efficiency is high.
in one embodiment, the method further comprises:
The gateway equipment establishes an access point of the first wireless network, and the access point is used for the network camera to access the first wireless network and establishing third network connection between the gateway equipment and the network camera.
the gateway equipment establishes a first wireless network and an access point, the network camera accesses the first wireless network through the access point, and a third network connection between the gateway equipment and the network camera is established. The network camera and the gateway equipment form a binding relationship to realize a distribution network. The subsequent webcam can transmit information to the gateway device through the first wireless network, and the gateway device further transmits the information to the routing device through the second network connection.
in this embodiment, the access point of the first wireless network is established, so that the network camera is accessed to the first wireless network of the gateway device to form a binding relationship between the network camera and the gateway device, thereby improving the accuracy and success rate of the distribution network, and improving the security of subsequent information transmission of the network camera.
referring to fig. 6, in an embodiment, the gateway device establishing the access point of the first wireless network may be implemented by:
S241, the gateway equipment sends the gateway identity information of the gateway equipment to the network camera based on the first network connection;
S242, the gateway device establishes a first wireless network corresponding to the gateway identity information.
the gateway identity information is used to identify a unique identity of the gateway device. The gateway identity information may be a MAC address of the gateway device. The gateway device sends the MAC address to the network camera, and at the same time, the gateway device releases the access point of the first wireless network, i.e., the second hotspot. The second hotspot is named by the MAC address, and the second hotspot is used for the network camera to find and access the first wireless network. And the network camera searches for and accesses the first wireless network of the gateway equipment according to the MAC address.
In the network distribution method for the network camera provided by the embodiment, the gateway device sends the gateway identity information to the network camera and establishes the first wireless network corresponding to the gateway identity information, so that the network camera can be simply, quickly and accurately connected to the first wireless network of the gateway device, the binding between the network camera and the gateway device is realized, and the success rate of network distribution is ensured.
in one embodiment, the gateway device establishes the first network connection with the network camera by the following steps, that is, S210 includes:
and releasing the first hotspot, wherein the first hotspot is used for being accessed by the network camera, and establishing a first network connection to form a second wireless network.
And releasing the first hot spot after the gateway equipment is powered on. The network camera is connected to the first hotspot in an STA mode, so that a network connection with the gateway device is established, and a first network connection is formed.
referring to fig. 7, in one embodiment, there may be a plurality of gateway devices. The method still further comprises:
and S250, the gateway equipment acquires the IP address of the network camera.
and the network camera sets an IP address and sends the IP address to the gateway equipment. The gateway device stores the IP addresses of the network cameras for subsequent communication.
in step S241, the gateway device sends the gateway identity information of the gateway device to the network camera based on the first network connection, which specifically includes:
The gateway equipment sends the gateway identity information to the network camera according to the IP address of the network camera based on the first network connection.
and the gateway equipment sends the gateway identity information of the gateway equipment to the network camera corresponding to the IP address according to the IP address of the network camera. By acquiring the IP address of the network camera and carrying out communication according to the IP address of the network camera, the accuracy of communication is improved, and the success rate of subsequent distribution network is improved.
with continuing reference to fig. 7, in an embodiment, before S242, the method further includes:
and S260, destroying a second wireless network by the gateway equipment, wherein the second wireless network is a wireless network corresponding to the first network connection.
And after the gateway equipment is successfully connected with the routing equipment, namely the second network connection is successfully established, the first hotspot is closed, and the second wireless network is destroyed, so that the network camera can be accurately accessed to the first wireless network, and the success rate of the distribution network and the safety of information transmission are further improved.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
One embodiment of the application provides a network camera networking system, which comprises a network camera and a gateway device. Wherein, the network camera is used to execute the steps of the method provided by the embodiment shown in fig. 2-4; the gateway device is configured to perform steps for implementing the methods provided by the embodiments shown in fig. 5-7 in the above embodiments.
Referring to fig. 8, the steps of implementing an implementation manner of a network distribution of a network camera by the network camera distribution system provided in this embodiment include:
S301, the network camera scans and identifies image information to obtain access authentication information of the routing equipment;
s302, the gateway equipment releases the first hot spot and establishes a second wireless network;
S303, the network camera accesses to the first hotspot in a site mode, and establishes first network connection with the gateway equipment;
S304, the network camera sets an IP address according to the identity information of the network camera;
s305, based on the first network connection, the network camera sends the IP address to the gateway equipment;
S306, based on the first network connection, the network camera sends the access authentication information to the gateway equipment;
s307, the gateway equipment establishes a second network connection with the routing equipment according to the access authentication information;
s308, the gateway equipment closes the first hotspot and destroys the second wireless network;
s309, based on the first network connection, the gateway equipment sends the gateway identity information to the network camera according to the IP address;
S310, the gateway equipment releases a second hotspot named by the gateway identity information and establishes a first wireless network;
S311, the network camera accesses the second hotspot, accesses the first wireless network of the gateway device, and establishes a third network connection with the gateway device.
the process and the beneficial effects of the specific embodiment of the device distribution network system provided by this embodiment are similar to those of the above embodiments, and are not described herein again.
Referring to fig. 9, an embodiment of the present application provides a network camera 10, where the network camera 10 includes an access authentication acquiring module 110, a first network establishing module 120, and a second network establishing module 130.
an access authentication obtaining module 110, configured to scan and identify image information to obtain access authentication information of the routing device;
A first network establishing module 120, configured to establish a first network connection with a gateway device based on pre-stored gateway information of the gateway device;
a second network establishing module 130, configured to send the access authentication information to the gateway device based on the first network connection, where the access authentication information is used by the gateway device to establish a second network connection with the routing device.
referring to fig. 9 again, in an embodiment, the network camera 10 further includes a third network connection establishing module 140, configured to acquire gateway identity information of the gateway device based on the first network connection, and access the first wireless network corresponding to the gateway identity information according to the gateway identity information, so as to establish a third network connection with the gateway device.
In an embodiment, the first wireless network is a wireless network established by the second network establishing module 130 after establishing the second network connection with the routing device and destroying the second wireless network, and the second wireless network is a wireless network corresponding to the first network connection.
Referring to fig. 10, an embodiment of the present application provides a gateway apparatus 20, which includes a first network establishing module 210, an access authentication obtaining module 220, and a second network establishing module 230. Wherein,
a first network establishing module 210, configured to establish a first network connection with the network camera;
An access authentication obtaining module 220, configured to obtain, based on the first network connection, access authentication information of the routing device through the network camera, where the access authentication information is obtained by the network camera scanning and recognizing image information including the access authentication information;
a second network establishing module 230, configured to establish a second network connection with the routing device according to the access authentication information.
referring to fig. 10, in an embodiment, the gateway device 20 further includes a first wireless network establishing module 240, configured to send the gateway identity information of the gateway device to the network camera based on the first network connection, and establish a first wireless network corresponding to the gateway identity information.
referring to fig. 10, in an embodiment, the gateway device 20 further includes a second wireless network destruction module 240, configured to destroy a second wireless network before establishing the first wireless network corresponding to the gateway identity information, where the second wireless network is a wireless network corresponding to the first network connection.
for the specific limitations of the network camera 10 and the gateway device 20, reference may be made to the above limitations of the network camera distribution method, which will not be described herein again. The respective modules in the network camera 10 and the gateway apparatus 20 described above may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 11, in one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 11. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing source data, report data and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a report generating method.
those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
scanning and identifying image information to obtain access authentication information of the routing equipment;
Establishing a first network connection with a gateway device based on prestored gateway information of the gateway device;
Based on the first network connection, sending the access authentication information to the gateway device, the access authentication information being used by the gateway device to establish a second network connection with the routing device.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
establishing a first network connection with a network camera;
based on the first network connection, acquiring access authentication information of the routing equipment through the network camera, wherein the access authentication information is obtained by scanning and identifying image information containing the access authentication information by the network camera;
and establishing a second network connection with the routing equipment according to the access authentication information.
the specific processes and advantages of the above method steps implemented by the computer device processor provided in the above embodiments are similar to those of the corresponding method embodiments, and are not described herein again.
in one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
Scanning and identifying image information to obtain access authentication information of the routing equipment;
Establishing a first network connection with a gateway device based on prestored gateway information of the gateway device;
based on the first network connection, sending the access authentication information to the gateway device, the access authentication information being used by the gateway device to establish a second network connection with the routing device.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
Establishing a first network connection with a network camera;
based on the first network connection, acquiring access authentication information of the routing equipment through the network camera, wherein the access authentication information is obtained by scanning and identifying image information containing the access authentication information by the network camera;
and establishing a second network connection with the routing equipment according to the access authentication information.
The specific processes and advantageous effects of implementing the above method steps by the computer-readable storage medium provided by the above embodiments are similar to those of the corresponding method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A network distribution method for network cameras is characterized by comprising the following steps:
the network camera scans and identifies image information to obtain access authentication information of the routing equipment;
the network camera establishes a first network connection with the gateway equipment based on prestored gateway information of the gateway equipment;
the network camera sends the access authentication information to the gateway device based on the first network connection, and the access authentication information is used by the gateway device to establish a second network connection with the routing device.
2. The method of claim 1, further comprising:
The network camera acquires gateway identity information of the gateway equipment based on the first network connection;
And the network camera accesses a first wireless network corresponding to the gateway identity information according to the gateway identity information so as to establish third network connection with the gateway equipment.
3. The method according to claim 2, wherein the first wireless network is a wireless network established by the gateway device after establishing the second network connection with the routing device and destroying the second wireless network, and the second wireless network is a wireless network corresponding to the first network connection.
4. A network distribution method for network cameras is characterized by comprising the following steps:
The gateway equipment establishes a first network connection with the network camera;
the gateway equipment acquires access authentication information of the routing equipment through the network camera based on the first network connection, wherein the access authentication information is obtained by scanning and identifying image information containing the access authentication information by the network camera;
And the gateway equipment establishes a second network connection with the routing equipment according to the access authentication information.
5. the method of claim 4, further comprising:
The gateway equipment sends gateway identity information of the gateway equipment to the network camera based on the first network connection;
The gateway device establishes a first wireless network corresponding to the gateway identity information.
6. The method of claim 5, wherein before the gateway device establishes the first wireless network corresponding to the gateway identity information, the method further comprises:
And the gateway equipment destroys a second wireless network, wherein the second wireless network is a wireless network corresponding to the first network connection.
7. a network camera networking system comprising a network camera and a gateway device, wherein the network camera is configured to perform the steps of the method of any one of claims 1 to 3; the gateway device is adapted to perform the steps of the method of any of claims 4 to 6.
8. A network camera, comprising:
the access authentication acquisition module is used for scanning and identifying the image information to obtain access authentication information of the routing equipment;
the first network establishing module is used for establishing first network connection with the gateway equipment based on prestored gateway information of the gateway equipment;
and the access authentication sending module is used for sending the access authentication information to the gateway equipment based on the first network connection, and the access authentication information is used by the gateway equipment for establishing a second network connection with the routing equipment.
9. A gateway device, comprising:
the first network establishing module is used for establishing first network connection with the network camera;
An access authentication acquisition module, configured to acquire access authentication information of a routing device through the network camera based on the first network connection, where the access authentication information is obtained by the network camera scanning and recognizing image information including the access authentication information;
and the second network establishing module is used for establishing second network connection with the routing equipment according to the access authentication information.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910744543.7A 2019-08-13 2019-08-13 Network camera distribution method, device, system, computer device and medium Active CN110545201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910744543.7A CN110545201B (en) 2019-08-13 2019-08-13 Network camera distribution method, device, system, computer device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910744543.7A CN110545201B (en) 2019-08-13 2019-08-13 Network camera distribution method, device, system, computer device and medium

Publications (2)

Publication Number Publication Date
CN110545201A true CN110545201A (en) 2019-12-06
CN110545201B CN110545201B (en) 2023-05-12

Family

ID=68711355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910744543.7A Active CN110545201B (en) 2019-08-13 2019-08-13 Network camera distribution method, device, system, computer device and medium

Country Status (1)

Country Link
CN (1) CN110545201B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979730A (en) * 2017-12-25 2018-05-01 横琴国际知识产权交易中心有限公司 A kind of wireless network connecting method and system of wireless camera equipment
CN108093097A (en) * 2017-12-28 2018-05-29 深圳市双翼科技股份有限公司 The connection method of camera and home gateway and home gateway
CN109413760A (en) * 2018-10-23 2019-03-01 上海掌门科技有限公司 A kind of wireless connection method and equipment
CN109495310A (en) * 2018-11-28 2019-03-19 上海世滨电子商务有限公司 A kind of distribution method and system of smart machine
CN110099383A (en) * 2019-05-16 2019-08-06 深圳市远弗科技有限公司 A kind of method and system based on sweeping robot configuration wireless network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979730A (en) * 2017-12-25 2018-05-01 横琴国际知识产权交易中心有限公司 A kind of wireless network connecting method and system of wireless camera equipment
CN108093097A (en) * 2017-12-28 2018-05-29 深圳市双翼科技股份有限公司 The connection method of camera and home gateway and home gateway
CN109413760A (en) * 2018-10-23 2019-03-01 上海掌门科技有限公司 A kind of wireless connection method and equipment
CN109495310A (en) * 2018-11-28 2019-03-19 上海世滨电子商务有限公司 A kind of distribution method and system of smart machine
CN110099383A (en) * 2019-05-16 2019-08-06 深圳市远弗科技有限公司 A kind of method and system based on sweeping robot configuration wireless network

Also Published As

Publication number Publication date
CN110545201B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN110300117B (en) IOT device and user binding authentication method, device and medium
CN109525990B (en) Wireless screen projection method and device, computer equipment and storage medium
CN108600376B (en) Data transmission method and device based on LoRa, LoRa gateway, system and storage medium
EP2405622B1 (en) Device communication
CN101605330B (en) Method and device for building wireless distribution system connection
CN108234522B (en) Method and device for preventing Address Resolution Protocol (ARP) attack, computer equipment and storage medium
CN111194067A (en) Network access method, device, related equipment and storage medium
CN104967595A (en) Method and apparatus for registering devices on Internet of things platform
CN104967596A (en) Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN110769482B (en) Method and device for network connection of wireless equipment and wireless router equipment
CN104157082A (en) Automatic ticket collecting method and automatic ticket collecting device
CN109495979B (en) Wireless network connection method and device
US20180034690A1 (en) System and methods for provisioning devices
WO2018196463A1 (en) Method and apparatus for network access, storage medium, and processor
CN113259626A (en) Camera video stream acquisition system and method
CN113873491A (en) Communication apparatus, system, and computer-readable storage medium
CN110336794B (en) Intranet access method, system and related device
CN109040050B (en) Data interaction method and related product
CN113810427A (en) Penetration testing method, terminal equipment and storage medium
CN109862623A (en) Wireless backup method, apparatus, equipment and storage medium
CN108810180B (en) Scheduling method, device and terminal for domain name resolution redirection
CN110545201B (en) Network camera distribution method, device, system, computer device and medium
CN113271570A (en) Network configuration method and device for camera equipment, camera equipment and storage medium
CN110856145B (en) IOT (Internet of things) equipment and user binding method, equipment and medium based on near field authentication
CN103188662B (en) A kind of method and device verifying WAP (wireless access point)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210205

Address after: B1601, Shenzhen national engineering laboratory building, No.20, Gaoxin South 7th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Shenzhen shuliantianxia Intelligent Technology Co.,Ltd.

Address before: 1003, 10 / F, block D, Shenzhen Institute of Aerospace Science and technology innovation building, no.6, South Science and technology 10 road, high tech South District, Nanshan District, Shenzhen, Guangdong 518051

Applicant before: SHENZHEN H & T HOME ONLINE NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant