CN108206752A - A kind of management method and device regarding networked devices - Google Patents

A kind of management method and device regarding networked devices Download PDF

Info

Publication number
CN108206752A
CN108206752A CN201611180569.6A CN201611180569A CN108206752A CN 108206752 A CN108206752 A CN 108206752A CN 201611180569 A CN201611180569 A CN 201611180569A CN 108206752 A CN108206752 A CN 108206752A
Authority
CN
China
Prior art keywords
target component
networked devices
regarding
order
command
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
Application number
CN201611180569.6A
Other languages
Chinese (zh)
Inventor
焦利芳
王洋
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Visionvera International Information Technology Co Ltd
Original Assignee
Beijing Visionvera International Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Visionvera International Information Technology Co Ltd filed Critical Beijing Visionvera International Information Technology Co Ltd
Priority to CN201611180569.6A priority Critical patent/CN108206752A/en
Publication of CN108206752A publication Critical patent/CN108206752A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the present invention provides a kind of management methods and device regarding networked devices.This method includes:It obtains for multiple multiple parameters administration orders regarding networked devices;The multiple parameter management order is distributed to multiple command queues;Multiple target component administration orders are obtained parallel from the multiple command queue using multiple threads;Tissue is carried out respectively to the multiple target component administration order according to depending on networking protocol;Multiple target component administration order transmitted in parallel after tissue to the multiple target are regarded by networked devices using the multiple equipment handle of network adapter.The embodiment of the present invention can be obtained or set to multiple parallel parameters regarding networked devices to realize using multiple command queues and multiple threads and multiple equipment handle, it has been reminded significantly regarding the acquisition of networked devices parameter and setting speed, and has realized while obtain or set the parameter of multiple equipment.Convenient for the management platform depending on networking to being carried out at the same time monitoring depending on multiple parameters depending on networked devices in networking.

Description

