CN114302383A - Network distribution method and system for network camera Bluetooth broadcast - Google Patents

Network distribution method and system for network camera Bluetooth broadcast Download PDF

Info

Publication number
CN114302383A
CN114302383A CN202111657527.8A CN202111657527A CN114302383A CN 114302383 A CN114302383 A CN 114302383A CN 202111657527 A CN202111657527 A CN 202111657527A CN 114302383 A CN114302383 A CN 114302383A
Authority
CN
China
Prior art keywords
bluetooth
network camera
network
wireless terminal
bluetooth broadcast
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.)
Pending
Application number
CN202111657527.8A
Other languages
Chinese (zh)
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.)
Shanghai Fullhan Microelectronics Co ltd
Original Assignee
Shanghai Fullhan Microelectronics 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 Shanghai Fullhan Microelectronics Co ltd filed Critical Shanghai Fullhan Microelectronics Co ltd
Priority to CN202111657527.8A priority Critical patent/CN114302383A/en
Publication of CN114302383A publication Critical patent/CN114302383A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a system and a method for a network camera Bluetooth broadcast distribution network, wherein the method comprises the following steps: step S1, searching the Bluetooth device in the signal range by the wireless terminal through Bluetooth and filtering out the network camera device; step S2, obtaining WIFI information of the selected Bluetooth equipment, encrypting the relevant information and the WIFI information of the selected Bluetooth equipment, and broadcasting the information through a Bluetooth broadcast packet; and step S3, when the network camera receives the Bluetooth broadcast packet sent by the wireless terminal, analyzing the received Bluetooth broadcast packet, configuring the decrypted WIFI information to the WIFI module of the network camera after matching, and returning a connection result to the wireless terminal.

Description

