CN110035005A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN110035005A
CN110035005A CN201910147333.XA CN201910147333A CN110035005A CN 110035005 A CN110035005 A CN 110035005A CN 201910147333 A CN201910147333 A CN 201910147333A CN 110035005 A CN110035005 A CN 110035005A
Authority
CN
China
Prior art keywords
networking
view
datagram text
message
depending
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.)
Granted
Application number
CN201910147333.XA
Other languages
Chinese (zh)
Other versions
CN110035005B (en
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910147333.XA priority Critical patent/CN110035005B/en
Publication of CN110035005A publication Critical patent/CN110035005A/en
Application granted granted Critical
Publication of CN110035005B publication Critical patent/CN110035005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • 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/08Protocols for interworking; Protocol conversion

Landscapes

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

Abstract

The present invention provides a kind of data processing method and devices.Wherein method includes: and carries out protocol conversion depending on networking gateway component when receiving the first view networking message of carrying the first IP datagram text that view networked server is sent to the first view networking message of carrying the first IP datagram text, obtain the first IP datagram text;The first IP datagram text is transmitted to the corresponding protocol stack of storage gateway depending on networking gateway component;Depending on networking gateway component when intercepting and capturing the second IP datagram text that the corresponding protocol stack of storage gateway returns, protocol conversion is carried out to the second IP datagram text, obtains the second view networking message of carrying the second IP datagram text;View networked server is sent to depending on networking message by carry the second IP datagram text second depending on networking gateway component.The present invention reduces the numbers of network node, simplify data handling procedure, and Information Security is higher, and save the cost.

Description

Data processing method and device
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of data processing method and a kind of data processing It sets.
Background technique
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
The business based on view networking, such as video conference, videophone business are usually carried out in depending on networking.If other Business in network will be carried out by view networking, such as carry out being based in view is networked IP (Internet Protocol, network it Between the agreement that interconnects) net business, then multiple network nodes are disposed on service link, process is complicated, higher cost.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of data processing method to solve the above problems and a kind of corresponding data processing equipment.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of data processing method, the method is applied to view Include view networked server in view networking in networking, includes storage gateway in internet, integrate view in the storage gateway Networking gateway component, which comprises described to receive the holding depending on networked server transmission depending on networking gateway component Carry the first IP datagram text first view networking message when, to it is described carrying the first IP datagram text first view networking message into Row protocol conversion obtains the first IP datagram text;The view networking gateway component transmits the first IP datagram text To the corresponding protocol stack of the storage gateway;It is described to be returned depending on networking gateway component in the corresponding protocol stack of the intercepting and capturing storage gateway When the second IP datagram text returned, protocol conversion is carried out to the second IP datagram text, obtains carrying the 2nd IP data Second view networking message of message;The view networking gateway component joins the second view of the carrying the second IP datagram text Network packet is sent to the view networked server.
Optionally, the first IP number of carrying for regarding networked server and sending is being received depending on networking gateway component described When regarding networking message according to the first of message, message of networking is regarded to the first of the carrying the first IP datagram text and carries out the first agreement Conversion, before obtaining the step of the first IP datagram text, further includes: described to receive the view depending on networking gateway component When the first view networking message that networked server is sent, judge that whether described first regard networking message as the first IP datagram of carrying First view networking message of text;The view networking gateway component when the judgment result is yes, determines and receives the view networking clothes First view networking message of carrying the first IP datagram text that business device is sent.
Optionally, described to judge that whether described first regard networking message as the first view networking of carrying the first IP datagram text The step of message, comprising: the view networking gateway component is according to preset view networking head-coating structure, from the first view networking report The field of characterization type is extracted in the view networking packet header of text;The networking gateway component that regards is according to pair of preset field and type It should be related to judge whether the corresponding type of field extracted is carrying IP datagram text type.
Optionally, the first view networking message to the carrying the first IP datagram text carries out protocol conversion, obtains The step of the first IP datagram text, comprising: the view networking gateway component to the carrying the first IP datagram text the One is decapsulated depending on networking message, obtains the first view networking packet header and the first bearing message data segment;The view networking gateway Component obtains the first IP datagram text from the first bearing message data segment.
Optionally, described that protocol conversion is carried out to the second IP datagram text, it obtains carrying second IP datagram The step of second view networking message of text, comprising: it is described that the second IP datagram text is packaged depending on networking gateway component, The second IP datagram text is added to the second bearing message data segment;The networking gateway component that regards is second carrying Message data section addition the second view networking packet header obtains the second view networking message for carrying the second IP datagram text.
Optionally, further include view networking gateway equipment in depending on networking, further include internet client in internet;? It is described to join depending on networking gateway component in the first view for receiving carrying the first IP datagram text that the view networked server is sent When network packet, protocol conversion is carried out to the first view networking message of the carrying the first IP datagram text, obtains the first IP Before the step of data message, further includes: it is described depending on networking gateway equipment in receive that the internet client sends the When one IP datagram text, protocol conversion is carried out to the first IP datagram text, obtains carrying the first IP datagram text First view networking message;The view networking gateway equipment regards networking message for the first of the carrying the first IP datagram text It is sent to the view networked server;The view networked server is according to the downlink communication to the view networking gateway component Configuration Link is forwarded to the view networking gateway component depending on networking message for the first of the carrying the first IP datagram text.
Optionally, further include view networking gateway equipment in depending on networking, further include internet client in internet;? It is described to be sent to the view connection depending on networking message for the second of the carrying the second IP datagram text depending on networking gateway component After after the step of network server, further includes: the view networked server is according to under the view networking gateway device configuration Second view of the carrying second IP datagram text message of networking is forwarded to and described is set depending on networking gateway by row communication link It is standby;The view networking gateway equipment carries out protocol conversion to the second view networking message of the carrying the second IP datagram text, obtains To the second IP datagram text;It is described that the second IP datagram text is sent to corresponding internet depending on networking gateway equipment Client.
On the other hand, the embodiment of the invention also discloses a kind of data processing equipment, described device is applied in view networking, Include view networked server in view networking, include storage gateway in internet, view networking net is integrated in the storage gateway Component is closed, described depending on networking gateway component includes: the first conversion module, for receiving the view networked server transmission When carrying the first view networking message of the first IP datagram text, to the first view networking message of the carrying the first IP datagram text Protocol conversion is carried out, the first IP datagram text is obtained;Transmission module, for the first IP datagram text to be transmitted to institute State the corresponding protocol stack of storage gateway;Second conversion module, for intercepting and capturing what the corresponding protocol stack of the storage gateway returned When the second IP datagram text, protocol conversion is carried out to the second IP datagram text, obtains carrying the second IP datagram text Second view networking message;First sending module, for reporting the second view networking of the carrying the second IP datagram text Text is sent to the view networked server.
Optionally, the view networking gateway component further include: judgment module, for receiving the view networked server When the first view networking message sent, judge that whether described first regard networking message as the first view of carrying the first IP datagram text Networking message;Determining module, for when the judgment result is yes, determining the first IP of carrying for receiving view networked server and sending First view networking message of data message.
Optionally, the judgment module includes: field extraction unit, for being networked head-coating structure according to preset view, from The field of characterization type is extracted in the view networking packet header of the first view networking message;Type judging unit, for according to preset Field and type corresponding relationship, judge extract the corresponding type of field whether be carrying IP datagram text type.
Optionally, first conversion module includes: resolution unit, for the to the carrying the first IP datagram text One is decapsulated depending on networking message, obtains the first view networking packet header and the first bearing message data segment;Acquiring unit, for from The first IP datagram text is obtained in the first bearing message data segment.
Optionally, second conversion module includes: encapsulation unit, for sealing to the second IP datagram text Dress, is added to the second bearing message data segment for the second IP datagram text;Adding unit, for being reported for second carrying Literary data segment addition the second view networking packet header obtains the second view networking message for carrying the second IP datagram text.
Optionally, further include view networking gateway equipment in depending on networking, further include internet client in internet;Institute Stating depending on networking gateway equipment includes: third conversion module, in the first IP number for receiving the internet client transmission When according to message, protocol conversion is carried out to the first IP datagram text, obtains the first view for carrying the first IP datagram text Networking message;Second sending module, for being sent to the first of the carrying the first IP datagram text depending on networking message The view networked server;Described depending on networked server includes: the first forwarding module, for according to the view networking gateway group The downstream communications link of part configuration is forwarded to the view depending on networking message for the first of the carrying the first IP datagram text Networking gateway component.
Optionally, further include view networking gateway equipment in depending on networking, further include internet client in internet;Institute Stating depending on networked server includes: the second forwarding module, for according to the downlink communication chain to the view networking gateway device configuration Road is forwarded to the view networking gateway equipment depending on networking message for the second of the carrying the second IP datagram text;It is described It include: the 4th conversion module depending on networking gateway equipment, for the second view networking message to the carrying the second IP datagram text Protocol conversion is carried out, the second IP datagram text is obtained;Third sending module, for sending the second IP datagram text To corresponding internet client.
It, can be in storage net for merging the storage gateway service in internet in view networking in the embodiment of the present invention The integrated view networking gateway component in the Central Shanxi Plain.Depending on networking gateway component in the first IP of carrying for receiving the view networked server transmission When the first view networking message of data message, agreement is carried out to the first view networking message of the carrying the first IP datagram text and is turned It changes, obtains the first IP datagram text;The first IP datagram text is transmitted to the storage net depending on networking gateway component Close corresponding protocol stack;Depending on networking gateway component in the second IP datagram for intercepting and capturing the corresponding protocol stack return of the storage gateway Wen Shi carries out protocol conversion to the second IP datagram text, obtains the second view networking for carrying the second IP datagram text Message;The view is sent to depending on networking message for the second of the carrying the second IP datagram text depending on networking gateway component to join Network server.It follows that by the business that the fusion storage gateway in view networking may be implemented depending on networking gateway component, and It is integrated on storage gateway depending on networking gateway component, therefore storing gateway can be by view networking gateway component and view the Internet services Device interaction no longer needs to the individually deployment view networking gateway equipment between storage gateway and view networked server, therefore reduces net The number of network node simplifies data handling procedure, and Information Security is higher, and save the cost.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of data processing method of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of data processing method of the embodiment of the present invention two;
Fig. 7 is a kind of structural block diagram of data processing equipment of the embodiment of the present invention three.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
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 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking 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.
1, view networked devices classification
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, 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 are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in 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 is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purpose Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frametype, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different data packets, 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:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, the data processing scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking View simplifies IP network integrated services to the treatment process in view networking.
View networked server and view networking gateway equipment are provided in depending on networking.It can be used as master control depending on networked server Every business in server control view networking.It is registered in depending on networked server depending on networking gateway equipment, it can after registration Networked server is regarded with access.Depending on may include at least one virtual terminal in networking gateway equipment, backsight the Internet services are registered Device can be virtual terminal distribution view networking MAC (Media Access Control, the media interviews in view networking gateway equipment Control) address, the view networking information such as number.It can be interacted by V2V interface with depending on networked server depending on networking gateway equipment.Depending on Networking gateway equipment can be view networking Modem (modem).
Storage gateway and internet client are provided in internet.Storage gateway is wanted if accessing depending in networking By view networking gateway equipment access, namely storage gateway connection view networking gateway equipment, view connection is connected depending on networking gateway equipment Network server.But the network node that this kind of mode is arranged is more, data handling procedure is complicated.Therefore, the embodiment of the present invention exists It stores and integrates view networking gateway component in gateway, turned by the data that view networking gateway equipment may be implemented depending on networking gateway component The corresponding functions such as hair regard networking gateway equipment without mating deployment again.The view networking gateway component for storing gateway joins in view It is registered in network server, view networked server can be accessed after registration.Depending on may include at least one in networking gateway component A virtual terminal, registering backsight networked server can as the virtual terminal distribution view networking MAC in view networking gateway component The information such as location, view networking number.It can be interacted by V2V interface with depending on networked server depending on networking gateway component.Depending on net of networking Closing component can be view networking Modem component.Internet client client can be in PC (PC), mobile phone, plate The upper client software installed such as computer, for logging in storage gateway, the data of access storage gateway.Storing gateway can be net Disk server etc., Dropbox server are view networking data storage Dropbox systems.
In the implementation, it to solve the problems, such as following: 1, storage gateway will be transplanted to depending on the code of networking gateway equipment On.2, to the modification in the adaptation and process of Linux protocol stack.3, the original business access logic of storage gateway and view networking gateway The compatibility of the logics such as device data forwarding.In the embodiment of the present invention, gateway and be all using Linux depending on networking gateway equipment is stored The integrated of program may be implemented in operating system.Relative program depending on networking gateway equipment is storing gateway in the form of stand-alone assembly Upper installation starting, mutually indepedent with the storage original application program of gateway, the reference depending on networking gateway equipment is with the side of an application Formula operates on storage gateway.Therefore, storage net will can be integrated into depending on corresponding functions such as the data forwardings of networking gateway equipment The Linux inner core of pass, as a view networking gateway component.
Embodiment one
Referring to Fig. 5, a kind of step flow chart of data processing method of the embodiment of the present invention one is shown.
The data processing method of the embodiment of the present invention may comprise steps of:
Step 501, depending on networking gateway component in the first IP datagram of carrying for receiving the view networked server transmission When the first view networking message of text, protocol conversion is carried out to the first view networking message of the carrying the first IP datagram text, is obtained To the first IP datagram text.
Depending on carrying out two-way interactive based on view networking protocol between networking gateway component and view networked server, hand between the two Mutual is view networking message.
If receiving the first view of carrying the first IP datagram text that view networked server is sent depending on networking gateway component Networking message can determine that the first first IP datagram text depending on carrying in networking message will carry out subsequent IP operation processing Process.Therefore, agreement can be carried out to the first view networking message of the carrying the first IP datagram text depending on networking gateway component Conversion obtains the first IP datagram text.
In a kind of optional embodiment, it is contemplated that be sent to the view networking report of view networking gateway component depending on networked server Text may be the view networking message of carrying IP datagram text, it is also possible to for other types of view networking message, such as regard networking protocol Message etc..Therefore, literary in the first IP datagram of carrying for receiving the view networked server transmission depending on networking gateway component First view networking message when, to it is described carrying the first IP datagram text first view networking message carry out protocol conversion, obtain It can also include: to receive the view networked server transmission depending on networking gateway component before the first IP datagram text First view networking message when, judge described first regard networking message whether as carrying the first IP datagram text first regard network Message;When the judgment result is yes, the of carrying the first IP datagram text for receiving that the view networked server is sent is determined One view networking message.
It may include the packet header IP and data segment in IP datagram text.Referring to depending on networking message for carrying IP datagram text is regarding The message of networked link transmission, by being formed depending on networking packet header and bearing message data segment.Refer to view networking message depending on networking packet header Head, include view networking MAC Address and the view information such as networking protocol.Bearing message data segment refers to depending on being used in networking message Carry the data field of IP datagram text.
In a kind of optional embodiment, judge that whether described first regard networking message as carrying the first IP datagram text First depending on the step of networking message may include: to regard networking gateway component to be networked head-coating structure according to preset view, from described the The field of characterization type is extracted in the view networking packet header of one view networking message;According to the corresponding relationship of preset field and type, Judge whether the corresponding type of field extracted is carrying IP datagram text type, if type is carrying IP datagram text class Type, it is determined that first regards networking message as the first view networking message of carrying the first IP datagram text.
For example, preset can regard in networking packet header field number as 0 field is to characterize the field of transmission direction, field number is 1 field is to characterize the field, etc. of type.The field of characterization type and the corresponding relationship of type are preset, for example is arranged Corresponding type is view networking protocol type of message when field is 0x0001, and corresponding type is view networking when field is 0x0002 Service message type, corresponding type is carrying IP datagram text type, etc. when field is 0x0003.Therefore, depending on net of networking Component is closed when receiving the first view networking message, first regard extraction field number in networking message from this and for example is mentioned as 1 field The field taken is 0x0003, then getting the corresponding type of 0x0003 according to field and the corresponding relationship of type is carrying IP data Type of message, thus may determine that this first regard networking message type be carrying the first IP datagram text first view networking report Text.
It can also include gateway Signaling Layer in depending on networking gateway component, if it is judged that first regards networking message as view connection FidonetFido message, such as heartbeat message etc., then can be by the first view networking message transmissions to gateway signaling depending on networking gateway component Layer carries out relevant treatment.
Step 502, the first IP datagram text is transmitted to the corresponding association of the storage gateway depending on networking gateway component Discuss stack.
Storage gateway is corresponding with protocol stack.Protocol stack refers to that the summation of each layer protocol in network, image reflect one The process that file transmits in a network: by upper-layer protocol to underlying protocol, then by underlying protocol to upper-layer protocol.Depending on networking gateway It is corresponding can be transmitted to the storage gateway after being converted to the first IP datagram text by component for the first IP datagram text Linux protocol stack, to carry out the subsequent treatment process for IP datagram text.For example, if IP datagram text is request The message of storing data then stores the IP datagram text to corresponding position;If IP datagram text is request downloading data Message then obtains the data to be downloaded, and returns to the data, etc. to be downloaded.
Step 503, depending on networking gateway component in the 2nd IP data for intercepting and capturing the corresponding protocol stack return of the storage gateway When message, protocol conversion is carried out to the second IP datagram text, obtains the second view connection for carrying the second IP datagram text Network packet.
If the corresponding protocol stack of storage gateway returns the second IP datagram text, can be intercepted and captured depending on networking gateway component The the second IP datagram text for storing the corresponding protocol stack of gateway and returning.If intercepting and capturing the 2nd IP data depending on networking gateway component Message can determine that second IP datagram text is subsequent to be sent to view networked server.It therefore, can depending on networking gateway component To carry out protocol conversion to the second IP datagram text, the second view networking report for carrying the second IP datagram text is obtained Text.
Step 504, the second view networking message of the carrying the second IP datagram text is sent out depending on networking gateway component It send to the view networked server.
It, can be with depending on networking gateway component after being converted to the second view networking message of carrying second IP datagram text It is sent to the view networked server depending on networking message by the second of the carrying the second IP datagram text, thus after carrying out The continuous treatment process for the second view networking message for carrying the second IP datagram text.For example, will be held depending on networked server Carry the second IP datagram text second is issued to the internet client for requesting the second IP datagram text depending on networking message View networking gateway equipment connected, etc..
In the embodiment of the present invention, by the industry that the fusion storage gateway in view networking may be implemented depending on networking gateway component Business, and be integrated on storage gateway depending on networking gateway component, therefore storing gateway can be by view networking gateway component and view Networked server interaction no longer needs to the individually deployment view networking gateway equipment between storage gateway and view networked server, therefore The number for reducing network node simplifies data handling procedure, and Information Security is higher, and save the cost.
Embodiment two
Referring to Fig. 6, a kind of step flow chart of data processing method of the embodiment of the present invention two is shown.
The data processing method of the embodiment of the present invention may comprise steps of:
Step 601, depending on networking gateway equipment when receiving the first IP datagram text that the internet client is sent, Protocol conversion is carried out to the first IP datagram text, obtains the first view networking message for carrying the first IP datagram text.
Internet protocol-based carries out two-way interactive between internet client and view networking gateway equipment, hands between the two Mutual is IP datagram text.
The first IP datagram text can be generated in internet client, for example the first IP datagram text can be request storage number According to message or request the message of downloading data, the first IP datagram text is sent to view by internet by internet client Networking gateway equipment.
If receiving the first IP datagram text that the internet client is sent depending on networking gateway equipment, can determine First IP datagram text is subsequent to be sent to view networked server.It therefore can be to the first IP depending on networking gateway equipment Data message carries out protocol conversion, obtains the first view networking message for carrying the first IP datagram text.
Protocol conversion is carried out to the first IP datagram text, obtains the first view connection for carrying the first IP datagram text The step of network packet may include: to be packaged depending on networking gateway equipment to the first IP datagram text, by the first IP Data message is added to the first bearing message data segment;Networking packet header is regarded for the first bearing message data segment addition first, Obtain carrying the first view networking message of the first IP datagram text.Wherein, first may include view networking depending on networking packet header For handling view networking MAC Address (as source address), the view networking of the virtual terminal of the first IP datagram text in gateway View networking MAC Address (address as a purpose) of server, view networking protocol information, etc..
Step 602, the first view networking message of the carrying the first IP datagram text is sent out depending on networking gateway equipment It send to the view networked server.
Depending on networking gateway equipment by view networking, using the virtual terminal for handling the first IP datagram text, will carry The first of first IP datagram text is sent to view networked server depending on networking message.
It step 603, will be described depending on networked server according to the downstream communications link to the view networking gateway component Configuration Carry the first IP datagram text first is forwarded to the view networking gateway component depending on networking message.
Depending on can store in networked server in virtual terminal and view networking gateway equipment in view networking gateway component Corresponding relationship between corresponding relationship between virtual terminal, such as view networking MAC Address, port information.Depending on networked server Can be according to the relevant information in the first view networking message, for example be used to handle the first IP datagram text in view networking gateway equipment Virtual terminal view networking MAC Address etc., from being determined in corresponding relationship in corresponding view networking gateway component for processing the The view networking MAC Address of the virtual terminal of one IP datagram text, the relevant informations such as port information.
It can be according to the relevant information for the view networking gateway component determined, to view networking gateway component depending on networked server The downstream communications link of configuration, and reported by the first view networking that the downstream communications link will carry the first IP datagram text Text is forwarded to view networking gateway component.
In practical applications, networking is regarded as the network with centralized control functions, including main control server is (such as view networking clothes Business device) and undernet equipment, which includes terminal, and one of the core idea depending on networking is, by by leading It controls server notice switching equipment to be directed to when time downstream communications link of service matches table, the table for being then based on the configuration carries out data The transmission of packet.
That is, including: depending on the communication means in networking
Main control server configuration is when time downstream communications link of service.
Work as time data packet of service for what source terminal was sent, is sent to target terminal according to the downstream communications link.
In embodiments of the present invention, it includes: notice when the downlink of secondary service is logical that time downstream communications link of service is worked as in configuration Believe that switching equipment involved in link matches table.
It furthermore, include: the configured table of inquiry according to downstream communications link transmission, switching equipment is received to institute Data packet is transmitted by corresponding port.
In the concrete realization, service includes unicast communication service and Multicast Communication Service.I.e. either cast communication is still Unicast communication can realize the communication in view networking using the above-mentioned core idea with table-table.
As previously mentioned, view networking includes access mesh portions, in access net, which is node server, under The grade network equipment includes access switch and terminal.
For the unicast communication service in access net, the main control server configuration is when time downlink communication chain of service The step of road, may comprise steps of:
Sub-step S11, the service request protocol package that main control server is initiated according to source terminal are obtained when time downlink of service Communication link information, downstream communications link information include participating in when time downlink of the main control server of service and access switch Communication port information.
Sub-step S12, downstream communication ports information of the main control server according to main control server, data packet inside it The downlink port that setting is oriented to when time data packet of service in address table;And believe according to the downstream communication ports of access switch Breath, to corresponding access switch sending port configuration order.
Sub-step S13, access switch according in port configuration command data packet addressed table inside it, setting when time The downlink port that the data packet of service is oriented to.
For the Multicast Communication Service (such as video conference) in access net, main control server is obtained when under time service The step of row communication link information may include following sub-step:
Sub-step S21, main control server obtain the service request agreement for the application Multicast Communication Service that target terminal is initiated It wraps, includes the access net address of service type information, service content information and target terminal in service request protocol package.
It wherein, include service number in service content information.
Sub-step S22, main control server according to the service number in preset content-address mapping table, extraction source The access net address of terminal.
Sub-step S23, main control server obtains the corresponding multicast address of source terminal, and distributes to target terminal;And according to According to the access net address of service type information, source terminal and target terminal, the communication link information when time multicast services is obtained.
Step 604, depending on networking gateway component in the first IP datagram of carrying for receiving the view networked server transmission When the first view networking message of text, protocol conversion is carried out to the first view networking message of the carrying the first IP datagram text, is obtained To the first IP datagram text.
Protocol conversion is carried out to the first view networking message of the carrying the first IP datagram text, obtains the first IP number According to the step of message may include: regard networking gateway component to it is described carrying the first IP datagram text first view networking message into Row decapsulation obtains the first view networking packet header and the first bearing message data segment;It is obtained from the first bearing message data segment Take the first IP datagram text.
Step 605, the first IP datagram text is transmitted to the corresponding association of the storage gateway depending on networking gateway component Discuss stack.
Step 606, depending on networking gateway component in the 2nd IP data for intercepting and capturing the corresponding protocol stack return of the storage gateway When message, protocol conversion is carried out to the second IP datagram text, obtains the second view connection for carrying the second IP datagram text Network packet.
Protocol conversion is carried out to the second IP datagram text, obtains the second view connection for carrying the second IP datagram text The step of network packet may include: to be packaged depending on networking gateway component to the second IP datagram text, by the 2nd IP Data message is added to the second bearing message data segment;Networking gateway component is regarded as the second bearing message data segment addition the Two view networking packet header obtain the second view networking message for carrying the second IP datagram text.
Wherein, second may include regarding in networking gateway component for handling the void of the second IP datagram text depending on networking packet header The view of quasi- terminal is networked MAC Address (as source address), the view of view networked server is networked MAC Address (address as a purpose), Depending on networking protocol information, etc..
Step 607, the second view networking message of the carrying the second IP datagram text is sent out depending on networking gateway component It send to the view networked server.
Depending on networking gateway component by view networking, using the virtual terminal for handling the second IP datagram text, will carry The second of second IP datagram text is sent to view networked server depending on networking message.
It step 608, will be described depending on networked server according to the downstream communications link to the view networking gateway device configuration Carry the second IP datagram text second is forwarded to the view networking gateway equipment depending on networking message.
The relevant information in message of networking can be regarded according to second depending on networked server, such as depending on using in networking gateway component In the view networking MAC Address of virtual terminal etc. of processing the second IP datagram text, corresponding view networking is determined from corresponding relationship The information such as view networking MAC Address, port information in gateway for handling the virtual terminal of the second IP datagram text.
It can be according to the relevant information for the view networking gateway equipment determined, to view networking gateway equipment depending on networked server The downstream communications link of configuration, and reported by the second view networking that the downstream communications link will carry the second IP datagram text Text is forwarded to view networking gateway equipment.
Step 609, it is assisted to the second of the carrying the second IP datagram text depending on networking message depending on networking gateway equipment View conversion obtains the second IP datagram text.
If receiving the second view networking message of carrying the second IP datagram text depending on networking gateway equipment, this can be determined Second IP datagram text is subsequent to be sent to internet client.Therefore depending on networking gateway equipment to carrying the second IP datagram Second view networking message of text carries out protocol conversion, obtains the second IP datagram text.
Protocol conversion is carried out depending on second view networking message of the networking gateway equipment to the carrying the second IP datagram text, is obtained Step to the second IP datagram text may include: to regard networking gateway equipment to the of the carrying the second IP datagram text Two are decapsulated depending on networking message, obtain the second view networking packet header and the second bearing message data segment;From second carrying The second IP datagram text is obtained in message data section.
Step 610, the second IP datagram text is sent to corresponding internet client depending on networking gateway equipment.
Depending on networking gateway equipment by internet, the second IP datagram text is sent to corresponding Internet subscribers End.Corresponding internet client can be the internet client that the first IP datagram text is sent in step 601.
In the embodiment of the present invention, it will be integrated on storage gateway depending on the partial function of networking gateway equipment, realize storage net The demand for being directly accessed view networking is closed, the mating deployment view networking gateway equipment when deployment stores gateway is not needed, reduces equipment Usage quantity, improve externally provide functional integration, safety is higher, save the cost.For client, storage gateway is produced Product can be directly accessed view networking, more perfect to the entire ecological construction of view networking, greatly improve image product.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Embodiment three
Referring to Fig. 7, a kind of structural block diagram of data processing equipment of the embodiment of the present invention three is shown.The embodiment of the present invention Data processing equipment be applied to view networking in, view networking in include view networked server, in internet include storage net It closes, view networking gateway component is integrated in the storage gateway.
The data processing equipment of the embodiment of the present invention may include following module:
It is described to include: depending on networking gateway component
First conversion module 701, in carrying the first IP datagram text for receiving the view networked server transmission First view networking message when, to it is described carrying the first IP datagram text first view networking message carry out protocol conversion, obtain The first IP datagram text.
Transmission module 702, for the first IP datagram text to be transmitted to the corresponding protocol stack of the storage gateway.
Second conversion module 703, in the second IP datagram for intercepting and capturing the corresponding protocol stack return of the storage gateway Wen Shi carries out protocol conversion to the second IP datagram text, obtains the second view networking for carrying the second IP datagram text Message.
First sending module 704, for sending the second view networking message of the carrying the second IP datagram text To the view networked server.
In a kind of optional embodiment, the view networking gateway component further include: judgment module, for receiving When stating the first view networking message for regarding networked server transmission, judge that whether described first regard networking message as the first IP number of carrying According to the first view networking message of message;Determining module, for when the judgment result is yes, determination to receive the view the Internet services First view networking message of carrying the first IP datagram text that device is sent.
In a kind of optional embodiment, the judgment module includes: field extraction unit, for according to preset view connection Net head-coating structure extracts the field of characterization type from the view networking packet header of the first view networking message;Type judging unit, For the corresponding relationship according to preset field and type, judge whether the corresponding type of field extracted is carrying IP datagram Literary type.
In a kind of optional embodiment, first conversion module includes: resolution unit, for the carrying first The first of IP datagram text is decapsulated depending on networking message, obtains the first view networking packet header and the first bearing message data segment; Acquiring unit, for obtaining the first IP datagram text from the first bearing message data segment.
In a kind of optional embodiment, second conversion module includes: encapsulation unit, for the 2nd IP number It is packaged according to message, the second IP datagram text is added to the second bearing message data segment;Adding unit is used for as institute The second bearing message data segment addition the second view networking packet header is stated, the second view networking for carrying the second IP datagram text is obtained Message.
In a kind of optional embodiment, further includes view networking gateway equipment in depending on networking, further include in internet Internet client.Described depending on networking gateway equipment includes: third conversion module, for receiving the internet client When the first IP datagram text sent, protocol conversion is carried out to the first IP datagram text, obtains carrying the first IP number According to the first view networking message of message;Second sending module, for being regarded the first of the carrying the first IP datagram text Networking message is sent to the view networked server.Described depending on networked server includes: the first forwarding module, for according to institute The downstream communications link for stating view networking gateway component Configuration, by the first view networking report of the carrying the first IP datagram text Text is forwarded to the view networking gateway component.
In a kind of optional embodiment, further includes view networking gateway equipment in depending on networking, further include in internet Internet client.Described depending on networked server includes: the second forwarding module, for matching according to described depending on networking gateway equipment The downstream communications link set is forwarded to the view depending on networking message for the second of the carrying the second IP datagram text and networks Gateway.Described depending on networking gateway equipment includes: the 4th conversion module, for the to the carrying the second IP datagram text Two view networking messages carry out protocol conversion, obtain the second IP datagram text;Third sending module is used for the 2nd IP Data message is sent to corresponding internet client.
In the embodiment of the present invention, by the industry that the fusion storage gateway in view networking may be implemented depending on networking gateway component Business, and be integrated on storage gateway depending on networking gateway component, therefore storing gateway can be by view networking gateway component and view Networked server interaction no longer needs to the individually deployment view networking gateway equipment between storage gateway and view networked server, therefore The number for reducing network node simplifies data handling procedure, and Information Security is higher, and save the cost.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of data processing method provided by the present invention and a kind of data processing equipment, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (14)

1. a kind of data processing method, which is characterized in that the method is applied in view networking, includes view networking in view networking Server includes storage gateway in internet, view networking gateway component is integrated in the storage gateway, which comprises
It is described to receive the first of carrying the first IP datagram text that the view networked server is sent depending on networking gateway component When depending on networking message, protocol conversion is carried out to the first view networking message of the carrying the first IP datagram text, obtains described the One IP datagram text;
It is described that the first IP datagram text is transmitted to the corresponding protocol stack of the storage gateway depending on networking gateway component;
The view networking gateway component is right when intercepting and capturing the second IP datagram text that the corresponding protocol stack of the storage gateway returns The second IP datagram text carries out protocol conversion, obtains the second view networking message for carrying the second IP datagram text;
It is described the second view networking message of the carrying second IP datagram text is sent to depending on networking gateway component described in Depending on networked server.
2. the method according to claim 1, wherein receiving the view connection depending on networking gateway component described When the first view networking message of carrying the first IP datagram text that network server is sent, to the carrying the first IP datagram text First view networking message carries out the first protocol conversion, before obtaining the step of the first IP datagram text, further includes:
It is described depending on networking gateway component when receiving the first view networking message that the view networked server is sent, described in judgement Whether first regard networking message as the first view networking message of carrying the first IP datagram text;
The view networking gateway component when the judgment result is yes, determines and receives the carrying that the view networked server is sent First view networking message of one IP datagram text.
3. according to the method described in claim 2, it is characterized in that, described judge that whether described first regard networking message as carrying The step of first view networking message of the first IP datagram text, comprising:
The view networking gateway component is according to preset view networking head-coating structure, from the view networking packet of the first view networking message The field of characterization type is extracted in head;
The view networking gateway component judges the corresponding type of field extracted according to the corresponding relationship of preset field and type It whether is carrying IP datagram text type.
4. the method according to claim 1, wherein first view to the carrying the first IP datagram text Message of networking carries out protocol conversion, obtains the step of the first IP datagram text, comprising:
It is described to be decapsulated to the first of the carrying the first IP datagram text depending on networking message depending on networking gateway component, it obtains First view networking packet header and the first bearing message data segment;
It is described to obtain the first IP datagram text from the first bearing message data segment depending on networking gateway component.
5. the method according to claim 1, wherein described carry out agreement turn to the second IP datagram text The step of changing, obtaining the second view networking message for carrying the second IP datagram text, comprising:
It is described that the second IP datagram text is packaged depending on networking gateway component, the second IP datagram text is added to Second bearing message data segment;
The networking gateway component that regards obtains described in carrying as the second bearing message data segment addition the second view networking packet header Second view networking message of the second IP datagram text.
6. the method according to claim 1, wherein further including view networking gateway equipment in depending on networking, mutual It further include internet client in networking;
The of carrying the first IP datagram text that the view networked server is sent is being received depending on networking gateway component described When one view networking message, protocol conversion is carried out to the first view networking message of the carrying the first IP datagram text, is obtained described Before the step of first IP datagram text, further includes:
It is described depending on networking gateway equipment when receiving the first IP datagram text that the internet client is sent, to described the One IP datagram text carries out protocol conversion, obtains the first view networking message for carrying the first IP datagram text;
It is described the first view networking message of the carrying first IP datagram text is sent to depending on networking gateway equipment described in Depending on networked server;
The view networked server, will be described in the carrying according to the downstream communications link to the view networking gateway component Configuration The first of first IP datagram text is forwarded to the view networking gateway component depending on networking message.
7. the method according to claim 1, wherein further including view networking gateway equipment in depending on networking, mutual It further include internet client in networking;
Institute is sent to depending on networking message by the second of the carrying the second IP datagram text depending on networking gateway component described After after the step of stating view networked server, further includes:
The view networked server, will be described in the carrying according to the downstream communications link to the view networking gateway device configuration The second of second IP datagram text is forwarded to the view networking gateway equipment depending on networking message;
The view networking gateway equipment carries out protocol conversion to the second view networking message of the carrying the second IP datagram text, obtains To the second IP datagram text;
It is described that the second IP datagram text is sent to corresponding internet client depending on networking gateway equipment.
8. a kind of data processing equipment, which is characterized in that described device is applied in view networking, includes view networking in view networking Server includes storage gateway in internet, view networking gateway component, the view networking gateway is integrated in the storage gateway Component includes:
First conversion module, in the first view for receiving carrying the first IP datagram text that the view networked server is sent When networking message, networking message progress protocol conversion is regarded to the first of the carrying the first IP datagram text, obtains described first IP datagram text;
Transmission module, for the first IP datagram text to be transmitted to the corresponding protocol stack of the storage gateway;
Second conversion module, it is right for when intercepting and capturing the second IP datagram text that the corresponding protocol stack of the storage gateway returns The second IP datagram text carries out protocol conversion, obtains the second view networking message for carrying the second IP datagram text;
First sending module, for being sent to the view depending on networking message for the second of the carrying the second IP datagram text Networked server.
9. device according to claim 8, which is characterized in that the view networking gateway component further include:
Judgment module, for judging described first when receiving the first view networking message that the view networked server is sent Networking message is regarded whether as the first view networking message of carrying the first IP datagram text;
Determining module, for when the judgment result is yes, determining the first IP of carrying for receiving the view networked server and sending First view networking message of data message.
10. device according to claim 9, which is characterized in that the judgment module includes:
Field extraction unit, for networking and wrapping from the view of the first view networking message according to preset view networking head-coating structure The field of characterization type is extracted in head;
Type judging unit judges the corresponding type of field extracted for the corresponding relationship according to preset field and type It whether is carrying IP datagram text type.
11. device according to claim 8, which is characterized in that first conversion module includes:
Resolution unit obtains first for decapsulating to the first of the carrying the first IP datagram text depending on networking message Depending on networking packet header and the first bearing message data segment;
Acquiring unit, for obtaining the first IP datagram text from the first bearing message data segment.
12. device according to claim 8, which is characterized in that second conversion module includes:
The second IP datagram text is added to second for being packaged to the second IP datagram text by encapsulation unit Bearing message data segment;
Adding unit obtains carrying described second for regarding networking packet header for the second bearing message data segment addition second Second view networking message of IP datagram text.
13. device according to claim 8, which is characterized in that depending on networking in further include view networking gateway equipment, mutual It further include internet client in networking;
It is described to include: depending on networking gateway equipment
Third conversion module, for when receiving the first IP datagram text that the internet client is sent, to described the One IP datagram text carries out protocol conversion, obtains the first view networking message for carrying the first IP datagram text;
Second sending module, for being sent to the view depending on networking message for the first of the carrying the first IP datagram text Networked server;
It is described to include: depending on networked server
First forwarding module, for according to it is described view networking gateway component Configuration downstream communications link, by the carrying institute State the first IP datagram text first is forwarded to the view networking gateway component depending on networking message.
14. device according to claim 8, which is characterized in that depending on networking in further include view networking gateway equipment, mutual It further include internet client in networking;
It is described to include: depending on networked server
Second forwarding module, for according to it is described view networking gateway device configuration downstream communications link, by the carrying institute State the second IP datagram text second is forwarded to the view networking gateway equipment depending on networking message;
It is described to include: depending on networking gateway equipment
4th conversion module carries out protocol conversion for the second view networking message to the carrying the second IP datagram text, obtains To the second IP datagram text;
Third sending module, for the second IP datagram text to be sent to corresponding internet client.
CN201910147333.XA 2019-02-27 2019-02-27 Data processing method and device Active CN110035005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910147333.XA CN110035005B (en) 2019-02-27 2019-02-27 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910147333.XA CN110035005B (en) 2019-02-27 2019-02-27 Data processing method and device

Publications (2)

Publication Number Publication Date
CN110035005A true CN110035005A (en) 2019-07-19
CN110035005B CN110035005B (en) 2021-07-09

Family

ID=67235725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910147333.XA Active CN110035005B (en) 2019-02-27 2019-02-27 Data processing method and device

Country Status (1)

Country Link
CN (1) CN110035005B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417792A (en) * 2019-08-02 2019-11-05 视联动力信息技术股份有限公司 Communication means, system, gateway and storage medium
CN111131407A (en) * 2019-12-09 2020-05-08 深圳市盛铂科技有限公司 Network equipment connection method and network equipment
CN111464879A (en) * 2020-02-27 2020-07-28 视联动力信息技术股份有限公司 Data communication method and device
CN111654390A (en) * 2020-04-15 2020-09-11 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium
CN112333209A (en) * 2021-01-04 2021-02-05 视联动力信息技术股份有限公司 Resource transmission method and device with boundary protection function

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160313872A1 (en) * 2012-10-12 2016-10-27 Spotify Ab Systems, methods, and user interfaces for previewing media content
CN107888542A (en) * 2016-09-29 2018-04-06 北京视联动力国际信息技术有限公司 A kind of method and system depending on establishing communication between networked terminals and commander's equipment
CN108063741A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 A kind of transport protocol conversion method and apparatus
CN108206958A (en) * 2016-12-19 2018-06-26 北京视联动力国际信息技术有限公司 A kind of method for obtaining video recording resource and association turn server
CN108243153A (en) * 2016-12-23 2018-07-03 北京视联动力国际信息技术有限公司 A kind of method and apparatus in the broadcasting TV programme in networking
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108881133A (en) * 2017-08-14 2018-11-23 北京视联动力国际信息技术有限公司 A kind of communication means and device of media data
CN108965223A (en) * 2017-12-12 2018-12-07 北京视联动力国际信息技术有限公司 It is a kind of based on view networking web page processing method, proxy server and view networked terminals
CN109151610A (en) * 2018-09-07 2019-01-04 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus receiving web camera picture
CN109150905A (en) * 2018-09-27 2019-01-04 视联动力信息技术股份有限公司 A kind of view networked resources method for releasing and view networking share Platform Server
CN109167962A (en) * 2018-09-26 2019-01-08 视联动力信息技术股份有限公司 It is a kind of to turn server depending on networked resources method for releasing and monitoring association

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160313872A1 (en) * 2012-10-12 2016-10-27 Spotify Ab Systems, methods, and user interfaces for previewing media content
CN107888542A (en) * 2016-09-29 2018-04-06 北京视联动力国际信息技术有限公司 A kind of method and system depending on establishing communication between networked terminals and commander's equipment
CN108063741A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 A kind of transport protocol conversion method and apparatus
CN108206958A (en) * 2016-12-19 2018-06-26 北京视联动力国际信息技术有限公司 A kind of method for obtaining video recording resource and association turn server
CN108243153A (en) * 2016-12-23 2018-07-03 北京视联动力国际信息技术有限公司 A kind of method and apparatus in the broadcasting TV programme in networking
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108881133A (en) * 2017-08-14 2018-11-23 北京视联动力国际信息技术有限公司 A kind of communication means and device of media data
CN108965223A (en) * 2017-12-12 2018-12-07 北京视联动力国际信息技术有限公司 It is a kind of based on view networking web page processing method, proxy server and view networked terminals
CN109151610A (en) * 2018-09-07 2019-01-04 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus receiving web camera picture
CN109167962A (en) * 2018-09-26 2019-01-08 视联动力信息技术股份有限公司 It is a kind of to turn server depending on networked resources method for releasing and monitoring association
CN109150905A (en) * 2018-09-27 2019-01-04 视联动力信息技术股份有限公司 A kind of view networked resources method for releasing and view networking share Platform Server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SEHYEONG CHO; YOUNGMEE SHIN: "《Multimedia service interworking over heterogeneous networking environments》", 《IEEE NETWORK ( VOLUME: 13, ISSUE: 2, MAR/APR 1999)》 *
李凤英,刘立,王建: "《视联网下的信息感知和融合》", 《小型微型计算机系统》 *
马惠民,王新洲: "《视联网与三网融合(下)》", 《有线电视技术》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417792A (en) * 2019-08-02 2019-11-05 视联动力信息技术股份有限公司 Communication means, system, gateway and storage medium
CN111131407A (en) * 2019-12-09 2020-05-08 深圳市盛铂科技有限公司 Network equipment connection method and network equipment
CN111464879A (en) * 2020-02-27 2020-07-28 视联动力信息技术股份有限公司 Data communication method and device
CN111464879B (en) * 2020-02-27 2022-12-23 视联动力信息技术股份有限公司 Data communication method and device
CN111654390A (en) * 2020-04-15 2020-09-11 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium
CN111654390B (en) * 2020-04-15 2024-03-29 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium
CN112333209A (en) * 2021-01-04 2021-02-05 视联动力信息技术股份有限公司 Resource transmission method and device with boundary protection function
CN112333209B (en) * 2021-01-04 2021-04-16 视联动力信息技术股份有限公司 Resource transmission method and device with boundary protection function

Also Published As

Publication number Publication date
CN110035005B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN108881133B (en) A kind of communication means and device of media data
CN108810456B (en) A kind of monitoring video flow transfers method and system
CN109194660A (en) The method of network entry and device of mobile terminal
CN110035005A (en) Data processing method and device
CN109167960A (en) A kind of processing method and system of video stream data
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN108307212B (en) A kind of file order method and device
CN110166433A (en) A kind of method and system that video data obtains
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN110233982A (en) A kind of monitoring method and device based on view networking
CN110266638A (en) Information processing method, device and storage medium
CN110177023A (en) A kind of communication connection detection method and device based on view networking
CN110012316A (en) A kind of processing method and processing device regarding networking service
CN110035297A (en) Method for processing video frequency and device
CN109309803A (en) A kind of camera long-range control method and device
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN109151519A (en) A kind of configuration distribution method and system based on view networking
CN109889516A (en) A kind of method for building up and device of session channel
CN110266577A (en) A kind of tunnel establishing method and view networked system
CN109617766A (en) A kind of heartbeat treating method and apparatus
CN109842630A (en) Method for processing video frequency and device
CN109889755A (en) Communication connecting method and device
CN109819133A (en) A kind of photo acquisition methods and device based on view networking
CN110049069A (en) A kind of data capture method and device
CN110139074A (en) A kind of apparatus control method and system based on view networking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant