CN111314992B - Connection method and device of hotspot module and broadcasting method and device of hotspot list - Google Patents

Connection method and device of hotspot module and broadcasting method and device of hotspot list Download PDF

Info

Publication number
CN111314992B
CN111314992B CN202010086880.4A CN202010086880A CN111314992B CN 111314992 B CN111314992 B CN 111314992B CN 202010086880 A CN202010086880 A CN 202010086880A CN 111314992 B CN111314992 B CN 111314992B
Authority
CN
China
Prior art keywords
hotspot
module
ipc
hot spot
target
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
CN202010086880.4A
Other languages
Chinese (zh)
Other versions
CN111314992A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010086880.4A priority Critical patent/CN111314992B/en
Publication of CN111314992A publication Critical patent/CN111314992A/en
Application granted granted Critical
Publication of CN111314992B publication Critical patent/CN111314992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for connecting a hot spot module and a method and a device for broadcasting a hot spot list, wherein the method for connecting the hot spot module comprises the following steps: when the network camera IPC equipment is connected to a first hotspot module of the network video recorder NVR equipment, reporting hotspot information of the IPC equipment to the NVR equipment; receiving a hotspot list broadcasted by the NVR equipment, wherein the hotspot list contains hotspot information of all IPC (internet protocol communication) equipment in the range of the local area network of the NVR equipment; scanning surrounding hotspot modules and acquiring a target hotspot module which is matched and consistent with hotspot information contained in a hotspot list; and selecting a target hotspot module of a target frequency band according to the signal intensity obtained by scanning for connection. The problem of in the correlation technique, the wireless hot spot module frequency channel of IPC equipment is single and leads to when using the limitation great is solved.

Description