A kind of management method and device regarding networked devices
Technical field
The present invention relates to regarding networking technology field, more particularly to a kind of management method and device regarding networked devices.
Background technology
With the fast development of the network technology, the two-way communications such as video conference, video teaching the life of user, work, Study etc. is widely available.
At present, parameter (such as bandwidth, clothes are being carried out to regarding networked devices (such as regarding networked server, regarding networked terminals) Wu Qi version numbers when) acquisition and configuration when, be mainly serial acquisition and configuration mode by the way of, that is, obtain or set After the parameter of one equipment, the parameter of second equipment could be set.Obviously, the parameter of this serial parameter management scheme Acquisition speed is slow, so as to which management server can not be made timely to obtain and set multiple parameters regarding networked devices in networking, The entire Network status for regarding networking cannot be understood in real time.
It can be seen that the Managed Solution of the prior art regarding networked devices is in the prevalence of device parameter acquisition speed Slowly the problem of, can not obtaining or set simultaneously the parameter of multiple equipment.
Invention content
In view of the above problems, it is proposed that a kind of management method regarding networked devices and a kind of corresponding pipe regarding networked devices Reason device with solve device parameter acquisition speed present in the Managed Solution of the prior art regarding networked devices slowly, Wu Fatong When obtain or setting multiple equipment parameter the problem of.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of management methods regarding networked devices.
This method includes:
It obtains for multiple multiple parameters administration orders regarding networked devices;
The multiple parameter management order is distributed to multiple command queues;
Multiple target component administration orders are obtained parallel from the multiple command queue using multiple threads;
Tissue is carried out respectively to the multiple target component administration order according to depending on networking protocol;
Using the multiple equipment handle of network adapter by multiple target component administration order transmitted in parallel after tissue extremely The multiple target regards networked devices.
The embodiment of the invention also discloses a kind of managing devices regarding networked devices.
The device includes:
First acquisition module, for obtaining for multiple multiple parameters administration orders regarding networked devices;
Distribution module, for distributing the multiple parameter management order to multiple command queues;
Second acquisition module, for obtaining multiple target component pipes parallel from the multiple command queue using multiple threads Reason order;
Molded tissue block, for carrying out tissue respectively to the multiple target component administration order according to depending on networking protocol;
Sending module, for being ordered multiple target component management after tissue using the multiple equipment handle of network adapter Transmitted in parallel to the multiple target is enabled to regard networked devices.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention can be realized using multiple command queues and multiple threads and multiple equipment handle to more A parallel parameter regarding networked devices obtains or setting, has been reminded significantly regarding the acquisition of networked devices parameter and setting speed, and Realize while obtain or set the parameter of multiple equipment.It networks convenient for the management platform depending on networking to multiple regard regarded in networking The parameter of equipment is carried out at the same time monitoring.
Description of the drawings
Fig. 1 is a kind of networking schematic diagram for regarding networking of the present invention;
Fig. 2 is a kind of hardware architecture diagram of node server of the present invention;
Fig. 3 is a kind of hardware architecture diagram of access switch of the present invention;
Fig. 4 is that a kind of Ethernet association of the present invention turns the hardware architecture diagram of gateway;
Fig. 5 is a kind of step flow chart of management method embodiment regarding networked devices of the present invention;
Fig. 6 is the step flow chart that the another kind of the present invention regards the management method embodiment of networked devices;
Fig. 7 is a kind of structure diagram of managing device embodiment regarding networked devices of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can realize HD video real-time Transmission, Push numerous the Internet, applications to HD video, high definition is face-to-face.
It, can be such as high in a network platform by required service depending on networking using real-time high-definition video switching technology 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 requests, TV Mail, individual character recording (PVR), Intranet (manage) channel, intelligent video Broadcast Control, information publication by oneself The services such as etc. tens of kinds videos, voice, picture, word, communication, data are all incorporated into a system platform, by TV or Computer realizes that high-definition quality video plays.
For those skilled in the art is made to more fully understand the embodiment of the present invention, below to being introduced depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Network technology innovation depending on networking improves traditional ethernet (Ethernet), potential huge on network to face Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price exchanged, is provided simultaneously with quality and the safety assurance of circuit switching, it is virtually electric to realize the whole network switch type Road and the seamless connection of data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch of Ethernet are used depending on networking, eliminating Ethernet under the premise of full compatibility lacks It falls into, has the end-to-end seamless connection of the whole network, direct user terminal directly carries IP data packets.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 realizes at present mutually The whole network large-scale high-definition realtime video transmission that networking can not be realized pushes numerous Internet 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, and single network layer is with regard to energy Enough include signaling and data transmission.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 State-of-the-art real time operating system is employed, 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 for typical time to be 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 ad eundem IP internets, but The concurrent flow more than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Structural design depending on networking by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem of puzzlement internet has thoroughly been eradicated from structure, antivirus applet, fire wall has not been needed to generally, has prevented black Visitor and the attack of virus, provide structural carefree secure network to the user.
Service innovative technology (Service Innovation Technology)
Business and transmission are merged 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 program, and can use considerably less code that complicated application can be realized, and 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, it is 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 is (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 Ethernet can be connected.
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 network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (empty thiol point), and multiple unified videos are put down Platform can be formed regarding networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes depending on the equipment in networking:Server, interchanger is (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
The equipment of 1.2 wherein access mesh portions can be mainly divided into 3 classes:Node server, access switch is (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The particular hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, mainly include 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 to the packet come in look into the operation of address table 205, so as 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 approaches It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded if meeting the following conditions:1) port It is less than to send caching;2) the queue package counting facility is more than zero.Disk array module 204 mainly realizes the control to hard disk, including The operations 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 include 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 is into 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, Corresponding flow identifier (stream-id) is then distributed, and enters switching engine module 303, is otherwise abandoned;Uplink network interface mould The packet (downlink data) that block 302 is come in is into switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 to the packet come in look into the operation of address table 306, so as to obtain the navigation information of packet; It is gone if the packet into switching engine module 303 is downstream network interface toward uplink network interface, with reference to 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 embodiments of the present invention:
It is gone if the queue is downstream network interface 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 more than zero;3) token that rate control module generates is obtained;
It is gone if the queue is not downstream network interface toward uplink network interface, meets the following conditions and be forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is more than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval The pack buffer queue that interface is gone toward uplink network interface generates token, to control the code check of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, configuration to address table 306 and, Configuration to rate control module 308.
Ethernet association turns gateway
As shown in figure 4, mainly include 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 add modules 409, MAC removing modules 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 The ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, regarding networking mesh way address 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 modules 410 (2byte), and enter corresponding order caching, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze regarding with networking mesh according to packet 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:
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 formed.
2nd, regarding networking data package definition
2.1 access network data package definitions
The data packet for accessing net mainly includes 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 represents 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 with destination address (DA);
Reserve bytes are made of 2 bytes;
Payload parts have different length according to the type of different datagrams, if being if various protocol packages 64 bytes, if single group unicast packets words be 32+1024=1056 byte, be not restricted to certainly more than 2 kinds;
CRC is made of 4 bytes, and computational methods follow 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 2 kinds can be all can exceed that 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 unique, is closed to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention:Label uniquely describes 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 device A and equipment B there are two connect, then data packet slave device A to equipment B just There are 2 labels, data packet slave device B to device A also there are 2 labels.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into 0x0001.The networking flow 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 is all dominated by metropolitan area server, and node switch, node server are all passive execution, 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 form of label, which can refer to, to be defined as below:Label is 32bit, wherein high 16bit retains, only with low 16bit, its position Put is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic regarding networking, it is proposed that one of the core concepts of the embodiments of the present invention, it then follows regarding the association of networking View is realized to multiple by using multiple command queues and multiple threads and multiple equipment handle regarding the parallel of networked devices Parameter acquiring or setting have been reminded significantly regarding the acquisition of networked devices parameter and setting speed, and have realized while obtain or set Put the parameter of multiple equipment.Convenient for the management platform depending on networking to being carried out at the same time depending on multiple parameters depending on networked devices in networking Monitoring.
With reference to Fig. 5, a kind of step flow chart of management method embodiment regarding networked devices of the present invention, the party are shown Method can be applied to regard in networking, specifically may include steps of:
Step 501, it obtains for multiple multiple parameters administration orders regarding networked devices;
Wherein, NM server can communicate with multiple depending on networked devices, so as to acquire or set the ginseng regarding networked devices Number (such as bandwidth, version number, rotation speed of the fan etc.).Here it can be sent out by network administrator or client from trend NM server The parameter management order of acquisition or setting regarding networked devices parameter is sent, i.e. parameter management order includes parameter acquisition order, parameter Setting command.
In this way, NM server can be got for the multiple parameters management life for regarding several equipment in networking It enables.
Wherein, include depending on networked devices regarding networked server and regarding networked terminals, wherein, networked server is regarded as regarding connection It is responsible for the server of video traffic and management regarding networked terminals in net;Networked terminals are regarded to be directly facing user in depending on networking Terminal device (such as video camera, mobile terminal available for video calling etc.).
Step 502, the multiple parameter management order is distributed to multiple command queues;
Then, multiple orders depending on networked devices parameter that upper layer application can will be acquired or be set are distributed to multiple lives It enables in queue.
Wherein, if multiple parameters administration order here be related to it is multiple regard networked devices, can be by multiple parameters pipe Reason order is respectively allocated to different command queues according to the difference depending on networked devices, so as to so that multiple command queues are parallel Realization order subsequent processing, and then realize to multiple parallel parameter management regarding networked devices.
Step 503, multiple target component administration orders are obtained parallel from the multiple command queue using multiple threads;
It is then possible to it is needed using multiple threads in thread pool come acquisition parallel from this multiple command queue simultaneously The multiple target component administration orders performed.
For example, it is stored in the first command queue there are three parameter management order for depending on networked server A, for regarding connection Network server B is stored in the second command queue there are four parameter management order, then according to the principle of first in first out, multiple threads It can only be ordered every time from the parallel one parameter management order of respective taking-up of multiple command queues referred to herein as target component management It enables.
Step 504, tissue is carried out respectively to the multiple target component administration order according to depending on networking protocol;
Wherein, since NM server is the equipment in internet, the target component management that thread takes out here is ordered It is also the two-layer protocol met in osi model, i.e. IP/TCP agreements to enable, and the two-layer protocol depending on being used in networking is then special Networking protocol is regarded for regard networking (here as V2V agreements).That is, the order of IP/TCP agreements is can not be by regarding networking It is identified, therefore, needs exist for carrying out protocol conversion to multiple target component administration orders, i.e., from the two-layer protocol of internet The two-layer protocol regarding networking is converted to, specially multiple target component administration orders are distinguished according to the V2V agreements depending on networking It is reorganized.
Step 505, using the multiple equipment handle of network adapter by multiple target component administration orders after tissue simultaneously Row is sent to the multiple target regarding networked devices.
It wherein, here can be by means of network interface card since network adapter (i.e. network interface card) can be opened repeatedly simultaneously Multiple target component administration order transmitted in parallel of organization number to each target are regarded networked devices by multiple equipment handle, so as to It is parallel to complete to multiple parameter settings regarding networked devices or acquisition.
In this way, the embodiment of the present invention can be realized using multiple command queues and multiple threads and multiple equipment handle Multiple parallel parameters regarding networked devices are obtained or set, have been reminded significantly regarding the acquisition of networked devices parameter and setting speed Degree, and realize while obtain or set the parameter of multiple equipment.It is multiple in networking to regarding convenient for the management platform depending on networking Parameter depending on networked devices is carried out at the same time monitoring.
On the basis of above-described embodiment, it is described in detail with reference to Fig. 6 come the above-mentioned technical proposal to the present invention.
Wherein, using OSI, (Open System Interconnection, are opened the interconnection net side of the embodiment of the present invention Put the interconnection of formula system) model, it is that one that International Organization for standardization (ISO) proposes attempts to make various computers in world wide The interior standard card cage for being mutually linked as network.Seven layers of frame decibel that the architecture standard defines network interconnection are:Physical layer, number According to link layer, network layer, transport layer, session layer, expression layer and application layer.
Wherein, the communications protocol used depending on the equipment in networking is all based on v2v agreements (depending on networking protocol).V2v is assisted View belongs to second layer data link layer protocol in osi protocol model.In linux operating systems, libpcap libraries (Packet Capture Library, packet capture function library) it is network data Packet capturing function library under Unix/Linux platforms.It An api interface independently of the client layer Packet capturing of system, can for bottom-layer network monitor provide one it is transplantable Frame.Therefore, it can be captured by libpcap come the data packet to two-layer protocol.
With continued reference to Fig. 6, the method for the embodiment of the present invention can utilize upper-layer service logic when management regards networked devices Module, acquisition layer (including Json strings character resolution module), concurrent acquisition module realize above-mentioned management method.Specifically:
Upper-layer service logic module is sent out according to the management needs of user for multiple multiple parameters pipes regarding networked devices Reason order.Wherein, if multiple parameter management order is get parms (for example, all version numbers regarding networked server) Order, then these parameter management orders can be organized into json strings, and pass through ICP/IP protocol by uploading business logic modules Json strings are dealt into acquisition layer;
Then, acquisition layer is obtained for multiple multiple parameters administration orders (being gone here and there here as json) for regarding networked devices, and Character resolution module is gone here and there by the Json of acquisition layer to be parsed to json strings, after being parsed, by analysis result and The multiple parameter management order is sent to concurrent data acquisition module;
It wherein, can be by being directed to each target component management when being parsed to the multiple parameter management order Order, obtains command id respectively;And the side of processing function corresponding with the command id is searched according to the command id Formula obtains the processing function corresponding to each target component administration order.
The embodiment of the present invention can determine each target component administration order to be performed by means of the analyzing step Used call function during the order is performed, is performed so as to complete subsequent order.
Then, after concurrent data acquisition module receives the multiple parameter management order and their processing function, The multiple parameter management order can be distributed to multiple command queues;And multiple threads are used from the multiple order team Row obtain multiple target component administration orders parallel;Then, according to regarding networking protocol (here as V2V agreements) to the multiple mesh Mark parameter management order carries out tissue respectively.
Wherein, according to regard networking protocol (here as V2V agreements) to the multiple target component administration order respectively into During row tissue, the processing function corresponding to each target component administration order may be used, according to regarding networking protocol (i.e. V2V agreements) tissue is carried out respectively to each target component administration order.
After the completion of to multiple target component administration order tissues, concurrent data acquisition module can utilize above-mentioned Libpcap libraries obtain the multiple equipment handle of network adapter.
Specifically, the pcap_open_live () function that may be used in Libpcap libraries obtains the net of NM server The multiple equipment handle of network adapter;
Wherein, the multiple equipment handle is different.
Wherein, one network adapter can be passed through by a large amount of tests of inventor and experiment, the embodiment of the present invention Pcap_open_live () function obtains multiple and different equipment handles.The embodiment of the present invention can be set by different in this way Standby handle is interacted with different depending on networked devices, so as to achieve the effect that performing parallel for parameter management order, Shorten NM server side and the interaction time regarding networked devices.
Finally, multiple target component administration orders after tissue are sent out parallel using the multiple equipment handle of network adapter It send to the multiple target and regards networked devices.
Wherein, include in this example regarding networked devices regarding networked server and regarding networked terminals, wherein, if parameter management Order referent is regarding networked terminals, then needs to regard the target component administration order transmitted in parallel after tissue to this is managed Networked terminals regard networked server, and by obtaining or setting the phase regarding networked terminals by V2V agreements depending on networked server Answer parameter information.
So when from obtaining or be provided with parameters regarding networked server or regarding networked terminals depending on networked server Afterwards, it is possible to reference to Fig. 6 by multiple response messages of multiple target component administration orders (wherein, if parameter management order is Arrange parameter, then the response message whether result is successfully set for parameter setting;If parameter management order is to get parms, Then the response message is accessed parameter information) upload business logic modules are back to parallel, specific Returning process is The above-described inverse process for ordering the process that issues, details are not described herein.
Foregoing description it is found that being realized by way of using multithreading in the management method of the embodiment of the present invention, wherein, it is more The mode of thread can perform multiple threads in the same time, and then promote disposed of in its entirety performance;And the embodiment of the present invention is led to Excessive group command queue (multiple result queues during returning response information) carries out distributed treatment to order (response data), And the order received and the result of acquisition are parsed, it finally returns that and gives upper layer logic application layer, the entire process that manages can be with Achieve the effect that while concurrent, so as to quickly obtain and set the entire device parameter regarded in networking, timely understand Equipment operation condition in whole network once finding that any one goes wrong depending on networked devices, can be positioned quickly and be asked Position is inscribed, so as to solve the failure regarding networked devices in time.
In addition, in embodiments of the present invention, by way of multithreading, Multi net voting adapter handle, can will order and Information simultaneously and issue more regard networked devices.Reduce NM server with regarding networked server or the interaction regarding networked terminals Time increases data processing function, has reached quick obtaining or has set the function of device parameter.
In addition, the v2v agreements of two-layer protocol are all based on depending on combined network communication herein.In v2v agreements, the present invention is implemented Example carries out collecting and sending for data by the equipment handle of network adapter.It is adopted to reach while carrying out data to multiple equipment Collection and configuration, the embodiment of the present invention carry out data acquisition and configuration by opening multiple equipment handle;And multigroup order team is set Row and result queue, wherein, in command queue, place transmitted from upper strata needs setting or obtain device data some letter Breath.Every time from command queue, relevant information is taken out, then can be sent out data according to v2v agreements by equipment handle It goes, response message back is then put into corresponding result queue.And by way of multithreading, accelerate collecting for data And transmission, it can reach parallel to multiple functions of regarding networked devices while acquire and set data.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group It closes, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
With reference to Fig. 7, a kind of structure diagram of managing device embodiment regarding networked devices of the present invention, the device are shown It can be applied to regard in networking, can specifically include following module:
First acquisition module 71, for obtaining for multiple multiple parameters administration orders regarding networked devices;
Distribution module 72, for distributing the multiple parameter management order to multiple command queues;
Second acquisition module 73, for obtaining multiple target components parallel from the multiple command queue using multiple threads Administration order;
Molded tissue block 74, for carrying out tissue respectively to the multiple target component administration order according to depending on networking protocol;
Sending module 75, for using the multiple equipment handle of network adapter by multiple target component management after tissue Order transmitted in parallel to the multiple target regards networked devices.
In one preferred embodiment of the invention, described device further includes following unshowned module and submodule:
Parsing module (not shown), for being parsed to the multiple parameter management order.
Optionally, the parsing module (not shown) includes:
Acquisition submodule (not shown), for for each target component administration order, obtaining command id respectively;
Submodule (not shown) is searched, for searching processing letter corresponding with the command id according to the command id Number.
Optionally, the molded tissue block 74 includes:
Submodule (not shown) is organized, for using the processing function corresponding to each target component administration order, Tissue is carried out respectively to each target component administration order according to depending on networking protocol.
Optionally, described device further includes:
Third acquisition module (not shown), for obtaining the multiple of network adapter using pcap_open_live () function Equipment handle;
Wherein, the multiple equipment handle is different.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention 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 invention 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 invention be with reference to according to the method for the embodiment of the present invention, 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 flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are performed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, those skilled in the art once know base This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
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, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
Above to a kind of management method regarding networked devices provided by the present invention and a kind of management dress regarding networked devices It puts, is described in detail, specific case used herein is expounded the principle of the present invention and embodiment, more than The explanation of embodiment is merely used to help understand the method and its core concept of the present invention;Meanwhile for the general skill of this field Art personnel, thought according to the present invention, there will be changes in specific embodiments and applications, in conclusion this Description should not be construed as limiting the invention.

