CN108881940A - A kind of data processing method and view networked server - Google Patents

A kind of data processing method and view networked server Download PDF

Info

Publication number
CN108881940A
CN108881940A CN201711396236.1A CN201711396236A CN108881940A CN 108881940 A CN108881940 A CN 108881940A CN 201711396236 A CN201711396236 A CN 201711396236A CN 108881940 A CN108881940 A CN 108881940A
Authority
CN
China
Prior art keywords
data
network interface
interface card
initial data
protocol type
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
CN201711396236.1A
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 CN201711396236.1A priority Critical patent/CN108881940A/en
Publication of CN108881940A publication Critical patent/CN108881940A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The embodiment of the invention discloses a kind of data processing method and networked server is regarded, the method includes:The network interface card buffer area is read, multiple initial data are obtained;The initial data has data protocol type;In the multiple initial data, the target data that data protocol type meets view networking protocol type is filtered out;Send the target data.According to embodiments of the present invention, reduce the time that server handles data, improve data-handling efficiency.

Description

A kind of data processing method and view networked server
Technical field
The present embodiments relate to the communications field more particularly to a kind of data processing methods, and, a kind of view the Internet services Device.
Background technique
Currently, with the fast development of the network technology, the two-way communications such as video conference, video teaching user life, Work, study etc. are widely available, are increasingly used in each technical field depending on networking technology.
When carrying out data interaction using view networking technology and internet, it usually needs be arranged one in depending on networked server A network interface card buffer area, for the data interaction between internet and view networking.
However, for the stability of system, being needed first when network interface card buffer area receives data and handled for data To read data from network interface card buffer area by the operating system on server, then to the data of reading carry out a series of parsing, Distribution processor increases server to the processing time of data as a result, affects the efficiency that server carries out data interaction.
Therefore, the data processing method of the prior art has that data-handling efficiency is lower.
Summary of the invention
The present invention provides a kind of data processing method and a kind of view networked servers, to solve the data of the prior art Processing method has that data-handling efficiency is lower.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of data processing methods, are applied to view networking Server, described depending on networked server includes network interface card buffer area, the method includes:
The network interface card buffer area is read, multiple initial data are obtained;The initial data has data protocol type;
In the multiple initial data, the target data that data protocol type meets view networking protocol type is filtered out;
Send the target data.
Optionally, the network interface card buffer area have corresponding network interface card information, it is described view networked server be equipped with data put down The step of face exploitation software, the reading network interface card buffer area, including:
When the network interface card information meets default network interface card information, the data plane exploitation software is called to read the network interface card slow Rush area.
Optionally, described in the multiple initial data, filter out the initial data work for meeting view networking protocol type The step of for target data, including:
At least one initial data is chosen from the multiple initial data;
Whether the data protocol type for judging at least one initial data is view networking protocol type;
If the data protocol type of at least one initial data is view networking protocol type, described at least one is extracted A initial data is as the target data.
Optionally, the method also includes:
Receive the initial data that data switching exchane is sent;
Received initial data is stored in the network interface card buffer area.
Optionally, the target data includes view networked terminals mark, and the view networked terminals mark has corresponding view The step of networked terminals, the transmission target data, including:
The target data is sent to the view networked terminals and identifies corresponding view networked terminals.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of view networked server, the view networking clothes Business device includes network interface card buffer area, described to include depending on networked server:
Network interface card read module obtains multiple initial data for reading the network interface card buffer area;The initial data has Data protocol type;
Target data screening module meets view connection in the multiple initial data, filtering out data protocol type The target data of fidonetFido type;
Target data sending module, for sending the target data.
Optionally, the network interface card buffer area have corresponding network interface card information, it is described view networked server be equipped with data put down Face exploitation software, the network interface card read module, including:
Network interface card reading submodule calls the data plane to open for meeting default network interface card information when the network interface card information The part that feels like jelly reads the network interface card buffer area.
Optionally, the target data screening module, including:
Initial data chooses submodule, for choosing at least one initial data from the multiple initial data;
Protocol type judging submodule, for judging whether the data protocol type of at least one initial data is view Networking protocol type;
Target data determines submodule, if the data protocol type at least one initial data is view networking association Type is discussed, then extracts at least one described initial data as the target data.
Optionally, described to further include depending on networked server:
Initial data receiving module, the initial data that interchanger is sent for receiving data;
Initial data memory module, for received initial data to be stored in the network interface card buffer area.
Optionally, the target data includes view networked terminals mark, and the view networked terminals mark has corresponding view Networked terminals, the target data sending module, including:
Data sending submodule identifies corresponding view networking for the target data to be sent to the view networked terminals Terminal.
According to embodiments of the present invention, multiple initial data are obtained by reading network interface card buffer area, and is directed to multiple original numbers According to data protocol type screened, obtain the target data that data protocol type meets view networking protocol type, and send The target data, thus, the operating system avoided on server reads data from network interface card buffer area, then to the data of reading A series of parsing, distribution processor are carried out, the time that server handles data is reduced, improves data processing effect Rate.
Detailed description of the invention
Fig. 1 is the flow chart for the data processing method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of data processing method provided by Embodiment 2 of the present invention;
Fig. 3 is the structural block diagram for the view networked server that the embodiment of the present invention three provides;
Fig. 4 is the structural block diagram for the view networked server that the embodiment of the present invention four provides;
Fig. 5 is a kind of networking schematic diagram of view networking of the invention;
Fig. 6 is a kind of hardware structural diagram of node server of the invention;
Fig. 7 is a kind of hardware structural diagram of access switch of the invention;
Fig. 8 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
Fig. 1 is the flow chart for the data processing method that the embodiment of the present invention one provides, and is applied to view networked server, described It include network interface card buffer area depending on networked server, the method can specifically include:
Step 110, the network interface card buffer area is read, multiple initial data are obtained;The initial data has data protocol Type.
Firstly, it is necessary to which explanation, data processing method provided in an embodiment of the present invention, can be applied to view the Internet services On device.Network interface card buffer area has can be set depending on networked server in this, for storing the data received.More specifically, view networking Server can grab multiple initial data from interchanger, and be stored in network interface card buffer area.
In the concrete realization, can by DPDK (Data Plane Development Kit, data plane exploitation it is soft Part) etc. data plane develop software, read network interface card buffer area, to obtain initial data.
It should be further noted that DPDK is can be directed to net for the data mining software of specific network interface card exploitation The data of card buffer are parsed and are read.Therefore, DPDK can bypass the operating system of server and directly delay from network interface card It rushes area and reads data.
Step 120, in the multiple initial data, the mesh that data protocol type meets view networking protocol type is filtered out Mark data.
In the specific implementation, due to depending on networked server from the initial data that interchanger grabs include do not meet view networking association The data of view, therefore, data protocol type possessed by available each initial data, and judge the data association of initial data Whether view type meets view networking protocol type, the data for not meeting view networking protocol type is deleted, to filter out data Protocol type meets the data of view networking protocol type, as above-mentioned target data.
Step 130, the target data is sent.
In the specific implementation, the target data filtered out can be sent to some application program, alternatively, logical depending on networked server It crosses and is sent to some view networked terminals depending on networking.
It should be noted that the operating system depending on networked server can also carry out reading data, solution in network interface card buffer area The processing such as analysis, distribution, the data processing method of the embodiment of the present invention do not interfere with operating system to network interface card buffer area just Regular data processing.
According to embodiments of the present invention, multiple initial data are obtained by reading network interface card buffer area, and is directed to multiple original numbers According to data protocol type screened, obtain the target data that data protocol type meets view networking protocol type, and send The target data, thus, the operating system avoided on server reads data from network interface card buffer area, then to the data of reading A series of parsing, distribution processor are carried out, the time that server handles data is reduced, improves data processing effect Rate.
Embodiment two
Fig. 2 is the flow chart of data processing method provided by Embodiment 2 of the present invention, is applied to view networked server, described It include network interface card buffer area depending on networked server, the method can specifically include:
Step 210, the initial data that data switching exchane is sent is received.
Step 220, received initial data is stored in the network interface card buffer area.
In the specific implementation, a large amount of initial data can be grabbed from data switching exchane depending on networked server, and will crawl Initial data, be stored in network interface card buffer area.
Step 230, the network interface card buffer area is read, multiple initial data are obtained;The initial data has data protocol Type.
Optionally, the network interface card buffer area have corresponding network interface card information, it is described view networked server be equipped with data put down Software is developed in face, and the step 230 can specifically include:
When the network interface card information meets default network interface card information, the data plane exploitation software is called to read the network interface card slow Rush area.
In the specific implementation, data plane exploitation software, data plane exploitation can be equipped in advance depending on networked server Software can be for network interface card and develop, and can be parsed and be read for the data of network interface card buffer area.In practical application In, it is understood that there may be there is part network interface card that can not develop software by data plane and directly reads.Therefore, the net of network interface card can be obtained first Card information, the network interface card information that will acquire are compared with default network interface card information, when network interface card information meets default network interface card information, then may be used Software is developed with the data plane on invoking server, to read the initial data in network interface card buffer area.
Step 240, in the multiple initial data, the mesh that data protocol type meets view networking protocol type is filtered out Mark data.
Optionally, the step 240 can specifically include:
At least one initial data is chosen from the multiple initial data;
Whether the data protocol type for judging at least one initial data is view networking protocol type;
If the data protocol type of at least one initial data is view networking protocol type, described at least one is extracted A initial data is as the target data.
In the specific implementation, can therefrom choose one or more for the multiple initial data read from network interface card buffer area A initial data judges whether the data protocol type of the initial data is view networking protocol type.If the initial data Data protocol type is view networking protocol type, then the initial data is extracted, as above-mentioned target data.If the original number According to data protocol type not regard networking protocol type, then can be abandoned.
Step 250, the target data is sent.
Optionally, the target data includes view networked terminals mark, and the view networked terminals mark has corresponding view Networked terminals, the step 250 can specifically include:
The target data is sent to the view networked terminals and identifies corresponding view networked terminals.
In the specific implementation, can carry view networked terminals mark in target data, each view networked terminals identify can be with With corresponding view networked terminals.When sending target data, view networked terminals mark can be extracted from target data, It is identified according to the view networked terminals, target data is sent to view networked terminals and identifies corresponding view networked terminals.
Embodiment three
Fig. 3 is the structural block diagram for the view networked server that the embodiment of the present invention three provides, described to include depending on networked server Network interface card buffer area, the view networked server 300, can specifically include with lower module:
Network interface card read module 310 obtains multiple initial data for reading the network interface card buffer area;The initial data With data protocol type;
Target data screening module 320, for filtering out data protocol type and meeting view in the multiple initial data The target data of networking protocol type;
Target data sending module 330, for sending the target data.
According to embodiments of the present invention, multiple initial data are obtained by reading network interface card buffer area, and is directed to multiple original numbers According to data protocol type screened, obtain the target data that data protocol type meets view networking protocol type, and send The target data, thus, the operating system avoided on server reads data from network interface card buffer area, then to the data of reading A series of parsing, distribution processor are carried out, the time that server handles data is reduced, improves data processing effect Rate.
Example IV
Fig. 4 is the structural block diagram for the view networked server that the embodiment of the present invention four provides, described to include depending on networked server Network interface card buffer area, the view networked server 400, can specifically include with lower module:
Initial data receiving module 410, the initial data that interchanger is sent for receiving data;
Initial data memory module 420, for received initial data to be stored in the network interface card buffer area;
Network interface card read module 430 obtains multiple initial data for reading the network interface card buffer area;The initial data With data protocol type;
Target data screening module 440, for filtering out data protocol type and meeting view in the multiple initial data The target data of networking protocol type;
Target data sending module 450, for sending the target data.
Optionally, the network interface card buffer area have corresponding network interface card information, it is described view networked server be equipped with data put down Software is developed in face, and the network interface card read module 430 can specifically include:
Network interface card reading submodule calls the data plane to open for meeting default network interface card information when the network interface card information The part that feels like jelly reads the network interface card buffer area.
Optionally, the target data screening module 440, can specifically include:
Initial data chooses submodule, for choosing at least one initial data from the multiple initial data;
Protocol type judging submodule, for judging whether the data protocol type of at least one initial data is view Networking protocol type;
Target data determines submodule, if the data protocol type at least one initial data is view networking association Type is discussed, then extracts at least one described initial data as the target data.
Optionally, the target data includes view networked terminals mark, and the view networked terminals mark has corresponding view Networked terminals, the target data sending module 450, can specifically include:
Data sending submodule identifies corresponding view networking for the target data to be sent to the view networked terminals Terminal.
The treatment process as described in Installation practice, has been described in detail in embodiment of the method, therefore, herein not It repeats again.
It should be added that the above embodiment of the present invention, can be applied in the communication network of view networking.Depending on connection Net is the important milestone of network Development, is a real-time network, can be realized HD video real-time Transmission, by numerous internets Using HD video is pushed to, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in figure 5, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes:Node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes:Metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking 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 (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes depending on the equipment in networking:Server, interchanger (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.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes:Node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment is:
Node server:
As shown in fig. 6, mainly including Network Interface Module 601, switching engine module 602, CPU module 603, disk array Module 604;
Wherein, Network Interface Module 601, the Bao Jun that CPU module 603, disk array module 604 are come in enter switching engine Module 602;Switching engine module 602 look into the operation of address table 605 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 606;If the queue of pack buffer 606 is close It is full, then it abandons;All pack buffer queues of 602 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 greater than zero.Disk array module 604 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 603 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 605 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 604.
Access switch:
As shown in fig. 7, mainly including Network Interface Module (downstream network interface module 701, uplink network interface module 702), switching engine module 703 and CPU module 704;
Wherein, the packet (upstream data) that downstream network interface module 701 is come in enters packet detection module 705;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 705 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 703, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 702 is come in enters switching engine module 703;The data packet that CPU module 704 is come in enters switching engine Module 703;Switching engine module 703 look into the operation of address table 706 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 703 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 707;If the queue of the pack buffer 707 is close full, It abandons;If the packet into switching engine module 703 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 707;If the queue of the pack buffer 707 is close full, Then abandon.
All pack buffer queues of 703 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded:1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 708 is configured by CPU module 704, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 704 is mainly responsible for the protocol processes between node server, the configuration to address table 706, and, Configuration to rate control module 708.
Ethernet association turns gateway
As shown in figure 8, mainly including Network Interface Module (downstream network interface module 801, uplink network interface module 802), switching engine module 803, CPU module 804, packet detection module 805, rate control module 808, address table 806, Bao Huan Storage 807 and MAC adding module 809, MAC removing module 810.
Wherein, the data packet that downstream network interface module 801 is come in enters packet detection module 805;Packet detection module 805 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 810 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 801 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes:Node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
The data packet of access 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 indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention:Label uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition:Label is 32bit, wherein high 16bit retains, only with low 16bit, its area Domain is between the reserve bytes and payload of data packet.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention:It is i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize server according to an embodiment of the present invention, some in terminal or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of data processing method, it is applied to view networked server, which is characterized in that described depending on networked server includes network interface card Buffer area, the method includes:
The network interface card buffer area is read, multiple initial data are obtained;The initial data has data protocol type;
In the multiple initial data, the target data that data protocol type meets view networking protocol type is filtered out;
Send the target data.
2. the method according to claim 1, wherein the network interface card buffer area has corresponding network interface card information, institute It states and data plane exploitation software is installed depending on networked server, the step of the reading network interface card buffer area, including:
When the network interface card information meets default network interface card information, the data plane exploitation software is called to read the network interface card buffering Area.
3. filtering out and meeting the method according to claim 1, wherein described in the multiple initial data Depending on networking protocol type initial data as target data the step of, including:
At least one initial data is chosen from the multiple initial data;
Whether the data protocol type for judging at least one initial data is view networking protocol type;
If the data protocol type of at least one initial data is view networking protocol type, at least one described original is extracted Beginning data are as the target data.
4. the method according to claim 1, wherein the method also includes:
Receive the initial data that data switching exchane is sent;
Received initial data is stored in the network interface card buffer area.
5. the method according to claim 1, wherein the target data include view networked terminals mark, it is described There is the step of corresponding view networked terminals, the transmission target data depending on networked terminals mark, including:
The target data is sent to the view networked terminals and identifies corresponding view networked terminals.
6. a kind of view networked server, which is characterized in that described depending on networked server includes network interface card buffer area, the view networking clothes Business device include:
Network interface card read module obtains multiple initial data for reading the network interface card buffer area;The initial data has data Protocol type;
Target data screening module meets view networking association in the multiple initial data, filtering out data protocol type Discuss the target data of type;
Target data sending module, for sending the target data.
7. view networked server according to claim 6, which is characterized in that the network interface card buffer area has corresponding network interface card Information, it is described depending on networked server be equipped with data plane exploitation software, the network interface card read module, including:
Network interface card reading submodule calls the data plane exploitation soft for meeting default network interface card information when the network interface card information Part reads the network interface card buffer area.
8. view networked server according to claim 6, which is characterized in that the target data screening module, including:
Initial data chooses submodule, for choosing at least one initial data from the multiple initial data;
Protocol type judging submodule, for judging whether the data protocol type of at least one initial data is view networking Protocol type;
Target data determines submodule, if the data protocol type at least one initial data is view networking protocol class Type then extracts at least one described initial data as the target data.
9. view networked server according to claim 6, which is characterized in that described to further include depending on networked server:
Initial data receiving module, the initial data that interchanger is sent for receiving data;
Initial data memory module, for received initial data to be stored in the network interface card buffer area.
10. view networked server according to claim 6, which is characterized in that the target data includes view networked terminals Mark, the view networked terminals, which identify, has corresponding view networked terminals, the target data sending module, including:
Data sending submodule identifies corresponding view networking eventually for the target data to be sent to the view networked terminals End.
CN201711396236.1A 2017-12-21 2017-12-21 A kind of data processing method and view networked server Pending CN108881940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711396236.1A CN108881940A (en) 2017-12-21 2017-12-21 A kind of data processing method and view networked server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711396236.1A CN108881940A (en) 2017-12-21 2017-12-21 A kind of data processing method and view networked server

Publications (1)

Publication Number Publication Date
CN108881940A true CN108881940A (en) 2018-11-23

Family

ID=64325620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711396236.1A Pending CN108881940A (en) 2017-12-21 2017-12-21 A kind of data processing method and view networked server

Country Status (1)

Country Link
CN (1) CN108881940A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599080A (en) * 2019-08-05 2019-12-20 江苏苏宁物流有限公司 Service data distribution processing method and device, computer equipment and storage medium
CN112333210A (en) * 2021-01-04 2021-02-05 视联动力信息技术股份有限公司 Method and equipment for realizing data communication function of video network
CN113595959A (en) * 2020-04-30 2021-11-02 海信集团有限公司 Network traffic data processing method and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967677A (en) * 2015-06-05 2015-10-07 无锡量子云数字新媒体科技有限公司 File transmission method and apparatus based on NDN cache optimization
CN105141547A (en) * 2015-07-28 2015-12-09 华为技术有限公司 Data processing method, network card and host
CN105939349A (en) * 2016-05-25 2016-09-14 电子科技大学 Method for realizing follow-up safe access of user data
CN106161335A (en) * 2015-03-25 2016-11-23 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of network packet
CN106549869A (en) * 2015-09-21 2017-03-29 北京信威通信技术股份有限公司 Data package processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161335A (en) * 2015-03-25 2016-11-23 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of network packet
CN104967677A (en) * 2015-06-05 2015-10-07 无锡量子云数字新媒体科技有限公司 File transmission method and apparatus based on NDN cache optimization
CN105141547A (en) * 2015-07-28 2015-12-09 华为技术有限公司 Data processing method, network card and host
CN106549869A (en) * 2015-09-21 2017-03-29 北京信威通信技术股份有限公司 Data package processing method and device
CN105939349A (en) * 2016-05-25 2016-09-14 电子科技大学 Method for realizing follow-up safe access of user data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599080A (en) * 2019-08-05 2019-12-20 江苏苏宁物流有限公司 Service data distribution processing method and device, computer equipment and storage medium
CN113595959A (en) * 2020-04-30 2021-11-02 海信集团有限公司 Network traffic data processing method and server
CN112333210A (en) * 2021-01-04 2021-02-05 视联动力信息技术股份有限公司 Method and equipment for realizing data communication function of video network
CN112333210B (en) * 2021-01-04 2022-03-29 视联动力信息技术股份有限公司 Method and equipment for realizing data communication function of video network

Similar Documents

Publication Publication Date Title
CN107979563B (en) A kind of information processing method and device based on view networking
CN108173804A (en) It is a kind of to access the method for internet and regarding connection cat client by regarding networking
CN108243173A (en) A kind of RTMP video pushing methods and device based on regarding networking
CN108063745B (en) A kind of video call method and its system based on Android device
CN108965040A (en) A kind of business monitoring method and device of view networking
CN108989078A (en) A kind of view networking interior joint equipment fault detection method and device
CN108965225A (en) Data processing method turns server and view networked terminals depending on networking association
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN107888401A (en) A kind of method and system of the monitoring regarding networked terminals cpu busy percentage in real time
CN108965227A (en) A kind of data processing method and view networking Conference server
CN110225083A (en) Data push method and device based on view networking
CN110049346A (en) A kind of method and system of net cast
CN110062295A (en) A kind of file resource acquisition methods and system
CN108234178A (en) A kind of method and apparatus for being managed collectively menu file
CN109284265A (en) A kind of date storage method and system
CN108881940A (en) A kind of data processing method and view networked server
CN110166833A (en) A kind of video stream transcoding method and device
CN110138513A (en) A kind of data transmission method and view networked system
CN109729184A (en) A kind of method and apparatus of view networking service processing
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN110505107A (en) A kind of monitoring method and view networking management system
CN108965783A (en) A kind of video data handling procedure and view networking recording/playing terminal
CN108880853A (en) A kind of configuration information recovery method and configuration information server regarding networked server
CN109842630A (en) Method for processing video frequency and device
CN109769012A (en) A kind of access method and device of Web server

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 Qinglong Hutong 1 Song Hua 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: 20181123

RJ01 Rejection of invention patent application after publication