Connection method and device of hotspot module and broadcasting method and device of hotspot list
Technical Field
The invention relates to the technical field of hotspot data processing, in particular to a method and a device for connecting hotspot modules and a method and a device for broadcasting a hotspot list.
Background
In a common household scene, the coverage area of a router is limited, and a repeater is often used for expanding wireless data signals. However, the existing repeater, for example, an Internet Protocol Camera (IPC) device generally has only one frequency band of wireless hot spot module, and has great limitations in use, such as poor wall-penetrating effect in a certain frequency band, short transmission distance in a certain frequency band, and the like.
Aiming at the problem of large use limitation caused by single frequency band of a wireless hot spot module of IPC equipment in the related technology, no perfect solution exists at present.
Disclosure of Invention
The embodiment of the application provides a connection method and a connection device of a hot spot module and a broadcasting method and a broadcasting device of a hot spot list, and aims to at least solve the problem of high use limitation caused by single frequency band of a wireless hot spot module of IPC equipment in the related technology.
According to an embodiment of the present application, there is provided a method for connecting a hotspot module, including: when a network camera IPC device is connected to a first hotspot module of a network video recorder NVR device, reporting hotspot information of the IPC device to the NVR device, wherein the IPC device comprises second hotspot modules of different frequency bands, and the hotspot information of the IPC device comprises: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module; receiving a hotspot list broadcasted by the NVR equipment, wherein the hotspot list contains hotspot information of all IPC (Internet protocol Camera) equipment within the range of the local area network of the NVR equipment; scanning surrounding hotspot modules and acquiring a target hotspot module which is matched and consistent with hotspot information contained in the hotspot list; and selecting the target hotspot module of the target frequency band according to the signal intensity obtained by scanning for connection.
Optionally, before reporting the hotspot information to the NVR device when the network camera IPC device is connected to the first hotspot module of the network hard disk recorder NVR device, the method further includes: and determining that the first hotspot module is a first hotspot module of the NVR device under the condition that the related information of the first hotspot module contains the identification information of the NVR device.
Optionally, reporting the hotspot information to the NVR device includes: reporting the following hotspot information to the NVR equipment: the second hotspot modules respectively correspond to frequency bands, names of the second hotspot modules, encryption modes and passwords of the second hotspot modules.
Optionally, selecting the target hotspot module of the target frequency band according to the signal strength obtained by scanning to perform connection includes: under the condition that the signal intensity received from the target hotspot module is greater than or equal to a preset threshold value, selecting the target hotspot module in a 5G frequency band for connection; and under the condition that the signal intensity received from the target hotspot module is smaller than the preset threshold value, selecting the target hotspot module in the 2.4G frequency band to connect, wherein each IPC device comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
Optionally, after selecting the target hotspot module of the target frequency band according to the signal strength obtained by scanning to connect, the method further includes: and receiving notification information sent by the NVR equipment, wherein the notification information is used for indicating the IPC equipment to close the unused hotspot module.
According to another embodiment of the present application, there is also provided a method for broadcasting a hot spot list, including: receiving hotspot information reported by IPC equipment of a network camera, wherein the hotspot information comprises: the IPC equipment comprises a frequency band where a hot spot module is located and a name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service; the method comprises the steps that a network video recorder NVR device broadcasts instruction information to all IPC devices within a local area network, wherein the instruction information carries a hot spot list, the hot spot list comprises hot spot information of all the IPC devices within the local area network, and the instruction information is used for indicating the IPC devices to select a target hot spot module corresponding to a target frequency band from the hot spot list for connection.
Optionally, after the NVR device broadcasts the instruction information to all IPC devices within the range of the local area network, the method further includes: receiving connection information reported by the IPC, wherein the connection information comprises: the IPC equipment comprises a target frequency band corresponding to a target hot spot module connected with the IPC equipment and a name of the target hot spot module, wherein each IPC equipment comprises a hot spot module of a 2.4G frequency band and a hot spot module of a 5G frequency band.
Optionally, after receiving the connection information reported by the IPC, the method further includes: collecting the connection information of all the IPC equipment in the range of the local area network; and sending notification information to the IPC equipment, wherein the notification information is used for indicating the IPC equipment to close the unused hotspot module.
According to another embodiment of the present application, there is also provided a connection device for a hotspot module, including:
the reporting module is used for reporting the hot spot information of the IPC equipment to the Network Video Recorder (NVR) equipment when the IPC equipment of the network video camera is connected to a first hot spot module of the NVR equipment, wherein the IPC equipment comprises the second hot spot modules in different frequency bands, and the hot spot information of the IPC equipment comprises: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module;
the first receiving module is used for receiving a hotspot list broadcasted by the NVR device, wherein the hotspot list contains hotspot information of all IPC devices within the range of the local area network of the NVR device;
the scanning module is used for scanning the surrounding hotspot modules and acquiring a target hotspot module which is matched and consistent with the hotspot information contained in the hotspot list;
and the connection module is used for selecting the target hotspot module of the target frequency band according to the signal intensity obtained by scanning to connect.
Optionally, the apparatus further comprises:
a determining module, configured to determine that the first hotspot module is the first hotspot module of the NVR device when the related information of the first hotspot module includes the identification information of the NVR device.
Optionally, the reporting module includes:
a reporting unit, configured to report the following hotspot information to the NVR device: the second hotspot modules respectively correspond to frequency bands, names of the second hotspot modules, encryption modes and passwords of the second hotspot modules.
Optionally, the connection module comprises:
the first connection unit is used for selecting the target hotspot module in the 5G frequency band for connection under the condition that the signal strength received from the target hotspot module is greater than or equal to a preset threshold value;
and the second connection unit is used for selecting the target hotspot module in the 2.4G frequency band to connect under the condition that the signal strength received from the target hotspot module is smaller than the preset threshold, wherein each IPC device comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
Optionally, the apparatus further comprises:
and a third receiving module, configured to receive notification information sent by the NVR device, where the notification information is used to instruct the IPC device to close an unused hotspot module.
According to another embodiment of the present application, there is also provided a broadcasting apparatus of a hot spot list, including:
the second receiving module is configured to receive hotspot information reported by the network camera IPC device, where the hotspot information includes: the IPC equipment comprises a frequency band where a hot spot module is located and a name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
the system comprises a broadcasting module and a connection module, wherein the broadcasting module is used for broadcasting instruction information to all IPC equipment within a local area network, the instruction information carries a hot spot list, the hot spot list comprises hot spot information of all IPC equipment within the local area network, and the instruction information is used for indicating the IPC equipment to select a target hot spot module corresponding to a target frequency band from the hot spot list for connection.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive connection information reported by the IPC, where the connection information includes: the IPC equipment comprises a target frequency band corresponding to a target hot spot module connected with the IPC equipment and a name of the target hot spot module, wherein each IPC equipment comprises a hot spot module of a 2.4G frequency band and a hot spot module of a 5G frequency band.
Optionally, the apparatus further comprises:
the collecting module is used for collecting the connection information of all the IPC equipment in the range of the local area network;
and the sending module is used for sending notification information to the IPC equipment, wherein the notification information is used for indicating the IPC equipment to close the unused hotspot module.
According to another embodiment of the application, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
According to another embodiment of the present application, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the steps of any of the above method embodiments.
Through the embodiment of the application, when the network camera IPC equipment is connected to the first hotspot module of the network video recorder NVR equipment, the hotspot information of the IPC equipment is reported to the NVR equipment, wherein the hotspot information of the IPC equipment comprises: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module; the NVR equipment collects the hot spot information of all IPC equipment in the local area network into a hot spot list and broadcasts the hot spot list to all IPC equipment in the local area network, the IPC equipment scans the hot spot modules around, and matches the hot spot modules obtained by scanning with the hot spot modules contained in the hot spot list to obtain target hot spot modules which are matched consistently; and then, a target hotspot module of a target frequency band is selected according to the signal intensity obtained by scanning for connection, so that the problem of high use limitation caused by single frequency band of a wireless hotspot module of the IPC equipment in the related technology is solved, the accessed frequency band can be automatically selected in use, the performance of the whole system is improved, and the monitoring range is enlarged.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic hardware environment diagram of an optional connection method for a hotspot module according to an embodiment of the present application;
fig. 2 is a flowchart of a broadcasting method of an optional hot spot list according to an embodiment of the present application;
FIG. 3 is a flow chart of an alternative packet processing method according to an embodiment of the present application;
FIG. 4 is a flow chart of an alternative IPC dual-frequency cascading method according to an embodiment of the application;
fig. 5 is a block diagram illustrating an alternative connection device for a hotspot module according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a broadcasting apparatus for an optional hot spot list according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The embodiment of the application provides a connection method of a hotspot module. Fig. 1 is a schematic diagram of a hardware environment of a connection method of an optional hotspot module according to an embodiment of the present invention, and as shown in fig. 1, a device for performing IPC (IP Camera, IPC for short) monitoring by using a network Camera (IP Camera) includes a dual wifi (wireless fidelity) wireless fidelity module, which can support simultaneous opening of 2.4G/5G hotspots. Certainly, the IPC may also include 3 or more wifi modules, which may not be limited to 2.4G/5G hotspots, that is, the IPC device includes at least two wireless communication modules, and different wireless communication modules correspond to data service hotspots in different frequency bands. The Network Video Recorder (NVR) device adds private ie information (private identity) to an interactive frame that must be used for connecting wifi through a beacon frame or a probe response frame or an association response frame and other management frames, and is used for distinguishing NVR or a router when IPC is connected. After the IPC equipment is wirelessly connected with a wifi hotspot, whether private ie information exists is judged, and if the private ie information exists, the private ie information is actively reported by the IPC equipment, wherein the private ie information comprises two hotspot names, encryption modes, passwords and the like of 2.4G and 5G frequency bands. The IPC equipment simultaneously starts hotspots of 2.4G and 5G frequency bands, after receiving hotspot information actively reported by the IPC, the NVR broadcasts a hotspot list to all IPC equipment in the local area network, and the IPC equipment scans all hotspots of the surrounding 2.4G and 5G frequency bands, matches with the hotspot list issued by the NVR and preferentially connects with the 5G hotspots. And because the transmission distance of the 2.4G frequency band is greater than the hot spot of the 5G frequency band, when the scanned signal intensity is greater than the preset signal intensity threshold value of the 5G frequency band, the 5G hot spot is connected, otherwise, the 2.4G hot spot is connected.
The embodiment of the application provides a connection method of a hotspot module. Fig. 2 is a flowchart of a connection method for an optional hotspot module according to an embodiment of the present application, and as shown in fig. 2, the method includes:
step S202, when the network camera IPC equipment is connected to a first hot spot module of the network video recorder NVR equipment, reporting hot spot information of the IPC equipment to the NVR equipment, wherein the IPC equipment comprises second hot spot modules in different frequency bands, and the hot spot information of the IPC equipment comprises the following steps: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module;
step S204, receiving a hotspot list broadcasted by the NVR equipment, wherein the hotspot list contains hotspot information of all IPC (Internet protocol Camera) equipment within the range of the local area network of the NVR equipment;
step S206, scanning surrounding hotspot modules and acquiring a target hotspot module which is matched and consistent with hotspot information contained in a hotspot list;
and S208, selecting a target hotspot module of the target frequency band according to the scanned signal intensity for connection.
It should be noted that the first hotspot module and the second hotspot module are used for providing wireless network communication services. Scanning surrounding hot spot modules and acquiring a target hot spot module which is matched and consistent with hot spot information contained in a hot spot list, wherein the matching can be that the hot spot module scanned by IPC is matched with the name of the hot spot module in the list broadcasted by NVR, and can be the matching of Service Set Identifier (SSID).
By the method, when the network camera IPC equipment is connected to the first hotspot module of the network video recorder NVR equipment, the hotspot information of the IPC equipment is reported to the NVR equipment, wherein the hotspot information of the IPC equipment comprises the following steps: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module; the NVR equipment collects the hot spot information of all IPC equipment in the local area network into a hot spot list and broadcasts the hot spot list to all IPC equipment in the local area network, the IPC equipment scans the hot spot modules around, and matches the hot spot modules obtained by scanning with the hot spot modules contained in the hot spot list to obtain target hot spot modules which are matched consistently; and then, a target hotspot module of a target frequency band is selected according to the signal intensity obtained by scanning for connection, so that the problem of high use limitation caused by single frequency band of a wireless hotspot module of the IPC equipment in the related technology is solved, the accessed frequency band can be automatically selected in use, the performance of the whole system is improved, and the monitoring range is enlarged.
Optionally, before reporting the hotspot information to the NVR device when the network camera IPC device is connected to the first hotspot module of the network hard disk recorder NVR device, the method further includes: and determining that the first hotspot module is a first hotspot module of the NVR device under the condition that the related information of the first hotspot module contains the identification information of the NVR device.
Optionally, reporting the hotspot information to the NVR device includes: reporting the following hotspot information to the NVR equipment: the second hotspot modules respectively correspond to frequency bands, names of the second hotspot modules, encryption modes and passwords of the second hotspot modules.
Optionally, selecting the target hotspot module of the target frequency band according to the signal strength obtained by scanning to perform connection includes: under the condition that the signal intensity received from the target hotspot module is greater than or equal to a preset threshold value, selecting the target hotspot module in a 5G frequency band for connection; and under the condition that the signal intensity received from the target hotspot module is smaller than the preset threshold value, selecting the target hotspot module in the 2.4G frequency band to connect, wherein each IPC device comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
Optionally, in order to reduce mutual interference between systems, after selecting a target hotspot module of a target frequency band according to the scanned signal strength for connection, the method further includes: and receiving notification information sent by the NVR equipment, wherein the notification information is used for indicating the IPC equipment to close the unused hotspot module.
According to another embodiment of the application, a method for broadcasting the hot spot list is also provided. Fig. 3 is a flowchart of a broadcasting method of an optional hotspot list according to an embodiment of the present application, and as shown in fig. 3, the method includes:
step S302, receiving hotspot information reported by the IPC equipment of the network camera, wherein the hotspot information comprises: the IPC equipment comprises a frequency band where a hot spot module is located and the name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
step S304, the NVR device broadcasts instruction information to all IPC devices in the range of the local area network, wherein the instruction information carries a hot spot list, the hot spot list comprises hot spot information of all the IPC devices in the range of the local area network, and the instruction information is used for indicating the IPC devices to select a target hot spot module corresponding to a target frequency band from the hot spot list for connection.
Optionally, after the NVR device broadcasts the instruction information to all IPC devices within the range of the local area network, the method further includes: receiving connection information reported by the IPC, wherein the connection information comprises: the IPC equipment comprises a target frequency band corresponding to a target hot spot module connected with the IPC equipment and a name of the target hot spot module, wherein each IPC equipment comprises a hot spot module of a 2.4G frequency band and a hot spot module of a 5G frequency band.
Optionally, after receiving the connection information reported by the IPC, the method further includes: collecting the connection information of all the IPC equipment in the range of the local area network; and sending notification information to the IPC equipment, wherein the notification information is used for indicating the IPC equipment to close the unused hotspot module.
Fig. 4 is a flowchart of an alternative IPC dual-frequency cascading method according to an embodiment of the present application, as shown in fig. 4, including the following steps:
1. the IPC (IP camera) monitoring equipment comprises double wifi (wireless fidelity) and a wireless fidelity module, and can support a 2.4G/5G hotspot to simultaneously start at least two wireless communication modules, wherein different wireless communication modules correspond to data service hotspots in different frequency bands.
2. The Network Video Recorder (NVR) device adds private ie information (private identity) to an interactive frame which must be used for connecting wifi through a beacon frame or a probe response frame or an association response frame management frame, and is used for distinguishing NVR or a router when IPC is connected.
3. After the IPC equipment is wirelessly connected with a wifi hotspot, whether private ie information exists is judged, and if the private ie information exists, the private ie information is actively reported by the IPC equipment, wherein the private ie information comprises two hotspot names, encryption modes, passwords and the like of 2.4G and 5G frequency bands.
4. The IPC equipment simultaneously opens hot spots of 2.4G and 5G frequency bands. It should be noted that the scheme in fig. 4 is illustrated for dual-frequency cascade of 2.4G and 5G frequency bands, and may also include hot spots of other frequency bands or cascade of more frequency bands, which is not limited in this embodiment of the present application.
5. And after receiving the hot spot information actively reported by the IPC, the NVR broadcasts and notifies the hot spot list to all IPC equipment in the local area network.
6. The IPC equipment scans all hotspots of the surrounding 2.4G and 5G frequency bands, matches with a hotspot list issued by the NVR and preferentially connects with the 5G hotspots. Because the transmission distance of the 2.4G frequency band is greater than the hot spot of the 5G frequency band, when the scanned signal intensity is greater than the preset signal intensity threshold value of the 5G frequency band, the 5G hot spot is connected, otherwise, each IPC connected with the 2.4G hot spot is automatically provided with an intensity threshold value which is greater than the threshold value to connect the 5G hot spot and is less than the intensity threshold value to connect the 2.4G hot spot.
7. And after the IPC connection is completed, actively notifying an NVR cascade end event comprising the frequency band selected by the IPC connection and the hotspot name.
8. After collecting all IPC cascade end events, the NVR judges whether the currently connected clients (IPC equipment) are reported.
9. All IPC devices are informed to close the unused frequency band hot spots (which can be understood as unconnected hot spots), and the related interference between the systems is reduced.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided a connection apparatus for a hotspot module, which is used for implementing the connection method for a hotspot module. Fig. 5 is a block diagram illustrating a structure of an optional connection device for a hotspot module according to an embodiment of the present application, and as shown in fig. 5, the connection device includes:
a reporting module 502, configured to report, when the network camera IPC device is connected to a first hotspot module of a network video recorder NVR device, hotspot information of the IPC device to the NVR device, where the IPC device includes the second hotspot modules in different frequency bands, and the hotspot information of the IPC device includes: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module;
a first receiving module 504, configured to receive a hotspot list broadcasted by the NVR device, where the hotspot list includes hotspot information of all IPC devices in a range of a local area network of the NVR device;
a scanning module 506, configured to scan surrounding hotspot modules and acquire a target hotspot module that matches the hotspot information included in the hotspot list;
a connection module 508, configured to select the target hotspot module of the target frequency band according to the scanned signal strength to perform connection.
Optionally, the apparatus further comprises:
a determining module, configured to determine that the first hotspot module is the first hotspot module of the NVR device when the related information of the first hotspot module includes the identification information of the NVR device.
Optionally, the reporting module includes:
a reporting unit, configured to report the following hotspot information to the NVR device: the second hotspot modules respectively correspond to frequency bands, names of the second hotspot modules, encryption modes and passwords of the second hotspot modules.
Optionally, the connection module comprises:
the first connection unit is used for selecting the target hotspot module in the 5G frequency band for connection under the condition that the signal strength received from the target hotspot module is greater than or equal to a preset threshold value;
and the second connection unit is used for selecting the target hotspot module in the 2.4G frequency band to connect under the condition that the signal strength received from the target hotspot module is smaller than the preset threshold, wherein each IPC device comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
Optionally, the apparatus further comprises:
and a third receiving module, configured to receive notification information sent by the NVR device, where the notification information is used to instruct the IPC device to close an unused hotspot module.
According to another aspect of the embodiments of the present application, there is also provided a broadcasting apparatus for a hot spot list for implementing the broadcasting method for a hot spot list. Fig. 6 is a block diagram illustrating a structure of a broadcasting apparatus for a selectable hot spot list according to an embodiment of the present application, where the broadcasting apparatus includes:
a second receiving module 602, configured to receive hotspot information reported by an IPC device of a network camera, where the hotspot information includes: the IPC equipment comprises a frequency band where a hot spot module is located and a name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
the broadcasting module 604 is configured to broadcast instruction information to all IPC devices within a local area network, where the instruction information carries a hot spot list, the hot spot list includes hot spot information of all IPC devices within the local area network, and the instruction information is used to instruct the IPC devices to select a target hot spot module of a corresponding target frequency band from the hot spot list for connection.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive connection information reported by the IPC, where the connection information includes: the IPC equipment comprises a target frequency band corresponding to a target hot spot module connected with the IPC equipment and a name of the target hot spot module, wherein each IPC equipment comprises a hot spot module of a 2.4G frequency band and a hot spot module of a 5G frequency band.
Optionally, the apparatus further comprises:
the collecting module is used for collecting the connection information of all the IPC equipment in the range of the local area network;
and the sending module is used for sending notification information to the IPC equipment, wherein the notification information is used for indicating the IPC equipment to close the unused hotspot module.
According to another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the connection method of the hotspot module or the broadcasting method of the hotspot list, where the electronic device may be, but is not limited to, applied in the IPC or NVR shown in fig. 1. As shown in fig. 7, the electronic device comprises a memory 1002 and a processor 1004, wherein the memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps of any one of the above method embodiments by the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, when the network camera IPC equipment is connected to the first hot spot module of the network video recorder NVR equipment, reporting the hot spot information of the IPC equipment to the NVR equipment, wherein the IPC equipment comprises second hot spot modules in different frequency bands, and the hot spot information of the IPC equipment comprises the following steps: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module;
s2, receiving a hotspot list broadcasted by the NVR equipment, wherein the hotspot list contains hotspot information of all IPC (Internet protocol Camera) equipment within the range of the local area network of the NVR equipment;
s3, scanning surrounding hot spot modules and acquiring a target hot spot module which is matched and consistent with the hot spot information contained in the hot spot list;
and S4, selecting the target hotspot module of the target frequency band according to the scanned signal intensity for connection.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus for implementing the broadcasting method of the hot spot list, where the electronic apparatus may be, but is not limited to be, applied to the NVR shown in fig. 1. The electronic device comprises a memory having a computer program stored therein and a processor arranged to perform the steps of any of the above method embodiments by means of the computer program. Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s11, receiving hotspot information reported by the IPC equipment of the network camera, wherein the hotspot information comprises: the IPC equipment comprises a frequency band where a hot spot module is located and the name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
s12, the NVR device broadcasts instruction information to all IPC devices in the range of the local area network, wherein the instruction information carries a hot spot list, the hot spot list comprises hot spot information of all the IPC devices in the range of the local area network, and the instruction information is used for indicating the IPC devices to select a target hot spot module corresponding to a target frequency band from the hot spot list for connection.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 7 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 7 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
The memory 1002 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for connecting a hotspot module in the embodiment of the present application, and the processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implements the above-described method for connecting a hotspot module. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1002 may further include memory located remotely from the processor 1004, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1002 may be, but not limited to, specifically used for storing program steps of a connection method of a hot spot module. As an example, as shown in fig. 7, the memory 1002 may include, but is not limited to, the reporting module 502, the first receiving module 504, the scanning module 506, the connecting module 508, and the like in the connecting device including the hotspot module, and may further include the second receiving module 602, the broadcasting module 604, and the like in the broadcasting device of the hotspot list. In addition, the connection device may further include, but is not limited to, other module units in the connection device of the hotspot module, which is not described in detail in this example.
Optionally, the above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: the display 1008 is used for displaying alarm pushing of suspicious accounts; and a connection bus 1010 for connecting the respective module parts in the above-described electronic apparatus.
Embodiments of the present application further provide a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, when the network camera IPC equipment is connected to the first hot spot module of the network video recorder NVR equipment, reporting the hot spot information of the IPC equipment to the NVR equipment, wherein the IPC equipment comprises second hot spot modules in different frequency bands, and the hot spot information of the IPC equipment comprises the following steps: the IPC equipment comprises a frequency band where a second hot spot module is located and the name of the second hot spot module;
s2, receiving a hotspot list broadcasted by the NVR equipment, wherein the hotspot list contains hotspot information of all IPC (Internet protocol Camera) equipment within the range of the local area network of the NVR equipment;
s3, scanning surrounding hot spot modules and acquiring a target hot spot module which is matched and consistent with the hot spot information contained in the hot spot list;
and S4, selecting the target hotspot module of the target frequency band according to the scanned signal intensity for connection.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s11, receiving hotspot information reported by the IPC equipment of the network camera, wherein the hotspot information comprises: the IPC equipment comprises a frequency band where a hot spot module is located and the name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
s12, the NVR device broadcasts instruction information to all IPC devices in the range of the local area network, wherein the instruction information carries a hot spot list, the hot spot list comprises hot spot information of all the IPC devices in the range of the local area network, and the instruction information is used for indicating the IPC devices to select a target hot spot module corresponding to a target frequency band from the hot spot list for connection.
Optionally, the storage medium is further configured to store a computer program for executing the steps included in the method in the foregoing embodiment, which is not described in detail in this embodiment.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A method for connecting hotspot modules is characterized by comprising the following steps:
when a network camera IPC device is connected to a first hotspot module of a network video recorder NVR device, reporting hotspot information of the IPC device to the NVR device, wherein the IPC device comprises second hotspot modules of different frequency bands, and the hotspot information of the IPC device comprises: the IPC equipment comprises a frequency band where the second hot spot module is located and the name of the second hot spot module;
receiving a hotspot list broadcasted by the NVR equipment, wherein the hotspot list contains hotspot information of all IPC (Internet protocol Camera) equipment within the range of the local area network of the NVR equipment;
scanning surrounding hotspot modules and acquiring a target hotspot module which is matched and consistent with hotspot information contained in the hotspot list;
selecting the target hotspot module of a target frequency band according to the signal intensity obtained by scanning for connection;
selecting the target hotspot module in the target frequency band according to the signal intensity obtained by scanning to connect comprises the following steps:
under the condition that the signal intensity received from the target hotspot module is greater than or equal to a preset threshold value, selecting the target hotspot module in a 5G frequency band for connection;
and under the condition that the signal intensity received from the target hotspot module is smaller than the preset threshold value, selecting the target hotspot module in the 2.4G frequency band to connect, wherein each IPC device comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
2. The method as claimed in claim 1, wherein before reporting the hotspot information to the NVR device when the webcam IPC device is connected to the first hotspot module of the network video recorder NVR device, the method further comprises:
and determining that the first hotspot module is a first hotspot module of the NVR device under the condition that the related information of the first hotspot module contains the identification information of the NVR device.
3. The method of claim 1, wherein reporting the hotspot information to the NVR device comprises:
reporting the following hotspot information to the NVR equipment: the second hotspot modules respectively correspond to frequency bands, names of the second hotspot modules, encryption modes and passwords of the second hotspot modules.
4. The method according to any one of claims 1 to 3, wherein after selecting the target hotspot module of the target frequency band for connection according to the signal strength obtained by scanning, the method further comprises:
and receiving notification information sent by the NVR equipment, wherein the notification information is used for indicating the IPC equipment to close the hot spot module which is not connected.
5. A method for broadcasting a hot spot list, comprising:
receiving hotspot information reported by IPC equipment of a network camera, wherein the hotspot information comprises: the IPC equipment comprises a frequency band where a hot spot module is located and a name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
the method comprises the steps that a network video recorder NVR device broadcasts instruction information to all IPC devices within a range of a local area network, wherein the instruction information carries a hot spot list, the hot spot list comprises hot spot information of all the IPC devices within the range of the local area network, the instruction information is used for indicating the IPC devices to select a target hot spot module corresponding to a target frequency band from the hot spot list for connection, and the IPC devices are further used for selecting the target hot spot module of a 5G frequency band for connection under the condition that the signal intensity received from the target hot spot module is larger than or equal to a preset threshold value; the IPC equipment is further used for selecting the target hotspot module in the 2.4G frequency band to connect under the condition that the signal strength received from the target hotspot module is smaller than the preset threshold, wherein each IPC equipment comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
6. The method of claim 5, wherein after the NVR device broadcasts the instructional information to all IPC devices within range of the local area network, the method further comprises:
receiving connection information reported by the IPC, wherein the connection information comprises: the IPC equipment comprises a target frequency band corresponding to a target hot spot module connected with the IPC equipment and a name of the target hot spot module, wherein each IPC equipment comprises a hot spot module of a 2.4G frequency band and a hot spot module of a 5G frequency band.
7. The method of claim 6, wherein after receiving the connection information reported by the IPC, the method further comprises:
collecting the connection information of all the IPC equipment in the range of the local area network;
and sending notification information to the IPC equipment, wherein the notification information is used for indicating the IPC equipment to close the hot spot module which is not connected.
8. A connecting device for a hotspot module, comprising:
the reporting module is used for reporting the hot spot information of the IPC equipment to the Network Video Recorder (NVR) equipment when the IPC equipment of the network video camera is connected to a first hot spot module of the NVR equipment, wherein the IPC equipment comprises second hot spot modules in different frequency bands, and the hot spot information of the IPC equipment comprises: the IPC equipment comprises a frequency band where the second hot spot module is located and the name of the second hot spot module;
the first receiving module is used for receiving a hotspot list broadcasted by the NVR device, wherein the hotspot list contains hotspot information of all IPC devices within the range of the local area network of the NVR device;
the scanning module is used for scanning the surrounding hotspot modules and acquiring a target hotspot module which is matched and consistent with the hotspot information contained in the hotspot list;
the connection module is used for selecting the target hotspot module of the target frequency band according to the signal intensity obtained by scanning to connect;
the connection module is further configured to select the target hotspot module in the 5G frequency band to connect when the signal strength received from the target hotspot module is greater than or equal to a preset threshold; and under the condition that the signal intensity received from the target hotspot module is smaller than the preset threshold value, selecting the target hotspot module in the 2.4G frequency band to connect, wherein each IPC device comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
9. An apparatus for broadcasting a hot spot list, comprising:
the second receiving module is configured to receive hotspot information reported by the network camera IPC device, where the hotspot information includes: the IPC equipment comprises a frequency band where a hot spot module is located and a name of the hot spot module, wherein the hot spot module is used for providing wireless network communication service;
the IPC equipment is used for selecting a target hotspot module of a corresponding target frequency band from the hotspot list to connect, and the IPC equipment is also used for selecting the target hotspot module of a 5G frequency band to connect under the condition that the signal intensity received from the target hotspot module is greater than or equal to a preset threshold value; the IPC equipment is further used for selecting the target hotspot module in the 2.4G frequency band to connect under the condition that the signal strength received from the target hotspot module is smaller than the preset threshold, wherein each IPC equipment comprises a hotspot module in the 2.4G frequency band and a hotspot module in the 5G frequency band.
10. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN202010086880.4A 2020-02-11 2020-02-11 Connection method and device of hotspot module and broadcasting method and device of hotspot list Active CN111314992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010086880.4A CN111314992B (en) 2020-02-11 2020-02-11 Connection method and device of hotspot module and broadcasting method and device of hotspot list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010086880.4A CN111314992B (en) 2020-02-11 2020-02-11 Connection method and device of hotspot module and broadcasting method and device of hotspot list

