CN107566788A - Port and the mapping method and system of Network Personal Video Recorder passage based on interchanger - Google Patents
Port and the mapping method and system of Network Personal Video Recorder passage based on interchanger Download PDFInfo
- Publication number
- CN107566788A CN107566788A CN201710697745.1A CN201710697745A CN107566788A CN 107566788 A CN107566788 A CN 107566788A CN 201710697745 A CN201710697745 A CN 201710697745A CN 107566788 A CN107566788 A CN 107566788A
- Authority
- CN
- China
- Prior art keywords
- video recorder
- interchanger
- personal video
- network personal
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The present invention discloses the port based on interchanger and the mapping method and system of Network Personal Video Recorder passage, and method includes step:A, Network Personal Video Recorder obtains the address information of web camera by interchanger, and the port numbers of web camera are inquired about according to the address information;B, the logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder is mapped, the display location according to corresponding to determining the logical channel number (LCN);C, to web camera application code stream, and the code stream applied is subjected to decoding on corresponding display location and shown.The present invention inquires port numbers according to the address information of web camera, and mapped with logical channel number (LCN), so that it is determined that display location, the code stream of application is carried out into decoding on correspondence position again to show, the present invention solves the problems, such as that port can not map with passage, is also not in out of order situation when adding web camera.
Description
Technical field
The present invention relates to security monitoring video camera field, more particularly to reflecting based on the port of interchanger and Network Personal Video Recorder passage
Shooting method and system.
Background technology
In recent years with the fast development of Internet technology, security protection video monitoring trade also enter networking, it is intelligent when
Generation.Networking, the positive strong expression of security protection network monitoring of intellectualization times go out the characteristic of internet industry.
Network Personal Video Recorder is limited to network service when searching for web camera and being automatically added to Network Personal Video Recorder passage
Mechanism limits, and web camera sequence is not consistent in obtained search result, and can not accurately make passage and port mapping
Get up.This causes out of order situation occurs after start every time or when handover network camera apparatus.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide the port based on interchanger and network to record a video
The mapping method and system of machine passage, it is intended to which passage occurs in Tianjin web camera in the prior art in solution can not with port
The problem of mapping.
Technical scheme is as follows:
A kind of port based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, wherein, including step:
A, Network Personal Video Recorder obtains the address information of web camera by interchanger, and net is inquired about according to the address information
The port numbers of network video camera;
B, the logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder is mapped, patrolled according to described
Collect display location corresponding to channel number determination;
C, to web camera application code stream, and the code stream applied is subjected to decoding on corresponding display location and shown
Show.
The described port based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, wherein, the step A tools
Body includes:
A1, Network Personal Video Recorder send search command to interchanger;
A2, interchanger return to the address information of web camera to Network Personal Video Recorder.
The described port based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, wherein, the address letter
Breath includes IP address, MAC Address and sequence number.
The described port based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, wherein, the step C
In, it is output on display and is shown by VGA or HDMI signaling interfaces.
The described port based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, wherein, the port numbers
There are 8, corresponding logical channel number (LCN) has 8.
A kind of port based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, wherein, including interchanger, net
Network video recorder and web camera;
The Network Personal Video Recorder obtains the address information of web camera by interchanger, is inquired about according to the address information
The port numbers of web camera;The logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder is mapped,
The display location according to corresponding to determining the logical channel number (LCN);And to web camera application code stream, and the code stream that will apply
Decoding is carried out on corresponding display location to show.
The described port based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, wherein, the network record
Camera sends search command to interchanger;And the address information of web camera is returned to from interchanger to Network Personal Video Recorder.
The described port based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, wherein, the address letter
Breath includes IP address, MAC Address and sequence number.
The described port based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, wherein, by VGA or
HDMI signaling interfaces are output on display and shown.
The described port based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, wherein, the port numbers
There are 8, corresponding logical channel number (LCN) has 8.
Beneficial effect:The present invention inquires port numbers according to the address information of web camera, and enters with logical channel number (LCN)
Row mapping, so that it is determined that display location, then the code stream of application is subjected to decoding on correspondence position and shown, the present invention solves end
The problem of mouth can not map with passage, is also not in out of order situation when adding web camera.
Brief description of the drawings
Fig. 1 is shown for the present invention based on the port of interchanger and the application scenarios example of the mapping method of Network Personal Video Recorder passage
It is intended to.
Fig. 2 is port of the present invention based on interchanger and the schematic diagram of the mapping method of Network Personal Video Recorder passage.
Embodiment
The present invention provides the port based on interchanger and the mapping method and system of Network Personal Video Recorder passage, to make the present invention
Purpose, technical scheme and effect it is clearer, clear and definite, the present invention is described in more detail below.It should be appreciated that this place
The specific embodiment of description only to explain the present invention, is not intended to limit the present invention.
A kind of port based on interchanger provided by the present invention and the method for Network Personal Video Recorder passage automatic mapping, it is wrapped
Include step:
S1, Network Personal Video Recorder obtain the address information of web camera by interchanger, are inquired about according to the address information
The port numbers of web camera;
S2, the logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder mapped, according to described
Display location corresponding to logical channel number (LCN) determination;
S3, to web camera application code stream, and it is aobvious that the code stream applied is carried out on corresponding display location to decoding
Show.
In the present invention, the port numbers of web camera are first obtained, then by a pair of port numbers and logical channel number (LCN) progress 1
Should, that is, mapped, so that it is determined that the display location of map network video camera, then the code stream of web camera is obtained, and right
Answer and decoding is carried out on display location show.Due to making port numbers and logical channel number (LCN) realize mapping in the present invention, so adding
After adding web camera, can also ensure to be not in out of order situation.
The typical case scene of the present invention is as shown in figure 1, left side is connection interchanger 200 (LAN SWITCH) in figure
Network Personal Video Recorder 100 (NVR), Network Personal Video Recorder 100 even connected to the Net video camera 300 (IPC) by interchanger 200, each
Web camera 300 is ordered as 1~8 successively according to the port numbers (network port number) of insertion, and right side is display 400, specifically
It is to be output data to by Network Personal Video Recorder 100 on display 400, is needed to be generally divided into 8 logical channels according to display,
Sequence number is followed successively by 1~8, and LAN SWITCH are exactly that the port of interchanger 200 and the logic of Network Personal Video Recorder 100 are led to by the present invention
Road corresponds to automatically one by one.That is, the port numbers have 8, corresponding logical channel number (LCN) has 8.
Further, the step S1 is specifically included:
S11, Network Personal Video Recorder send search command to interchanger;
S12, interchanger return to the address information of web camera to Network Personal Video Recorder.
Network Personal Video Recorder 100 first initiates search command, is got by the interchanger 200 and is connected to the interchanger
The address information of web camera 300 on 200.
Wherein described address information includes IP address, MAC Address and sequence number etc..
Then each IPC address information is formed into querying command, and sent to interchanger 200, to inquire about corresponding network
Port numbers corresponding to video camera 300, after interchanger 200 receives querying command, it is corresponding port numbers to return to query interface.
In the step S2, the port numbers are mapped with logical channel number (LCN), it is true according to the logical channel number (LCN)
Display location corresponding to fixed, each display location determines according to logical channel number (LCN).
In the step S3, apply for code stream to web camera 300 according to port numbers, and by the code stream applied right
Decoding is carried out on the display location answered to show.In this step, VGA the or HDMI signaling interfaces of Network Personal Video Recorder 100 can be passed through
It is output on display 400 and is shown.
The principle of the present invention as shown in Fig. 2 include in the architecture:Network Personal Video Recorder 100 and interchanger 200, the net
Network video recorder 100 includes:Search module 110, automatic add module 120, flow module 130, decoding display module 140 are received, may be used also
Including VGA or HDMI signaling interfaces 150.
Wherein, search module 110 is used for obtaining the web camera list on network, i.e. IPC lists.
Interchanger 200 is used for forwarding code stream, and can be used for inquiring about port.
Automatic add module 120 is used for according to the ipc message searched, and port information is inquired about from interchanger 200, and will
Port information, which is distributed to, receives flow module 130 and decoding display module 140.
Receive flow module 130 to be used to collect code stream, and bit stream is extremely decoded into display module 140.
Decoding display module 140 is used to decompress code stream, and is shown in specified location.
One instantiation of method of the present invention comprises the following steps:
A, search module initiates search command to by network to interchanger;
B, interchanger returns to the address information of web camera, including IP address, MAC Address, sequence number to search module
Etc. information.
C, automatic add module is by the address information of each web camera, composition querying command, and sends to interchanger,
To inquire about its corresponding port numbers;
D, interchanger returns to port numbers result to automatic add module;
E, port numbers are mapped to logical channel number (LCN) by automatic add module, and send receipts flow module to;
F, automatic add module also sends port numbers to decoding display module, with display location corresponding to determination, each
Display location is fixed according to logical channel number (LCN);
G, flow module is received by interchanger to corresponding web camera application code stream;
H, web camera sends code stream to receipts flow module by interchanger;
I, receive flow module and the code stream received is delivered into decoding display module, decoding display module is connect by VGA/HDMI outputs
Mouth shows code stream decoding.
Based on the above method, the present invention also provides a kind of port based on interchanger and Network Personal Video Recorder passage automatic mapping
System preferred embodiment, it includes interchanger, Network Personal Video Recorder and web camera;
The Network Personal Video Recorder obtains the address information of web camera by interchanger, is inquired about according to the address information
The port numbers of web camera;The logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder is mapped,
The display location according to corresponding to determining the logical channel number (LCN);And to web camera application code stream, and the code stream that will apply
Decoding is carried out on corresponding display location to show.
Further, the Network Personal Video Recorder sends search command to interchanger;And returned from interchanger to Network Personal Video Recorder
The address information of web camera.
Further, the address information includes IP address, MAC Address and sequence number.
Further, it is output on display and is shown by VGA or HDMI signaling interfaces.
Further, the port numbers have 8, and corresponding logical channel number (LCN) has 8.
Particular technique details on said system has been described in detail in method above, therefore is repeated no more.
In summary, the present invention inquires port numbers according to the address information of web camera, and enters with logical channel number (LCN)
Row mapping, so that it is determined that display location, then the code stream of application is subjected to decoding on correspondence position and shown, the present invention solves end
The problem of mouth can not map with passage, is also not in out of order situation when adding web camera.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (10)
1. a kind of port based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, it is characterised in that including step:
A, Network Personal Video Recorder obtains the address information of web camera by interchanger, inquires about network according to the address information and takes the photograph
The port numbers of camera;
B, the logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder is mapped, led to according to the logic
Display location corresponding to Taoist monastic name determination;
C, to web camera application code stream, and the code stream applied is subjected to decoding on corresponding display location and shown.
2. the port according to claim 1 based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, it is special
Sign is that the step A is specifically included:
A1, Network Personal Video Recorder send search command to interchanger;
A2, interchanger return to the address information of web camera to Network Personal Video Recorder.
3. the port according to claim 1 based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, it is special
Sign is that the address information includes IP address, MAC Address and sequence number.
4. the port according to claim 1 based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, it is special
Sign is, in the step C, is output on display and is shown by VGA or HDMI signaling interfaces.
5. the port according to claim 1 based on interchanger and the method for Network Personal Video Recorder passage automatic mapping, it is special
Sign is that the port numbers have 8, and corresponding logical channel number (LCN) has 8.
6. a kind of port based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, it is characterised in that including exchanging
Machine, Network Personal Video Recorder and web camera;
The Network Personal Video Recorder obtains the address information of web camera by interchanger, and network is inquired about according to the address information
The port numbers of video camera;The logical channel number (LCN) of the port numbers of the web camera and Network Personal Video Recorder is mapped, according to
Display location corresponding to the logical channel number (LCN) determination;And to web camera application code stream, and by the code stream applied right
Decoding is carried out on the display location answered to show.
7. the port according to claim 6 based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, it is special
Sign is that the Network Personal Video Recorder sends search command to interchanger;And return to network shooting from interchanger to Network Personal Video Recorder
The address information of machine.
8. the port according to claim 6 based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, it is special
Sign is that the address information includes IP address, MAC Address and sequence number.
9. the port according to claim 6 based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, it is special
Sign is, is output on display and is shown by VGA or HDMI signaling interfaces.
10. the port according to claim 6 based on interchanger and the system of Network Personal Video Recorder passage automatic mapping, it is special
Sign is that the port numbers have 8, and corresponding logical channel number (LCN) has 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710697745.1A CN107566788A (en) | 2017-08-15 | 2017-08-15 | Port and the mapping method and system of Network Personal Video Recorder passage based on interchanger |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710697745.1A CN107566788A (en) | 2017-08-15 | 2017-08-15 | Port and the mapping method and system of Network Personal Video Recorder passage based on interchanger |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107566788A true CN107566788A (en) | 2018-01-09 |
Family
ID=60975453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710697745.1A Pending CN107566788A (en) | 2017-08-15 | 2017-08-15 | Port and the mapping method and system of Network Personal Video Recorder passage based on interchanger |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566788A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113452965A (en) * | 2021-06-25 | 2021-09-28 | 深圳市吉祥腾达科技有限公司 | Automatic testing method and system for testing compatibility of switch and network camera |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312432A (en) * | 2007-05-24 | 2008-11-26 | 全球帕克特有限公司 | Transitioning a virtual interface from one tunnel to another tunnel |
CN102694869A (en) * | 2012-06-06 | 2012-09-26 | 广东威创视讯科技股份有限公司 | Signal source access method and system |
KR20120117476A (en) * | 2011-04-15 | 2012-10-24 | 헌트 일렉트로닉 컴퍼니 리미티드 | Network video server and video control method thereof |
CN202979166U (en) * | 2012-12-04 | 2013-06-05 | 广州市九安光电技术股份有限公司 | Direct-connected-type plug-and-play network video recorder system |
CN103812794A (en) * | 2012-11-15 | 2014-05-21 | 上海斐讯数据通信技术有限公司 | System and method for arranging exchanger ports |
CN103905787A (en) * | 2012-12-27 | 2014-07-02 | 广州市九安光电技术股份有限公司 | Straight connection type plug-and-play network video recorder system and realization method |
CN105634903A (en) * | 2015-12-31 | 2016-06-01 | 深圳市磊科实业有限公司 | NVR and IPC port corresponding method |
-
2017
- 2017-08-15 CN CN201710697745.1A patent/CN107566788A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312432A (en) * | 2007-05-24 | 2008-11-26 | 全球帕克特有限公司 | Transitioning a virtual interface from one tunnel to another tunnel |
KR20120117476A (en) * | 2011-04-15 | 2012-10-24 | 헌트 일렉트로닉 컴퍼니 리미티드 | Network video server and video control method thereof |
CN102694869A (en) * | 2012-06-06 | 2012-09-26 | 广东威创视讯科技股份有限公司 | Signal source access method and system |
CN103812794A (en) * | 2012-11-15 | 2014-05-21 | 上海斐讯数据通信技术有限公司 | System and method for arranging exchanger ports |
CN202979166U (en) * | 2012-12-04 | 2013-06-05 | 广州市九安光电技术股份有限公司 | Direct-connected-type plug-and-play network video recorder system |
CN103905787A (en) * | 2012-12-27 | 2014-07-02 | 广州市九安光电技术股份有限公司 | Straight connection type plug-and-play network video recorder system and realization method |
CN105634903A (en) * | 2015-12-31 | 2016-06-01 | 深圳市磊科实业有限公司 | NVR and IPC port corresponding method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113452965A (en) * | 2021-06-25 | 2021-09-28 | 深圳市吉祥腾达科技有限公司 | Automatic testing method and system for testing compatibility of switch and network camera |
CN113452965B (en) * | 2021-06-25 | 2023-08-11 | 深圳市吉祥腾达科技有限公司 | Automatic test method and system for testing compatibility of switch and network camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110087064B (en) | Detection method and system of monitoring terminal, device and storage medium | |
CN109788247B (en) | Method and device for identifying monitoring instruction | |
CN108965930B (en) | Video data processing method and device | |
CN111124333A (en) | Method, device, equipment and storage medium for synchronizing display contents of electronic whiteboard | |
CN105847147A (en) | Data transmission method and device | |
CN109544879B (en) | Alarm data processing method and system | |
CN110120885B (en) | Method and device for processing equipment state information | |
CN110740289B (en) | System and method for acquiring alarm | |
CN108965783B (en) | Video data processing method and video network recording and playing terminal | |
CN107566788A (en) | Port and the mapping method and system of Network Personal Video Recorder passage based on interchanger | |
CN110493149B (en) | Message processing method and device | |
CN110086773B (en) | Audio and video data processing method and system | |
CN101437037B (en) | Tunnel penetration transmission method for two-layer protocol message | |
CN111093047A (en) | Video call connection establishing method and device, electronic equipment and storage medium | |
CN110099025B (en) | Call method and device based on video networking | |
CN108881148B (en) | Data acquisition method and device | |
CN112653628B (en) | ERSPAN method and network equipment | |
CN109787993B (en) | Method and device for multi-user to access private network | |
CN110830185B (en) | Data transmission method and device | |
CN109194896B (en) | Calling method and system for video networking terminal | |
CN110062259B (en) | Video acquisition method, system, device and computer readable storage medium | |
CN109688073B (en) | Data processing method and system based on video network | |
CN110662195B (en) | Data transmission method, device and system based on mobile command vehicle | |
CN111683268B (en) | Monitoring data display method, device, equipment and medium | |
CN110266827B (en) | Business card data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180109 |
|
RJ01 | Rejection of invention patent application after publication |