Claims (10)

1. a kind of management method regarding networked devices, which is characterized in that including:
It obtains for multiple multiple parameters administration orders regarding networked devices;
The multiple parameter management order is distributed to multiple command queues;
Multiple target component administration orders are obtained parallel from the multiple command queue using multiple threads;
Tissue is carried out respectively to the multiple target component administration order according to depending on networking protocol;
Using the multiple equipment handle of network adapter by multiple target component administration order transmitted in parallel after tissue to described Multiple targets regard networked devices.
2. according to the method described in claim 1, it is characterized in that, described distribute the multiple parameter management order to multiple Before the step of command queue, the method further includes:
The multiple parameter management order is parsed.
3. the according to the method described in claim 2, it is characterized in that, step parsed to the parameter management order Suddenly, including:
For each target component administration order, command id is obtained respectively;
Processing function corresponding with the command id is searched according to the command id.
4. according to the method described in claim 1, it is characterized in that, it is described according to regarding networking protocol to the multiple target component Administration order carries out the step of tissue respectively, including:
The processing function corresponding to using each target component administration order, according to regarding networking protocol to each target component Administration order carries out tissue respectively.
5. according to the method described in claim 1, it is characterized in that, the multiple equipment handle using network adapter is by group Before the step of multiple target component administration order transmitted in parallel to target after knitting regards networked devices, the method further includes:
The multiple equipment handle of network adapter is obtained using pcap_open_live () function;
Wherein, the multiple equipment handle is different.
6. a kind of managing device regarding networked devices, which is characterized in that including:
First acquisition module, for obtaining for multiple multiple parameters administration orders regarding networked devices;
Distribution module, for distributing the multiple parameter management order to multiple command queues;
Second acquisition module, for obtaining multiple target component management lives parallel from the multiple command queue using multiple threads It enables;
Molded tissue block, for carrying out tissue respectively to the multiple target component administration order according to depending on networking protocol;
Sending module, for using network adapter multiple equipment handle by multiple target component administration orders after tissue simultaneously Row is sent to the multiple target regarding networked devices.
7. device according to claim 6, which is characterized in that described device further includes:
Parsing module, for being parsed to the multiple parameter management order.
8. device according to claim 7, which is characterized in that the parsing module includes:
Acquisition submodule, for for each target component administration order, obtaining command id respectively;
Submodule is searched, for searching processing function corresponding with the command id according to the command id.
9. device according to claim 6, which is characterized in that the molded tissue block includes:
Submodule is organized, for using the processing function corresponding to each target component administration order, being assisted according to regarding networking View carries out tissue respectively to each target component administration order.
10. device according to claim 6, which is characterized in that described device further includes:
Third acquisition module, for obtaining the multiple equipment handle of network adapter using pcap_open_live () function;
Wherein, the multiple equipment handle is different.
CN201611180569.6A 2016-12-19 2016-12-19 A kind of management method and device regarding networked devices Pending CN108206752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611180569.6A CN108206752A (en) 2016-12-19 2016-12-19 A kind of management method and device regarding networked devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611180569.6A CN108206752A (en) 2016-12-19 2016-12-19 A kind of management method and device regarding networked devices

