CN110545201B - Network camera distribution method, device, system, computer device and medium - Google Patents

Network camera distribution method, device, system, computer device and medium Download PDF

Info

Publication number
CN110545201B
CN110545201B CN201910744543.7A CN201910744543A CN110545201B CN 110545201 B CN110545201 B CN 110545201B CN 201910744543 A CN201910744543 A CN 201910744543A CN 110545201 B CN110545201 B CN 110545201B
Authority
CN
China
Prior art keywords
network
gateway
network connection
equipment
camera
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.)
Active
Application number
CN201910744543.7A
Other languages
Chinese (zh)
Other versions
CN110545201A (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 Shuliantianxia Intelligent 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 Shuliantianxia Intelligent Technology Co Ltd filed Critical Shenzhen Shuliantianxia Intelligent 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

Images

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

Abstract

The application relates to a network camera distribution method, equipment, a system, computer equipment and a medium. The network camera network distribution method comprises the following steps: the network camera scans and identifies the 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 pre-stored gateway information of the gateway equipment; the network camera sends the access authentication information to the gateway device based on the first network connection, the access authentication information being used by the gateway device to establish a second network connection with the routing device. The network camera network distribution method has high network distribution efficiency.

Description

Network camera distribution method, device, system, computer device and medium
Technical Field
The present invention relates to the field of communications, and in particular, to a network camera distribution method, device, system, computer device, and medium.
Background
With the development of video monitoring technology, video monitoring systems are also gradually going deep into people's life. The video monitoring system mainly uploads collected video data to a cloud by an Internet Protocol (IP) camera (IPC) to realize video monitoring. The network cameras are classified into two types, one is a network camera having a storage function, and one is a network camera not having a storage function. The network camera without the storage function is required to send the collected video data to the gateway device connected with the network camera, and then the gateway device uploads the video data to the cloud through the routing device. To enable the network camera to upload video data to the cloud end, the network camera needs to be configured, that is, network connection among the network camera, the gateway device and the routing device needs to be established.
In the conventional technology, the network configuration process for the network camera is as follows: first, a configuration terminal (e.g., a handset) establishes a network connection with a routing device to obtain access authentication information (including a service set identification and a password of the router) of the routing device. And then, the terminal is configured to disconnect the network connection with the router, establish the network connection with the gateway equipment, and send the access authentication information to the gateway equipment based on the network connection between the terminal and the gateway equipment. The gateway device establishes a 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 the mode of configuring the network connection between 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 distribution network.
However, the network configuration method needs participation of the configuration terminal, and requires a user to manually switch network connection of the configuration terminal for a plurality of times, so that the network configuration method has the problems of complex operation and low network configuration efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a network camera networking method, device, system, computer device, and medium.
In a first aspect, an embodiment of the present application provides a network camera distribution method, where the method includes:
the network camera scans and identifies the 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 pre-stored gateway information of the gateway equipment;
the network camera sends the access authentication information to the gateway device based on the first network connection, the access authentication information being 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 a 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 a second network connection with the routing device and destroying the second wireless network, where the second wireless network is a wireless network corresponding to the first network connection.
According to the network camera network distribution method provided by the first aspect of the application, the network camera obtains 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 pre-stored gateway information of the gateway device, and transmits access authentication information to the gateway device based on the first network connection, the gateway authentication information being used by the gateway device to establish a second network connection with the routing device. According to the method, the configuration terminal does not need to be added in the network configuration process, the network mode does not need to be manually switched, automatic connection of network configuration can be achieved, operation is simple, and network configuration efficiency is high.
In a second aspect, an embodiment of the present application provides a network camera distribution method, where the method includes:
the gateway device establishes a first network connection with the network camera;
the gateway equipment obtains 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:
the gateway equipment destroys a second wireless network, and the second wireless network is a wireless network corresponding to the first network connection.
According to the network camera network distribution method provided by the second aspect of the application, the gateway equipment establishes a first network connection with the network camera, obtains access authentication information of the routing equipment through the network camera based on the first network connection, and further establishes a second network connection with the routing equipment according to the access authentication information. According to the method, the configuration terminal is not required to be added in the network configuration process, a user does not need to manually switch network modes, automatic connection of network configuration can be achieved, operation is simple, and network configuration efficiency is high.
In a third aspect, the present application further provides a network camera distribution 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 above; 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 a first network connection with the gateway equipment based on pre-stored 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 establishment module is used for establishing a first network connection with the network camera;
the access authentication acquisition module is used for acquiring 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 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 also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method as described above when the processor executes 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 executed by a processor, implements the steps of the method as described above.
Drawings
Fig. 1 is an application scenario diagram of a network camera network allocation method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 6 is a schematic flow chart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 7 is a flowchart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 8 is a flowchart of a network configuration method of a network camera according to an embodiment of the present application;
fig. 9 is a schematic diagram of a webcam 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, further detailed descriptions of technical solutions in the embodiments of the present application are provided by the following examples in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the application.
Referring to fig. 1, the network camera network allocation method provided by the present application may be applied to the video monitoring system shown in fig. 1. The video monitoring system includes 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 used for collecting video data and storing the video data to the gateway device 20 through a network connection with the gateway device 20. The gateway apparatus 20 is used for transmitting video data acquired by the network camera 10 to the routing apparatus 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 used for performing various data processing (such as extraction, storage, etc.) on the video data, so as to realize video monitoring.
The network camera network allocation 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 where video monitoring is required, such as may be deployed at a traffic intersection for monitoring various conditions at the intersection (e.g., traffic flow, people flow, etc.), or may be deployed at a building for monitoring various conditions within the building. The gateway device 20 may be a separate device body, 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, a separately provided router, or the like, which has a routing function turned on by software.
Referring to fig. 2, an embodiment of the present application provides a network camera network configuration method, which includes S110-S130. The method provided in this embodiment may be operated in a network camera as shown in fig. 1.
S110, the network camera scans and identifies the image information to obtain access authentication information of the routing equipment.
The webcam can scan and recognize image information. And after the network camera is electrified, if a network distribution instruction is received, triggering a network distribution, and entering a preset network distribution mode. The network camera scans image information including access authentication information, which may be a two-dimensional code, a bar code, a special graphic composed of at least one of a digital character and a color block, or the like. As long as the image information carries the access authentication information, the specific presentation form thereof is not limited. The image information may be displayed on the web camera by an electronic device having a graphic generation function, a paper file, or the like. The network camera recognizes the image information and acquires access authentication information. The access authentication information includes, but is not limited to, a service set identification (Service Set Identifier, SSID) and Password (Password) of the router.
S120, the network camera establishes a first network connection with the gateway device based on pre-stored gateway information of the gateway device.
The information of the gateway device, i.e., gateway information, may be pre-stored inside the network camera. When the gateway equipment releases the hot spot, the network camera can access the corresponding gateway equipment, and establish wireless network connection with the gateway equipment to form first network connection. The gateway information may include, among other things, the name of the hotspot (i.e., wireless network) released by the gateway device and the password for accessing the wireless network device. The network camera and the gateway device transmit information over a first network connection. The connection form and connection manner of the first network connection are not limited in this application, and may be set according to actual requirements. In a particular embodiment, the first network connection is a transmission control protocol (Transmission Control Protocol, TCP) communication connection.
S130, the network camera sends access authentication information to the gateway device based on the first network connection, the access authentication information being used by the gateway device to establish a second network connection with the routing device.
The network camera sends the access authentication information obtained by recognition to the gateway equipment through the first network connection. And the gateway equipment establishes network connection with the routing equipment according to the access authentication information to form second network connection. The network camera and the gateway equipment form a first network connection, and the network equipment and the routing equipment form a second network connection, so that the network camera can be connected to the routing equipment through the gateway equipment to realize network distribution. The subsequent network camera may transmit information over the network link of the gateway device.
In this embodiment, the network camera obtains access authentication information of the routing device by scanning and identifying the image information; the network camera establishes a first network connection with the gateway device based on pre-stored gateway information of the gateway device, and transmits access authentication information to the gateway device based on the first network connection, the gateway authentication information being used by the gateway device to establish a second network connection with the routing device. According to the method, the configuration terminal does not need to be added in the network configuration process, the network mode does not need to be manually switched, automatic connection of network configuration can be achieved, operation is simple, and network configuration 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 connected to the access point of the first wireless network of the gateway equipment, so that the network camera and the gateway equipment establish a third network connection, the network camera and the gateway equipment are positioned in the same network link, the network camera is connected to the matched gateway, and a binding relation is formed between the network camera and the gateway equipment, so that the distribution network is realized. The subsequent network camera may transmit information to the gateway device via the first wireless network, and the gateway device may transmit information to the router via the second network connection. The method provided by the embodiment forms the binding relation between the network camera and the gateway equipment, ensures the reliability of network connection and has high success rate of network allocation.
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 equipment based on the first network connection.
The gateway identity information is used to characterize the unique identity of the gateway. In a specific embodiment, the gateway identity information may be the MAC (Media Access Control Address ) of the gateway. The gateway device sends the MAC address to the network camera over the first network connection. Optionally, the network camera may further acquire password information corresponding to the gateway identity information based on the first network connection, the password information being used to access a wireless network (i.e., a first wireless network described below) corresponding to the gateway identity information.
And S142, the network camera accesses a 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 equipment.
And 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 uniquely corresponds to the first wireless network. In one embodiment, the webcam may access the first wireless network through a second hotspot released by the access gateway device. The second hotspot is a hotspot named by 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 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, which is 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 acquire, 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 the second wireless network destruction. The second network refers to a wireless network to which the first network is connected.
That is, the network camera establishes a first network connection with the gateway device, forming a first wireless network. After the gateway device establishes a second network connection with the routing device, the gateway device destroys the second wireless network and releases the second hotspot. The network camera is accessed to the second hot spot, accessed to the first wireless network and establishes a 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 enabled to be connected to the first wireless network, so that the security and the uniqueness of the network camera access network are ensured.
The present embodiment relates to one possible implementation manner of the network camera establishing the first network connection with the gateway device, S120 includes:
the network camera accesses the first hot spot released by the gateway device in a Station (STA) mode, and establishes a first network connection with the gateway device.
And after the gateway equipment is powered on, releasing the first hot spot. The network camera is connected to the first hotspot in STA mode, thereby establishing a network connection with the gateway device, forming a first network connection.
In this embodiment, the network camera establishes the first network connection with the gateway device by accessing the first hotspot released by the gateway device in the site mode, so that the network establishment method is simple and quick, and the network distribution efficiency is improved.
Referring to fig. 4, in one embodiment, the gateway device may be multiple. The method still further comprises:
s150, the network camera sets an IP (Internet Protocol, network protocol) address according to self identity information (Identity document, ID);
s160, the network camera sends the IP address to the gateway device based on the first network connection.
The network camera may calculate a unique static IP address from its own ID and send it to the gateway device via 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 network allocation is improved.
Referring to fig. 5, the present embodiment and the following embodiments may operate in the gateway device shown in fig. 1. The method provided by the embodiment comprises S210-S230:
s210, the gateway device establishes a first network connection with the network camera.
The gateway device establishes the first network connection with the network camera, and specific forms of the network camera and the first network connection are described in the foregoing embodiments, which are not described herein again.
S220, the gateway equipment obtains 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 the network camera and identifying image information containing the access authentication information.
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 a second network connection.
In this embodiment, the gateway device further establishes a second network connection with the routing device according to the access authentication information by establishing a first network connection with the network camera and acquiring the access authentication information of the routing device through the network camera based on the first network connection. According to the method, the configuration terminal is not required to be added in the network configuration process, a user does not need to manually switch network modes, automatic connection of network configuration can be achieved, operation is simple, and network configuration efficiency is high.
In one embodiment, the method further comprises:
the gateway equipment establishes an access point of the first wireless network, the access point is used for accessing the network camera into the first wireless network, and a third network connection between the gateway equipment and the network camera is established.
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 third network connection between the gateway equipment and the network camera is established. The network camera and the gateway equipment form a binding relation to realize the distribution network. The subsequent network camera may transmit information to the gateway device via the first wireless network, and the gateway device may further transmit information to the routing device via the second network connection.
In this embodiment, by establishing the access point of the first wireless network, the network camera is enabled to access the first wireless network of the gateway device, so as to form a binding relationship between the network camera and the gateway device, thereby improving the accuracy and success rate of network configuration and improving the security of subsequent information transmission of the network camera.
Referring to fig. 6, in one embodiment, the gateway device establishing an access point of a first wireless network may be implemented by:
s241, the gateway equipment sends 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 the 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 while the gateway device releases the access point of the first wireless network, i.e. the second hotspot. The second hotspot is named as a MAC address and is used for the network camera to find and access the first wireless network. The network camera searches and accesses the first wireless network of the gateway device according to the MAC address.
According to the network camera network distribution method, the gateway equipment sends the gateway identity information to the network camera, and the first wireless network corresponding to the gateway identity information is established, so that the network camera can be simply, quickly and accurately connected to the first wireless network of the gateway equipment, binding of the network camera and the gateway equipment is achieved, and the network distribution success rate is guaranteed.
In one embodiment, the gateway device establishes the first network connection with the network camera by a method comprising the steps of:
releasing a first hot spot, wherein the first hot spot is used for being accessed by a network camera, and establishing a first network connection to form a second wireless network.
And after the gateway equipment is powered on, releasing the first hot spot. The network camera is connected to the first hotspot in STA mode, thereby establishing a network connection with the gateway device, forming a first network connection.
Referring to fig. 7, in one embodiment, the gateway device may be multiple. The method still further comprises:
s250, the gateway device acquires the IP address of the network camera.
The network camera sets an IP address and transmits to the gateway device. The gateway device stores the IP address of each network camera for subsequent communications.
In the step S241, the gateway device sends the gateway identity information of the gateway device to the network camera based on the first network connection, and specifically includes:
the gateway device sends gateway identity information to the network camera based on the first network connection and according to the IP address of the network camera.
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, communication is carried out according to the IP address of the network camera, so that the accuracy of communication is improved, and the success rate of subsequent network allocation is improved.
With continued reference to fig. 7, in one embodiment, prior to S242, the method further includes:
s260, the gateway equipment destroys a second wireless network, and the second wireless network is a wireless network corresponding to the first network connection.
After the gateway equipment is successfully connected with the routing equipment, namely the second network connection is successfully established, the first hot spot is closed, and the second wireless network is destroyed, so that the network camera can accurately access the first wireless network, and the success rate of network allocation and the safety of information transmission are further improved.
It should be understood that, although the steps in the flowcharts of fig. 2-7 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
An embodiment of the application provides a network camera distribution network system, which comprises a network camera and gateway equipment. Wherein the webcam is used for executing the steps of the method provided by the embodiments shown in fig. 2-4 of the above embodiments; the gateway device is configured to perform the steps for implementing the method provided by the embodiments described above and illustrated in fig. 5-7.
Referring to fig. 8, the steps of implementing an implementation manner of the network camera distribution network by the network camera distribution network system provided in this embodiment include:
s301, a 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, accessing a network camera to a first hot spot in a site mode, and establishing a first network connection with gateway equipment by the network camera;
s304, the network camera sets an IP address according to the self identity information;
s305, based on the first network connection, the network camera sends the IP address to the gateway device;
s306, based on the first network connection, the network camera sends 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 hot spot and destroys the second wireless network;
s309, based on the first network connection, the gateway equipment sends gateway identity information to the network camera according to the IP address;
s310, the gateway equipment releases a second hot spot named by gateway identity information and establishes a first wireless network;
s311, the network camera is accessed to the second hot spot, is accessed to the first wireless network of the gateway equipment, and establishes a third network connection with the gateway equipment.
The specific embodiment process and beneficial effects of the device network distribution system provided in this embodiment are similar to those of the foregoing 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 acquisition module 110, a first network establishment module 120, and a second network establishment module 130.
An access authentication obtaining module 110, configured to scan and identify image information, and 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 establishment 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.
With continued reference to fig. 9, in one embodiment, the network camera 10 further includes a third network connection establishment module 140, configured to obtain gateway identity information of the gateway device based on the first network connection, and access, according to the gateway identity information, a first wireless network corresponding to the gateway identity information to establish a third network connection with the gateway device.
In one embodiment, the first wireless network is a wireless network established by the second network establishing module 130 after establishing a second network connection with the routing device and destroying the second wireless network, where the second wireless network is a wireless network corresponding to the first network connection.
Referring to fig. 10, one embodiment of the present application provides a gateway device 20, which includes a first network establishment module 210, an access authentication acquisition module 220, and a second network establishment module 230. Wherein, the liquid crystal display device comprises a liquid crystal display device,
a first network establishment module 210 for establishing 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 a routing device through the network camera, where the access authentication information is obtained by scanning and identifying image information including the access authentication information by the network camera;
a second network establishing module 230, configured to establish a second network connection with the routing device according to the access authentication information.
With continued reference to fig. 10, in one embodiment, the gateway device 20 further includes a first wireless network establishment module 240, configured to send 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.
With continued reference to fig. 10, in one embodiment, the gateway device 20 further includes a second wireless network destruction module, 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.
The specific limitation of the network camera 10 and the gateway device 20 may be referred to as limitation of the network camera network configuration method, and will not be described herein. The respective modules in the above-described network camera 10 and gateway apparatus 20 may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Referring to FIG. 11, in one embodiment, a computer device is provided, which may be a server, the internal structure of which 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. 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, when executed by a processor, implements a report generation method.
It will be appreciated by those skilled in the art that the structure shown in fig. 11 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the 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 stored therein a computer program, the processor when executing the computer program performing 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 pre-stored gateway information of the gateway device;
and transmitting the access authentication information to the gateway device based on the first network connection, wherein the access authentication information is 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 stored therein a computer program, the processor when executing the computer program performing the steps of:
establishing a first network connection with a network camera;
based on the first network connection, access authentication information of the routing equipment is obtained 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 beneficial effects of executing the computer program by the computer device processor provided in the above embodiments to implement the above method steps 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 pre-stored gateway information of the gateway device;
and transmitting the access authentication information to the gateway device based on the first network connection, wherein the access authentication information is 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, access authentication information of the routing equipment is obtained 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 beneficial effects of implementing the steps of the method according to the above embodiment are similar to those of the corresponding method embodiment, and are not described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the claims. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A network camera distribution method, the method comprising:
the network camera scans and identifies the 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 pre-stored gateway information of the gateway equipment; acquiring gateway identity information of the gateway equipment based on the first network connection; accessing a first wireless network corresponding to the gateway identity information according to the gateway identity information to establish a third network connection with the gateway equipment; the gateway information comprises the name of the wireless network released by the gateway equipment and the password accessed to the wireless network;
the network camera sends the access authentication information to the gateway device based on the third network connection, the access authentication information being used by the gateway device to establish a second network connection with the routing device; the first wireless network is a wireless network established by the gateway device after establishing a 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.
2. The method of claim 1, wherein the network camera establishes the first network connection with the gateway device based on pre-stored gateway information of the gateway device, comprising:
and the network camera establishes a first network connection with the gateway equipment based on pre-stored gateway information of the gateway equipment under the condition that the gateway equipment releases the hot spot.
3. A network camera distribution method, the method comprising:
the gateway equipment establishes a first network connection with a network camera, so that the network camera obtains gateway identity information of the gateway equipment based on the first network connection, and accesses a first wireless network corresponding to the gateway identity information according to the gateway identity information to establish a third network connection with the gateway equipment;
the gateway equipment obtains access authentication information of the routing equipment through the network camera based on the third network connection, wherein the access authentication information is obtained by scanning and identifying image information containing the access authentication information by the network camera;
the gateway equipment establishes a second network connection with the routing equipment according to the access authentication information; the first wireless network is a wireless network established by the gateway device after establishing a 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 method according to claim 3, characterized in that 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.
5. The method according to claim 4, wherein the first network connection is established for the network camera based on pre-stored gateway information of the gateway device in case the gateway device releases a hotspot.
6. A network camera distribution network system comprising a network camera and a gateway device, wherein the network camera is configured to perform the steps of the method of any of claims 1 to 2; the gateway device being adapted to perform the steps of the method of any one of claims 3 to 5.
7. A network camera, characterized by 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 a first network connection with the gateway equipment based on pre-stored gateway information of the gateway equipment; acquiring gateway identity information of the gateway equipment based on the first network connection; accessing a first wireless network corresponding to the gateway identity information according to the gateway identity information to establish a third network connection with the gateway device; the gateway information comprises the name of the wireless network released by the gateway equipment and the password accessed to the wireless network;
an access authentication sending module, configured to send the access authentication information to the gateway device based on the third network connection, where the access authentication information is used by the gateway device to establish a second network connection with the routing device; the first wireless network is a wireless network established by the gateway device after establishing a 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.
8. A gateway device, comprising:
the first network establishing module is used for establishing a first network connection with the network camera so that the network camera obtains gateway identity information of the gateway equipment based on the first network connection, and accesses a first wireless network corresponding to the gateway identity information according to the gateway identity information to establish a third network connection with the gateway equipment;
the access authentication acquisition module is used for acquiring access authentication information of the routing equipment through the network camera based on the third network connection, wherein the access authentication information is obtained by scanning and identifying image information containing the access authentication information by the network camera;
a second network establishing module, configured to establish a second network connection with the routing device according to the access authentication information; the first wireless network is a wireless network established by the gateway device after establishing a 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.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
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 CN110545201A (en) 2019-12-06
CN110545201B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (3)

* 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
CN110099383A (en) * 2019-05-16 2019-08-06 深圳市远弗科技有限公司 A kind of method and system based on sweeping robot configuration wireless network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN110545201A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN109525990B (en) Wireless screen projection method and device, computer equipment and storage medium
CN110139387B (en) Uplink small data transmission method, network side DU and network side CU
CN115002924A (en) Uplink small data transmission method, network side DU and network side CU
CN104967596A (en) Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN107182098B (en) Method and equipment for realizing switching of user equipment between wireless access points
CN109246762B (en) Local service distribution method and device
CN106453370B (en) Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
CN112564942A (en) Distribution network control method and device of Internet of things equipment, equipment and storage medium
CN110769482B (en) Method and device for network connection of wireless equipment and wireless router equipment
KR20150018302A (en) Group Owner Centric Service Discovery method and apparatus
US20220159103A1 (en) Method, device, system, and storage medium for establishing local communication link
CN111901151A (en) Method, device, equipment and medium for gateway equipment to manage IOT equipment
CN112333284B (en) 5G intelligent gateway-based data transmission method, system and storage medium
CN107682914B (en) Method for establishing wifi link, access point, station and computer readable storage medium
CN110071950B (en) Information transmission method, transfer device, terminal, controlled device and storage medium
WO2018196463A1 (en) Method and apparatus for network access, storage medium, and processor
CN110545201B (en) Network camera distribution method, device, system, computer device and medium
US20170127472A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
JP2020502894A (en) Service ordering method and device
CN111182512B (en) Terminal connection method, device, terminal and computer readable storage medium
CN103152721A (en) Terminal, mobility management entity, system and network access method
CN109862623A (en) Wireless backup method, apparatus, equipment and storage medium
CN103188662B (en) A kind of method and device verifying WAP (wireless access point)
CN112637844A (en) Security authentication method, device, equipment and medium
CN113873491A (en) Communication apparatus, system, and computer-readable storage medium

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