CN103136929B - Method enabling network terminal with photosensitive components to initialize - Google Patents
Method enabling network terminal with photosensitive components to initialize Download PDFInfo
- Publication number
- CN103136929B CN103136929B CN201310040464.0A CN201310040464A CN103136929B CN 103136929 B CN103136929 B CN 103136929B CN 201310040464 A CN201310040464 A CN 201310040464A CN 103136929 B CN103136929 B CN 103136929B
- Authority
- CN
- China
- Prior art keywords
- network terminal
- display screen
- coded data
- setting
- photosensory assembly
- 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.)
- Expired - Fee Related
Links
Landscapes
- Optical Communication System (AREA)
Abstract
本发明涉及一种使带有感光组件的网络终端初始化的方法,包括如下步骤:在有显示屏配置单元上取得或输入网络终端初始化信息;按照设定的规则,将所述取得信息编码,得到至少一个编码数据,并存储;取出编码数据,依据该编码数据改变所述配置单元的显示屏组件的设定显示参数,使配置单元的显示屏的设定显示参数按照编码数据变化;网络终端的感光组件感知配置单元的显示屏变化,取得所述编码数据,并将其传输到所述网络终端的中央处理器;述网络终端的中央处理器对接收到的编码数据进行解码、存储并执行设定的操作使该网络终端初始化。实施本发明的使带有感光组件的网络终端初始化的方法,具有以下有益效果:其配置方法简单、方便、直观、便宜。
The invention relates to a method for initializing a network terminal with a photosensitive component, comprising the following steps: obtaining or inputting network terminal initialization information on a configuration unit with a display screen; encoding the obtained information according to a set rule to obtain at least one coded data, and store it; take out the coded data, change the set display parameters of the display screen assembly of the configuration unit according to the coded data, so that the set display parameters of the display screen of the configuration unit change according to the coded data; the network terminal The photosensitive component perceives the change of the display screen of the configuration unit, obtains the coded data, and transmits it to the central processing unit of the network terminal; the central processor of the network terminal decodes the received coded data, stores and executes the configuration The specified operation initializes the network terminal. Implementing the method for initializing the network terminal with the photosensitive component of the present invention has the following beneficial effects: the configuration method is simple, convenient, intuitive and cheap.
Description
技术领域 technical field
本发明涉及网络设备配置,更具体地说,涉及一种使带有感光组件的网络终端初始化的方法。 The invention relates to network equipment configuration, more specifically, to a method for initializing a network terminal with a photosensitive component.
背景技术 Background technique
在现有技术中,当网络终端需要连接在网络上时,通常需要对其进行初始化配置。例如,需要设置该网络终端所在网段的网关地址和登录密码,以便于将其与网关连接,从而使得网络上的其他设备能够得到该网络终端发出的数据或状态。但是,在一些网络终端中,上述设置并不是非常简单和直观,特别是在该网络终端没有显示组件时,配置的人操作稍不注意或者对网络及其相关参数不了解,就会出错或者根本无法设计和使用。例如,无线网络摄像机,通常的网络摄像机在一个局域网中会设置多个,这些网络摄像机通过无线链路均与一个网关连接,而该网关通过路由器连接在互联网上。这样,为了使得使用者可以通过网络访问这些网络摄像机,需要在其连接到无线网关时进行配置。但是,由于网络摄像机没有屏幕,在大多数情况下,只能通过电脑或路由器直接将网线连接在其上,电脑需要安装一个专门的网络设备IP寻找软件,通过其找到网络摄像机后,登录到网络摄像机内预装的网页,并对其进行操作。当每次移动网络摄像机到和以前不同的网络时,都要寻找网络连线反复上述过程才能设定进入新的网络。这种方法使得使用者非常不方便,,特别是在该网络摄像机已经安装的情况下。 In the prior art, when a network terminal needs to be connected to the network, it usually needs to be initialized and configured. For example, it is necessary to set the gateway address and login password of the network segment where the network terminal is located, so as to connect it to the gateway, so that other devices on the network can obtain the data or status sent by the network terminal. However, in some network terminals, the above settings are not very simple and intuitive, especially when the network terminal does not have a display component, the configuration personnel will not pay attention to the operation or do not understand the network and its related parameters. Unable to design and use. For example, wireless network cameras, usually a plurality of network cameras will be set in a local area network, and these network cameras are all connected to a gateway through a wireless link, and the gateway is connected to the Internet through a router. In this way, in order to allow users to access these IP cameras through the network, it needs to be configured when it is connected to the wireless gateway. However, since the network camera has no screen, in most cases, the network cable can only be directly connected to it through a computer or a router. The computer needs to install a special network device IP search software, and after finding the network camera through it, log in to the network The pre-installed web pages in the camera and operate them. Every time the IP camera is moved to a network different from the previous one, it is necessary to search for the network connection and repeat the above process to set up and enter the new network. This method makes the user very inconvenient, especially if the network camera has been installed.
发明内容 Contents of the invention
本发明要解决的技术问题在于,针对现有技术的上述配置不方便、较为复杂的缺陷,提供一种配置方便、简单的使带有感光组件的网络终端初始化的方法。 The technical problem to be solved by the present invention is to provide a convenient and simple method for initializing a network terminal with a photosensitive component in view of the inconvenient and relatively complicated configuration of the prior art.
本发明解决其技术问题所采用的技术方案是:构造一种使带有感光组件的网络终端初始化的方法,包括如下步骤: The technical solution adopted by the present invention to solve the technical problem is: to construct a method for initializing a network terminal with a photosensitive component, comprising the following steps:
A)在设置有光源的配置单元上取得或输入所述网络终端初始化信息; A) Obtain or input the network terminal initialization information on the configuration unit provided with the light source;
B)按照设定的规则,将所述取得信息编码,得到至少一个编码数据,并存储; B) According to the set rules, encode the obtained information, obtain at least one encoded data, and store it;
C)取出所述编码数据,依据该编码数据改变所述配置单元的光源的设定显示参数,使所述配置单元的光源的设定显示参数按照所述编码数据变化; C) Take out the coded data, change the set display parameters of the light source of the configuration unit according to the coded data, so that the set display parameters of the light source of the configuration unit are changed according to the coded data;
D)所述网络终端的感光组件感知所述配置单元的显示屏变化,取得所述编码数据,并将其传输到所述网络终端的中央处理器; D) The photosensitive component of the network terminal perceives the change of the display screen of the configuration unit, obtains the coded data, and transmits it to the central processing unit of the network terminal;
E)所述网络终端的中央处理器对接收到的编码数据进行解码、存储并执行设定的操作使该网络终端初始化。 E) The central processor of the network terminal decodes and stores the received coded data and executes the set operation to initialize the network terminal.
更进一步地,所述光源包括配置单元的显示屏,所述步骤C)中显示屏按照设定显示参数变化包括:显示屏的亮起或暗下、显示屏输出光强度的梯度变化、显示屏显示的颜色变化或显示屏显示设定的不同图案;所述初始化信息包括网关地址和登陆所述网关的密码。 Furthermore, the light source includes a display screen of the configuration unit, and the change of the display screen according to the set display parameters in the step C) includes: lighting or darkening of the display screen, gradient change of the output light intensity of the display screen, display screen display The color changes or the display screen displays different patterns set; the initialization information includes the gateway address and the password for logging in to the gateway. the
更进一步地,所述步骤C)中进一步包括: Furthermore, the step C) further includes:
C1)在所述取出的编码数据的数据头上加入事先设定的、按照事先确定的规律变化的开始数据; C1) Add pre-set start data that changes according to a pre-determined rule to the data header of the extracted encoded data;
C2)依次传输所述开始数据和所述编码数据到所述配置单元的显示屏,使得所述显示屏执行设定的操作。 C2) Transmitting the start data and the coded data to the display screen of the configuration unit in sequence, so that the display screen executes the set operation.
更进一步地,所述步骤C2)中,通过直接控制所述显示屏的驱动信号或调用所述配置单元事先设定的功能模块使所述显示屏执行设定操作。 Furthermore, in the step C2), the display screen is made to perform a setting operation by directly controlling the driving signal of the display screen or calling a function module preset by the configuration unit.
更进一步地,所述步骤D)进一步包括: Furthermore, said step D) further includes:
D1)判断是否接收到设定的开始数据,如是,执行下一步骤;否则,执行当前操作; D1) Judging whether the set start data is received, if so, execute the next step; otherwise, execute the current operation;
D2)取得事先设置的光电转换规则,并将感应的光信号转换为电信号传送到其中央处理器。 D2) Obtain the photoelectric conversion rules set in advance, and convert the induced optical signal into an electrical signal and send it to its central processing unit.
更进一步地,所述步骤D1)中进一步包括如下步骤: Furthermore, the step D1) further includes the following steps:
D11)所述感光组件感应到的光信号包括R、G、B三个分量,判断其中一个是否大于设定的最大阈值或小于设定的最小阈值,如是,执行步骤D12);否则,执行当前操作执行步骤D13); D11) The light signal sensed by the photosensitive component includes three components of R, G, and B, judge whether one of them is greater than the set maximum threshold or less than the set minimum threshold, if yes, execute step D12); otherwise, execute the current Operation execution step D13);
D12)判断是否所述三个分量均大于所述设定的最大阈值或小于设定的最小阈值,如是,确定通过显示屏的亮度传输配置信息;否则,确定通过显示屏的颜色传输配置信息。 D12) Judging whether the three components are greater than the set maximum threshold or less than the set minimum threshold, if so, determine to transmit the configuration information through the brightness of the display screen; otherwise, determine to transmit the configuration information through the color of the display screen.
更进一步地,所述步骤B)中的设定规则包括将所述初始化信息中的字母或数字按照莫尔斯电码或BCD编码转换为脉冲信号;分别以所述脉冲信号的高、低电平表示莫尔斯电码的点、划或BCD编码中的电平1和电平0。 Furthermore, the setting rule in the step B) includes converting the letters or numbers in the initialization information into pulse signals according to Morse code or BCD code; Represents the dots and dashes of Morse code or the level 1 and level 0 in BCD encoding. the
更进一步地,所述步骤E)中进一步包括: Furthermore, the step E) further includes:
E1)所述中央处理器将接收到的电信号按照事先确定的规则依次转换为字母或数字,并将所述初始化信息中的不同项分别存储。 E1) The central processor converts the received electrical signals into letters or numbers in sequence according to predetermined rules, and stores different items in the initialization information separately.
更进一步地,所述配置单元包括移动通讯终端或具有与移动通讯终端相同的输入方法和在其控制单元控制下依据所述输入信息发光的光源的移动终端。 Furthermore, the configuration unit includes a mobile communication terminal or a mobile terminal having the same input method as the mobile communication terminal and a light source that emits light according to the input information under the control of its control unit. the
更进一步地,所述配置单元是具有操作系统的智能移动通讯终端或不具有操作系统的移动通讯终端;所述移动终端的光源包括显示屏或灯。 Furthermore, the configuration unit is an intelligent mobile communication terminal with an operating system or a mobile communication terminal without an operating system; the light source of the mobile terminal includes a display screen or a lamp.
实施本发明的使带有感光组件的网络终端初始化的方法,具有以下有益效果:由于通过在移动通讯终端或与移动通讯终端操作相似的配置单元输入配置数据,并将所述输入的配置数据通过光发送给需要配置的网络终端,而移动通讯终端的操作是大多数使用者所熟知的,所以,其配置方法简单、方便、直观、便宜。 Implementing the method for initializing a network terminal with a photosensitive component of the present invention has the following beneficial effects: because configuration data is input through a mobile communication terminal or a configuration unit that operates similarly to a mobile communication terminal, and the input configuration data is passed through The light is sent to the network terminal that needs to be configured, and the operation of the mobile communication terminal is familiar to most users, so the configuration method is simple, convenient, intuitive and cheap.
附图说明 Description of drawings
图1是本发明使带有感光组件的网络终端初始化的方法实施例的流程图; Fig. 1 is the flow chart of the method embodiment that the present invention makes the network terminal initialization with photosensitive element;
图2是所述实施例中使显示屏按照设定的方式变化的流程图; Fig. 2 is the flowchart of making the display screen change according to the mode set in the described embodiment;
图3是所述实施例中网络终端感知显示屏变化并转换为电信号的进一步的流程图。 Fig. 3 is a further flow chart of the network terminal sensing the change of the display screen and converting it into an electrical signal in the embodiment.
具体实施方式 Detailed ways
下面将结合附图对本发明实施例作进一步说明。 Embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
如图1所示,在本发明使带有感光组件的网络终端初始化的方法实施例中,该方法包括如下步骤: As shown in Figure 1, in the method embodiment that the present invention makes the network terminal initialization with photosensitive component, this method comprises the following steps:
步骤S11 取得或输入网络终端初始化信息:在本步骤中,在设置有显示屏配置单元上取得或输入所述网络终端初始化信息;在本实施例中,上述配置单元是用于将初始化信息通过按照一定规律变化的光线发送到被配置的网络终端上的装置。光线是由配置单元的光源发出的,在本实施例中,在大多数情况下,配置单元的光源就是配置单元的显示屏;当然,某些情况下光源也可以是灯;配置既可以是带有显示屏的移动通讯终端(当然,需要事先安装相应的软件),也可以是专用的、与移动通讯终端的操作相似的、带有光源的装置(移动终端)。当其为移动通讯终端时,可以是具有操作系统的智能移动通讯终端或不具有操作系统的移动通讯终端,只要其具有可以被其中央处理器控制的显示屏即可。为了方便描述起见,在本实施例中,以移动通讯终端(即通常所讲的手机或移动电话)为例,说明整个过程。在本步骤中,当移动通讯终端上运行相应的软件时,将出现一个界面,在该界面中,通过该移动通讯终端的输入设备或系统总线,得到上述网络终端的配置信息。通常来讲,这些配置信息至少包括网关地址和登陆网关的密码两个项目,这两个项目是独立的。在上述界面中,这两个项目处于不同的位置。当输入时,是分别输入的。而当通过系统总线得到时,则可能是合在一起的。在本实施例中,上述专用的、与移动通讯终端的操作相似的、带有光源的装置包括与移动通讯终端相似的输入单元和控制单元,其光源包括显示屏或灯。如果光源是显示屏,则与移动通讯终端中的情况相似,如果光源是灯,则该灯也是在配置单元的的控制单元作用下,依据输入的数据发光,实际上其操作也与显示屏相似,只不过可能有些表示信息的方式限于条件不能使用。例如,可能不能使用某些颜色表示信息等等。 Step S11 Obtain or input network terminal initialization information: in this step, obtain or input the network terminal initialization information on the configuration unit provided with a display screen; in this embodiment, the above configuration unit is used to pass the initialization information through according to Certain regularly changing light beams are sent to devices at the end of the configured network. The light is emitted by the light source of the configuration unit. In this embodiment, in most cases, the light source of the configuration unit is the display screen of the configuration unit; of course, the light source can also be a lamp in some cases; A mobile communication terminal with a display screen (of course, corresponding software needs to be installed in advance), or a dedicated device (mobile terminal) with a light source similar to the operation of the mobile communication terminal. When it is a mobile communication terminal, it can be an intelligent mobile communication terminal with an operating system or a mobile communication terminal without an operating system, as long as it has a display screen that can be controlled by its central processing unit. For convenience of description, in this embodiment, a mobile communication terminal (that is, a mobile phone or a mobile phone as commonly referred to) is taken as an example to illustrate the whole process. In this step, when the corresponding software is running on the mobile communication terminal, an interface will appear, in which, the configuration information of the above-mentioned network terminal can be obtained through the input device or the system bus of the mobile communication terminal. Generally speaking, the configuration information includes at least two items, the gateway address and the password for logging in to the gateway, and these two items are independent. In the above interface, these two items are in different positions. When input, it is input separately. And when obtained through the system bus, it may be combined. In this embodiment, the above-mentioned dedicated device with a light source that operates similarly to a mobile communication terminal includes an input unit and a control unit similar to a mobile communication terminal, and its light source includes a display screen or a lamp. If the light source is a display screen, it is similar to the situation in a mobile communication terminal. If the light source is a light, the light is also illuminated according to the input data under the action of the control unit of the configuration unit. In fact, its operation is also similar to the display screen , but there may be some ways of expressing information that are limited to conditions and cannot be used. For example, certain colors may not be used to represent information, etc.
步骤S12 将得到的信息编码并存储:在本步骤中,按照设定的规则,将所述取得信息编码,得到至少一个编码数据,并存储;其操作的主体是移动通讯终端,严格来讲,是上述运行的配置软件。一般来讲,配置信息由字母和数字组成,当其输入完成或取得后,将构成信息的字母或数字按照其取得或输入顺序,依次按照设定的规则转换为电信号。在本实施例中,上述电信号是脉冲信号,也就是高电平和低电平组成的一个序列。而设定规则包括将初始化信息中的字母或数字按照莫尔斯电码或BCD编码转换为脉冲信号;分别以所述脉冲信号的高、低电平表示莫尔斯电码的点、划或BCD编码中的电平1和电平0。经过编码转换之后,存储在上述移动通讯终端的存储器或内存中,此时,存储的是一个或几个脉冲序列。 Step S12 Coding and storing the obtained information: In this step, according to the set rules, the obtained information is coded to obtain at least one coded data, and stored; the main body of the operation is a mobile communication terminal. Strictly speaking, is the configuration software that runs above. Generally speaking, the configuration information is composed of letters and numbers. After the input is completed or obtained, the letters or numbers constituting the information will be converted into electrical signals in accordance with the set rules in accordance with the sequence of acquisition or input. In this embodiment, the above electric signal is a pulse signal, that is, a sequence consisting of high level and low level. The setting rules include converting the letters or numbers in the initialization information into pulse signals according to Morse code or BCD code; the high and low levels of the pulse signal represent the dot, dash or BCD code of Morse code respectively Level 1 and Level 0 in. After code conversion, it is stored in the memory or internal memory of the above-mentioned mobile communication terminal. At this time, one or several pulse sequences are stored.
步骤S13 使显示屏按照设定的方式依据所述编码后的信息变化:在本步骤中,移动通讯终端取出上述存储的编码数据,以其为依据改变配置单元(即移动通讯终端)的显示屏组件的设定显示参数,使所该显示屏的设定显示参数按照编码数据变化;在本实施例中,该显示屏按照设定显示参数变化包括:显示屏的亮起或暗下(在本实施例中,所述的亮起或暗下是指与显示屏通常的亮度而言,基本上来讲可以认为较通常亮度更亮为亮起,而较通常亮度较暗为暗下;从方便识别的角度而言,在一些情况下,亮起为显示屏的显示单元全亮,而暗下为显示屏的显示单元全黑,也可以称为显示屏点亮或熄灭)、显示屏输出光强度的梯度变化、显示屏显示的颜色变化或显示屏显示设定的不同图案;为简便起见,以显示屏背光的点亮或熄灭为例,在本实施例中进行说明,同时,在本实施例中,显示屏参数的改变可以通过直接控制该显示屏的驱动信号(即将该编码数据直接作为驱动信号)实现,也可以通过调用该移动通讯终端事先设定的功能模块(通常是预装的软件)来使该显示屏执行设定操作;当然,即使是在后一种情况下,最终还是通过改变该显示屏的驱动信号实现的,但是,由于调用预装的软件,使得实现较为容易。至于如何具体实现本步骤,稍后详述。在本实施例中,上述设定显示参数如是使用显示屏的点亮或熄灭是指使用显示屏的全灭或全亮来表示信息,例如表示脉冲的高电平或脉冲的低电平,以便于将上述步骤中得到的编码数据传输出去;而显示屏输出光强度的梯度变化是指使用特定的、显示屏发出的光强度表示脉冲的高电平或低电平,以便于传输信息;当然,这些光强度是事先规定的;同样,显示屏的颜色和显示屏上特定图案也是如此,分别以指定的显示屏的颜色和显示在显示屏上的特殊图案来表示编码数据中的脉冲信号的高低,以便于将上述编码数据发送出去,且能够被网络终端接收、识别。在本实施例中,不管采用上述的哪种设定显示参数表示信息的方式,每种状态(例如,显示屏的全亮、显示屏的全灭、设定强度的光、设定的颜色以及设定的图案)的持续时间是确定的,每种状态均会出现多次,以便于将编码数据的内容完整地表示出来。在本实施例中,这些状态的持续时间以网络终端能够识别且不会使得配置时间超过合理的范围为准。 Step S13 Make the display screen change according to the coded information according to the set method: In this step, the mobile communication terminal takes out the above-mentioned stored coded data, and changes the display screen of the configuration unit (ie, the mobile communication terminal) based on it The set display parameters of the components make the set display parameters of the display screen change according to the coded data; in this embodiment, the display screen changes according to the set display parameters: In the example, the above-mentioned on or off refers to the normal brightness of the display screen, basically it can be regarded as brighter than the normal brightness to be bright, and darker than the normal brightness to be dark; from the perspective of convenient identification In other words, in some cases, the display unit of the display screen is all bright when it is on, and the display unit of the display screen is completely black when it is dark, which can also be called the display screen is on or off), the gradient change of the output light intensity of the display screen, The color change displayed on the display screen or the different patterns displayed on the display screen; The change of parameters can be realized by directly controlling the driving signal of the display screen (that is, the coded data is directly used as the driving signal), or by calling the function module (usually pre-installed software) set in advance of the mobile communication terminal to make the The display screen executes the setting operation; of course, even in the latter case, it is finally realized by changing the driving signal of the display screen, but the implementation is relatively easy due to calling the pre-installed software. How to implement this step will be described in detail later. In this embodiment, if the above-mentioned setting display parameters use the lighting or extinguishing of the display screen, it means that the display screen is completely off or fully bright to represent information, such as indicating the high level of the pulse or the low level of the pulse, so that It is used to transmit the coded data obtained in the above steps; and the gradient change of the output light intensity of the display screen refers to the use of a specific light intensity emitted by the display screen to indicate the high level or low level of the pulse, so as to transmit information; of course , these light intensities are pre-specified; similarly, the color of the display screen and the specific pattern on the display screen are the same, and the color of the display screen and the special pattern displayed on the display screen are used to represent the pulse signal in the encoded data respectively. High and low, so that the above coded data can be sent out, and can be received and recognized by the network terminal. In this embodiment, no matter which of the above-mentioned ways of setting display parameters to represent information is adopted, each state (for example, full brightness of the display screen, full extinction of the display screen, light of set intensity, set color and The duration of the set pattern) is determined, and each state will appear multiple times in order to fully express the content of the encoded data. In this embodiment, the duration of these states is subject to the fact that the network terminal can identify and will not make the configuration time exceed a reasonable range.
步骤S14 感知显示屏的变化,并转换为电信号输出:在本实施例中,上述步骤均是在配置单元上实现的,在步骤S13中,配置单元的显示屏的参数开始按照编码数据变化,于是显示屏发出的光线开始变化,在本实施例的例子中,该显示屏出现交替的全黑或全亮的过程。从本步骤开始,在网络终端上实现。在本步骤中,网络终端上的感光组件感知所述显示屏变化,取得编码数据,并将其传输到所述网络终端的中央处理器。至于具体的实现方法,稍后说明。 Step S14 Sensing the change of the display screen and converting it into an electrical signal output: In this embodiment, the above steps are all implemented on the configuration unit. In step S13, the parameters of the display screen of the configuration unit start to change according to the coded data, Then the light emitted by the display screen starts to change. In the example of this embodiment, the display screen appears alternately completely black or fully bright. From this step, implement on the network terminal. In this step, the photosensitive component on the network terminal senses the change of the display screen, obtains the coded data, and transmits it to the central processing unit of the network terminal. As for the specific implementation method, it will be described later.
步骤S15 按照规定方式解码,得到初始化信息,初始化网络终端:在本步骤中,网络终端的中央处理器对接收到的编码数据进行解码、存储并执行设定的操作使该网络终端初始化;所述中央处理器将接收到的电信号按照事先确定的规则依次转换为字母或数字,并将所述初始化信息中的不同项分别存储。 Step S15 Decode according to the prescribed method, obtain initialization information, and initialize the network terminal: in this step, the central processor of the network terminal decodes the received encoded data, stores and executes the set operation to initialize the network terminal; The central processing unit sequentially converts the received electrical signals into letters or numbers according to predetermined rules, and stores different items in the initialization information respectively.
在本实施例中,如图2所示,上述步骤S13进一步包括: In this embodiment, as shown in FIG. 2, the above step S13 further includes:
步骤S21在编码数据头部加入开始数据:在本步骤中,为了通知上述网络终端开始配置,取得上述编码数据,并在编码数据的前面加入开始数据,这些开始数据是事先设置好的、容易辨认的特定脉冲。该开始数据对应到显示屏的参数变化上面,可以是设定时间的某个状态,例如,3秒钟的显示屏全亮;也可以是设定时间的某个颜色,例如,显示屏显示2秒钟的红色等等。总之,该信号的是事先设定好的,其目的在于通知网络终端,进入配置状态,准备接受配置数据。 Step S21 Adding start data to the header of the encoded data: In this step, in order to notify the above-mentioned network terminal to start configuration, obtain the above-mentioned encoded data, and add the start data in front of the encoded data, these start data are set in advance and are easy to identify specific pulse. The start data corresponds to the parameter change of the display screen, which can be a certain state of the set time, for example, the display screen is fully bright for 3 seconds; it can also be a certain color of the set time, for example, the display screen shows 2 Seconds of red and more. In short, the signal is set in advance, and its purpose is to notify the network terminal to enter the configuration state and prepare to receive configuration data.
步骤S22依次输出上述数据:在本步骤中,将上述加入开始数据后的编码数据依次输出。当然,开始时输出的一定是开始数据。 Step S22 Output the above data in sequence: In this step, output the coded data after adding the start data in sequence. Of course, the output at the beginning must be the start data.
在本实施例中,如图3所示,上述步骤S14进一步包括: In this embodiment, as shown in FIG. 3, the above step S14 further includes:
步骤S31是否接收到开始数据:在本步骤中,网络终端的感光组件感应到移动通讯终端显示屏发出的、变化的光信号,同时,判断该感光组件感应到的光信号是否开始数据,这是通过对比事先存储的数据实现的,如果感应到的是开始数据,则执行步骤S33;否则,执行步骤S32。 Whether step S31 receives the start data: In this step, the photosensitive component of the network terminal senses the changing light signal sent by the display screen of the mobile communication terminal, and at the same time, judges whether the light signal sensed by the photosensitive component starts data, which is It is realized by comparing the data stored in advance, if the sensed start data, then execute step S33; otherwise, execute step S32.
步骤S32执行当前操作:在本步骤中,由于判断感应到的不是开始数据,所以不用进入配置状态,网络终端执行当前的操作即可。对于本实施例中的网络摄像机而言,上述当前操作就是正常地取得其监视范围内的图像。 Step S32 Executing the current operation: In this step, since it is judged that the sensed data is not start data, the network terminal does not need to enter the configuration state, and the network terminal only needs to execute the current operation. For the network camera in this embodiment, the above-mentioned current operation is to obtain images within its monitoring range normally.
步骤S33判断三基色信号任一分量是否大于最大阈值或小于最小阈值:在本步骤中,由于接收到开始信号,网络终端知道需要进入配置状态,即通过感应到的光的强弱或颜色来取得配置信息。但是,究竟是通过光的强弱还是通过光的颜色来传输的信息,网络终端并不知道,因此,需要进行进一步的判断,来确定后面进行光电转换时究竟是按照光的强弱还是光的颜色来进行转换。一般来讲,在当前的网络摄像机中,其感光组件通常将感应到的光线按照三颜色分配,即分为R/G/B三个分量,在本实施例中,通过对上述三个分量的强度判断,即可得知传输信息的方式。为此,在本步骤走中,判断上述三个基色分量是否有一个大于事先设定的最大阈值或小于事先设定的最小阈值,如是,执行步骤S34;否则,判断为并未进入配置阶段,返回步骤S32。 Step S33 judges whether any component of the three primary color signals is greater than the maximum threshold or less than the minimum threshold: in this step, because the start signal is received, the network terminal knows that it needs to enter the configuration state, that is, obtain the configuration information. However, the network terminal does not know whether the information is transmitted through the intensity of the light or the color of the light. Therefore, further judgment is required to determine whether the subsequent photoelectric conversion is based on the intensity of the light or the color of the light. color to convert. Generally speaking, in the current network camera, its photosensitive component usually distributes the sensed light according to three colors, that is, it is divided into three components of R/G/B. In this embodiment, through the above three components Judging the intensity, you can know the way of transmitting information. For this reason, in this step, it is judged whether one of the above-mentioned three primary color components is greater than the maximum threshold value set in advance or smaller than the minimum threshold value set in advance, if so, execute step S34; otherwise, it is judged that it has not entered the configuration stage, Return to step S32.
步骤S34是否三个基色分量均大于最大阈值或小于最小阈值:在本步骤中,判断上述三个基色分量是否均大于上述最大阈值或小于最小阈值,如是,执行步骤S36;否则,执行步骤S35。 Step S34 Whether the three primary color components are greater than the maximum threshold or less than the minimum threshold: In this step, judge whether the above-mentioned three primary color components are all greater than the maximum threshold or less than the minimum threshold, if so, perform step S36; otherwise, perform step S35.
步骤S35判断为通过显示屏颜色传输信息:在本步骤中,由于只有一种基色分量大于上述最大阈值或小于最小阈值,判断为采用显示屏的颜色传输配置信息。执行本步骤后,执行步骤S17。 Step S35 judges that the information is transmitted through the color of the display screen: in this step, since only one primary color component is greater than the above-mentioned maximum threshold or less than the minimum threshold, it is determined that the color of the display screen is used to transmit configuration information. After this step is executed, step S17 is executed.
步骤S36判断为通过显示屏的亮度传输信息:在本步骤中,由于三种基色分量均大于上述最大阈值或小于最小阈值,判断为采用显示屏的亮度传输配置信息。执行本步骤后,执行步骤S17。 Step S36 judges that the information is transmitted through the brightness of the display screen: in this step, since the three primary color components are greater than the maximum threshold or smaller than the minimum threshold, it is determined that the configuration information is transmitted using the brightness of the display screen. After this step is executed, step S17 is executed.
步骤S37取得相应设置,并依据其将光信号转换为电信号:在本步骤中,取得光电转换的相关设置,并将感应到的光(移动通讯终端显示屏发出的),转换为电信号,输出到该网络终端(即网络摄像机)的中央处理器进行解码。 Step S37 obtains the corresponding setting, and converts the optical signal into an electrical signal according to it: in this step, obtains the relevant setting of the photoelectric conversion, and converts the sensed light (from the display screen of the mobile communication terminal) into an electrical signal, The output is sent to the central processing unit of the network terminal (that is, the network camera) for decoding.
在图3中,示出的是一种可以适应两种信息表示方式的方法,一种是通过显示屏的颜色,另一种是通过显示屏的亮度。从一个方面来讲,这种信息的表示方式还可以是通过在显示屏上显示特别的图案,这些图案可以是事先设定的,也可以是通过编码数据生成的;从另一个方面来讲,在实际使用中,也可以只采用一种信息表达方式,例如,规定只采用显示屏的亮度来表示信息,此时,虽然在该方法的适应性做出了一定的让步,但是,其操作步骤将更为简单,例如,此时图3中的步骤至少可以省略掉S33和S35。在本实施例中,还可以根据应用的实际情况,将上述涉及的技术特征进行组合、增减以得到更为适合于使用环境的技术方案。 In Fig. 3, shown is a method that can accommodate two ways of representing information, one through the color of the display screen and the other through the brightness of the display screen. From one aspect, the representation of this information can also be by displaying special patterns on the display screen, and these patterns can be set in advance or generated through coded data; from another aspect, In actual use, it is also possible to use only one information expression method. For example, it is stipulated that only the brightness of the display screen is used to express information. At this time, although a certain concession has been made in the adaptability of the method, the operation steps It will be simpler. For example, at this time, the steps in FIG. 3 can at least omit S33 and S35. In this embodiment, according to the actual situation of the application, the technical features mentioned above can be combined, added or subtracted to obtain a technical solution more suitable for the use environment.
值得一提的是,在本实施例中,上述方法涉及网络终端和配置单元,所以,需要在上述网络终端和配置单元上分别设置相应的软件或功能模块方能实现,也就是说,对于实现本方法的功能模块而言,其物理载体可能具有多个。 It is worth mentioning that, in this embodiment, the above-mentioned method involves a network terminal and a configuration unit, so it can be realized by setting corresponding software or functional modules on the above-mentioned network terminal and configuration unit respectively, that is to say, for realizing For the functional modules of this method, there may be multiple physical carriers.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310040464.0A CN103136929B (en) | 2013-02-02 | 2013-02-02 | Method enabling network terminal with photosensitive components to initialize |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310040464.0A CN103136929B (en) | 2013-02-02 | 2013-02-02 | Method enabling network terminal with photosensitive components to initialize |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103136929A CN103136929A (en) | 2013-06-05 |
CN103136929B true CN103136929B (en) | 2014-12-17 |
Family
ID=48496705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310040464.0A Expired - Fee Related CN103136929B (en) | 2013-02-02 | 2013-02-02 | Method enabling network terminal with photosensitive components to initialize |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103136929B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103760797A (en) * | 2014-01-02 | 2014-04-30 | 常熟市天银机电股份有限公司 | Method for confirming software version identification of electronic controller without displayer |
US12108091B2 (en) | 2016-05-16 | 2024-10-01 | Zte Corporation | Media data processing method, apparatus and system |
CN107395950B (en) | 2016-05-16 | 2021-11-09 | 西安电子科技大学 | Media data processing method, device and system |
CN106484341A (en) * | 2016-09-12 | 2017-03-08 | 北京三快在线科技有限公司 | Equipment configuration method and device |
CN106502599A (en) * | 2016-09-12 | 2017-03-15 | 北京三快在线科技有限公司 | The collocation method of printer, device and printer |
CN106484342B (en) * | 2016-09-13 | 2022-01-07 | 北京三快在线科技有限公司 | Equipment configuration method and device, printer and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404763A (en) * | 2007-12-17 | 2009-04-08 | 纪全胜 | Multifunctional network digital display equipment with novel structure and its operation method |
CN101835126A (en) * | 2010-04-19 | 2010-09-15 | 中兴通讯股份有限公司 | Method for displaying state information and wireless data transmission terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4077869B2 (en) * | 2006-05-29 | 2008-04-23 | 松下電器産業株式会社 | Light source estimation device, light source estimation system, light source estimation method, image resolution increasing device, and image resolution increasing method |
-
2013
- 2013-02-02 CN CN201310040464.0A patent/CN103136929B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404763A (en) * | 2007-12-17 | 2009-04-08 | 纪全胜 | Multifunctional network digital display equipment with novel structure and its operation method |
CN101835126A (en) * | 2010-04-19 | 2010-09-15 | 中兴通讯股份有限公司 | Method for displaying state information and wireless data transmission terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103136929A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103136929B (en) | Method enabling network terminal with photosensitive components to initialize | |
CN105723630A (en) | Artificial light source based messaging platform | |
CN104582167A (en) | Lighting equipment, intelligent terminal, lighting equipment networking system and method | |
CN106502154B (en) | Electric control method, device and terminal for electrical control system | |
KR20110099476A (en) | Visible light communication device and method | |
US20210091852A1 (en) | Enhanced led signaling status for network device onboarding | |
US20180308352A1 (en) | Traffic light and traffic light color identification system, and methods thereof | |
JP4566839B2 (en) | Visible light communication device, visible light communication system, and apparent illuminance changing method | |
US20180227052A1 (en) | Apparatus and method for registering visible light communication device and combining visible light communication signal and wireless communication signal | |
US20210384979A1 (en) | Information communication using equipment indicator lights | |
CN103746740A (en) | Method and system for electronic equipment interaction | |
CN106163001A (en) | A kind of Intelligent LED lighting control system based on Android, IOS Yu ZigBee | |
KR20120006254A (en) | System and method for emotional message delivery using mobile terminal and lighting device | |
CN108432158A (en) | Issue method, the method and device of access device of configuration information | |
CN110365410B (en) | Data transmission method, device and system based on visible light communication | |
CN107005917B (en) | A method, device and terminal for establishing communication, and a router | |
CN107819609A (en) | A kind of router status information display methods and system, a kind of router | |
CN106209229B (en) | Light-based data transmission device and method | |
CN214704264U (en) | Remote color correction processing equipment and color correction system of external flash | |
KR101104292B1 (en) | Emotional Message Delivery System Using Mobile Terminal and Lighting Module | |
CN108184287B (en) | The Intelligent light system and control method and console of a kind of console | |
KR20150035575A (en) | Control of illumination having multiple light sources | |
US10461856B2 (en) | Wireless transmission of server status information | |
CN107172150A (en) | A kind of display control apparatus, server and information control method | |
EP3435559B1 (en) | Wireless electronic device, operating environment and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141217 |