Publications (1)

Publication Number Publication Date
CN108206752A true CN108206752A (en) 2018-06-26

Family

ID=62603100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611180569.6A Pending CN108206752A (en) 2016-12-19 2016-12-19 A kind of management method and device regarding networked devices

Country Status (1)

Country Link
CN (1) CN108206752A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151513A (en) * 2018-09-06 2019-01-04 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN109302399A (en) * 2018-10-15 2019-02-01 视联动力信息技术股份有限公司 A kind of method and system of long-range comparing Core server version
CN109379222A (en) * 2018-10-15 2019-02-22 视联动力信息技术股份有限公司 A kind of method and system comparing Core server version
CN109495713A (en) * 2018-11-13 2019-03-19 视联动力信息技术股份有限公司 A kind of video conference control method and device based on view networking
CN110351247A (en) * 2019-06-13 2019-10-18 视联动力信息技术股份有限公司 A kind of parameter collecting method, apparatus and system
CN110381030A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of processing method and processing device of synchronization request
CN110493191A (en) * 2019-07-16 2019-11-22 视联动力信息技术股份有限公司 Windows platform data forwarding method, device, electronic equipment and readable storage medium storing program for executing
CN110677394A (en) * 2019-09-12 2020-01-10 视联动力信息技术股份有限公司 Multimedia data transmission method and system
CN110730088A (en) * 2018-07-17 2020-01-24 视联动力信息技术股份有限公司 Task processing method and system for video network
CN114020348A (en) * 2021-10-11 2022-02-08 中科创达软件科技(深圳)有限公司 Command processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1376993A (en) * 2002-05-09 2002-10-30 邓祖道 Digitalized audio-video information resource system for remote education and its implementing method
CN101540780A (en) * 2004-12-29 2009-09-23 国家广播电影电视总局广播科学研究院 Processing method of data request message based on data/video service system
CN102572871A (en) * 2010-12-30 2012-07-11 中国移动通信集团浙江有限公司 Monitoring method and device
US20120213290A1 (en) * 2011-02-18 2012-08-23 Arm Limited Parallel video decoding
CN102881307A (en) * 2012-09-05 2013-01-16 北京得力天方信息科技有限公司 Video and audio recording and playing system and method
CN103345385A (en) * 2013-07-29 2013-10-09 北京汉邦高科数字技术股份有限公司 Method for converting serial events into parallel events

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1376993A (en) * 2002-05-09 2002-10-30 邓祖道 Digitalized audio-video information resource system for remote education and its implementing method
CN101540780A (en) * 2004-12-29 2009-09-23 国家广播电影电视总局广播科学研究院 Processing method of data request message based on data/video service system
CN102572871A (en) * 2010-12-30 2012-07-11 中国移动通信集团浙江有限公司 Monitoring method and device
US20120213290A1 (en) * 2011-02-18 2012-08-23 Arm Limited Parallel video decoding
CN102881307A (en) * 2012-09-05 2013-01-16 北京得力天方信息科技有限公司 Video and audio recording and playing system and method
CN103345385A (en) * 2013-07-29 2013-10-09 北京汉邦高科数字技术股份有限公司 Method for converting serial events into parallel events

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730088A (en) * 2018-07-17 2020-01-24 视联动力信息技术股份有限公司 Task processing method and system for video network
CN109151513A (en) * 2018-09-06 2019-01-04 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN109302399A (en) * 2018-10-15 2019-02-01 视联动力信息技术股份有限公司 A kind of method and system of long-range comparing Core server version
CN109379222A (en) * 2018-10-15 2019-02-22 视联动力信息技术股份有限公司 A kind of method and system comparing Core server version
CN109379222B (en) * 2018-10-15 2022-02-25 视联动力信息技术股份有限公司 Method and system for comparing versions of core servers
CN109302399B (en) * 2018-10-15 2021-09-21 视联动力信息技术股份有限公司 Method and system for remotely comparing versions of core servers
CN109495713A (en) * 2018-11-13 2019-03-19 视联动力信息技术股份有限公司 A kind of video conference control method and device based on view networking
CN110351247A (en) * 2019-06-13 2019-10-18 视联动力信息技术股份有限公司 A kind of parameter collecting method, apparatus and system
CN110351247B (en) * 2019-06-13 2022-09-20 视联动力信息技术股份有限公司 Parameter acquisition method, device and system
CN110381030A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of processing method and processing device of synchronization request
CN110381030B (en) * 2019-06-20 2022-03-11 视联动力信息技术股份有限公司 Method and device for processing synchronization request
CN110493191A (en) * 2019-07-16 2019-11-22 视联动力信息技术股份有限公司 Windows platform data forwarding method, device, electronic equipment and readable storage medium storing program for executing
CN110677394A (en) * 2019-09-12 2020-01-10 视联动力信息技术股份有限公司 Multimedia data transmission method and system
CN110677394B (en) * 2019-09-12 2022-03-29 视联动力信息技术股份有限公司 Multimedia data transmission method and system
CN114020348A (en) * 2021-10-11 2022-02-08 中科创达软件科技(深圳)有限公司 Command processing method and device

