CN110149494A - A kind of method and device for the organization obtaining view networking monitoring equipment - Google Patents
A kind of method and device for the organization obtaining view networking monitoring equipment Download PDFInfo
- Publication number
- CN110149494A CN110149494A CN201910276779.2A CN201910276779A CN110149494A CN 110149494 A CN110149494 A CN 110149494A CN 201910276779 A CN201910276779 A CN 201910276779A CN 110149494 A CN110149494 A CN 110149494A
- Authority
- CN
- China
- Prior art keywords
- organization
- level
- monitoring equipment
- view networking
- networking monitoring
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides a kind of method and devices of organization for obtaining view networking monitoring equipment.Level V organization below is searched according to the device coding of the view networking monitoring equipment of access;If not finding, the organization of the fourth stage or more is determined in the device coding, and the organization more than fourth stage is determined as to regard the destination organization mechanism of networking monitoring equipment;If finding, the organization of the fourth stage or more is then obtained in default organization's cascade connection according to level V organization below, according to the destination organization mechanism of the determining view networking monitoring equipment of organization and level V organization below more than fourth stage, the case where organization so as to avoid the occurrence of the view networking monitoring equipment for lacking access and to avoid the occurrence of the organization depending on networking monitoring equipment of access be wrong situation, user can bring information misguidance in the view networking monitoring equipment for checking each organization to avoid to user later.
Description
Technical field
This application involves view networking technology fields, more particularly to a kind of organization for obtaining view networking monitoring equipment
Method and device.
Background technique
It is social now, in order to provide safety precautions and guarantee to the work and life of people, often set at critical positions
It is equipped with monitoring camera, the monitoring video flow at critical positions is recorded by monitoring camera, later, arrangement checks that personnel check
It whether there is suspicious figure in the monitoring video flow that monitoring camera is recorded, for example, checking whether that there are fugitive personnel etc..
It is generally necessary to which management platform is arranged to manage each monitoring camera, can be monitored on management platform with real time inspection
The state of camera.
However, generally requiring to determine new monitoring camera when managing platform one new monitoring camera of docking
Organization, so as to can show the information of each monitoring camera according to organization on management platform later, in turn
Administrative staff are allowed to see the monitoring camera of each organization at a glance, however, taking the photograph docking new monitoring
As during head, in fact it could happen that the situation of mistake is docked, for example, the organization of new monitoring camera is to management platform
It is lost during transmission, causes management platform to be unable to get the organization of new monitoring camera, alternatively, being arranged before
Mistake is just set when the organization of new monitoring camera, even if so management platform can obtain new monitoring camera
Organization, but be also the organization of mistake, information misguidance is brought to administrative staff.
Summary of the invention
To solve the above-mentioned problems, present application illustrates it is a kind of obtain view networking monitoring equipment organization method and
Device.
In a first aspect, present application illustrates a kind of method of organization for obtaining view networking monitoring equipment, the method
Include:
Obtain the device coding of the view networking monitoring equipment newly accessed;
The level V organization below of the view networking monitoring equipment is searched according to the device coding;
If not finding level V organization below, the fourth stage or more is determined in the device coding
Organization, by the organization more than fourth stage determined be determined as it is described view networking monitoring equipment destination organization machine
Structure;
If finding level V organization below, according to level V organization below pre-
If the organization of the fourth stage or more is obtained in organization's cascade connection, according to the organization more than fourth stage got
The destination organization mechanism of the view networking monitoring equipment is determined with level V organization below.
In an optional implementation, the method also includes:
Store the corresponding relationship between the device coding and the destination organization mechanism.
In an optional implementation, the method also includes:
Show the device coding and the destination organization mechanism.
In an optional implementation, it is described according to level V organization below in default organization
The organization of the fourth stage or more is obtained in cascade connection, comprising:
The fourth stage is searched in default organization's cascade connection according to level V organization below
Organization;
The tissue of the third level is searched in default organization's cascade connection according to the organization of the fourth stage
Mechanism;
The tissue of the second level is searched in default organization's cascade connection according to the organization of the third level
Mechanism;
The tissue of the first order is searched in default organization's cascade connection according to the organization of the second level
Mechanism.
In an optional implementation, the organization that the fourth stage or more is determined in the device coding,
Include:
Obtain the son coding for being located at the first predetermined position in the device coding, and the group loom as the first order
Structure;
Obtain the son coding for being located at the second predetermined position in the device coding, and the group loom as the second level
Structure;
Obtain the son coding for being located at third predetermined position in the device coding, and the group loom as the third level
Structure;
Obtain the son coding for being located at the 4th predetermined position in the device coding, and the group loom as the fourth stage
Structure.
It is described that the of the view networking monitoring equipment is searched according to the device coding in an optional implementation
Pyatyi organization below, comprising:
The property file of the view networking monitoring equipment is obtained according to the device coding;
It searches in the first preset field in the property file with the presence or absence of organization;
If there are organizations in first preset field, and the organization in first preset field is true
It is set to the level V organization below of the view networking monitoring equipment;
If organization is not present in first preset field, it is determined that there is no the view networking monitoring equipment
Level V organization below.
In an optional implementation, the category that the view networking monitoring equipment is obtained according to the device coding
Property file, comprising:
In corresponding relationship between the device coding of view networking monitoring equipment and the property file of view networking monitoring equipment,
It searches with the device coding to corresponding property file, and the property file as the view networking monitoring equipment.
Second aspect, present application illustrates a kind of device of organization for obtaining view networking monitoring equipment, described devices
Include:
First obtains module, for obtaining the device coding of the view networking monitoring equipment newly accessed;
Searching module, for searching the level V tissue below of the view networking monitoring equipment according to the device coding
Mechanism;
First determining module, if compiled for not finding level V organization below in the equipment
The organization of the fourth stage or more, the second determining module, for by the organization more than fourth stage determined are determined in code
It is determined as the destination organization mechanism of the view networking monitoring equipment;
Second obtains module, if for finding level V organization below, according to the level V
Organization of the organization below in default organization's cascade connection more than the acquisition fourth stage, third determining module,
For according to it is more than the fourth stage that gets organization and level V organization below determine that the view is networked
The destination organization mechanism of monitoring device.
In an optional implementation, described device further include:
Memory module, for storing the corresponding relationship between the device coding and the destination organization mechanism.
In an optional implementation, described device further include:
Display module, for showing the device coding and the destination organization mechanism.
In an optional implementation, the second acquisition module includes:
First searching unit, for being closed according to level V organization below in default organization's cascade
The organization of the fourth stage is searched in system;
Second searching unit, for the organization according to the fourth stage in default organization's cascade connection
Search the organization of the third level;
Third searching unit, for the organization according to the third level in default organization's cascade connection
Search the organization of the second level;
4th searching unit, for the organization according to the second level in default organization's cascade connection
Search the organization of the first order.
In an optional implementation, first determining module includes:
First acquisition unit for obtaining the son coding for being located at the first predetermined position in the device coding, and is made
For the organization of the first order;
Second acquisition unit for obtaining the son coding for being located at the second predetermined position in the device coding, and is made
For the organization of the second level;
Third acquiring unit for obtaining the son coding for being located at third predetermined position in the device coding, and is made
For the organization of the third level;
4th acquiring unit for obtaining the son coding for being located at the 4th predetermined position in the device coding, and is made
For the organization of the fourth stage.
In an optional implementation, the searching module includes:
5th acquiring unit, for obtaining the property file of the view networking monitoring equipment according to the device coding;
5th searching unit, for searching in the first preset field in the property file with the presence or absence of organization;
First determination unit, if preset for there are organizations in first preset field by described first
Organization in field is determined as the level V organization below of the view networking monitoring equipment;
Second determination unit, if for organization to be not present in first preset field, it is determined that institute is not present
State the level V organization below of view networking monitoring equipment.
In an optional implementation, the 5th acquiring unit is specifically used for: in setting depending on networking monitoring equipment
In the standby corresponding relationship encoded between the property file of view networking monitoring equipment, search with the device coding to corresponding category
Property file, and as it is described view networking monitoring equipment property file.
The application includes following advantages:
In this application, the device coding of the view networking monitoring equipment newly accessed is obtained;It is searched and is regarded according to the device coding
The level V of networking monitoring equipment organization below;It, can be if not finding level V organization below
The organization more than fourth stage determined is determined as view connection by the organization that the fourth stage or more is determined in the device coding
The destination organization mechanism of net monitoring device;If finding level V organization below, can be according to level V below
Organization the organization of the fourth stage or more is obtained in default organization's cascade connection, according to the fourth stage got
Organization below, above organization and level V determines the destination organization mechanism of view networking monitoring equipment, so as to keep away
Exempt to occur lacking access depending on networking monitoring equipment organization the case where and avoid the occurrence of setting depending on networking monitoring for access
Standby organization is the situation of mistake, and user can keep away in the view networking monitoring equipment for checking each organization later
Exempt from customs examination user brings information misguidance.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application.
Fig. 2 is a kind of hardware structural diagram of node server of the application.
Fig. 3 is a kind of hardware structural diagram of access switch of the application.
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway.
Fig. 5 is a kind of step flow chart of the method for the organization of acquisition view networking monitoring equipment of the application.
Fig. 6 is a kind of structural block diagram of the device of the organization of acquisition view networking monitoring equipment of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking, and node server and metropolitan area clothes
The network controlled under business device can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the application's can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including Ethernet net
Close), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or country
Net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions
It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)
Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in this application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purpose
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in this application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of core idea of the application is proposed, it then follows the agreement for regarding networking, at this
In application, the device coding of the view networking monitoring equipment newly accessed is obtained;View networking monitoring equipment is searched according to the device coding
Level V organization below;It, can be in the device coding if not finding level V organization below
The organization more than fourth stage determined is determined as regarding networking monitoring equipment by the organization for determining the fourth stage or more
Destination organization mechanism;If finding level V organization below, can be existed according to level V organization below
The organization that the fourth stage or more is obtained in default organization's cascade connection, according to the group loom more than fourth stage got
Structure and level V organization below determine the destination organization mechanism of view networking monitoring equipment, connect so as to avoid the occurrence of shortage
Enter depending on networking monitoring equipment organization the case where and avoid the occurrence of access view networking monitoring equipment organization
It is the situation of mistake, user can bring in the view networking monitoring equipment for checking each organization later to avoid to user
Information misguidance.
Referring to Fig. 5, the step of showing a kind of method of the organization of acquisition view networking monitoring equipment of the application stream
Cheng Tu, this method can specifically include following steps:
In step s101, the device coding of the view networking monitoring equipment newly accessed is obtained;
In this application, when needs are when managing platform access view networking monitoring equipment, user can be on management platform
The device coding of the view networking monitoring equipment newly accessed is inputted, management platform obtains the view networking monitoring of user's input newly accessed
Then the device coding of equipment executes step S102.
In step s 102, the level V organization below of view networking monitoring equipment is searched according to the device coding;
In this application, this step can be realized by following process, comprising:
1021, the property file of view networking monitoring equipment is obtained according to the device coding;
In this application, often available new when getting the device coding of the view networking monitoring equipment newly accessed
The property file of the view networking monitoring equipment of access, for example, being set in the device coding depending on networking monitoring equipment with depending on networking monitoring
It in corresponding relationship between standby property file, searches with device coding to corresponding property file, and as view networking monitoring
The property file of equipment.
View networking monitoring equipment corresponding to device coding in the corresponding relationship in any bar corresponding table item and attribute text
Networking monitoring equipment is regarded corresponding to part as same view networking monitoring equipment.
The corresponding relationship can store in local, also can store in other equipment, and the application is not limited this.
Alternatively, in view networking monitoring when the property file depending on networking monitoring equipment is mounted in setting view networking monitoring equipment
It is arranged in equipment, it therefore, can also be according to the device coding to view after the device coding for obtaining view networking monitoring equipment
Networking monitoring equipment sends the acquisition request for obtaining property file so that view networking monitoring equipment according to the acquisition request to
Manage the property file that platform returns to view networking monitoring equipment.
1022, it searches in the first preset field in the property file with the presence or absence of organization;First preset field is
For storing the field of level V organization below.
In advance in the property file of setting view networking monitoring equipment, technical staff can be first pre- in property file
If the level V organization below of storage view networking monitoring equipment in field.In this way, first in the property file is default
It there is the organization of view networking monitoring equipment in field.
It is of course also possible to forget the level V of storage view networking monitoring equipment in the first preset field in property file
Organization below or technical staff do not know natively is depending on the level V organization below of networking monitoring equipment
What, also would not store the level V tissue below for regarding networking monitoring equipment in the first preset field in property file
Mechanism.Alternatively, level V organization below is in fact just not present in view networking monitoring equipment, and then technical staff is also with regard to nothing
The level V organization below for regarding networking monitoring equipment need to be stored in the first preset field in property file.In this way,
Just there is no the organizations of view networking monitoring equipment in the first preset field in the property file.
If 1023, there are organizations in the first preset field, the organization in the first preset field is determined
For the level V organization below for regarding networking monitoring equipment.
If organization 1024, is not present in the first preset field, it is determined that there is no the of view networking monitoring equipment
Pyatyi organization below.
If not finding level V organization below, in step s 103, the 4th is determined in the device coding
Grade or more organization, by the organization more than fourth stage determined be determined as regard networking monitoring equipment destination organization
Mechanism;
In this application, wherein device coding may include multidigit character, it may for example comprise 20 bit digitals, this 20 bit digital
In the organization that can indicate the fourth stage or more, for example, " province-city-area/county-street " etc., for example, " Shaanxi Province-Xi'an
City-Yanta District-Chang Anlu " etc..
, can be according to which position to the digital representation of which position in advance when device coding is arranged for view networking monitoring equipment
Save, the digital representation city of which position to which position, the digital representation area/county and which position of which position to which position to which
Device coding is arranged in the rule in the digital representation street etc. of position.
That is, device coding can be arranged in advance by multiple in the device coding of setting view networking monitoring equipment
Son coding is constituted, such as " sub- coding 1+ coding 2+ coding 3 and son coding 4 ", and different son codings is for indicating different
Organization, different son codings is at the different positions in device coding.
Therefore, in this step, the son coding for being located at the first predetermined position in available device coding, and conduct
The organization of the first order;Obtain the son coding for being located at the second predetermined position in device coding, and the group as the second level
Loom structure;Obtain the son coding for being located at third predetermined position in device coding, and the organization as the third level;And
Obtain the son coding for being located at the 4th predetermined position in device coding, and the organization as the fourth stage.
If finding level V organization below, in step S104, according to level V organization below
The organization that the fourth stage or more is obtained in default organization's cascade connection, according to the tissue more than fourth stage got
Mechanism and level V organization below determine the destination organization mechanism of view networking monitoring equipment.
It stores in default organization's cascade connection for stating the relationship between cascade multiple organizations
Corresponding table item, for example, corresponding table item includes " province-city-area/county-street-cell-building-floor " etc., for example, " Shaanxi Province-west
Pacify city-Yanta District-Chang Anlu--11 floor of the building-Building B of rainbow cell -6 " etc..
Level V organization below includes " cell-building-floor " etc..
The organization more than fourth stage includes " province-city-area/county-street " etc..
In this way, in this step, it can be according to level V organization below in default organization cascade connection
Search the organization of the fourth stage;The third level is searched in default organization's cascade connection according to the organization of the fourth stage
Organization;The organization of the second level is searched in default organization's cascade connection according to the organization of the third level;Root
The organization of the first order is searched in default organization's cascade connection according to the organization of the second level.
The organization of the first order, the organization of the second level, the organization of the fourth stage and the fourth stage group loom
Structure is the organization of the fourth stage or more.
In this application, the device coding of the view networking monitoring equipment newly accessed is obtained;It is searched and is regarded according to the device coding
The level V of networking monitoring equipment organization below;It, can be if not finding level V organization below
The organization more than fourth stage determined is determined as view connection by the organization that the fourth stage or more is determined in the device coding
The destination organization mechanism of net monitoring device;If finding level V organization below, can be according to level V below
Organization the organization of the fourth stage or more is obtained in default organization's cascade connection, according to the fourth stage got
Organization below, above organization and level V determines the destination organization mechanism of view networking monitoring equipment, so as to keep away
Exempt to occur lacking access depending on networking monitoring equipment organization the case where and avoid the occurrence of setting depending on networking monitoring for access
Standby organization is the situation of mistake, and user can keep away in the view networking monitoring equipment for checking each organization later
Exempt from customs examination user brings information misguidance.
Further, if need to obtain the destination organization mechanism of view networking monitoring equipment later, if according to above-mentioned
Process obtains, and can consume a longer time and more system resource.
Therefore, in order to save time and system resource, in another embodiment of the application, the device coding and mesh are stored
Mark the corresponding relationship between organization.So that view networking monitoring equipment can be obtained based on the corresponding relationship later
Destination organization mechanism, so as to save the time and save system resource.
Further, device coding and destination organization mechanism can also be shown, so that user can be at a glance
See the destination organization mechanism of view networking monitoring equipment.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Referring to Fig. 6, a kind of structural frames of the device of the organization of acquisition view networking monitoring equipment of the application are shown
Figure, the device can specifically include following module:
First obtains module 11, for obtaining the device coding of the view networking monitoring equipment newly accessed;
Searching module 12, for searching below group of level V of the view networking monitoring equipment according to the device coding
Loom structure;
First determining module 13, if for not finding level V organization below, in the equipment
The organization of the fourth stage or more, the second determining module 14, for by the tissue more than fourth stage determined are determined in coding
Mechanism is determined as the destination organization mechanism of the view networking monitoring equipment;
Second obtains module 15, if for finding level V organization below, according to the described 5th
Grade organization below obtains the organization of the fourth stage or more, third determining module in default organization's cascade connection
16, for according to it is more than the fourth stage that gets organization and level V organization below determine that the view joins
The destination organization mechanism of net monitoring device.
In an optional implementation, described device further include:
Memory module, for storing the corresponding relationship between the device coding and the destination organization mechanism.
In an optional implementation, described device further include:
Display module, for showing the device coding and the destination organization mechanism.
In an optional implementation, the second acquisition module 15 includes:
First searching unit, for being closed according to level V organization below in default organization's cascade
The organization of the fourth stage is searched in system;
Second searching unit, for the organization according to the fourth stage in default organization's cascade connection
Search the organization of the third level;
Third searching unit, for the organization according to the third level in default organization's cascade connection
Search the organization of the second level;
4th searching unit, for the organization according to the second level in default organization's cascade connection
Search the organization of the first order.
In an optional implementation, first determining module 13 includes:
First acquisition unit for obtaining the son coding for being located at the first predetermined position in the device coding, and is made
For the organization of the first order;
Second acquisition unit for obtaining the son coding for being located at the second predetermined position in the device coding, and is made
For the organization of the second level;
Third acquiring unit for obtaining the son coding for being located at third predetermined position in the device coding, and is made
For the organization of the third level;
4th acquiring unit for obtaining the son coding for being located at the 4th predetermined position in the device coding, and is made
For the organization of the fourth stage.
In an optional implementation, the searching module 12 includes:
5th acquiring unit, for obtaining the property file of the view networking monitoring equipment according to the device coding;
5th searching unit, for searching in the first preset field in the property file with the presence or absence of organization;
First determination unit, if preset for there are organizations in first preset field by described first
Organization in field is determined as the level V organization below of the view networking monitoring equipment;
Second determination unit, if for organization to be not present in first preset field, it is determined that institute is not present
State the level V organization below of view networking monitoring equipment.
In an optional implementation, the 5th acquiring unit is specifically used for: in setting depending on networking monitoring equipment
In the standby corresponding relationship encoded between the property file of view networking monitoring equipment, search with the device coding to corresponding category
Property file, and as it is described view networking monitoring equipment property file.
In this application, the device coding of the view networking monitoring equipment newly accessed is obtained;It is searched and is regarded according to the device coding
The level V of networking monitoring equipment organization below;It, can be if not finding level V organization below
The organization more than fourth stage determined is determined as view connection by the organization that the fourth stage or more is determined in the device coding
The destination organization mechanism of net monitoring device;If finding level V organization below, can be according to level V below
Organization the organization of the fourth stage or more is obtained in default organization's cascade connection, according to the fourth stage got
Organization below, above organization and level V determines the destination organization mechanism of view networking monitoring equipment, so as to keep away
Exempt to occur lacking access depending on networking monitoring equipment organization the case where and avoid the occurrence of setting depending on networking monitoring for access
Standby organization is the situation of mistake, and user can keep away in the view networking monitoring equipment for checking each organization later
Exempt from customs examination user brings information misguidance.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method and device of the organization of acquisition view networking monitoring equipment provided herein, carry out
It is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments
Explanation be merely used to help understand the present processes and its core concept;At the same time, for those skilled in the art,
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Hold the limitation that should not be construed as to the application.
Claims (10)
1. a kind of method for the organization for obtaining view networking monitoring equipment, which is characterized in that the described method includes:
Obtain the device coding of the view networking monitoring equipment newly accessed;
The level V organization below of the view networking monitoring equipment is searched according to the device coding;
If not finding level V organization below, the group of the fourth stage or more is determined in the device coding
The organization more than fourth stage determined is determined as the destination organization mechanism of the view networking monitoring equipment by loom structure;
If finding level V organization below, according to level V organization below in preset group
The organization that the fourth stage or more is obtained in loom structure cascade connection, according to the organization and institute more than fourth stage got
State the destination organization mechanism that level V organization below determines the view networking monitoring equipment.
2. the method according to claim 1, wherein the method also includes:
Store the corresponding relationship between the device coding and the destination organization mechanism.
3. the method according to claim 1, wherein the method also includes:
Show the device coding and the destination organization mechanism.
4. the method according to claim 1, wherein it is described according to level V organization below pre-
If obtaining the organization of the fourth stage or more in organization's cascade connection, comprising:
The tissue of the fourth stage is searched in default organization's cascade connection according to level V organization below
Mechanism;
The organization of the third level is searched in default organization's cascade connection according to the organization of the fourth stage;
The organization of the second level is searched in default organization's cascade connection according to the organization of the third level;
The organization of the first order is searched in default organization's cascade connection according to the organization of the second level.
5. the method according to claim 1, wherein described determine the fourth stage or more in the device coding
Organization, comprising:
Obtain the son coding for being located at the first predetermined position in the device coding, and the organization as the first order;
Obtain the son coding for being located at the second predetermined position in the device coding, and the organization as the second level;
Obtain the son coding for being located at third predetermined position in the device coding, and the organization as the third level;
Obtain the son coding for being located at the 4th predetermined position in the device coding, and the organization as the fourth stage.
6. the method according to claim 1, wherein described search the view networking prison according to the device coding
Control the level V organization below of equipment, comprising:
The property file of the view networking monitoring equipment is obtained according to the device coding;
It searches in the first preset field in the property file with the presence or absence of organization;
If there are organizations in first preset field, the organization in first preset field is determined as
The level V organization below of the view networking monitoring equipment;
If organization is not present in first preset field, it is determined that there is no the 5th of the view networking monitoring equipment the
Grade organization below.
7. according to the method described in claim 6, it is characterized in that, described obtain the view networking prison according to the device coding
Control the property file of equipment, comprising:
In corresponding relationship between the device coding of view networking monitoring equipment and the property file of view networking monitoring equipment, search
With the device coding to corresponding property file, and the property file as the view networking monitoring equipment.
8. a kind of device for the organization for obtaining view networking monitoring equipment, which is characterized in that described device includes:
First obtains module, for obtaining the device coding of the view networking monitoring equipment newly accessed;
Searching module, for searching below group of loom of level V of the view networking monitoring equipment according to the device coding
Structure;
First determining module, if for not finding level V organization below, in the device coding
Determine the organization of the fourth stage or more, the second determining module, for determining the organization more than fourth stage determined
For the destination organization mechanism of the view networking monitoring equipment;
Second obtains module, if for finding level V organization below, below the level V
Organization the organization of the fourth stage or more is obtained in default organization's cascade connection, third determining module is used for
According to it is more than the fourth stage got organization and level V organization below determine the view networking monitoring
The destination organization mechanism of equipment.
9. device according to claim 8, which is characterized in that described device further include:
Memory module, for storing the corresponding relationship between the device coding and the destination organization mechanism.
10. device according to claim 8, which is characterized in that described device further include:
Display module, for showing the device coding and the destination organization mechanism.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910276779.2A CN110149494A (en) | 2019-04-08 | 2019-04-08 | A kind of method and device for the organization obtaining view networking monitoring equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910276779.2A CN110149494A (en) | 2019-04-08 | 2019-04-08 | A kind of method and device for the organization obtaining view networking monitoring equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110149494A true CN110149494A (en) | 2019-08-20 |
Family
ID=67589558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910276779.2A Pending CN110149494A (en) | 2019-04-08 | 2019-04-08 | A kind of method and device for the organization obtaining view networking monitoring equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110149494A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110866041A (en) * | 2019-09-30 | 2020-03-06 | 视联动力信息技术股份有限公司 | Query method and device for video networking monitoring camera |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011010199A (en) * | 2009-06-29 | 2011-01-13 | Mitsubishi Electric Corp | Video monitoring system |
CN103166984A (en) * | 2011-12-09 | 2013-06-19 | 中国航天科工集团第二研究院七0六所 | System and method for control and automatic update of network video monitoring equipment controls |
CN108628915A (en) * | 2017-07-26 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of record queries method and device |
CN109302453A (en) * | 2018-09-04 | 2019-02-01 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of the monitoring data based on view networking |
-
2019
- 2019-04-08 CN CN201910276779.2A patent/CN110149494A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011010199A (en) * | 2009-06-29 | 2011-01-13 | Mitsubishi Electric Corp | Video monitoring system |
CN103166984A (en) * | 2011-12-09 | 2013-06-19 | 中国航天科工集团第二研究院七0六所 | System and method for control and automatic update of network video monitoring equipment controls |
CN108628915A (en) * | 2017-07-26 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of record queries method and device |
CN109302453A (en) * | 2018-09-04 | 2019-02-01 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of the monitoring data based on view networking |
Non-Patent Citations (3)
Title |
---|
DZ先生: "DZ先生怪谈国标28181之浅显易懂的国标编码", 《CSDN博客》 * |
YBN187: "海康nvr 使用28181协议配置说明", 《CSDN博客》 * |
ZHU GULI: "GB28181协议实现系列之----IPC设备目录查询(3)", 《CSDN博客》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110866041A (en) * | 2019-09-30 | 2020-03-06 | 视联动力信息技术股份有限公司 | Query method and device for video networking monitoring camera |
CN110866041B (en) * | 2019-09-30 | 2023-05-30 | 视联动力信息技术股份有限公司 | Query method and device for monitoring camera of visual network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108075919A (en) | It is a kind of to regard the method and system that end message is obtained in networking | |
CN108965224A (en) | A kind of method and apparatus of video on demand | |
CN108632238A (en) | A kind of method and apparatus of permission control | |
CN109167960A (en) | A kind of processing method and system of video stream data | |
CN109617956A (en) | A kind of data processing method and device | |
CN108881895A (en) | A kind of malfunction elimination method and apparatus based on view networking | |
CN110225083A (en) | Data push method and device based on view networking | |
CN109788235A (en) | A kind of processing method and system of the minutes information based on view networking | |
CN108234178A (en) | A kind of method and apparatus for being managed collectively menu file | |
CN109284265A (en) | A kind of date storage method and system | |
CN109743555A (en) | A kind of information processing method and system based on view networking | |
CN110048903A (en) | A kind of association turns gateway status monitoring method and device | |
CN109743284A (en) | A kind of method for processing video frequency and system based on view networking | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN110493149A (en) | A kind of method and apparatus of Message processing | |
CN109257629A (en) | A kind of data transmission system | |
CN109922302A (en) | Conference reservation information acquisition method, system, equipment and machine readable media | |
CN110134892A (en) | A kind of loading method and system monitoring the Resources list | |
CN110278244A (en) | A kind of method of network entry and view networked terminals based on view networking | |
CN110287248A (en) | A kind of data read-write method and system | |
CN107920098B (en) | A kind of method and system that web player icon is shown | |
CN109788222A (en) | A kind of processing method and processing device regarding networked video | |
CN110149494A (en) | A kind of method and device for the organization obtaining view networking monitoring equipment | |
CN110049069A (en) | A kind of data capture method and device | |
CN108965744A (en) | A kind of method of video image processing and device based on view networking |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190820 |