Publications (2)

Publication Number Publication Date
CN111314992A CN111314992A (en) 2020-06-19
CN111314992B true CN111314992B (en) 2022-04-19

Family

ID=71147011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010086880.4A Active CN111314992B (en) 2020-02-11 2020-02-11 Connection method and device of hotspot module and broadcasting method and device of hotspot list

Country Status (1)

Country Link
CN (1) CN111314992B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331637A (en) * 2016-08-31 2017-01-11 竹林松大科技股份有限公司 Camera having wireless routing function
CN107613530A (en) * 2017-10-11 2018-01-19 上海斐讯数据通信技术有限公司 The collocation method and double-frequency wireless router of internet of things equipment based on router
CN109314758A (en) * 2017-09-26 2019-02-05 深圳市锐明技术股份有限公司 Data record method, system, video and audio recorder and vehicle-mounted hard disk videocorder
CN109525811A (en) * 2018-11-26 2019-03-26 浙江大华技术股份有限公司 A kind of method and apparatus of monitor video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695129B (en) * 2009-10-09 2012-05-16 中兴通讯股份有限公司 Method and system for realizing video monitoring by mobile terminal supporting multimodes
TWI548282B (en) * 2014-11-28 2016-09-01 Papago Inc Driving recorder with communication module and method thereof
CN205071146U (en) * 2015-10-27 2016-03-02 浙江宇视科技有限公司 Magnetic control internet protocol camera
US10708126B2 (en) * 2016-03-18 2020-07-07 Plume Design, Inc. Cloud-based control of a Wi-Fi network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331637A (en) * 2016-08-31 2017-01-11 竹林松大科技股份有限公司 Camera having wireless routing function
CN109314758A (en) * 2017-09-26 2019-02-05 深圳市锐明技术股份有限公司 Data record method, system, video and audio recorder and vehicle-mounted hard disk videocorder
CN107613530A (en) * 2017-10-11 2018-01-19 上海斐讯数据通信技术有限公司 The collocation method and double-frequency wireless router of internet of things equipment based on router
CN109525811A (en) * 2018-11-26 2019-03-26 浙江大华技术股份有限公司 A kind of method and apparatus of monitor video