Similar Documents

Publication Publication Date Title
CN108075920B (en) A kind of management method and system regarding networked terminals
CN108206752A (en) A kind of management method and device regarding networked devices
CN108234396A (en) A kind of method and device of monitoring device status information real-time synchronization
CN108121588A (en) It is a kind of access external resource method and its regarding networking access server
CN108234190B (en) A kind of management method and system regarding networked devices
CN107888401B (en) A kind of method and system of real time monitoring view networked terminals cpu busy percentage
CN109617956A (en) A kind of data processing method and device
CN108810444A (en) Processing method, conference dispatching end and the association of video conference turn server
CN109561073A (en) A kind of transparent transmission system and method based on view networking
CN109547728A (en) A kind of method and system of recorded broadcast source membership and recorded broadcast of session
CN109818776A (en) Micro services module exception localization method and device
CN109842519A (en) A kind of method and apparatus of preview video stream
CN110493513A (en) A kind of camera control method and a kind of view networked system
CN108881895A (en) A kind of malfunction elimination method and apparatus based on view networking
CN108234178A (en) A kind of method and apparatus for being managed collectively menu file
CN108307212A (en) A kind of file order method and device
CN109284265A (en) A kind of date storage method and system
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
CN109347930A (en) A kind of task processing method and device
CN110417792A (en) Communication means, system, gateway and storage medium
CN110048911A (en) A kind of Cascading Methods and server based on view networking
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
CN110022500A (en) A kind of loss treating 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
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180626

RJ01 Rejection of invention patent application after publication