Network distribution method and system for network camera Bluetooth broadcast
Technical Field
The invention relates to the technical field of network camera Bluetooth broadcast distribution networks, in particular to a network camera Bluetooth broadcast distribution network method and system.
Background
In the existing network camera, network cables are inconvenient to pull under a plurality of scenes, WIFI modules are arranged in a plurality of cameras, video data are transmitted in a wireless mode, and WIFI information needs to be configured for the cameras. The current common methods for network distribution comprise the following two methods;
the other is a sound wave distribution network, a mobile phone modulates WIFI names and password information codes onto sound waves, the sound waves are played through a mobile phone loudspeaker, a camera collects the sound waves through mic and analyzes the WIFI information, the surrounding environment of the camera is required to be quite quiet, and otherwise, the identification effect is poor.
The other type is a two-dimensional code distribution network, a WIFI module of the camera is in an AP mode firstly, the mobile phone scans the two-dimensional code of the camera body to acquire a hotspot connected to the camera, then the mobile phone sends the WIFI name and password information to the camera, and the WIFI module of the camera is converted into a Station mode to be connected with WIFI. When the method is adopted, if the WIFI information sent by the mobile phone is wrong, the camera cannot return confirmation information to the mobile phone after the WIFI connection is failed, and the user experience is not good.
At present, a scheme for distributing a network for a network camera by using Bluetooth is available, but the scheme is that WIFI information is transmitted point to point after connection is established by the Bluetooth, system load is increased when a complete version of a Bluetooth protocol stack needs to be run, and hardware cost is high.
Therefore, it is necessary to provide a technical solution to solve the above problems.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a network distribution method and system for network camera Bluetooth broadcasting, so as to solve the problem of low network distribution efficiency of the network camera and improve user experience.
To achieve the above and other objects, the present invention provides a network distribution system for bluetooth broadcast of a network camera, comprising:
the network camera is internally provided with a wireless transceiver chip and a WIFI module and is used for receiving a Bluetooth broadcast packet sent by the wireless terminal through the wireless transceiver chip, analyzing the received Bluetooth broadcast packet, configuring the decrypted WIFI information to the WIFI module after matching, and returning a connection result to the wireless terminal;
the wireless terminal is provided with a Bluetooth module, Bluetooth equipment in a signal range of the wireless terminal is searched through Bluetooth, WIFI information of the selected Bluetooth equipment is acquired, and equipment related information of the selected Bluetooth equipment and the WIFI information are encrypted and then broadcasted through a Bluetooth broadcast packet.
Preferably, the wireless terminal filters out the network camera devices for the searched Bluetooth devices within the signal range of the wireless terminal.
Preferably, the wireless terminal filters out the webcam device by using the mac address and name.
Preferably, the WIFI information includes a WIFI name and a password.
Preferably, the wireless transceiver chip is a 2.4GHz wireless transceiver chip.
Preferably, the webcam receives the bluetooth broadcast packet broadcast by the wireless terminal through three bluetooth broadcast channels.
Preferably, the wireless terminal is a smart phone.
Preferably, after the webcam receives the bluetooth broadcast packet, a corresponding acknowledgement signal ACK is returned to the wireless terminal.
Preferably, when the wireless terminal receives a connection result of the network camera, a corresponding confirmation signal is returned to the network camera.
In order to achieve the above object, the present invention further provides a network distribution method for the network camera based on bluetooth broadcast, which comprises the following steps:
step S1, searching the Bluetooth device in the signal range by the wireless terminal through Bluetooth and filtering out the network camera device;
step S2, obtaining WIFI information of the selected Bluetooth equipment, encrypting the relevant information and the WIFI information of the selected Bluetooth equipment, and broadcasting the information through a Bluetooth broadcast packet;
and step S3, when the network camera receives the Bluetooth broadcast packet sent by the wireless terminal, analyzing the received Bluetooth broadcast packet, configuring the decrypted WIFI information to the WIFI module of the network camera after matching, and returning a connection result to the wireless terminal.
Compared with the prior art, the system and the method for simulating high-definition coaxial cable image debugging modulate debugging data to a blanking area of a coaxial signal after being coded by a camera when image debugging is needed, simultaneously modulate video data to a video area of the coaxial signal after being coded and transmit the video data to the DVR end, so that the video and the debugging data can be transmitted on a coaxial line simultaneously, the image debugging efficiency in the high-definition simulating technology is improved, the image debugging can be completed under the condition of not disassembling a machine, the image debugging efficiency is greatly improved, and the occupation of hardware resources at the chip end can be reduced.
Drawings
FIG. 1 is a diagram of a network camera Bluetooth broadcast distribution network system according to the present invention;
FIG. 2 is a flowchart illustrating the steps of a method for configuring a network via Bluetooth broadcasting of a network camera according to the present invention;
fig. 3 is a schematic diagram of interaction of a bluetooth broadcast distribution network in the embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Fig. 1 is a structural diagram of a network camera bluetooth broadcast distribution network system according to the present invention. As shown in fig. 1, the system for network camera bluetooth broadcast distribution network of the present invention includes: a network camera 1 and a wireless terminal 2.
The network camera 1 is internally provided with a 2.4GHz wireless transceiver chip and a WIFI module and is used for receiving a Bluetooth broadcast packet sent by the wireless terminal 2, analyzing the received Bluetooth broadcast packet, decrypting the received Bluetooth broadcast packet to obtain WIFI information, configuring the WIFI module of the network camera 1, and returning a connection result to the wireless terminal 2.
The wireless terminal 2 is provided with a Bluetooth module, Bluetooth equipment in a signal range of the wireless terminal is searched through Bluetooth, WIFI information of the selected Bluetooth equipment is acquired, the WIFI information is encrypted and then broadcasted through a Bluetooth broadcast packet, and the WIFI information at least comprises a WIFI name and a password.
In the embodiment of the invention, the wireless terminal 2 adopts a smart phone, the smart phone searches nearby Bluetooth devices by using a Bluetooth module thereof, the network camera device is filtered and displayed by using a mac address and a name (because the app of the mobile phone end is developed and provided by a camera manufacturer, the mac address of the Bluetooth is also applied to an IEEE organization by the manufacturer, and the Bluetooth name has a specific prefix, so that the MAC address and the name can be preset), when a user selects the corresponding network camera device and inputs a WIFI name and a password to be connected, the mobile phone encrypts relevant information (such as the mac address and the like) of the selected network camera device and WIFI information by a preset encryption algorithm and sends the encrypted information out by a Bluetooth broadcast packet, in the invention, the network camera 1 always receives data in three Bluetooth broadcast channels (37/38/39), and when the Bluetooth broadcast packet is received, the Bluetooth broadcast packet is analyzed, the preset decryption algorithm is used for decrypting the related information of the equipment and the WIFI information, the related information of the equipment and the WIFI information are matched with the related information of the equipment, the matched network camera 1 configures the WIFI information to a WIFI module of the network camera 1, and then a connection result is returned to the mobile phone, so that the network distribution purpose of the network camera is completed. In the invention, the encryption and decryption algorithms for the WIFI information are all the encryption and decryption algorithms in the prior art, and are not described herein again.
In the invention, only a 2.4GHz wireless transceiver chip is added in the network camera 1, and because only a Bluetooth broadcast packet is needed for transceiving, the system can be greatly simplified without running a complete Bluetooth protocol stack, the load of the system is lightened, and the hardware cost is reduced.
Fig. 2 is a flowchart illustrating steps of a method for a network camera to distribute a network through bluetooth broadcasting according to the present invention. As shown in fig. 2, the method for network distribution of network camera bluetooth broadcast of the present invention includes the following steps:
and step S1, searching the Bluetooth devices in the signal range of the wireless terminal through Bluetooth by using the wireless terminal, and filtering out the network camera devices in the signal range.
In the specific embodiment of the invention, the wireless terminal adopts a smart phone, a Bluetooth module of the smart phone is used for searching nearby Bluetooth equipment, and the network camera equipment in the smart phone is filtered out according to the mac address and the name and is displayed in the smart phone.
And step S2, acquiring WIFI information of the selected Bluetooth device, encrypting the device related information and the WIFI information of the selected Bluetooth device, and broadcasting the information through a Bluetooth broadcast packet.
Specifically, when all network camera devices within a signal range are displayed on the smart phone, a user can select a corresponding network camera device from the network camera devices and input a WIFI name and a password to be connected, the smart phone obtains the selection of the user and WIFI information such as the input WIFI name and the password, encrypts related information (such as a mac address and the like) of the selected network camera device and the WIFI information through a preset encryption algorithm and then sends the information out through a Bluetooth broadcast packet.
And step S3, when the network camera receives the Bluetooth broadcast packet sent by the wireless terminal, analyzing the received Bluetooth broadcast packet, configuring the decrypted WIFI information to a WIFI module of the network camera, and returning a connection result to the wireless terminal.
In the embodiment of the invention, the network camera is internally provided with a 2.4GHz wireless transceiving chip and a WIFI module, data are always received in three Bluetooth broadcast channels (37/38/39), after the Bluetooth broadcast packet is received, the Bluetooth broadcast packet is analyzed, the related equipment information and WIFI information are decrypted by using a preset decryption algorithm and are matched with the related equipment information, the matched network camera 1 configures the WIFI information to the WIFI module of the network camera and returns a connection result to the mobile phone, and therefore the network camera is distributed. The invention only adds a 2.4GHz wireless receiving and transmitting chip in the network camera, because only needs to use the blue tooth broadcast packet to receive and transmit, thus can greatly simplify the system and does not need to run the complete blue tooth protocol stack, lighten the load of the system and reduce the hardware cost.
Examples
In this embodiment, the interaction of the bluetooth broadcast distribution network is as shown in fig. 3, the wireless terminal adopts a smart phone, the smart phone uses its own bluetooth module to search nearby bluetooth devices through bluetooth, then filters out the network camera device by using mac address and name and displays the network camera device, the user can select the camera device and input WIFI name and password to be connected, and then the mobile phone encrypts WIFI information and sends the WIFI information out through a bluetooth broadcast packet; the network camera always receives data in a Bluetooth broadcast 37/38/39 channel, after a Bluetooth broadcast packet is received, an acknowledgement signal ACK is returned to the smart phone, the Bluetooth broadcast packet is analyzed, WIFI information is decrypted by a preset decryption algorithm and then configured to a WIFI module of the camera, then a connection result is returned to the smart phone, and when the smart phone receives the connection result of the network camera, a confirmation signal ACK is returned to the network camera.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (10)

