CN106534369B - Communication means and device - Google Patents
Communication means and device Download PDFInfo
- Publication number
- CN106534369B CN106534369B CN201611179277.0A CN201611179277A CN106534369B CN 106534369 B CN106534369 B CN 106534369B CN 201611179277 A CN201611179277 A CN 201611179277A CN 106534369 B CN106534369 B CN 106534369B
- Authority
- CN
- China
- Prior art keywords
- optical signal
- ipc
- adjacent
- normal
- neighbouring
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/1143—Bidirectional transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
Abstract
The application provides a kind of communication means and device, which comprises obtains at least one adjacent to the information of normal IPC according to the first optical signal of at least one set received;According to it is described at least one adjacent to normal IPC information and one of them adjacent to normal IPC establish communicate to connect;By the communication connection, the second optical signal for indicating operation control message is received, the operation control message carries operational order;According to second optical signal, the operational order is executed;And by the communication connection, collected video image is converted into third optical signal, by the third optical signal transmission to it is described one of them adjacent to normal IPC.It using this method, may be implemented in the case where network connection or network failure and IPC faults itself can not be established, still operation control can be carried out to IPC;Collected video image can be still transmitted on network by simultaneous faults IPC.
Description
Technical field
This application involves field of communication technology more particularly to a kind of communication means and device.
Background technique
With the development of society, video monitoring system has been more and more widely used.In video monitoring system, IPC
(IP Camera, web camera) can be converted to collected video image based on TCP/IP (Transmission
Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol) network standard data
Packet, is transferred directly to video image on network, to realize remote monitoring.
The Web control interface or video monitoring system that IPC is logged in by cable network or wireless network main at present
Control platform, the IPC in video monitoring system is operated, for example, cradle head control, the operation such as restarting.
However, when network abnormal or Web control interface (or control platform) occurs and occurs abnormal, will be unable to pair
IPC in video monitoring system carries out operation control;Meanwhile if the IPC itself in video monitoring system breaks down, failure
IPC will be unable to access network, and collected video image can not be transmitted on network.
Summary of the invention
In view of this, the application provides a kind of communication means and device, network connection or network can not established to realize
In the case where failure and IPC faults itself, still operation control can be carried out to IPC;Simultaneous faults IPC can will still be acquired
To video image be transmitted on network.
Specifically, the application is achieved by the following technical solution:
According to the embodiment of the present application in a first aspect, providing a kind of communication means, which comprises
At least one is obtained adjacent to the information of normal IPC according to the first optical signal of at least one set received;
According to it is described at least one adjacent to normal IPC information and one of them adjacent to normal IPC establish communicate to connect;
By the communication connection, the second optical signal for indicating operation control message, the operation control are received
Message carries operational order;
According to second optical signal, the operational order is executed;And by the communication connection, by collected video
Image is converted to third optical signal, by the third optical signal transmission to it is described one of them adjacent to normal IPC.
Optionally, the first optical signal of at least one set that the basis receives obtains at least one adjacent to the letter of normal IPC
Breath includes:
Receive at least one set of first optical signal;
Parse at least one set of first optical signal, wherein if light is not detected in predetermined period, it is determined that described
Corresponding first preset value of the optical signal received in predetermined period;If detecting light in predetermined period, it is determined that described pre-
If corresponding second preset value of the optical signal received in the period;
At least one data message obtained according at least one set of first optical signal is parsed, obtain it is described at least one
The IP address and MAC Address of neighbouring normal IPC.
Optionally, the method also includes:
By it is described at least one be recorded in preset white list adjacent to the IP address and MAC Address of normal IPC;
It is described according at least one adjacent to the information of normal IPC and one of them adjacent to normal IPC establish connection packet
It includes:
One of them the 4th optical signal sent adjacent to normal IPC is received, the 4th optical signal is for indicating data
Send request, carry in the data sending request it is described one of them adjacent to normal IPC IP address and MAC Address;
According to it is described one of them adjacent to the IP address and MAC Address of normal IPC search the white list;
If found in the white list it is described one of them adjacent to normal IPC IP address and MAC Address, to institute
It states one of them and sends the 5th optical signal adjacent to normal IPC, connection has been established for indicating in the 5th optical signal.
According to the second aspect of the embodiment of the present application, a kind of communication means is provided, which comprises
Obtain the information of neighbouring failure IPC;
It establishes and communicates to connect according to the information of the neighbouring failure IPC and the neighbouring failure IPC;
By the communication connection, it will be used to indicate the second optical signal transmission of operation control message to the neighbouring failure
IPC, the operation control message carry operational order;And by the communication connection, receive what the neighbouring failure IPC was sent
For indicating that the third optical signal of video image, the video image are the collected video image of the neighbouring failure IPC.
Optionally, the method also includes:
Parsing is described for indicating the third optical signal of video image, obtains video image data;
Video image is constructed according to the video image data and the IP address and MAC Address of the neighbouring failure IPC
Data message;
The video image data message is sent to control platform.
According to the third aspect of the embodiment of the present application, a kind of communication device is provided, described device includes:
First obtains module, neighbouring normal for obtaining at least one according to the first optical signal of at least one set received
The information of IPC;
First connection establishment module, at least one to be neighbouring with one of them adjacent to the information of normal IPC according to described
Normal IPC establishes communication connection;
Receiving module, for by the communication connection, receiving the second optical signal for indicating operation control message,
The operation control message carries operational order;
Instruction execution module, for executing the operational order according to second optical signal;
Video sending module, for by the communication connection, collected video image to be converted to third optical signal,
By the third optical signal transmission to it is described one of them adjacent to normal IPC.
Optionally, the first acquisition module includes:
First receiving submodule, for receiving at least one set of first optical signal;
Analyzing sub-module, for parsing at least one set of first optical signal, wherein if being not detected in predetermined period
Light, it is determined that corresponding first preset value of the optical signal received in the predetermined period;If detecting light in predetermined period,
Then determine corresponding second preset value of the optical signal received in the predetermined period;
Acquisition submodule, at least one data message for being obtained according at least one set of first optical signal is parsed,
Obtain it is described at least one adjacent to normal IPC IP address and MAC Address.
Optionally, described device further include:
Logging modle, for by it is described at least one adjacent to normal IPC IP address and MAC Address be recorded in it is preset white
In list;
First connection establishment module includes:
Second receiving submodule, for receiving one of them the 4th optical signal sent adjacent to normal IPC, the described 4th
Optical signal for indicating data sending request, carried in the data sending request it is described one of them adjacent to normal IPC IP
Address and MAC Address;
Search submodule, for according to it is described one of them adjacent to normal IPC IP address and MAC Address search it is described white
List;
Sending submodule, if for found in the white list it is described one of them adjacent to normal IPC IP address
And MAC Address, then to it is described one of them adjacent to normal IPC send the 5th optical signal, the 5th optical signal for indicate
Establish connection.
According to the fourth aspect of the embodiment of the present application, a kind of communication device is provided, described device includes:
Second obtains module, for obtaining the information of neighbouring failure IPC;
Second connection establishment module is established logical for the information and the neighbouring failure IPC according to the neighbouring failure IPC
Letter connection;
Instruction sending module, for will be used to indicate the second optical signal of operation control message by the communication connection
It is transmitted to the neighbouring failure IPC, the operation control message carries operational order;
Video reception module, for by the communication connection, receive the neighbouring failure IPC transmission to be used for expression view
The third optical signal of frequency image, the video image are the collected video image of the neighbouring failure IPC.
Optionally, described device further include:
Video parsing module, it is described for indicating the third optical signal of video image for parsing, obtain video image number
According to;
Video constructing module, for the IP address and MAC according to the video image data and the neighbouring failure IPC
Address architecture video image data message;
Video sending module, for the video image data message to be sent to control platform.
As seen from the above-described embodiment, it is communicated to connect, and is controlled adjacent to just by being established based on optical signal with neighbouring normal IPC
Normal IPC is based on optical signal and sends operation control message to failure IPC, to realize the remote repairing to failure IPC;Meanwhile failure
IPC is based on optical signal and collected video image is sent to neighbouring normal IPC, to realize the collected video of failure IPC
Image uploads in network in time, realizes long-range monitoring;Meanwhile in the case where network connection or network failure can not be established,
It is realized and is communicated based on optical signal.
Detailed description of the invention
Figure 1A is one embodiment flow chart of the application communication means;
Figure 1B is the application scenarios schematic diagram that the embodiment of the present application realizes communication means;
Fig. 1 C is the exemplary diagram of message format;
Fig. 1 D is the state diagram of IPC12 itself LED light;
Fig. 2 is another embodiment flow chart of the application communication means;
Fig. 3 is one embodiment block diagram of the application communication device;
Fig. 4 is another embodiment block diagram of the application communication device.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
A referring to Figure 1, is one embodiment flow chart of the application communication means, and Figure 1B is the embodiment of the present application realization
One application scenarios schematic diagram of communication means, method shown in Figure 1A can be applied to the IPC in video monitoring system, such as scheme
On IPC12 shown in 1B, this method be may comprise steps of:
Step S101: at least one is obtained adjacent to the information of normal IPC according to the first optical signal of at least one set received.
It as shown in Figure 1B, include IPC11, IPC12, IPC13 in video monitoring system, wherein IPC11 and IPC13 are
The adjacent I PC of IPC12, and assume that IPC11 and IPC13 is normal, for convenience, IPC11 and IPC13 can be referred to as
The neighbouring normal IPC of IPC12.
In this application, IPC11 and IPC13 can send optical signal according to predetermined period, wherein transmitted light letter
The IP address and MAC Address that IPC itself can be carried in number, since IPC11 and IPC13 is the adjacent I PC of IPC12, then,
IPC12 can receive IPC11 and IPC13 respectively transmitted optical signal, i.e. IPC12 can receive at least one set of light letter
Number.
Specifically, by taking IPC11 sends optical signal according to predetermined period as an example:
IPC11 can construct a data message, and the format of the data message can be as shown in Figure 1 C, exemplified by Fig. 1 C
Message format in,
Origin identification is used to identify the initial position of the data message;
It may include ID mark obtained after the authentication is passed in authentication mark, specifically how to authenticate and obtains ID and mark
Know, may refer to subsequent descriptions, is not described in detail first herein;
Marker is used for identification message type, such as type of message is video data;
Message number is segmented carrying in several data messages for identifying complete data;
Number is for identifying the data message is which message in the data message for have like-identified position;
Data length is used to identify the length of data portion in the data message;
Data portion then may include effective data, such as operational order, in another example video data, etc.;
End of identification terminates for identifying the data message.
In the data message of IPC11 construction, data portion may include the information of IPC11, such as may include IPC11
IP address and MAC Address.
Assuming that the IP address of IPC11 is 127.27.127.126, MAC Address 44-45-53-54-EF-00, then IPC11
16 system conversions can be carried out to the IP address of itself, the IP address after converting is 7F.1B.7F.7E.Later, optional at one
Implementation in, IPC11 can splice the IP address after conversion with MAC Address, for example, splicing after data be
7F.1B.7F.7E.44.45.53.54.EF.00.In another optional implementation, in order to ensure information security, IPC11
Can according to default rule, to after conversion IP address and MAC Address carry out mixing splicing, for example, headed by default rule
A byte in MAC Address is first taken, then takes a byte in the IP address after conversion, repeatedly, when with having obtained IP
After all bytes in location, the byte that do not splice in MAC Address is spliced in order, for example, mixing spliced data
For 44.7F.45.1B.53.7F.54.7E.EF.00.IPC11 can carry the data after splicing in the datagram constructed
Data portion in text.
It should be noted that if splicing after data length be more than data message in carry-on data portion most
Data after splicing can be then segmented by long length, respectively carry every segment data in several data messages.
Subsequent, IPC11 can carry out binary coding, the datagram after binary coding to the data message that it is constructed
It include " 0 ", " 1 " two values in text.Later, the data message after binary coding can be converted to optical signal by IPC11, in order to
Description is convenient, the optical signal that the data message after binary coding is converted into can be known as the first optical signal.Later, IPC11
First optical signal can be sent.
Specifically, IPC11 can send first optical signal by controlling flickering for itself LED, for example, if binary system
The value of character is 0 in data message after coding, then the LED light that IPC11 can control itself is kept in default sending cycle
OFF state, if the value of character is that 1, IPC11 can control the LED light of itself pre- in data message after binary coding
If keeping lightened state in sending cycle.
As an example it is assumed that the data message after binary coding is " 010111 ", then IPC11 is sending binary system volume
During data message after code, the state of its own LED light can be as shown in figure iD.
Due to the adjacent I PC that IPC11 is IPC12, then IPC12 can receive the first optical signal transmitted by IPC11.Tool
Body, if light is not detected in IPC12 in predetermined period, it may be considered that the first optical signal received in the predetermined period
For the first preset value, such as " 0 ";If detecting light in predetermined period, it may be considered that the light received in the predetermined period
Signal is the second preset value, for example, " 1 ".For the state diagram of IPC12 itself LED light exemplified by Fig. 1 D, IPC11 parsing
The first received optical signal, accessed data message are " 010111 ".
Subsequent, IPC12 can be determined in accessed data message according to the format of data message exemplified by Fig. 1 C
Data portion, which is decoded, it can get the IP address and MAC Address of IPC11.
In addition, in this application, IPC12 is getting neighbouring normal IPC, for example, IPC11 IP address and MAC Address it
Afterwards, the IP address of IPC11 and MAC Address can be recorded in preset white list by IPC12, for example, illustrating such as the following table 1
A kind of white list.
Table 1
IP address | MAC Address |
127.27.127.126 | 44-45-53-54-EF-00 |
… | … |
In this application, IPC12 can the white list according to shown in table 1, it is authenticated adjacent to normal IPC, specifically
IPC12 be how the white list according to shown in table 1, it is authenticated adjacent to normal IPC, may refer to it is described below,
This is not described in detail first.
In addition, the corresponding relationship of itself and neighbouring normal IPC can also be reported to control platform by IPC12, control platform is then
It can recorde the adjacent I PC of every IPC, for example, such as the following table 2, the adjacent I PC relation schematic diagram recorded by control platform:
Table 2
Shown in table 2 as above, the adjacent I PC of IPC12 includes IPC11, and similarly, the adjacent I PC of IPC11 includes IPC12.When
When IPC breaks down, the neighbouring normal IPC of failure IPC can be determined by table 2, to pass through neighbouring normal IPC to the failure
IPC is remotely operated, and specifically how to be realized, may refer to subsequent descriptions, is not described in detail first herein.
In addition, in this application, each IPC in video monitoring system can send the first light at interval of preset time period
Signal, so that the white list timing on IPC updates, meanwhile, the adjacent I PC relationship recorded in control platform can also timing
It updates.
Step S102: according at least one adjacent to the information of normal IPC and one of them adjacent to normal IPC establish communication link
It connects.
Assuming that IPC12 breaks down, IPC11 is normal, then control platform can not normally connect IPC12, but control platform can
Normally to connect IPC11, in that case, it can to establish communication connection between IPC12 and IPC11, be passed through with realizing
IPC11 remotely operates IPC12.
Specifically, user can know that the neighbouring normal IPC of IPC12 is by the above-mentioned table 2 recorded in control platform
IPC11, thus, user can connect IPC11, and send neighbouring failure IPC, such as IPC12 to IPC11 by control platform
Information.So, the available information to neighbouring failure IPC of IPC11.
Subsequent, IPC11 can construct data sending request according to message structure exemplified by Fig. 1 C, and send in the data
The IP address and MAC Address of IPC11 itself are carried in " data portion " field of request.Later, IPC11 asks data transmission
Carry out binary coding is sought, and the data sending request after binary coding is converted into optical signal, for convenience, this Shen
Please in the optical signal that the data sending request after binary coding is converted into is known as the 4th optical signal, by the 4th optical signal
It is sent to IPC12, specifically how the 4th optical signal is sent to IPC12, may refer to above-mentioned described by first
Optical signal is sent to the process of IPC12, and this will not be detailed here.
IPC12 receives the 4th optical signal, parses the 4th optical signal, data sending request is obtained, then according to figure
Message format exemplified by 1C determines " data portion " field in data sending request, so that neighbouring normal IPC is obtained, such as
The IP address and MAC Address of IPC11.It is subsequent, according to the IP address of the IPC11 and MAC Address search above-mentioned table 1 exemplified by it is white
List, if finding the IP address and MAC Address of IPC11 in the white list, IPC12 be can consider to the data sending request
The authentication is passed for message.Subsequent, IPC12 can be configured to the data message for indicating that connection has been established, and this is used to indicate
The data message for establishing connection carries out binary coding, by the data message for being used to indicate that connection has been established after binary coding
It is converted into optical signal, for convenience, is turned the data message for being used to indicate to have connected after binary coding in the application
The optical signal changed into is known as the 5th optical signal, and the 5th optical signal is sent to IPC11.Specifically how by the 5th optical signal
It is sent to IPC11, may refer to the above-mentioned described process that first optical signal is sent to IPC12, this will not be detailed here.
In addition, in this application, in order to ensure information security, IPC11, can be by data when constructing data sending request
IP address and MAC Address entrained in request is sent to be encrypted.
In an optional implementation, IPC11 can pass through the code key using the login password of IPC12 as code key
IP address and MAC Address are encrypted.Subsequent, IPC12 can also be by the code key, to the data in " data portion " field
It is decrypted, to obtain IP address and MAC Address.
In addition, in this application, IPC12, which can also carry the mark of itself, above-mentioned to be used to indicate that connection to have been established
In data message, the mark of itself can specifically be carried to " the authentication in the data message for being used to indicate that connection has been established
In mark " field.Subsequent IPC11 can send operational order to IPC12 based on the mark, specifically how to realize, can join
Description is seen below, is not described in detail first herein.
Step S103: by communication connection, the second optical signal for indicating operation control message, the operation control are received
Message processed carries operational order.
Step S104: according to the second optical signal, operational order is executed, and by communication connection, by collected video figure
As being converted to third optical signal, by third optical signal transmission to one of them adjacent to normal IPC.
It is established after communication connection between IPC11 and IPC12, IPC11 can then be sent out by the communication connection to IPC12
The optical signal for indicating operation control message is sent, operational order can be carried in operation control message.For convenience,
The optical signal for being used to indicate operation control message is known as the second optical signal in the application.
Specifically, IPC11 can control message according to message constructor exemplified by Fig. 1 C, and by operational order, example
Such as " reboot instruction " carries in " data portion " field of operation control message, also, " authenticates in operation control message
The mark of IPC12 entrained in the data message of connection can has been established in the value of mark " field for above-mentioned expression.
It is handled by this kind, after IPC12 receives second optical signal, parses second optical signal, obtain operation control
Message is the mark of itself by the value that the operation controls in message " authentication identifies " field, then can not have to reflect again
Power operation can directly execute operational order entrained in operation control message.
In addition, IPC12 can send " data portion " word to IPC11 if subsequent IPC12 normally executes the operational order
The confirmation message of " ok " is carried in section;If subsequent IPC12 can not normally execute the operational order, IPC12 can be sent to IPC11
The confirmation message of " error " is carried in " data portion " field.It is same as above, IPC12 still can in the form of optical signal to
IPC11 sends confirmation message, and specifically such as the how form to IPC11 transmission confirmation message of optical signal, this will not be detailed here.
It is established after communication connection between IPC11 and IPC12, IPC12 then can be by the communication connection, will be collected
Video image is transmitted to IPC11 in the form of optical signal.
Specifically, IPC12 by partitioning video data corresponding to collected video image at multiple data segments, and according to
Message structure exemplified by Fig. 1 C constructs multiple transmission of video messages, each data segment is carried respectively in transmission of video message
" data portion " field in, in addition, " marker " field can be " video counts in the transmission of video message constructed
According to ".
Subsequent, multiple transmission of video messages can be carried out binary coding by IPC12 respectively, by the view after binary coding
Frequency transmitting message is converted to third optical signal, by the third optical signal transmission to IPC11.Specifically how by the third optical signal
It is sent to IPC11, may refer to the above-mentioned described process that first optical signal is sent to IPC12, this will not be detailed here.
It should be noted that receiving for indicating operation control message to above-mentioned described IPC12 in the application
Collected video image is sent to the sequencing of two processes of IPC11 by two optical signals and IPC12 in the form of optical signal
With no restrictions.
As seen from the above-described embodiment, it is communicated to connect, and is controlled adjacent to just by being established based on optical signal with neighbouring normal IPC
Normal IPC is based on optical signal and sends operation control message to failure IPC, to realize the remote repairing to failure IPC;Meanwhile failure
IPC is based on optical signal and collected video image is sent to neighbouring normal IPC, to realize the collected video of failure IPC
Image uploads in network in time, realizes long-range monitoring;Meanwhile in the case where network connection or network failure can not be established,
It is realized and is communicated based on optical signal.
Fig. 2 is referred to, is another embodiment flow chart of the application communication means, method shown in the Fig. 2 is in above-mentioned figure
On the basis of application scenarios shown in method and Figure 1B shown in 1A, by taking the IPC11 in Figure 1B executes this method as an example, may include
Following steps:
Step S201: the information of neighbouring failure IPC is obtained.
Step S202: it establishes and communicates to connect according to the information of neighbouring failure IPC and neighbouring failure IPC.
Step S203: by communication connection, it will be used to indicate the second optical signal transmission of operation control message to adjacent to event
Hinder IPC, the operation control message carries operational order;And by communication connection, receive neighbouring failure IPC transmission is used for table
Show that the third optical signal of video image, the video image are the neighbouring collected video image of failure IPC.
The detailed description of step S201 to step S203 may refer to the associated description in above-mentioned Figure 1A illustrated embodiment,
This is no longer described in detail.
In addition, can parse the third optical signal after IPC11 receives the third optical signal for indicating video image,
Transmission of video message is obtained, is " video data " according to " marker " field in the transmission of video message, can determine the view
Frequency transmitting message carries video image data, and video figure is then obtained in " data portion " field in the transmission of video message
As data.
Subsequent, IPC11 constructs video image number according to the video image data and the IP address and MAC Address of IPC12
According to message, the video image data message constructed is sent to control platform, is in time acquired failure IPC to realize
To video image be sent on network, realize long-range monitoring.
As seen from the above-described embodiment, it is communicated to connect, and is controlled adjacent to just by being established based on optical signal with neighbouring normal IPC
Normal IPC is based on optical signal and sends operation control message to failure IPC, to realize the remote repairing to failure IPC;Meanwhile failure
IPC is based on optical signal and collected video image is sent to neighbouring normal IPC, to realize the collected video of failure IPC
Image uploads in network in time, realizes long-range monitoring;Meanwhile in the case where network connection or network failure can not be established,
It is realized and is communicated based on optical signal.
Corresponding with the embodiment of aforementioned communication method, present invention also provides the embodiments of communication device.
Referring to FIG. 3, be one embodiment block diagram of the application communication device, the apparatus may include: first obtains mould
Block 31, the first connection establishment module 32, the first receiving module 33, instruction execution module 34, video sending module 35.
Wherein, the first acquisition module 31, can be used for being obtained at least according to the first optical signal of at least one set received
The information of one neighbouring normal IPC;
First connection establishment module 32, can be used for according to it is described at least one adjacent to normal IPC information with wherein
One neighbouring normal IPC establishes communication connection;
First receiving module 33 can be used for receiving by the communication connection for indicating operation control message
The second optical signal, operation control message carries operational order;
The instruction execution module 34 can be used for executing the operational order according to second optical signal;
The video sending module 35, can be used for through the communication connection, and collected video image is converted to
Three optical signals, by the third optical signal transmission to it is described one of them adjacent to normal IPC.
In one embodiment, which may include (not showing that in Fig. 3):
Receiving submodule can be used for receiving at least one set of first optical signal;
Analyzing sub-module can be used for parsing at least one set of first optical signal, wherein if not examining in predetermined period
Measure light, it is determined that corresponding first preset value of the optical signal received in the predetermined period;If being detected in predetermined period
To light, it is determined that corresponding second preset value of the optical signal received in the predetermined period;
Acquisition submodule can be used at least one datagram obtained according at least one set of first optical signal is parsed
Text, obtain it is described at least one adjacent to normal IPC IP address and MAC Address.
In one embodiment, which can also include (not showing that in Fig. 3):
Logging modle, for by it is described at least one adjacent to normal IPC IP address and MAC Address be recorded in it is preset white
In list;
First connection establishment module 32 may include (not showing that in Fig. 3):
Second receiving submodule can be used for receiving one of them the 4th optical signal sent adjacent to normal IPC, described
4th optical signal for indicating data sending request, carried in the data sending request it is described one of them adjacent to normal IPC
IP address and MAC Address;
Search submodule, can be used for according to it is described one of them adjacent to normal IPC IP address and MAC Address search institute
State white list;
Sending submodule, if can be used for finding in the white list it is described one of them adjacent to normal IPC IP
Address and MAC Address, then to it is described one of them adjacent to normal IPC send the 5th optical signal, the 5th optical signal be used for table
Show and connection has been established.
Referring to FIG. 4, be another embodiment block diagram of the application communication device, the apparatus may include: second obtains
Module 41, the second connection establishment module 42, instruction sending module 43, video reception module 44.
Wherein, the second acquisition module 41, can be used for obtaining the information of neighbouring failure IPC;
Second connection establishment module 42 can be used for information and the neighbouring failure according to the neighbouring failure IPC
IPC establishes communication connection;
The instruction sending module 43, can be used for through the communication connection, will be used to indicate the of operation control message
Two optical signal transmissions to the neighbouring failure IPC, the operation control message carries operational order;
The video reception module 43 can be used for receiving the use that the neighbouring failure IPC is sent by the communication connection
In the third optical signal for indicating video image, the video image is the collected video image of the neighbouring failure IPC.
In one embodiment, which can also include (not showing that in Fig. 4):
Video parsing module can be used for parsing described for indicating the third optical signal of video image, acquisition video figure
As data;
Video constructing module can be used for the IP address according to the video image data and the neighbouring failure IPC
Video image data message is constructed with MAC Address;
Video sending module can be used for the video image data message being sent to control platform.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (10)
1. a kind of communication means, which is characterized in that the described method includes:
At least one is obtained adjacent to the information of normal IPC according to the first optical signal of at least one set received;
According to it is described at least one adjacent to normal IPC information and one of them adjacent to normal IPC establish communicate to connect;
By the communication connection, the second optical signal for indicating operation control message is received, the operation controls message
Carry operational order;
According to second optical signal, the operational order is executed;And by the communication connection, by collected video image
Be converted to third optical signal, by the third optical signal transmission to it is described one of them adjacent to normal IPC;
The first optical signal of at least one set that the basis receives obtains at least one adjacent to the information of normal IPC and includes:
Receive at least one set of first optical signal;
Parse at least one set of first optical signal;
According at least one data message that parsing at least one set of first optical signal obtains, at least one is neighbouring described in acquisition
The information of normal IPC.
2. the method according to claim 1, wherein parsing at least one set of first optical signal includes:
If light is not detected in predetermined period, it is determined that the optical signal received in the predetermined period corresponding first is default
Value;If detecting light in predetermined period, it is determined that corresponding second preset value of the optical signal received in the predetermined period;
Described at least one data message obtained according at least one set of first optical signal is parsed, obtain it is described at least one
The information of neighbouring normal IPC includes:
According at least one data message that parsing at least one set of first optical signal obtains, at least one is neighbouring described in acquisition
The IP address and MAC Address of normal IPC.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
By it is described at least one be recorded in preset white list adjacent to the IP address and MAC Address of normal IPC;
It is described according at least one adjacent to the information of normal IPC and one of them establish connection adjacent to normal IPC and include:
One of them the 4th optical signal sent adjacent to normal IPC is received, the 4th optical signal is for indicating that data are sent
Request, carry in the data sending request it is described one of them adjacent to normal IPC IP address and MAC Address;
According to it is described one of them adjacent to the IP address and MAC Address of normal IPC search the white list;
If found in the white list it is described one of them adjacent to normal IPC IP address and MAC Address, to it is described its
In a neighbouring normal IPC send the 5th optical signal, connection has been established for indicating in the 5th optical signal.
4. a kind of communication means, which is characterized in that the described method includes:
Obtain the information of neighbouring failure IPC;
It establishes and communicates to connect according to the information of the neighbouring failure IPC and the neighbouring failure IPC;
By the communication connection, will be used to indicate the second optical signal transmission of operation control message to the neighbouring failure IPC,
The operation control message carries operational order;And by the communication connection, being used for for the neighbouring failure IPC transmission is received
Indicate the third optical signal of video image, the video image is the collected video image of the neighbouring failure IPC;
The information for obtaining neighbouring failure IPC includes:
Receive the first optical signal;
Parse first optical signal;
The data message obtained according to first optical signal is parsed obtains the information of the neighbouring failure IPC.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Parsing is described for indicating the third optical signal of video image, obtains video image data;
Video image data is constructed according to the video image data and the IP address and MAC Address of the neighbouring failure IPC
Message;
The video image data message is sent to control platform.
6. a kind of communication device, which is characterized in that described device includes:
First obtains module, for obtaining at least one adjacent to normal IPC's according to the first optical signal of at least one set received
Information;
First connection establishment module, at least one to be adjacent to the information of normal IPC and one of them is neighbouring normal according to described
IPC establishes communication connection;
Receiving module, it is described for by the communication connection, receiving the second optical signal for indicating operation control message
Operation control message carries operational order;
Instruction execution module, for executing the operational order according to second optical signal;
Video sending module, for collected video image being converted to third optical signal, by institute by the communication connection
State third optical signal transmission to it is described one of them adjacent to normal IPC;
Described first, which obtains module, includes:
First receiving submodule, for receiving at least one set of first optical signal;
Analyzing sub-module, for parsing at least one set of first optical signal;
Acquisition submodule, at least one data message for obtaining according at least one set of first optical signal is parsed, obtains
It is described at least one adjacent to normal IPC information.
7. device according to claim 6, which is characterized in that the analyzing sub-module is specifically used for:
If light is not detected in predetermined period, it is determined that the optical signal received in the predetermined period corresponding first is default
Value;If detecting light in predetermined period, it is determined that corresponding second preset value of the optical signal received in the predetermined period;
The acquisition submodule is specifically used for:
According at least one data message that parsing at least one set of first optical signal obtains, at least one is neighbouring described in acquisition
The IP address and MAC Address of normal IPC.
8. device according to claim 7, which is characterized in that described device further include:
Logging modle, for by it is described at least one adjacent to the IP address and MAC Address of normal IPC be recorded in preset white list
In;
First connection establishment module includes:
Second receiving submodule, for receiving one of them the 4th optical signal sent adjacent to normal IPC, the 4th light letter
Number for indicating data sending request, carried in the data sending request it is described one of them adjacent to normal IPC IP address
And MAC Address;
Search submodule, for according to it is described one of them adjacent to the IP address and MAC Address of normal IPC search the white name
It is single;
Sending submodule, if for found in the white list it is described one of them adjacent to normal IPC IP address and MAC
Address, then to it is described one of them adjacent to normal IPC send the 5th optical signal, the 5th optical signal for indicate the company of having been established
It connects.
9. a kind of communication device, which is characterized in that described device includes:
Second obtains module, for obtaining the information of neighbouring failure IPC;
Second connection establishment module, for establishing communication link according to the information and the neighbouring failure IPC of the neighbouring failure IPC
It connects;
Instruction sending module, for will be used to indicate the second optical signal transmission of operation control message by the communication connection
To the neighbouring failure IPC, the operation control message carries operational order;
Video reception module, for by the communication connection, what the reception neighbouring failure IPC was sent to be used to indicate video figure
The third optical signal of picture, the video image are the collected video image of the neighbouring failure IPC;
The information for obtaining neighbouring failure IPC includes:
Receive the first optical signal;
Parse first optical signal;
The data message obtained according to first optical signal is parsed obtains the information of the neighbouring failure IPC.
10. device according to claim 9, which is characterized in that described device further include:
Video parsing module, it is described for indicating the third optical signal of video image for parsing, obtain video image data;
Video constructing module, for the IP address and MAC Address according to the video image data and the neighbouring failure IPC
Construct video image data message;
Video sending module, for the video image data message to be sent to control platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611179277.0A CN106534369B (en) | 2016-12-19 | 2016-12-19 | Communication means and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611179277.0A CN106534369B (en) | 2016-12-19 | 2016-12-19 | Communication means and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106534369A CN106534369A (en) | 2017-03-22 |
CN106534369B true CN106534369B (en) | 2019-10-18 |
Family
ID=58341112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611179277.0A Active CN106534369B (en) | 2016-12-19 | 2016-12-19 | Communication means and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534369B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114430390B (en) * | 2017-12-29 | 2023-04-04 | 华为技术有限公司 | Method and device for acquiring cross-domain link |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143309A (en) * | 2010-01-28 | 2011-08-03 | 三星泰科威株式会社 | Network camera and system and method for operating the network camera |
CN103795906A (en) * | 2014-01-20 | 2014-05-14 | 浙江宇视科技有限公司 | Stackable wireless network camera |
CN104780081A (en) * | 2015-04-27 | 2015-07-15 | 浙江宇视科技有限公司 | Network connection failure detection device and method |
CN105429703A (en) * | 2015-10-22 | 2016-03-23 | 武汉邮电科学研究院 | Mobile terminal interaction system and method based on visible light communication |
TW201620288A (en) * | 2014-11-21 | 2016-06-01 | 圓展科技股份有限公司 | IP camera system |
WO2016098355A1 (en) * | 2014-12-19 | 2016-06-23 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, transmission device and program |
CN105763255A (en) * | 2014-12-17 | 2016-07-13 | Tcl集团股份有限公司 | Communication connection establishment method applied to intelligent terminal, intelligent terminal and server |
-
2016
- 2016-12-19 CN CN201611179277.0A patent/CN106534369B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143309A (en) * | 2010-01-28 | 2011-08-03 | 三星泰科威株式会社 | Network camera and system and method for operating the network camera |
CN103795906A (en) * | 2014-01-20 | 2014-05-14 | 浙江宇视科技有限公司 | Stackable wireless network camera |
TW201620288A (en) * | 2014-11-21 | 2016-06-01 | 圓展科技股份有限公司 | IP camera system |
CN105763255A (en) * | 2014-12-17 | 2016-07-13 | Tcl集团股份有限公司 | Communication connection establishment method applied to intelligent terminal, intelligent terminal and server |
WO2016098355A1 (en) * | 2014-12-19 | 2016-06-23 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, transmission device and program |
CN104780081A (en) * | 2015-04-27 | 2015-07-15 | 浙江宇视科技有限公司 | Network connection failure detection device and method |
CN105429703A (en) * | 2015-10-22 | 2016-03-23 | 武汉邮电科学研究院 | Mobile terminal interaction system and method based on visible light communication |
Also Published As
Publication number | Publication date |
---|---|
CN106534369A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111083161A (en) | Data transmission processing method and device and Internet of things equipment | |
EP3253095B1 (en) | An iot-enabled device and a method for manufacturing an iot device | |
CN110417783B (en) | Data transmission method and device based on Internet of things, storage medium and terminal | |
CN111314864B (en) | Network distribution method, device and equipment | |
EP3252997A1 (en) | An iot-enabled device and a method for providing internet connectivity to a device | |
EP1834230A1 (en) | A terminal data format and a communication control system and method using the terminal data format | |
WO2014149231A1 (en) | Networked security system with translating router | |
CN103812829A (en) | Method and system for improving security of remote desktop, and remote desktop server | |
WO2016202066A1 (en) | Information acquisition method, client device and service end device | |
US20080180524A1 (en) | Remote monitoring control method of network camera | |
CN106534369B (en) | Communication means and device | |
WO2020066627A1 (en) | Communication device and communication system | |
CN113672478A (en) | Log obtaining method, device, terminal, server and storage medium | |
CN103369000A (en) | Data transmission method and data transmission system | |
US8972543B1 (en) | Managing clients utilizing reverse transactions | |
CN106686011B (en) | Multi-view-field interaction method and device based on IMS communication | |
JPH10233820A (en) | Data transmission method | |
CN107135196B (en) | Server and execution method thereof | |
JP4624443B2 (en) | Network device setting method | |
JP2018185560A (en) | PC support system, information display program and information reading transmission program | |
JP5262353B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD | |
US10218816B2 (en) | Information processing system, information processing method, server, and control method and control program of server | |
CN106331051A (en) | File transmission method and system, file receiving device and file transmission device | |
CN102523235A (en) | Method for self-adaptive support of more pieces of monitoring equipment | |
JP2009296060A (en) | Remote communication analysis system and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221103 Address after: 15 / F, Zhongchuang Plaza, 385 Hangtian Middle Road, national civil aerospace industrial base, Xi'an City, Shaanxi Province 710100 Patentee after: Xi'an Yu vision Mdt InfoTech Ltd. Address before: 310051 Zhejiang Jiangling Hangzhou Road, Binjiang District, Jiangling, 88, No. 10 South Block 1-11. Patentee before: ZHEJIANG UNIVIEW TECHNOLOGIES Co.,Ltd. |