Also Published As

Publication number Publication date
CN111314992A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
JP2005057728A (en) Method for selecting access point based on state information about access point
CN108282846B (en) Service request processing method and device
CN110913006B (en) Remote diagnosis method and system
CN109699019B (en) Broadcast scanning method, device, electronic equipment and storage medium
CN110324790B (en) Network connection method, node device, network system and storage medium
CN110290570A (en) Wireless network access method and relevant device, storage device
US20170134365A1 (en) Wireless fidelity connection method and system for intelligent terminal and router
CN111278036B (en) Method and device for acquiring MAC address
CN106255106A (en) A kind of wireless network connecting method and device
CN111447624A (en) WiFi equipment, network distribution method thereof and device with storage function
CN110784941B (en) Automatic connection method, device and system for CPE and terminal equipment
CN113596089B (en) Distribution network binding method and device of equipment, storage medium and electronic device
CN111182265B (en) Video monitoring equipment cascading method and device
CN111314992B (en) Connection method and device of hotspot module and broadcasting method and device of hotspot list
CN109561478B (en) User terminal blind redirection method, device, computer storage medium and equipment
CN106888424B (en) Acquisition method and acquisition device for media access control address and network camera
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN112055372B (en) Customer premises equipment and working method thereof
KR100441438B1 (en) Multi band repeater monitoring system and method using a CDMA terminal
CN111698693B (en) Wireless distribution network method, device and storage medium
CN112566189A (en) Method for acquiring terminal information and first-class base station
CN111294414A (en) Message processing method, device and system
CN111294314A (en) Message processing method, device and system
EP3849274A1 (en) Wireless communication device and wireless communication method
CN111726880A (en) Resource allocation method, electronic device and 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
GR01 Patent grant
GR01 Patent grant