1. A system of a network distribution of a network camera through Bluetooth broadcasting comprises:
the network camera is internally provided with a wireless transceiver chip and a WIFI module and is used for receiving a Bluetooth broadcast packet sent by the wireless terminal through the wireless transceiver chip, analyzing the received Bluetooth broadcast packet, configuring the decrypted WIFI information to the WIFI module after matching, and returning a connection result to the wireless terminal;
the wireless terminal is provided with a Bluetooth module, Bluetooth equipment in a signal range of the wireless terminal is searched through Bluetooth, WIFI information of the selected Bluetooth equipment is acquired, and equipment related information of the selected Bluetooth equipment and the WIFI information are encrypted and then broadcasted through a Bluetooth broadcast packet.
2. The system of the network camera bluetooth broadcast distribution network of claim 1, characterized in that: and the wireless terminal filters out the network camera equipment for the searched Bluetooth equipment in the signal range of the wireless terminal.
3. The system of the network camera bluetooth broadcast distribution network of claim 2, characterized in that: the wireless terminal filters out the webcam device by using the mac address and name.
4. The system of the network camera bluetooth broadcast distribution network of claim 3, characterized in that: the WIFI information comprises a WIFI name and a password.
5. The system of the network camera bluetooth broadcast distribution network of claim 3, characterized in that: the wireless transceiver chip is a 2.4GHz wireless transceiver chip.
6. The system of claim 5, wherein the network camera comprises a Bluetooth broadcast distribution network system, and the Bluetooth broadcast distribution network system comprises: and the network camera receives the Bluetooth broadcast packet broadcast by the wireless terminal through three Bluetooth broadcast channels.
7. The system of the network camera bluetooth broadcast distribution network of claim 4, characterized in that: the wireless terminal is a smart phone.
8. The system of the network camera bluetooth broadcast distribution network of claim 4, characterized in that: and when the network camera receives the Bluetooth broadcast packet, returning a corresponding acknowledgement signal ACK to the wireless terminal.
9. The system of claim 8, wherein the network camera comprises a bluetooth broadcast network, and the bluetooth broadcast network comprises: and when the wireless terminal receives the connection result of the network camera, returning a corresponding confirmation signal to the network camera.
10. A method for a network camera to distribute a network through Bluetooth broadcasting comprises the following steps:
step S1, searching the Bluetooth device in the signal range by the wireless terminal through Bluetooth and filtering out the network camera device;
step S2, obtaining WIFI information of the selected Bluetooth equipment, encrypting the relevant information and the WIFI information of the selected Bluetooth equipment, and broadcasting the information through a Bluetooth broadcast packet;
and step S3, when the network camera receives the Bluetooth broadcast packet sent by the wireless terminal, analyzing the received Bluetooth broadcast packet, configuring the decrypted WIFI information to the WIFI module of the network camera after matching, and returning a connection result to the wireless terminal.
CN202111657527.8A 2021-12-30 2021-12-30 Network distribution method and system for network camera Bluetooth broadcast Pending CN114302383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111657527.8A CN114302383A (en) 2021-12-30 2021-12-30 Network distribution method and system for network camera Bluetooth broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111657527.8A CN114302383A (en) 2021-12-30 2021-12-30 Network distribution method and system for network camera Bluetooth broadcast

