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 realApplying 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 technologyClear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoringField live streaming, VOD program requests, TV Mail, individual character recording (PVR), Intranet (manage) channel, intelligent video Broadcast Control, information publication by oneselfThe services such as etc. tens of kinds videos, voice, picture, word, communication, data are all incorporated into a system platform, by TV orComputer 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 faceVideo flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice networkSwitching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technologyFlexible, 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 typeRoad 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 lacksIt 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 basisIt 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 mutuallyThe 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 platformTransmission 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 energyEnough include signaling and data transmission.For voice and video business, handled depending on networking and unified video platform Streaming MediaComplexity 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 andState-of-the-art real time operating system is employed, the programme information in server instruction is mapped to specific hard drive space, mediaContent 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 optimizesSector 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, butThe 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 timeThe network security problem of puzzlement internet has thoroughly been eradicated from structure, antivirus applet, fire wall has not been needed to generally, has prevented blackVisitor 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 netThe 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 richThe 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. classType, 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 machinesTop box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phasesEven, 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 serveDevice.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 endPoint, 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 serveDevice.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 areaThe 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 downPlatform 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 etherNet gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (orNational 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 etherNet 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 arrayModule 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engineModule 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 approachesIt is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded if meeting the following conditions:1) portIt 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, includingThe 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 module302), 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 mouldWhether 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 mouldThe 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 engineModule 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 packetNavigation 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 intervalThe 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 module402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao HuanStorage 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 examinedThe ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, regarding networking mesh way addressDA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meetingIdentifier (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 packetAddress D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gatewaySA, 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 networkMouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engineModule, 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 includesNetwork 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:
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section represents type (such as the various associations of data packetDiscuss 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 packages64 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 equipment2 kinds can be all can exceed that between machine and node server, node switch and node switch, node switch and node serverConnection.But the metropolitan area net address of metropolitan area network equipment is unique, is closed to accurately describe the connection between metropolitan area network equipmentSystem, 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 specificationChange) 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 justThere 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 entersThe label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into0x0001.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 withThe 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.ItsIn, 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 positionPut 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 networkingView is realized to multiple by using multiple command queues and multiple threads and multiple equipment handle regarding the parallel of networked devicesParameter acquiring or setting have been reminded significantly regarding the acquisition of networked devices parameter and setting speed, and have realized while obtain or setPut 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 networkingMonitoring.
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 shownMethod 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 devicesNumber (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 serverThe parameter management order of acquisition or setting regarding networked devices parameter is sent, i.e. parameter management order includes parameter acquisition order, parameterSetting command.
In this way, NM server can be got for the multiple parameters management life for regarding several equipment in networkingIt enables.
Wherein, include depending on networked devices regarding networked server and regarding networked terminals, wherein, networked server is regarded as regarding connectionIt 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 networkingTerminal 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 livesIt enables in queue.
Wherein, if multiple parameters administration order here be related to it is multiple regard networked devices, can be by multiple parameters pipeReason 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 parallelRealization 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 simultaneouslyThe 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 connectionNetwork 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 threadsIt 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 managementIt 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 orderedIt 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 specialNetworking protocol is regarded for regard networking (here as V2V agreements).That is, the order of IP/TCP agreements is can not be by regarding networkingIt is identified, therefore, needs exist for carrying out protocol conversion to multiple target component administration orders, i.e., from the two-layer protocol of internetThe two-layer protocol regarding networking is converted to, specially multiple target component administration orders are distinguished according to the V2V agreements depending on networkingIt is reorganized.
Step 505, using the multiple equipment handle of network adapter by multiple target component administration orders after tissue simultaneouslyRow 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 simultaneouslyMultiple target component administration order transmitted in parallel of organization number to each target are regarded networked devices by multiple equipment handle, so as toIt 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 handleMultiple parallel parameters regarding networked devices are obtained or set, have been reminded significantly regarding the acquisition of networked devices parameter and setting speedDegree, 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 networkingParameter 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 inventionPut the interconnection of formula system) model, it is that one that International Organization for standardization (ISO) proposes attempts to make various computers in world wideThe 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, numberAccording 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 assistedView belongs to second layer data link layer protocol in osi protocol model.In linux operating systems, libpcap libraries (PacketCapture Library, packet capture function library) it is network data Packet capturing function library under Unix/Linux platforms.ItAn api interface independently of the client layer Packet capturing of system, can for bottom-layer network monitor provide one it is transplantableFrame.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 devicesModule, 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 devicesReason 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 modulesJson 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, andCharacter 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 andThe 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 orderOrder, obtains command id respectively;And the side of processing function corresponding with the command id is searched according to the command idFormula 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 stepUsed 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 teamRow obtain multiple target component administration orders parallel;Then, according to regarding networking protocol (here as V2V agreements) to the multiple meshMark 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 intoDuring 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-mentionedLibpcap 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 serverThe 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 inventionPcap_open_live () function obtains multiple and different equipment handles.The embodiment of the present invention can be set by different in this wayStandby 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 adapterIt 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 managementOrder referent is regarding networked terminals, then needs to regard the target component administration order transmitted in parallel after tissue to this is managedNetworked terminals regard networked server, and by obtaining or setting the phase regarding networked terminals by V2V agreements depending on networked serverAnswer parameter information.
So when from obtaining or be provided with parameters regarding networked server or regarding networked terminals depending on networked serverAfterwards, it is possible to reference to Fig. 6 by multiple response messages of multiple target component administration orders (wherein, if parameter management order isArrange 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 isThe 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 moreThe 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 toExcessive 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 withAchieve the effect that while concurrent, so as to quickly obtain and set the entire device parameter regarded in networking, timely understandEquipment operation condition in whole network once finding that any one goes wrong depending on networked devices, can be positioned quickly and be askedPosition 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 andInformation simultaneously and issue more regard networked devices.Reduce NM server with regarding networked server or the interaction regarding networked terminalsTime 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 implementedExample 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 equipmentCollection and configuration, the embodiment of the present invention carry out data acquisition and configuration by opening multiple equipment handle;And multigroup order team is setRow and result queue, wherein, in command queue, place transmitted from upper strata needs setting or obtain device data some letterBreath.Every time from command queue, relevant information is taken out, then can be sent out data according to v2v agreements by equipment handleIt goes, response message back is then put into corresponding result queue.And by way of multithreading, accelerate collecting for dataAnd 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 groupIt 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 toAccording 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 shouldKnow, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implementedNecessary 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 shownIt 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 threadsAdministration 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 tissueOrder 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 idNumber.
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 () functionEquipment 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 relatedPart 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 withThe 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 calculateMachine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software andThe form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer canWith in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program codeThe 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 programThe 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 instructionsIn each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be providedComputer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminalsStandby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipmentsCapable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxesThe 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 equipmentsIn the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates packetThe manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagramThe 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 thatSeries of operation steps are performed on computer or other programmable terminal equipments to generate computer implemented processing, thusThe instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flowsAnd/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 baseThis creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed toIncluding 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 byOne entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operationBetween there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaningCovering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrappedThose elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, articleOr the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limitedElement, 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 devicesIt puts, is described in detail, specific case used herein is expounded the principle of the present invention and embodiment, more thanThe 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 fieldArt personnel, thought according to the present invention, there will be changes in specific embodiments and applications, in conclusion thisDescription should not be construed as limiting the invention.