CN103986915B - Data transmission system and method for camera shooting equipment - Google Patents
Data transmission system and method for camera shooting equipment Download PDFInfo
- Publication number
- CN103986915B CN103986915B CN201410236025.1A CN201410236025A CN103986915B CN 103986915 B CN103986915 B CN 103986915B CN 201410236025 A CN201410236025 A CN 201410236025A CN 103986915 B CN103986915 B CN 103986915B
- Authority
- CN
- China
- Prior art keywords
- unit
- mobile terminal
- flash
- data
- information
- 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
Links
Landscapes
- Optical Communication System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明揭示了一种摄像设备数据传输系统及方法,所述系统包括移动终端、摄像设备;移动终端通过发出声音或/和闪光的方式向摄像设备发送数据,摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据。所述移动终端包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元;所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元。所述移动终端还可以包括闪光单元、第二握手信息发送单元、光波发生控制单元;所述摄像设备包括位置定位单元、信息转化单元。本发明可快捷地进行数据传输,提高摄像机设置的便捷性。
The present invention discloses a camera equipment data transmission system and method. The system includes a mobile terminal and a camera equipment; the mobile terminal sends data to the camera equipment by emitting sound or/and flashes, and the camera equipment recognizes the above-mentioned sounds or/and flashes information, so as to receive the data sent by the mobile terminal. The mobile terminal includes a first environmental sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, a handshake information sending unit, and a sound wave generation control unit; the imaging device includes a second environment A sound collection unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit. The mobile terminal may also include a flash unit, a second handshake information sending unit, and a light wave generation control unit; the camera device includes a position positioning unit and an information conversion unit. The invention can quickly transmit data and improve the convenience of camera setting.
Description
技术领域technical field
本发明属于数据通讯技术领域,涉及一种数据传输系统,尤其涉及一种摄像设备数据传输系统;同时,本发明还涉及一种摄像设备数据传输方法。The invention belongs to the technical field of data communication, and relates to a data transmission system, in particular to a camera equipment data transmission system; at the same time, the invention also relates to a camera equipment data transmission method.
背景技术Background technique
目前家庭智能监控中的摄像设备正在被逐步广泛应用,如今摄像设备的配置方式都是使用配制终端(电脑、手机或平板)通过无线/有线网络或USB数据线连接来进行配置。At present, camera equipment in home intelligent monitoring is gradually being widely used. Today, camera equipment is configured using a configuration terminal (computer, mobile phone or tablet) through a wireless/wired network or a USB data cable connection.
现有摄像设备设置方式对周边设备及摄像设备本身的要求比较高,如需要无线路由器或有线接口,同时摄像设备上也相应地需要设置无线网卡或有线网络接口,在一定程度上也增加了摄像设备的成本。The existing camera equipment setting method has relatively high requirements on the peripheral equipment and the camera equipment itself. If a wireless router or a wired interface is required, the camera equipment also needs to be equipped with a wireless network card or a wired network interface accordingly, which also increases the camera network interface to a certain extent. The cost of the equipment.
有鉴于此,如今迫切需要设计一种新的摄像设备配置方式,以便克服现有配置方式的上述缺陷。In view of this, there is an urgent need to design a new camera device configuration method so as to overcome the above-mentioned defects of the existing configuration method.
发明内容Contents of the invention
本发明所要解决的技术问题是:提供一种摄像设备数据传输系统,可快捷地进行数据传输,提高摄像机设置的便捷性。The technical problem to be solved by the present invention is to provide a camera equipment data transmission system, which can perform data transmission quickly and improve the convenience of camera setting.
此外,本发明还提供一种摄像设备数据传输方法,可快捷地进行数据传输,提高摄像机设置的便捷性。In addition, the present invention also provides a data transmission method of the camera equipment, which can perform data transmission quickly and improve the convenience of camera setting.
为解决上述技术问题,本发明采用如下技术方案:In order to solve the problems of the technologies described above, the present invention adopts the following technical solutions:
一种摄像设备数据传输系统,所述系统包括:移动终端、摄像设备;A camera equipment data transmission system, said system comprising: a mobile terminal, a camera equipment;
所述移动终端通过发出声音或/和闪光的方式向摄像设备发送数据,摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据;The mobile terminal sends data to the imaging device by emitting sound or/and flashing light, and the imaging device recognizes the above-mentioned sound or/and flashing information, thereby receiving the data sent by the mobile terminal;
所述移动终端包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元,所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元;或者/并且,所述移动终端包括闪光单元、第二握手信息发送单元、光波发生控制单元;所述摄像设备包括位置定位单元、信息转化单元;The mobile terminal includes a first environmental sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, a handshake information sending unit, and a sound wave generation control unit, and the imaging device includes a second environment A sound collection unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit; or/and, the mobile terminal includes a flash unit, a second handshake information sending unit, and a light wave generation control unit; The imaging device includes a position positioning unit and an information conversion unit;
所述第一环境声音采集单元用以采集环境声音信号;所述第一傅里叶变换单元用以对信号傅里叶变换,获取频谱分布信息;所述候选区域设定单元用以在频谱查找信号较弱的区域作为候选区域;所述通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率;所述握手信息发送单元用以依次从各个通信频率发送握手信息;所述声波发生控制单元用以通过控制声波发生单元发出设定的声波来发送需要传输的数据;The first ambient sound collection unit is used to collect ambient sound signals; the first Fourier transform unit is used to Fourier transform the signal to obtain spectrum distribution information; the candidate area setting unit is used to search for An area with a weaker signal is used as a candidate area; the communication frequency setting unit acquires two or more frequencies with a large separation distance from the candidate area as communication frequencies; the handshake information sending unit is used to sequentially send handshakes from each communication frequency Information; the sound wave generation control unit is used to send the data that needs to be transmitted by controlling the sound wave generation unit to send out the set sound wave;
所述第二环境声音采集单元用以采集环境声音信号;所述第二傅里叶变换单元用以对信号傅里叶变换,分离出不同频率的信号;所述信号解调单元用以对各个频率的信号进行解调制;所述通信频率判断单元用以解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;所述数据接收单元用以在确定全部通信频率后,以这些频率接收数据;The second ambient sound collection unit is used to collect ambient sound signals; the second Fourier transform unit is used to Fourier transform the signal to separate signals of different frequencies; the signal demodulation unit is used to separate Frequency signal demodulation; the communication frequency judging unit is used to compare the demodulation result with the handshake information, and if it matches, it is determined that the frequency is a communication frequency; the data receiving unit is used to determine all communication frequencies with these frequency to receive data;
所述闪光单元用以发出明灭的信号;所述第二握手信息发送单元用以控制闪光单元的明灭,从而传递对应的二进制的握手信息;所述光波发生控制单元用以通过控制闪光单元的明灭发送需要传输的数据;The flash unit is used to send on and off signals; the second handshake information sending unit is used to control the on and off of the flash unit, so as to transmit the corresponding binary handshake information; the light wave generation control unit is used to control the on and off of the flash unit Send the data that needs to be transmitted;
所述位置定位单元用以定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;所述信息转化单元用以接收相应位置的明灭信号,并将其转为二进制信息;The position locating unit is used to locate the position of the mobile terminal flashing unit, that is, to find the point where the blinking signal is consistent with the handshake information among the candidate points; the information conversion unit is used to receive the blinking signal of the corresponding position and convert it into binary information;
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。-Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
一种摄像设备数据传输系统,所述系统包括:移动终端、摄像设备;A camera equipment data transmission system, said system comprising: a mobile terminal, a camera equipment;
所述移动终端通过发出声音或/和闪光的方式向摄像设备发送数据,摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据。The mobile terminal sends data to the imaging device by emitting sound or/and flashing light, and the imaging device recognizes the sound or/and flashing information, so as to receive the data sent by the mobile terminal.
作为本发明的一种优选方案,所述移动终端包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元;As a preferred solution of the present invention, the mobile terminal includes a first ambient sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, a handshake information sending unit, and a sound wave generation control unit ;
所述第一环境声音采集单元用以采集环境声音信号;The first ambient sound collection unit is used to collect ambient sound signals;
所述第一傅里叶变换单元用以对信号傅里叶变换,获取频谱分布信息;The first Fourier transform unit is used to Fourier transform the signal to obtain spectrum distribution information;
所述候选区域设定单元用以在频谱查找信号较弱的区域作为候选区域;The candidate area setting unit is used to search for areas with weaker signals in the frequency spectrum as candidate areas;
所述通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率;The communication frequency setting unit acquires two or more frequencies with a large separation distance as communication frequencies from the candidate area;
所述握手信息发送单元用以依次从各个通信频率发送握手信息;The handshake information sending unit is used to sequentially send handshake information from each communication frequency;
所述声波发生控制单元用以通过控制声波发生单元发出设定的声波来发送需要传输的数据;The sound wave generation control unit is used to send the data to be transmitted by controlling the sound wave generation unit to emit set sound waves;
所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元;The imaging device includes a second ambient sound acquisition unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit;
所述第二环境声音采集单元用以采集环境声音信号;The second ambient sound collection unit is used to collect ambient sound signals;
所述第二傅里叶变换单元用以对信号傅里叶变换,分离出不同频率的信号;The second Fourier transform unit is used to Fourier transform the signal to separate signals of different frequencies;
所述信号解调单元用以对各个频率的信号进行解调制;The signal demodulation unit is used to demodulate signals of each frequency;
所述通信频率判断单元用以解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;The communication frequency judging unit is used to compare the demodulation result with the handshake information, and if they match, determine that the frequency is the communication frequency;
所述数据接收单元用以在确定全部通信频率后,以这些频率接收数据。The data receiving unit is used for receiving data at these frequencies after all communication frequencies are determined.
作为本发明的一种优选方案,所述移动终端包括闪光单元、第二握手信息发送单元、光波发生控制单元;所述摄像设备包括位置定位单元、信息转化单元;As a preferred solution of the present invention, the mobile terminal includes a flash unit, a second handshake information sending unit, and a light wave generation control unit; the camera includes a position positioning unit and an information conversion unit;
所述闪光单元用以发出明灭的信号;The flash unit is used to send out a signal of blinking;
所述第二握手信息发送单元用以控制闪光单元的明灭,从而传递对应的二进制的握手信息;The second handshake information sending unit is used to control the blinking of the flash unit, so as to transmit the corresponding binary handshake information;
所述光波发生控制单元用以通过控制闪光单元的明灭发送需要传输的数据;The light wave generation control unit is used to send the data to be transmitted by controlling the blinking of the flash unit;
所述位置定位单元用以定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;The position locating unit is used for locating the position of the flash unit of the mobile terminal, that is, searching for a point where the blinking signal is consistent with the handshake information among the candidate points;
所述信息转化单元用以接收相应位置的明灭信号,并将其转为二进制信息;The information conversion unit is used to receive the blinking signal of the corresponding position and convert it into binary information;
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。-Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
一种摄像设备数据传输方法,移动终端通过发出声音或/和闪光的方式向摄像设备发送数据,摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据;A data transmission method for a camera device, wherein a mobile terminal sends data to the camera device by emitting sound or/and flashes, and the camera device recognizes the above-mentioned sound or/and flash information, thereby receiving the data sent by the mobile terminal;
所述移动终端包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元,所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元;或者/并且,所述移动终端包括闪光单元、第二握手信息发送单元、光波发生控制单元;所述摄像设备包括位置定位单元、信息转化单元;The mobile terminal includes a first environmental sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, a handshake information sending unit, and a sound wave generation control unit, and the imaging device includes a second environment A sound collection unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit; or/and, the mobile terminal includes a flash unit, a second handshake information sending unit, and a light wave generation control unit; The imaging device includes a position positioning unit and an information conversion unit;
所述数据传输方法通过发出声音的方式传输数据时,所述方法包括:第一环境声音采集单元采集环境声音信号;第一傅里叶变换单元对信号傅里叶变换,获取频谱分布信息;候选区域设定单元在频谱查找信号较弱的区域作为候选区域;通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率;握手信息发送单元依次从各个通信频率发送握手信息;声波发生控制单元通过控制声波发生单元发出设定的声波来发送需要传输的数据;第二环境声音采集单元采集环境声音信号;第二傅里叶变换单元对信号傅里叶变换,分离出不同频率的信号;信号解调单元对各个频率的信号进行解调制;通信频率判断单元解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;数据接收单元在确定全部通信频率后,以这些频率接收数据;When the data transmission method transmits data by emitting sound, the method includes: the first environmental sound acquisition unit collects the environmental sound signal; the first Fourier transform unit performs Fourier transform on the signal to obtain spectrum distribution information; The area setting unit searches for areas with weaker signals in the spectrum as candidate areas; the communication frequency setting unit obtains two or more frequencies with a large distance from the candidate area as communication frequencies; the handshake information sending unit sequentially transmits from each communication frequency Handshake information; the sound wave generation control unit sends the data that needs to be transmitted by controlling the sound wave generation unit to send the set sound wave; the second environmental sound acquisition unit collects the environmental sound signal; the second Fourier transform unit performs Fourier transform on the signal, separates Signals of different frequencies are output; the signal demodulation unit demodulates the signals of each frequency; the communication frequency judging unit compares the demodulation results with the handshake information, and if they match, the frequency is determined to be the communication frequency; the data receiving unit determines all communication frequencies After that, receive data at these frequencies;
所述数据传输方法通过发出闪光的方式传输数据时,所述方法包括:闪光单元发出明灭的信号;第二握手信息发送单元控制闪光单元的明灭,从而传递对应的二进制的握手信息;光波发生控制单元通过控制闪光单元的明灭发送需要传输的数据;位置定位单元定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;信息转化单元接收相应位置的明灭信号,并将其转为二进制信息;When the data transmission method transmits data by sending out flashing lights, the method includes: the flashing unit sends an on-off signal; the second handshake information sending unit controls the flashing unit on and off, thereby transmitting the corresponding binary handshake information; light wave generation control The unit sends the data that needs to be transmitted by controlling the blinking of the flash unit; the position positioning unit locates the position of the flash unit of the mobile terminal, that is, finds the point where the blinking signal is consistent with the handshake information among the candidate points; the information conversion unit receives the blinking signal of the corresponding position, and Convert it to binary information;
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。-Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
一种摄像设备数据传输方法,所述方法包括:A camera device data transmission method, the method comprising:
移动终端通过发出声音或/和闪光的方式向摄像设备发送数据;The mobile terminal sends data to the camera device by sound or/and flashing;
摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据。The imaging device recognizes the above-mentioned sound or/and flash information, so as to receive the data sent by the mobile terminal.
作为本发明的一种优选方案,所述移动终端包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元,所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元;所述数据传输方法通过发出声音的方式传输数据;As a preferred solution of the present invention, the mobile terminal includes a first ambient sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, a handshake information sending unit, and a sound wave generation control unit , the imaging device includes a second ambient sound acquisition unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit; the data transmission method transmits data by sounding;
所述方法具体包括:第一环境声音采集单元采集环境声音信号;第一傅里叶变换单元对信号傅里叶变换,获取频谱分布信息;候选区域设定单元在频谱查找信号较弱的区域作为候选区域;通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率;握手信息发送单元依次从各个通信频率发送握手信息;声波发生控制单元通过控制声波发生单元发出设定的声波来发送需要传输的数据;第二环境声音采集单元采集环境声音信号;第二傅里叶变换单元对信号傅里叶变换,分离出不同频率的信号;信号解调单元对各个频率的信号进行解调制;通信频率判断单元解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;数据接收单元在确定全部通信频率后,以这些频率接收数据。The method specifically includes: a first environmental sound collection unit collects an environmental sound signal; the first Fourier transform unit performs Fourier transform on the signal to obtain spectrum distribution information; the candidate area setting unit searches for areas with weaker signals in the spectrum as Candidate area; the communication frequency setting unit obtains two or more frequencies with a large separation distance from the candidate area as the communication frequency; the handshake information sending unit sends handshake information from each communication frequency in turn; the sound wave generation control unit sends out by controlling the sound wave generation unit The set sound wave is used to send the data that needs to be transmitted; the second ambient sound acquisition unit collects the environmental sound signal; the second Fourier transform unit performs Fourier transform on the signal to separate signals of different frequencies; The demodulated signal is demodulated; the communication frequency judging unit compares the demodulation result with the handshake information, and if it matches, it determines that the frequency is the communication frequency; the data receiving unit receives data at these frequencies after determining all communication frequencies.
作为本发明的一种优选方案,所述移动终端包括闪光单元、第二握手信息发送单元、光波发生控制单元;所述摄像设备包括位置定位单元、信息转化单元;所述数据传输方法通过发出闪光的方式传输数据;As a preferred solution of the present invention, the mobile terminal includes a flash unit, a second handshake information sending unit, and a light wave generation control unit; the camera includes a position positioning unit and an information conversion unit; to transmit data;
所述方法具体包括:闪光单元发出明灭的信号;第二握手信息发送单元控制闪光单元的明灭,从而传递对应的二进制的握手信息;光波发生控制单元通过控制闪光单元的明灭发送需要传输的数据;位置定位单元定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;信息转化单元接收相应位置的明灭信号,并将其转为二进制信息;The method specifically includes: the flash unit sends a signal of blinking; the second handshake information sending unit controls the blinking of the flash unit, thereby transmitting the corresponding binary handshake information; the light wave generation control unit sends the data to be transmitted by controlling the blinking of the flash unit; The position positioning unit locates the position of the flash unit of the mobile terminal, that is, finds the point where the blinking signal is consistent with the handshake information among the candidate points; the information conversion unit receives the blinking signal of the corresponding position and converts it into binary information;
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。-Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
本发明的有益效果在于:本发明提出的摄像设备数据传输系统,可快捷地进行数据传输,提高摄像机设置的便捷性。The beneficial effect of the present invention is that: the camera equipment data transmission system proposed by the present invention can quickly perform data transmission and improve the convenience of camera setting.
原有的家庭智能监控中的摄像机的配置都是利用配置终端(电脑、手机或平板)通过无线/有线网络或USB数据线连接来进行配置。这种设计受网络影响和限制极大,对使用者的技术要求太高,同时还受配置终端设备影响极大(如操作系统版本之类)The configuration of the camera in the original home intelligent monitoring is configured by using a configuration terminal (computer, mobile phone or tablet) to connect through a wireless/wired network or a USB data cable. This design is greatly affected and restricted by the network, and the technical requirements for users are too high. At the same time, it is also greatly affected by the configuration of terminal equipment (such as the version of the operating system).
本发明系统的设计简单通俗,不使用任何的数据电缆连接、不使用相关网络连接,使用者只需会使用手机即可简单的操作和家庭摄像机之间的数据通讯和配置,为家庭智能监控的推广降低应用技术门槛。The design of the system of the present invention is simple and popular. It does not use any data cable connection or related network connection. Users only need to know how to use mobile phones to easily operate and configure data communication and configuration between home cameras. Promote and lower the threshold of application technology.
附图说明Description of drawings
图1为本发明摄像设备数据传输系统的使用示意图。FIG. 1 is a schematic view of the data transmission system for an imaging device of the present invention.
图2为本发明摄像设备数据传输系统的组成示意图。FIG. 2 is a schematic diagram of the composition of the camera device data transmission system of the present invention.
图3为10声音信号调制成的声音序列示意图。FIG. 3 is a schematic diagram of a sound sequence modulated by 10 sound signals.
具体实施方式detailed description
下面结合附图详细说明本发明的优选实施例。Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
实施例一Embodiment one
请参阅图1,本发明揭示了一种摄像设备数据传输系统,所述系统包括:智能移动终端1、摄像设备;摄像设备可以通过智能移动终端1发送的信令(通过发出设定声音或/和闪光)自动进行相关设置。Please refer to Fig. 1, the present invention discloses a kind of imaging equipment data transmission system, described system comprises: intelligent mobile terminal 1, imaging equipment; and flash) to automatically set the relevant settings.
所述智能移动终端1通过发出声音(通过扬声器12)或/和闪光(通过闪光灯11)的方式向摄像设备发送数据,摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据。The smart mobile terminal 1 sends data to the imaging device by emitting sound (through the speaker 12) or/and flashing (through the flashlight 11), and the imaging device recognizes the above-mentioned sound or/and flash information, thereby receiving the data sent by the mobile terminal.
声音基本原理就是对数值信号进行调制。比如二进制调制,分别用1KHz与2KHz表示0和1,则10调制成的声音序列如图3所示。接收端对采集的声音信号进行傅里叶变换,提取1KHz与2KHz的信号,以此解调声音信号为二进制序列。The basic principle of sound is to modulate a numerical signal. For example, in binary modulation, 1KHz and 2KHz are used to represent 0 and 1 respectively, and the sound sequence made by 10 modulation is shown in Figure 3. The receiving end performs Fourier transform on the collected sound signal, extracts the 1KHz and 2KHz signals, and demodulates the sound signal into a binary sequence.
而在嘈杂的环境中,存在覆盖较广频带的环境噪声,固定频率的调制很可能被环境噪声污染,从而产生解调后的误码,从而影响通信的准确度/效率。而基于自动变频的声音通信则可大大降低这种影响,从而带来通信效率的提升。However, in a noisy environment, there is environmental noise covering a wide frequency band, and the modulation at a fixed frequency is likely to be polluted by environmental noise, resulting in bit errors after demodulation, thereby affecting the accuracy/efficiency of communication. The sound communication based on automatic frequency conversion can greatly reduce this effect, thereby improving communication efficiency.
请参阅图2,所述智能移动终端1包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元,所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元。Referring to Fig. 2, the intelligent mobile terminal 1 includes a first ambient sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, a handshake information sending unit, and a sound wave generation control unit, so The imaging device includes a second ambient sound collection unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit.
所述第一环境声音采集单元用以采集环境声音信号;所述第一傅里叶变换单元用以对信号傅里叶变换,获取频谱分布信息;所述候选区域设定单元用以在频谱查找信号较弱的区域作为候选区域;所述通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率(可以根据编码方式设定);所述握手信息发送单元用以依次从各个通信频率发送握手信息(比如01010101);所述声波发生控制单元用以通过控制声波发生单元(如扬声器12)发出设定的声波来发送需要传输的数据。The first ambient sound collection unit is used to collect ambient sound signals; the first Fourier transform unit is used to Fourier transform the signal to obtain spectrum distribution information; the candidate area setting unit is used to search for The region with a weaker signal is used as a candidate region; the communication frequency setting unit obtains two or more frequencies with a large separation distance from the candidate region as a communication frequency (can be set according to the encoding method); the handshake information sending unit uses To send handshake information (such as 01010101) from each communication frequency in sequence; the sound wave generation control unit is used to send the data to be transmitted by controlling the sound wave generation unit (such as the speaker 12) to emit set sound waves.
所述第二环境声音采集单元用以采集环境声音信号;所述第二傅里叶变换单元用以对信号傅里叶变换,分离出不同频率的信号;所述信号解调单元用以对各个频率的信号进行解调制;所述通信频率判断单元用以解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;所述数据接收单元用以在确定全部通信频率后,以这些频率接收数据。The second ambient sound collection unit is used to collect ambient sound signals; the second Fourier transform unit is used to Fourier transform the signal to separate signals of different frequencies; the signal demodulation unit is used to separate Frequency signal demodulation; the communication frequency judging unit is used to compare the demodulation result with the handshake information, and if it matches, it is determined that the frequency is a communication frequency; the data receiving unit is used to determine all communication frequencies with these Frequency to receive data.
此外,本发明系统还可以利用闪光发送数据。智能设备的闪光灯照射摄像机,通过亮度的变化,可以向摄像机传输数据。但限于普通摄像机的采集频率(25-30帧),传输速度有限,不如前文的声音通信。但在一些场景(比如距离略远,强噪声环境或者声音隔离)不适合声音通信,而光线通信不受影响,则可以采用光纤通信。In addition, the system of the present invention can also transmit data using flashlight. The flashlight of the smart device illuminates the camera, and through the change of brightness, data can be transmitted to the camera. However, it is limited to the acquisition frequency of ordinary cameras (25-30 frames), and the transmission speed is limited, which is not as good as the above-mentioned voice communication. However, in some scenarios (such as a little distance, strong noise environment or sound isolation) that are not suitable for sound communication, and optical communication is not affected, optical fiber communication can be used.
利用智能设备的闪光灯明灭两种状态可以表示1和0,摄像机内的处理器通过计算视频帧全图的亮度的变化,就可以接受这种编码信息,以此实现通信。但在光线复杂和有较强光线干扰的环境,移动设备的闪光灯的明灭变化不足以控制视频帧全图的亮度变化。这时采用自动光源定位的光照变化技术可以有效通信。The two states of the flash light of the smart device can be used to represent 1 and 0, and the processor in the camera can accept this coded information by calculating the brightness change of the entire image of the video frame, so as to realize communication. However, in an environment with complex light and strong light interference, the on-off change of the flash of the mobile device is not enough to control the brightness change of the entire image of the video frame. At this time, the lighting change technology using automatic light source positioning can effectively communicate.
具体地,所述移动终端包括闪光单元、第二握手信息发送单元、光波发生控制单元;相应地,所述摄像设备包括位置定位单元、信息转化单元。Specifically, the mobile terminal includes a flash unit, a second handshake information sending unit, and a light wave generation control unit; correspondingly, the camera includes a position positioning unit and an information conversion unit.
所述闪光单元(可以为闪光灯)用以发出明灭的信号;所述第二握手信息发送单元用以控制闪光单元的明灭,从而传递对应的二进制的握手信息(比如10101010);所述光波发生控制单元用以通过控制闪光单元的明灭发送需要传输的数据。The flash unit (which may be a flash lamp) is used to send a signal of on and off; the second handshake information sending unit is used to control the on and off of the flash unit, so as to transmit the corresponding binary handshake information (such as 10101010); the light wave generation control The unit is used to send the data to be transmitted by controlling the blinking of the flash unit.
所述位置定位单元用以定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;所述信息转化单元用以接收相应位置的明灭信号,并将其转为二进制信息。The position locating unit is used to locate the position of the mobile terminal flashing unit, that is, to find the point where the blinking signal is consistent with the handshake information among the candidate points; the information conversion unit is used to receive the blinking signal of the corresponding position and convert it into binary information.
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。-Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
本发明还揭示一种摄像设备数据传输方法,移动终端通过发出声音或/和闪光的方式向摄像设备发送数据,摄像设备识别上述声音或/和闪光信息,从而接收移动终端发送的数据。The present invention also discloses a data transmission method of a camera device. The mobile terminal sends data to the camera device by emitting sound or/and flashes, and the camera device recognizes the sound or/and flash information to receive the data sent by the mobile terminal.
所述数据传输方法通过发出声音的方式传输数据时,所述方法包括:第一环境声音采集单元采集环境声音信号;第一傅里叶变换单元对信号傅里叶变换,获取频谱分布信息;候选区域设定单元在频谱查找信号较弱的区域作为候选区域;通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率;握手信息发送单元依次从各个通信频率发送握手信息;声波发生控制单元通过控制声波发生单元发出设定的声波来发送需要传输的数据;第二环境声音采集单元采集环境声音信号;第二傅里叶变换单元对信号傅里叶变换,分离出不同频率的信号;信号解调单元对各个频率的信号进行解调制;通信频率判断单元解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;数据接收单元在确定全部通信频率后,以这些频率接收数据。When the data transmission method transmits data by emitting sound, the method includes: the first environmental sound acquisition unit collects the environmental sound signal; the first Fourier transform unit performs Fourier transform on the signal to obtain spectrum distribution information; The area setting unit searches for areas with weaker signals in the spectrum as candidate areas; the communication frequency setting unit obtains two or more frequencies with a large distance from the candidate area as communication frequencies; the handshake information sending unit sequentially transmits from each communication frequency Handshake information; the sound wave generation control unit sends the data that needs to be transmitted by controlling the sound wave generation unit to send the set sound wave; the second environmental sound acquisition unit collects the environmental sound signal; the second Fourier transform unit performs Fourier transform on the signal, separates Signals of different frequencies are output; the signal demodulation unit demodulates the signals of each frequency; the communication frequency judging unit compares the demodulation results with the handshake information, and if they match, the frequency is determined to be the communication frequency; the data receiving unit determines all communication frequencies Then, receive data at these frequencies.
所述数据传输方法通过发出闪光的方式传输数据时,所述方法包括:闪光单元发出明灭的信号;第二握手信息发送单元控制闪光单元的明灭,从而传递对应的二进制的握手信息;光波发生控制单元通过控制闪光单元的明灭发送需要传输的数据;位置定位单元定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;信息转化单元接收相应位置的明灭信号,并将其转为二进制信息。When the data transmission method transmits data by sending out flashing lights, the method includes: the flashing unit sends an on-off signal; the second handshake information sending unit controls the flashing unit on and off, thereby transmitting the corresponding binary handshake information; light wave generation control The unit sends the data that needs to be transmitted by controlling the blinking of the flash unit; the position positioning unit locates the position of the flash unit of the mobile terminal, that is, finds the point where the blinking signal is consistent with the handshake information among the candidate points; the information conversion unit receives the blinking signal of the corresponding position, and Convert it to binary information.
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。-Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
实施例二Embodiment two
本实施例中,智能移动终端只通过发出声音的方式设置摄像设备,所述智能移动终端1包括第一环境声音采集单元、第一傅里叶变换单元、候选区域设定单元、通信频率设定单元、握手信息发送单元、声波发生控制单元,所述摄像设备包括第二环境声音采集单元、第二傅里叶变换单元、信号解调单元、通信频率判断单元、数据接收单元。In this embodiment, the smart mobile terminal only sets the imaging device by sounding, and the smart mobile terminal 1 includes a first ambient sound collection unit, a first Fourier transform unit, a candidate area setting unit, a communication frequency setting unit, and a communication frequency setting unit. unit, a handshake information sending unit, and a sound wave generation control unit. The imaging device includes a second ambient sound collection unit, a second Fourier transform unit, a signal demodulation unit, a communication frequency judgment unit, and a data receiving unit.
所述第一环境声音采集单元用以采集环境声音信号;所述第一傅里叶变换单元用以对信号傅里叶变换,获取频谱分布信息;所述候选区域设定单元用以在频谱查找信号较弱的区域作为候选区域;所述通信频率设定单元从候选区域中获取间隔距离大的2个或多个频率作为通信频率(可以根据编码方式设定);所述握手信息发送单元用以依次从各个通信频率发送握手信息(比如01010101);所述声波发生控制单元用以通过控制声波发生单元发出设定的声波来发送需要传输的数据。The first ambient sound collection unit is used to collect ambient sound signals; the first Fourier transform unit is used to Fourier transform the signal to obtain spectrum distribution information; the candidate area setting unit is used to search for The region with a weaker signal is used as a candidate region; the communication frequency setting unit obtains two or more frequencies with a large separation distance from the candidate region as a communication frequency (can be set according to the encoding method); the handshake information sending unit uses The handshake information (such as 01010101) is sequentially sent from each communication frequency; the sound wave generation control unit is used to send the data to be transmitted by controlling the sound wave generation unit to emit a set sound wave.
所述第二环境声音采集单元用以采集环境声音信号;所述第二傅里叶变换单元用以对信号傅里叶变换,分离出不同频率的信号;所述信号解调单元用以对各个频率的信号进行解调制;所述通信频率判断单元用以解调结果与握手信息进行比较,如果匹配则确定该频率为通信频率;所述数据接收单元用以在确定全部通信频率后,以这些频率接收数据。The second ambient sound collection unit is used to collect ambient sound signals; the second Fourier transform unit is used to Fourier transform the signal to separate signals of different frequencies; the signal demodulation unit is used to separate Frequency signal demodulation; the communication frequency judging unit is used to compare the demodulation result with the handshake information, and if it matches, it is determined that the frequency is a communication frequency; the data receiving unit is used to determine all communication frequencies with these Frequency to receive data.
实施例三Embodiment three
本实施例中,本发明系统只利用闪光发送数据。智能设备的闪光灯照射摄像机,通过亮度的变化,可以向摄像机传输数据。但限于普通摄像机的采集频率(25-30帧),传输速度有限,不如前文的声音通信。但在一些场景(比如距离略远,强噪声环境或者声音隔离)不适合声音通信,而光线通信不受影响,则可以采用光纤通信。In this embodiment, the system of the present invention only uses flash to send data. The flashlight of the smart device illuminates the camera, and through the change of brightness, data can be transmitted to the camera. However, it is limited to the acquisition frequency of ordinary cameras (25-30 frames), and the transmission speed is limited, which is not as good as the above-mentioned voice communication. However, in some scenarios (such as a little distance, strong noise environment or sound isolation) that are not suitable for sound communication, and optical communication is not affected, optical fiber communication can be used.
利用智能设备的闪光灯明灭两种状态可以表示1和0,摄像机内的处理器通过计算视频帧全图的亮度的变化,就可以接受这种编码信息,以此实现通信。但在光线复杂和有较强光线干扰的环境,移动设备的闪光灯的明灭变化不足以控制视频帧全图的亮度变化。这时采用自动光源定位的光照变化技术可以有效通信。The two states of the flash light of the smart device can be used to represent 1 and 0, and the processor in the camera can accept this coded information by calculating the brightness change of the entire image of the video frame, so as to realize communication. However, in an environment with complex light and strong light interference, the on-off change of the flash of the mobile device is not enough to control the brightness change of the entire image of the video frame. At this time, the lighting change technology using automatic light source positioning can effectively communicate.
具体地,所述移动终端包括闪光单元、第二握手信息发送单元、光波发生控制单元;相应地,所述摄像设备包括位置定位单元、信息转化单元。Specifically, the mobile terminal includes a flash unit, a second handshake information sending unit, and a light wave generation control unit; correspondingly, the camera includes a position positioning unit and an information conversion unit.
所述闪光单元用以发出明灭的信号;所述第二握手信息发送单元用以控制闪光单元的明灭,从而传递对应的二进制的握手信息(比如10101010);所述光波发生控制单元用以通过控制闪光单元的明灭发送需要传输的数据。The flash unit is used to send on and off signals; the second handshake information sending unit is used to control the flash unit on and off, so as to transmit the corresponding binary handshake information (such as 10101010); the light wave generation control unit is used to control The blinking of the flash unit sends the data that needs to be transmitted.
所述位置定位单元用以定位移动终端闪光单元的位置,即在候选点中查找明灭信号与握手信息一致的点;所述信息转化单元用以接收相应位置的明灭信号,并将其转为二进制信息。The position locating unit is used to locate the position of the mobile terminal flashing unit, that is, to find the point where the blinking signal is consistent with the handshake information among the candidate points; the information conversion unit is used to receive the blinking signal of the corresponding position and convert it into binary information.
所述位置定位单元自动定位移动设备的闪光灯流程包括:The process of automatically locating the flashlight of the mobile device by the position locating unit includes:
-获取视频第n帧的亮度通道,记为f(n);- Obtain the brightness channel of the nth frame of the video, denoted as f(n);
-求取亮度通道(灰度图)的所有局部极大值,记录P={p(0),p(1),...}表示所有极大值点坐标集合;V={v(0),v(1),...}表示P中对应点的值的集合,因为是极大值,所以V中的值都是“1”;- Calculate all local maxima of the brightness channel (grayscale image), and record P={p(0),p(1),...} to represent the set of coordinates of all maxima points; V={v(0 ), v(1),...} represent the set of values of the corresponding points in P, because it is a maximum value, so the values in V are all "1";
-在第n+1帧f(n+1)中求取所有局部极大值P(n+1),然后遍历P中所有的点:如果点p(i)与P(n+1)集合中某点一致,且坐标在设定邻域内,则在其对应值v(i)串中追加“1”,否则在v(i)中追加“0”;- Find all local maxima P(n+1) in frame n+1 f(n+1), and then traverse all points in P: if point p(i) and P(n+1) set If a certain point is the same, and the coordinates are within the set neighborhood, then add "1" to its corresponding value v(i) string, otherwise add "0" to v(i);
-把P(n+1)中与P无对应关系的点追加入P,并将其值“1”追加入集合V;- Add the points in P(n+1) that have no corresponding relationship with P to P, and add its value "1" to the set V;
-检查V中的所有位串值v(i),如果与握手位串一致,则对应点p(i)就是移动终端的闪光灯位置。- Check all the bit string values v(i) in V, if they are consistent with the handshake bit string, then the corresponding point p(i) is the flash position of the mobile terminal.
综上所述,本发明提出的摄像设备数据传输系统,可快捷地进行数据传输,提高摄像机设置的便捷性。To sum up, the camera device data transmission system proposed by the present invention can quickly perform data transmission and improve the convenience of camera setup.
本发明系统的设计简单通俗,不使用任何的数据电缆连接、不使用相关网络连接,使用者只需会使用手机即可简单的操作和家庭摄像机之间的数据通讯和配置,为家庭智能监控的推广降低应用技术门槛。The design of the system of the present invention is simple and popular. It does not use any data cable connection or related network connection. Users only need to know how to use mobile phones to easily operate and configure data communication and configuration between home cameras. Promote and lower the threshold of application technology.
这里本发明的描述和应用是说明性的,并非想将本发明的范围限制在上述实施例中。这里所披露的实施例的变形和改变是可能的,对于那些本领域的普通技术人员来说实施例的替换和等效的各种部件是公知的。本领域技术人员应该清楚的是,在不脱离本发明的精神或本质特征的情况下,本发明可以以其它形式、结构、布置、比例,以及用其它组件、材料和部件来实现。在不脱离本发明范围和精神的情况下,可以对这里所披露的实施例进行其它变形和改变。The description and application of the invention herein is illustrative and is not intended to limit the scope of the invention to the above-described embodiments. Variations and changes to the embodiments disclosed herein are possible, and substitutions and equivalents for various components of the embodiments are known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present invention can be realized in other forms, structures, arrangements, proportions, and with other components, materials and components without departing from the spirit or essential characteristics of the present invention. Other modifications and changes may be made to the embodiments disclosed herein without departing from the scope and spirit of the invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410236025.1A CN103986915B (en) | 2014-05-30 | 2014-05-30 | Data transmission system and method for camera shooting equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410236025.1A CN103986915B (en) | 2014-05-30 | 2014-05-30 | Data transmission system and method for camera shooting equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103986915A CN103986915A (en) | 2014-08-13 |
CN103986915B true CN103986915B (en) | 2017-05-10 |
Family
ID=51278729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410236025.1A Active CN103986915B (en) | 2014-05-30 | 2014-05-30 | Data transmission system and method for camera shooting equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103986915B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682083B (en) * | 2017-11-01 | 2020-04-24 | 珠海市魅族科技有限公司 | Short-distance file transmission method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202257891U (en) * | 2011-10-25 | 2012-05-30 | 武汉钢铁(集团)公司 | Wireless monitoring identification detection defense-deploying and monitoring system |
CN103092162A (en) * | 2012-12-28 | 2013-05-08 | 方科峰 | Intelligent housing system authenticated by displacement circuit and system management method |
CN103760849A (en) * | 2013-12-31 | 2014-04-30 | 大唐电信(天津)技术服务有限公司 | Home monitoring and controlling system based on wireless sensor network |
CN103793261A (en) * | 2013-11-15 | 2014-05-14 | 深圳光启创新技术有限公司 | Methods and devices for sending and receiving instruction information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7573231B2 (en) * | 2003-12-23 | 2009-08-11 | Uniden Corporation | Recharging terminal |
-
2014
- 2014-05-30 CN CN201410236025.1A patent/CN103986915B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202257891U (en) * | 2011-10-25 | 2012-05-30 | 武汉钢铁(集团)公司 | Wireless monitoring identification detection defense-deploying and monitoring system |
CN103092162A (en) * | 2012-12-28 | 2013-05-08 | 方科峰 | Intelligent housing system authenticated by displacement circuit and system management method |
CN103793261A (en) * | 2013-11-15 | 2014-05-14 | 深圳光启创新技术有限公司 | Methods and devices for sending and receiving instruction information |
CN103760849A (en) * | 2013-12-31 | 2014-04-30 | 大唐电信(天津)技术服务有限公司 | Home monitoring and controlling system based on wireless sensor network |
Also Published As
Publication number | Publication date |
---|---|
CN103986915A (en) | 2014-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115209194B (en) | A terminal device, method and system for realizing one-touch screen projection through a remote control | |
CN103795467B (en) | Method and apparatus for identifying visible light communication signal received by camera | |
CN103929767A (en) | Wireless network setting method based on sound wave or light wave communication | |
CN203933634U (en) | A kind of device of visible light communication | |
CN104038284A (en) | Visible light communication system and method | |
CN101697248B (en) | Learning type infrared remote control device and method | |
CN110572799B (en) | Method and equipment for simultaneous response | |
CN119576170A (en) | Content sharing method, electronic device and storage medium | |
US9906297B2 (en) | Method and system for implementing visible-light communication, sending apparatus, and receiving apparatus | |
CN103974190B (en) | The method and mobile device of file are transmitted by mobile device | |
CN105871461A (en) | Multiple access method based on optical two-dimensional code and visible light communication system for implementing multiple access method | |
CN112017652A (en) | Interaction method and terminal equipment | |
CN114895991A (en) | Content sharing method and electronic equipment | |
CN104198989A (en) | Hybrid-mode indoor positioning system based on illumination source and WiFi signals | |
WO2018032525A1 (en) | Wireless remote control flash lamp and control system therefor | |
CN106998605A (en) | A kind of router working station indicator intelligence control system and method | |
CN106155944B (en) | Equipment configuration method, device and system | |
CN111526651B (en) | A lamp intelligent control method, device and lamp | |
CN103986915B (en) | Data transmission system and method for camera shooting equipment | |
CN108599844A (en) | A kind of synchronous translation apparatus and its working method based on visible light communication technology | |
CN110380781B (en) | Signal enhancement method and system, and storage medium | |
CN207603847U (en) | A kind of Digiplex microphone | |
CN115731923A (en) | Command word response method, control equipment and device | |
CN104639242A (en) | Streetlight lamp mark acquisition system and method | |
CN103986632A (en) | Method for adding device to network through visible light |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Room 1701-8, 17th floor, No. 125, Liuying Road, Hongkou District, Shanghai 200080 Patentee after: Shanghai Hao Wei electronic Limited by Share Ltd. Address before: 200434 4th floor, building 1, No. 788, Fengzhen Road, Hongkou District, Shanghai Patentee before: SHANGHAI HOWELL ELECTRONICS Co.,Ltd. |
|
CP03 | Change of name, title or address | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Camera equipment data transmission system and method Granted publication date: 20170510 Pledgee: Hongkou Branch of Shanghai Rural Commercial Bank Co.,Ltd. Pledgor: Shanghai Hao Wei electronic Limited by Share Ltd. Registration number: Y2024310000664 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20170510 Pledgee: Hongkou Branch of Shanghai Rural Commercial Bank Co.,Ltd. Pledgor: Shanghai Hao Wei electronic Limited by Share Ltd. Registration number: Y2024310000664 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right |