Publications (1)

Publication Number Publication Date
CN114302383A true CN114302383A (en) 2022-04-08

Family

ID=80973567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111657527.8A Pending CN114302383A (en) 2021-12-30 2021-12-30 Network distribution method and system for network camera Bluetooth broadcast

Country Status (1)

Country Link
CN (1) CN114302383A (en)

Similar Documents

Publication Publication Date Title
US11395213B2 (en) Systems and methods for implementing multiple band service discovery
US7949358B2 (en) Systems and methods for device discovery
CN109618220B (en) Wireless screen projection method and wireless screen projection system
CN109495868B (en) Bluetooth device, networking method between Bluetooth devices and Bluetooth communication system
US9936372B2 (en) Method and device for communication between devices in wireless communication system
CN105516896A (en) Bluetooth interconnection method and system for wearable device and mobile terminal
US20150135240A1 (en) Video display terminal, video transmission terminal, video communication system, video display method, video transmission method, and computer-readable recording medium recording program
US8437319B2 (en) Wireless network system and method of configuring the same
CN101069385B (en) Radio communication apparatus and control method
US20160037504A1 (en) Wireless communication device, wireless communication method, and computer-readable recording medium storing wireless communication program
CN113099440A (en) Network configuration method, device, equipment and system
CN112654074B (en) Wi-Fi P2P connection method, electronic equipment and computer-readable storage medium
CN111542133A (en) Information transmission method, system, receiving device, transmitting device and storage medium
CN103442381A (en) Optimizing method, terminal and system of Wifi display
CN113455026A (en) Access method and communication device
CN101656730B (en) Communicator, communication system, communication means
CN102843591A (en) Method for synchronously playing video and mobile terminal
CN112448964B (en) Device discovery method and P2P device
CN114302383A (en) Network distribution method and system for network camera Bluetooth broadcast
US20140007168A1 (en) Method and apparatus for extending receiving range of broadcast program
CN112804731A (en) Method for optimizing distribution network and intelligent hardware
CN105682002A (en) Communication connection establishment method and data communication method and system
US20210329545A1 (en) Wireless communication device and wireless communication method
US10349456B2 (en) Video communication system, video transmission terminal, video reception terminal, communication method, and recording medium
CN113099445B (en) Network configuration method, device connection method, device, equipment and system

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