CN110149262A - A kind for the treatment of method and apparatus and storage medium of signaling message - Google Patents
A kind for the treatment of method and apparatus and storage medium of signaling message Download PDFInfo
- Publication number
- CN110149262A CN110149262A CN201910262986.2A CN201910262986A CN110149262A CN 110149262 A CN110149262 A CN 110149262A CN 201910262986 A CN201910262986 A CN 201910262986A CN 110149262 A CN110149262 A CN 110149262A
- Authority
- CN
- China
- Prior art keywords
- under
- message
- shared drive
- networked terminals
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
Abstract
The embodiment of the invention provides a kind of processing methods of signaling message, device, and a kind of computer readable storage medium, wherein, it obtains storing the recognition result of signaling message into shared drive come the signaling message for networked node server of considering oneself as the described method includes: monitoring under kernel morphotype formula depending on networked terminals;Recognition result is obtained from shared drive under User space mode depending on networked terminals, and response message is generated according to the parsing result of recognition result, response message is stored into shared drive;Response message, returning response message to view networked node server are obtained from shared drive under kernel morphotype formula depending on networked terminals.The embodiment of the present invention reduces the occupancy of system resource, improves the timeliness of signaling message processing, it is not easy to lose signaling message, ensure that the stability of network tunnel.
Description
Technical field
The present invention relates to view networking technology field, processing method and a kind of signaling report more particularly to a kind of signaling message
The processing unit of text and a kind of device and a kind of computer readable storage medium.
Background technique
It is a kind of dedicated network for being used for high-speed transfer HD video and specialized protocol based on ethernet hardware depending on networking,
It is the more advanced form of internet depending on networking, is a real-time network.
Foundation based on the network tunnel depending on networking needs to complete by the control of signaling message.Currently, view networked terminals
Received under kernel morphotype formula come the signaling message for networked node server of considering oneself as, then by way of data copy and
Signaling message is transmitted to the view networked terminals under User space mode by socket interface.It is right under User space mode depending on networked terminals
Signaling message is parsed.
The view networked terminals being transmitted to signaling message under kernel morphotype formula depending on networked terminals under User space mode increase
The occupancy of system resource reduces the timeliness of signaling message processing, if view networked terminals join with view under the kernel morphotype formula
Data traffic of the network termination under User space mode is larger, or view networked terminals performance it is lower when, be easily lost signaling message.
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
The processing unit and a kind of dress of a kind of processing method of the signaling message to solve the above problems and a kind of corresponding signaling message
It sets and a kind of computer readable storage medium.
To solve the above-mentioned problems, the first aspect of the embodiment of the present invention discloses a kind of processing method of signaling message,
The method is applied in view networking, and the view networking includes view networked terminals and view networked node server, the view networking
Terminal and the view networked node server communication, it is described to be transported under kernel morphotype formula or under User space mode depending on networked terminals
Row, which comprises described monitor under the kernel state mode depending on networked terminals obtains taking from the view networked node
The signaling message of business device, identifies the signaling message, recognition result is stored into pre-set shared drive, and
Obtain first location information of the recognition result in the shared drive;The view networked terminals are in the kernel state mode
Lower to generate the first control message for carrying the first location information, the data volume of first control message is less than the letter
Enable the data volume of message;The view networked terminals are shared according to first control message from described under the User space mode
The recognition result is obtained in memory, the recognition result is parsed, and response message is generated according to parsing result, it will be described
Response message is stored into the shared drive, and obtains second confidence of the response message in the shared drive
Breath;It is described to generate the second control message for carrying the second location information under the User space mode depending on networked terminals,
The data volume of second control message is less than the data volume of the response message;The view networked terminals are in the kernel morphotype
The response message is obtained from the shared drive according to second control message under formula, and returns to the response message extremely
The view networked node server.
Optionally, it monitors and obtains from the view networked node server under kernel morphotype formula depending on networked terminals described
Signaling message the step of before, the method also includes: view networked terminals under the User space mode in response to
The input at family operates, and obtains the configurations information of preconfigured network tunnel, the configurations information includes the net
The physical address and identification information for each view networked terminals that network tunnel is connected;The view networked terminals are in the kernel state
The network tunnel is initialized according to the configurations information under mode.
Optionally, in the view networked terminals under the User space mode according to first control message from described total
After the step of enjoying and obtain the recognition result in memory, being parsed to the recognition result, the method also includes: it is described
The network tunnel is updated according to the parsing result under the User space mode depending on networked terminals.
Optionally, it operates, obtains pre- in response to the input of user under the User space mode in the view networked terminals
Before the step of configurations information of the network tunnel first configured, the method also includes: the view networked terminals are described
Preset network tunnel chained list and timer are initialized under User space mode, the network tunnel chained list is for building
Found and safeguard the network tunnel, state of the timer for network tunnel described in regular check.
Optionally, described to utilize the first control described in the shared drive control message channel transfer pre-established depending on networked terminals
Message processed and second control message.
The second aspect of the embodiment of the present invention discloses a kind of processing unit of signaling message, and described device is applied to view connection
In net, the view networking includes view networked node server, described device and the view networked node server communication, the dress
It sets under kernel morphotype formula or is run under User space mode, described device includes: identification module, in the kernel state mode
Lower monitoring obtains identifying the signaling message from the signaling message of the view networked node server, identification being tied
Fruit stores into pre-set shared drive, and obtains first position letter of the recognition result in the shared drive
Breath;Generation module, for generating the first control message for carrying the first location information, institute under the kernel state mode
The data volume for stating the first control message is less than the data volume of the signaling message;Parsing module, in the User space mode
It is lower that the recognition result is obtained from the shared drive according to first control message, the recognition result is solved
Analysis generates response message according to parsing result, the response message is stored into the shared drive, and obtain the response
Second location information of the message in the shared drive;The generation module is also used to generate under the User space mode
The second control message of the second location information is carried, the data volume of second control message is less than the response message
Data volume;Return module is used under the kernel state mode according to second control message from the shared drive
The response message is obtained, and returns to the response message to the view networked node server.
Optionally, described device further include: module is obtained, for monitoring under kernel morphotype formula in the identification module
To before the signaling message from the view networked node server, grasped under the User space mode in response to the input of user
Make, obtains the configurations information of preconfigured network tunnel, the configurations information includes company, the network tunnel institute
The physical address and identification information of each view networked terminals connect;Initialization module, for the root under the kernel state mode
The network tunnel is initialized according to the configurations information.
Optionally, the parsing module is also used under the User space mode according to the parsing result to the net
Network tunnel is updated.
The third aspect of the embodiment of the present invention discloses a kind of device, comprising: one or more processors;It stores thereon
There are one or more machine readable medias of instruction, when being executed by one or more of processors, so that described device is held
The processing method of the signaling message of row as described in relation to the first aspect.
The fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, the computer program of storage
So that processor executes the processing method of signaling message as described in relation to the first aspect.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention is applied in view networking, may include view networked terminals and view networked node service depending on networking
Device, wherein can be with view networked node server communication depending on networked terminals.It listens to and under kernel morphotype formula depending on networked terminals
The signaling message of networked node of considering oneself as server, identifies signaling message, and recognition result is stored to pre-set total
It enjoys in memory, and obtains first location information of the recognition result in shared drive.It is raw under kernel morphotype formula depending on networked terminals
At the first control message for carrying first location information.Depending on networked terminals under User space mode according to the first control message from
Recognition result is obtained in shared drive, recognition result is parsed, and response message is generated according to parsing result, by response message
It stores into shared drive, and obtains second location information of the response message in shared drive.Depending on networked terminals in User space
The second control message for carrying second location information is generated under mode.Depending on networked terminals according to the second control under kernel morphotype formula
Message processed obtains response message, and returning response message extremely view networked node server from shared drive.
The characteristic of application view networking of the embodiment of the present invention, receives signaling message under kernel morphotype formula depending on networked terminals, and
Signaling message is identified under kernel morphotype formula, recognition result is stored into shared drive, notice view networked terminals exist
Recognition result is obtained from shared drive under User space mode.It is obtained from shared drive under User space mode depending on networked terminals
Recognition result gets response packet according to recognition result, and response message is stored into shared drive, notice view networked terminals
Response message is obtained from shared drive under kernel morphotype formula.It is obtained from shared drive under kernel morphotype formula depending on networked terminals
Take response message, and returning response message extremely view networked node server.The embodiment of the present invention creates a shared drive for user
Access under morphotype formula and under kernel state mode, by under User space mode with the data such as the signaling message that is transmitted under kernel state mode
It stores to shared drive, avoids and the data such as signaling message are transmitted to user's morphotype depending on networked terminals under kernel state mode
View networked terminals under formula, reduce the occupancy of system resource, improve the timeliness of signaling message processing, it is not easy to lose letter
Message is enabled, ensure that the stability of network tunnel.
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 the processing method embodiment of signaling message of the invention;
Fig. 6 is a kind of design principle exemplary diagram of signaling message processing method based on view networking of the invention;
Fig. 7 is a kind of operational flowchart of signaling message processing method based on view networking of the invention;
Fig. 8 is a kind of structural block diagram of the processing device embodiment of signaling message of the invention.
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 exchange (Packet Switching) or lattice network
Switching), meet Streaming using network packet exchange depending on networking technology (to be translated into stream, stream, streaming, be one
Kind data transferring technique, becomes the data received the stream of one steady and continuous, continuously sends out, the sound for hearing user
Sound or the image seen are very steady, and user can start to carry out on the screen before entire data transmission is complete it is clear
Look at) demand.Have flexible, the simple and low price of packet switch depending on networking technology, is provided simultaneously with the quality and safety of circuit switching
Guarantee, realizes the seamless connection of the whole network switched virtual circuit 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 circle), and multiple unified video platforms can
To form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: 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 destination 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 304 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 308 is configured by CPU module 304, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purpose
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 3 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 |
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address.
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA).
Reserve bytes are made of 2 bytes.
The part payload has different length according to the type of different datagrams, if the type of datagram is various
Protocol package, then the length of the part payload is 64 bytes, if the type of datagram is single group unicast packets, payload
Partial length is 32+1024=1056 byte, is 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.
In this specification label definition and multiprotocol label switching (Multi-Protocol Label Switch,
MPLS the definition of label) is similar, it is assumed that there are two connections between equipment A and equipment B, then data packet is 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 into
The label (entering label) for entering equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, it then follows regard the association of networking
The recognition result of the signaling message listened under kernel morphotype formula, is stored in shared drive, and remember by view depending on networked terminals
First location information of the recognition result in shared drive is recorded, the first control message for carrying first location information is generated.Depending on
Networked terminals obtain recognition result according to the first control message under User space mode from shared drive, carry out to recognition result
Parsing generates response message according to parsing result, response message is stored in shared drive, and recording responses message is shared
Second location information in memory generates the second control message for carrying second location information.Depending on networked terminals in kernel state
Response message, and the extremely view networked node service of returning response message are obtained from shared drive according to the second control message under mode
Device.
Referring to Fig. 5, a kind of step flow chart of the processing method embodiment of signaling message of the invention, this method are shown
It can be applied in view networking, may include view networked terminals and view networked node server depending on networking, wherein view networked terminals
It can be run under kernel morphotype formula or under User space mode with view networked node server communication depending on networked terminals.This method
It can specifically include following steps:
Step 501, it monitors and obtains come the signaling report for networked node server of considering oneself as under kernel morphotype formula depending on networked terminals
Text identifies signaling message, and recognition result is stored into pre-set shared drive, and obtains recognition result altogether
Enjoy the first location information in memory.
In the embodiment of the present invention, regarding networked terminals can be smart phone, tablet computer, personal computer or set-top box
(Set Top Box, STB) etc., wherein set-top box is the equipment of connection a television set and outside source, it can will be pressed
The digital signal of contracting changes into television content, and shows on a television set.In general, set-top box can connect camera and
Microphone also can connect television set, for playing video counts for acquiring the multi-medium datas such as video data and audio data
According to the multi-medium datas such as audio data.Type, model, configuration, operating system etc. of the embodiment of the present invention to view networked terminals
It is not specifically limited.
User space and kernel state are two kinds of architectural frameworks of linux system.It is a kind of soft that kernel state, which is inherently seen,
Part --- the hardware resource of control computer, and the environment of upper level applications operation is provided.User space, that is, upper level applications
Activity space, the execution of application program must rely on the resource of kernel state offer, including cpu resource, storage resource, I/O
Resource etc..
It, can be according in advance to the downlink communication of view networked terminals configuration depending on networked node server in the embodiment of the present invention
Link sends signaling message to regarding networked terminals.In this practical application, networking is regarded as the network with centralized control functions, including
Main control server and undernet equipment, which includes terminal, and one of the core idea depending on networking is, is passed through
It is directed to by main control server notice switching equipment when time downstream communications link of service matches table, the table for being then based on the configuration carries out
The transmission of data 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 (such as view connection according to downstream communications link
Network termination).
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, main control server configuration is when time downstream communications link of service
Step 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, main control server are arranged according to downstream communication ports information in data packet addressed table inside it
When the downlink port that the data packet of secondary service is oriented to;And the downstream communication ports information according to access switch, 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 call) 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;Wherein,
It include service number in service content information.
Sub-step S22, main control server in preset content-address mapping table, extract source terminal according to service number
Access net address.
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.
After listening to signaling message depending on networked terminals, signaling message can be identified.Identify the mesh of signaling message
Be the signaling message received is filtered.Recognition result, that is, filtered signaling message, filtered signaling message
It can indicate to need the signaling message by being handled under User space mode depending on networked terminals.Wherein, the signaling message of filtering
In may include identification information of the view networked terminals under User space mode, such as thread number, filtered signaling message
It can be virtually special for view networked virtual private LAN service (Virtual Private Lan Service, VPLS) second layer
With the control message of network (L2Virtual Private Network, L2VPN).The embodiment of the present invention is to filtered signaling
Type, content of message etc. are not specifically limited.
Before this step S501, a shared drive can be preset depending on networked terminals, in practical applications, depending on networking
Terminal can use zero duplication technology and create a shared drive.It is shared interior that this can be accessed under User space mode depending on networked terminals
It deposits, the shared drive can also be accessed under kernel morphotype formula, the embodiment of the present invention creates the shared drive to depending on networked terminals
Used technological means, and, position, capacity of the shared drive etc. are not specifically limited.
Depending on networked terminals after kernel state identifies the signaling message listened to, recognition result is stored to shared
In memory, and obtain first location information of the recognition result in shared drive.The first location information is used in shared drive
Middle search obtains recognition result.
It in one preferred embodiment of the invention, can be under User space mode depending on networked terminals before step 501
In response to the input operation of user, the configurations information of preconfigured network tunnel is obtained.In practical applications, Yong Huke
To input the configurations information of network tunnel in the case where view networked terminals are in User space mode, or it can be said that view networking is whole
Hold the configurations information that network tunnel is obtained under User space mode.In the embodiment of the present invention, network tunnel is to regard networking
Network tunnel, for connecting two equipment, for example, connection view networked terminals and view networked node server, alternatively, connection view connection
Network termination and view networked terminals.Configurations information can include but is not limited to: the view networked terminals that network tunnel is connected
Physical address and identification information, or, the physical address and identification information of the view networked terminals that network tunnel is connected, and, depending on
The physical address and identification information of networked node server.In practical applications, identification information can be view networking number, depending on connection
Net is numbered can regard networked terminals or view networked node server distribution in advance, and view networking is numbered in view networking with only
One property.Network tunnel can be initialized according to configurations information under kernel morphotype formula depending on networked terminals, and
Monitoring obtains come the signaling message for networked node server of considering oneself as.Depending on networked terminals by configurations information under User space mode
It is sent under kernel state mode, accordingly adds all data in configurations information under kernel morphotype formula depending on networked terminals
It is added in network tunnel chained list, and begins listening for signaling message.
In one preferred embodiment of the invention, can be under User space mode in response to user's depending on networked terminals
Input operates, can be in kernel morphotype formula depending on networked terminals before the configurations information for obtaining preconfigured network tunnel
Under preset network tunnel chained list and timer are initialized.Wherein, network tunnel chained list is for establishing and safeguarding
Network tunnel, network tunnel chained list can include but is not limited to: regarding the physical address of networked terminals, regard networking gateway physically
Location, view networking protocol type, view networking destination address, view networking source address, view networking purpose subaddressing, view networking source subaddressing
Deng.Timer is used for the state of regular check network tunnel.The state of network tunnel can include but is not limited to: just power on, to
Network, networked and established video call etc..
Step 502, the first control message for carrying first location information is generated under kernel morphotype formula depending on networked terminals.
In the embodiment of the present invention, the first control message can be generated under kernel morphotype formula depending on networked terminals, first control
Message processed may include first location information, which can also include the identification information etc. of recognition result, this hair
Bright embodiment generates content, the format of technological means and the first control message used by the first control message to view networked terminals
Etc. being not specifically limited.
It should be noted that the data volume of the first control message is far smaller than the data volume of signaling message, that is to say, that view
Networked terminals by the first control message under kernel morphotype formula with transmit occupied system resource and time under User space mode
Far less than by signaling message under kernel morphotype formula with transmit occupied system resource and time under User space mode.
Step 503, identification is obtained from shared drive according to the first control message under User space mode depending on networked terminals
As a result, being parsed to recognition result, response message is generated according to parsing result, response message is stored into shared drive,
And obtain second location information of the response message in shared drive.
The first control message of generation can be passed through into the shared drive control message channel pre-established depending on networked terminals,
Under being transmitted to User space mode under kernel morphotype formula.The shared drive control message channel can be message of a pair of to transmission
Queue, the message queue follow the principle transmission message of first in, first out in each transmission direction.Wherein, a transmission direction is
To transmitting under User space mode under kernel state mode, another transmission direction is under User space mode to passing under kernel morphotype formula
It is defeated.
The first control message is obtained under User space mode depending on networked terminals, can be extracted and be obtained from the first control message
First location information, and then recognition result is obtained from shared drive according to first position message, i.e. filtered signaling in the past
Message.Filtered signaling message is parsed under User space mode depending on networked terminals, it can be first under User space mode
The heading of filtered signaling message is parsed, the type of message of filtered signaling message is obtained.Wherein, message class
Type may include the first kind and Second Type.The first kind can indicate filtered signaling message for updating network tunnel
Road, Second Type can indicate that filtered signaling message is used to operate into net operation or video call.
Network tunnel can be updated according to type of message, that is, parsing result under User space mode depending on networked terminals,
Or response message is generated, response message is stored into shared drive, and obtain second of response message in shared drive
Location information.In practical applications, it when type of message is the first kind, can be updated under User space mode depending on networked terminals
The state of network tunnel.When type of message is Second Type, expression can be generated under User space mode depending on networked terminals and is permitted
Perhaps it networks or allows to establish the response message of video call, and response message is stored into shared drive.
Step 504, the second control message for carrying second location information is generated under User space mode depending on networked terminals.
In the embodiment of the present invention, the second control message can be generated under User space mode depending on networked terminals, second control
Message processed may include second location information, which can also include the identification information etc. of response message, this hair
Bright embodiment generates content, the format of technological means and the second control message used by the second control message to view networked terminals
Etc. being not specifically limited.
It should be noted that the data volume of the second control message is far smaller than the data volume of response message, that is to say, that view
Networked terminals by the second control message under User space mode with transmit occupied system resource and time under kernel state mode
Far less than by response message under User space mode with transmit occupied system resource and time under kernel state mode.
Step 505, response is obtained from shared drive according to the second control message under kernel morphotype formula depending on networked terminals
Message, and returning response message extremely view networked node server.
The second control message of generation can be passed through into the shared drive control message channel pre-established depending on networked terminals,
It is transmitted under User space mode under kernel state mode.The second control message is obtained under kernel morphotype formula depending on networked terminals, it can
Second location information is obtained to extract from the second control message, and then obtains sound from shared drive according to second position message
Answer message.Network address, physical address and the identification information etc. of view networked node server can be carried in the response message
Deng.It can be extracted in response message depending on networked terminals and obtain network address, physical address and the mark of view networked node server
Know information etc., and then returns response message according to depending on the network address of networked node server, physical address and identification information etc.
It is back to view networked node server.
Based on a kind of above-mentioned related description of the processing method embodiment of signaling message, it is described below a kind of based on view networking
Signaling message processing method, as shown in fig. 6, in the embodiment of the present invention view connection cat (it is a kind of view networking carrying internet side
Edge gateway, network packet will be interconnected by, which being mainly used for, is converted into view networking message, sends view networking message extremely by network tunnel
Other terminal devices, and interconnection network packet is reduced to depending on message of networking by what is received) shared interior using Linux technology creation one
It deposits.It receives depending on connection cat under kernel morphotype formula come the signaling message for networked node server of considering oneself as, and signaling message is carried out
Filtering stores filtered signaling message to shared drive, and notice view connection cat obtains under User space mode from shared drive
Filtered signaling message.Filtered signaling message is obtained under User space mode depending on connection cat, and to filtered signaling report
Text is handled, and is got response packet, and response message is stored into shared drive, and notice view connection cat is under kernel morphotype formula
Response message is obtained from shared drive.After obtaining response message under kernel morphotype formula depending on connection cat, response message is back to
Depending on networked node server.
As shown in fig. 7, signaling message processing method still is discussed in detail for depending on connection cat, zero-copy is advanced with depending on connection cat
Technology creates shared drive.This can have two kinds of architectural frameworks of User space mode and kernel state mode depending on connection cat.Wherein, inside
In core morphotype formula, view networking kernel module can be loaded, and initialize to depending on networking kernel module.In view networking
Core module is mainly used for realizing the interaction of signaling message, the foundation of network tunnel, data conversion and transmitting-receiving of signaling message etc..
Initialization procedure depending on kernel module of networking may include: initialization network tunnel chained list, for establishing and safeguarding network tunnel.
Initialization timer, the state for regular check network tunnel.In Linux protocol stack receiver function registration hook point processing letter
Message is enabled, for receiving signaling message, and starts signaling message and monitors module preparation monitoring come networked node server of considering oneself as
Signaling message.User inputs the configurations information of network tunnel under User space mode by network tunnel module, by network
The configurations information in tunnel is issued under kernel state mode, and initializes network tunnel chained list and timer.In kernel morphotype
Under formula, configurations information is added to network tunnel chained list, and notice signaling message monitoring module begins listening for come connection of considering oneself as
The signaling message of net node server.Signaling message monitors module to come the message of the signaling message for networked node server of considering oneself as
Head is parsed, search corresponding network tunnel (the configurations information that is inputted under User space mode according to user and establish
Network tunnel), and signaling message is transmitted to according to parsing result the data processing centre under kernel state mode.Kernel morphotype
Data processing centre under formula stores parsing result to shared drive, and is sent and carried using shared drive control message channel
There is Data processing of the control message of location information of the parsing result in shared drive to view connection cat under User space mode
The heart.Data processing centre under User space mode obtains parsing result according to the control message received from shared drive, will
Parsing result is transmitted to network tunnel processing function.Network tunnel processing function handles parsing result, if parsing result
It needs to reply, then generates response message, response message is packaged, and store to shared drive, controlled using shared drive
Message channel sends the control message for carrying location information of the response message in shared drive to view connection cat in kernel morphotype
Data processing centre under formula.Data processing centre under kernel state mode is according to the control message received from shared drive
Obtain response message, and returning response message extremely view networked node server.If parsing result is to be updated to network tunnel
Signaling message, then be updated according to state of the parsing result to network tunnel.
The embodiment of the present invention is applied in view networking, may include view networked terminals and view networked node service depending on networking
Device, wherein can be with view networked node server communication depending on networked terminals.It listens to and under kernel morphotype formula depending on networked terminals
The signaling message of networked node of considering oneself as server, identifies signaling message, and recognition result is stored to pre-set total
It enjoys in memory, and obtains first location information of the recognition result in shared drive.It is raw under kernel morphotype formula depending on networked terminals
At the first control message for carrying first location information.Depending on networked terminals under User space mode according to the first control message from
Recognition result is obtained in shared drive, recognition result is parsed, and response message is generated according to parsing result, by response message
It stores into shared drive, and obtains second location information of the response message in shared drive.Depending on networked terminals in User space
The second control message for carrying second location information is generated under mode.Depending on networked terminals according to the second control under kernel morphotype formula
Message processed obtains response message, and returning response message extremely view networked node server from shared drive.
The characteristic of application view networking of the embodiment of the present invention, receives signaling message under kernel morphotype formula depending on networked terminals, and
Signaling message is identified under kernel morphotype formula, recognition result is stored into shared drive, notice view networked terminals exist
Recognition result is obtained from shared drive under User space mode.It is obtained from shared drive under User space mode depending on networked terminals
Recognition result gets response packet according to recognition result, and response message is stored into shared drive, notice view networked terminals
Response message is obtained from shared drive under kernel morphotype formula.It is obtained from shared drive under kernel morphotype formula depending on networked terminals
Take response message, and returning response message extremely view networked node server.The embodiment of the present invention creates a shared drive for user
Access under morphotype formula and under kernel state mode, by under User space mode with the data such as the signaling message that is transmitted under kernel state mode
It stores to shared drive, avoids and the data such as signaling message are transmitted to user's morphotype depending on networked terminals under kernel state mode
View networked terminals under formula, reduce the occupancy of system resource, improve the timeliness of signaling message processing, it is not easy to lose letter
Message is enabled, ensure that the stability of network tunnel.
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.
Referring to Fig. 8, a kind of structural block diagram of the processing device embodiment of signaling message of the invention is shown, which can
To be applied in view networking, the view networking includes view networked node server, described device and the view networked node service
Device communication, described device are run under kernel morphotype formula or under User space mode, and described device can specifically include following module:
Identification module 801 obtains the signaling from the view networked node server for monitoring under kernel morphotype formula
Message identifies the signaling message, and recognition result is stored into pre-set shared drive, and obtains the knowledge
First location information of the other result in the shared drive;Generation module 802 is taken for generating under the kernel state mode
The data volume of the first control message with the first location information, first control message is less than the signaling message
Data volume;Parsing module 803, for being obtained from the shared drive under User space mode according to first control message
The recognition result parses the recognition result, generates response message according to parsing result, the response message is deposited
Storage obtains second location information of the response message in the shared drive into the shared drive;The generation
Module 802 is also used to generate the second control message for carrying the second location information under the User space mode, described
The data volume of second control message is less than the data volume of the response message;Return module 804, in the kernel state mode
It is lower that the response message is obtained from the shared drive according to second control message, and the response message is returned to institute
State view networked node server.
In one preferred embodiment of the invention, described device further include: module 805 is obtained, in the identification
Module 801 is monitored under kernel morphotype formula before obtaining the signaling message from the view networked node server, in the use
It is operated under the morphotype formula of family in response to the input of user, obtains the configurations information of preconfigured network tunnel, the basis
Configuration information includes the physical address and identification information for each view networked terminals that the network tunnel is connected;Initialize mould
Block 806, for being initialized according to the configurations information to the network tunnel under the kernel state mode.
In one preferred embodiment of the invention, the parsing module 803 is also used to the root under the User space mode
The network tunnel is updated according to the parsing result.
In one preferred embodiment of the invention, the initialization module 806 is also used in the acquisition module 805
Under the User space mode in response to user input operate, obtain preconfigured network tunnel configurations information it
Before, preset network tunnel chained list and timer are initialized under the User space mode, the network tunnel
Chained list is for establishing and safeguarding the network tunnel, state of the timer for network tunnel described in regular check.
In one preferred embodiment of the invention, described to be disappeared depending on networked terminals using the shared drive control pre-established
Cease the first control message and second control message described in channel transfer.
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.
The embodiment of the invention also provides a kind of devices, comprising: one or more processors;Be stored thereon with instruction
One or more machine readable medias, when being executed by one or more of processors, so that described device executes such as this hair
The processing method of the signaling message of one or more described in bright embodiment.
The embodiment of the invention also provides the computer programs of a kind of computer readable storage medium, storage to handle
Device executes the processing method of signaling message as described in the embodiments of the present invention.
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 processing method and a kind of processing unit of signaling message of signaling message provided by the present invention, into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (10)
1. a kind of processing method of signaling message, which is characterized in that the method is applied in view networking, described to include depending on networking
Depending on networked terminals and view networked node server, the view networked terminals and the view networked node server communication, the view
Networked terminals are run under kernel morphotype formula or under User space mode, which comprises
Described monitor under the kernel state mode depending on networked terminals obtains the signaling report from the view networked node server
Text identifies the signaling message, and recognition result is stored into pre-set shared drive, and obtains the identification
As a result the first location information in the shared drive;
It is described to generate the first control message for carrying the first location information under the kernel state mode depending on networked terminals,
The data volume of first control message is less than the data volume of the signaling message;
It is described to be obtained from the shared drive under the User space mode according to first control message depending on networked terminals
The recognition result parses the recognition result, generates response message according to parsing result, the response message is deposited
Storage obtains second location information of the response message in the shared drive into the shared drive;
It is described to generate the second control message for carrying the second location information under the User space mode depending on networked terminals,
The data volume of second control message is less than the data volume of the response message;
It is described to be obtained from the shared drive under the kernel state mode according to second control message depending on networked terminals
The response message, and the response message is returned to the view networked node server.
2. the processing method of signaling message according to claim 1, which is characterized in that in the view networked terminals in kernel
Before monitoring the step of obtaining from the signaling message of the view networked node server under morphotype formula, the method also includes:
The view networked terminals operate under the User space mode in response to the input of user, obtain preconfigured network tunnel
The configurations information in road, the configurations information include the object for each view networked terminals that the network tunnel is connected
Manage address and identification information;
The view networked terminals carry out just the network tunnel according to the configurations information under the kernel state mode
Beginningization operation.
3. the processing method of signaling message according to claim 2, which is characterized in that in the view networked terminals described
The recognition result is obtained from the shared drive according to first control message under User space mode, the identification is tied
After the step of fruit is parsed, the method also includes:
It is described that the network tunnel is updated according to the parsing result under the User space mode depending on networked terminals.
4. the processing method of signaling message according to claim 2, which is characterized in that in the view networked terminals described
Operated under User space mode in response to the input of user, the step of obtaining the configurations information of preconfigured network tunnel it
Before, the method also includes:
It is described that initialization behaviour is carried out to preset network tunnel chained list and timer under the User space mode depending on networked terminals
Make, the network tunnel chained list is for establishing and safeguarding the network tunnel, and the timer is for network described in regular check
The state in tunnel.
5. the processing method of signaling message according to any one of claim 1 to 4, which is characterized in that the view networking
Terminal utilizes the first control message and second control message described in the shared drive control message channel transfer pre-established.
6. a kind of processing unit of signaling message, which is characterized in that described device is applied in view networking, described to include depending on networking
Depending on networked node server, described device and the view networked node server communication, described device under kernel morphotype formula or
It is run under User space mode, described device includes:
Identification module obtains the signaling report from the view networked node server for monitoring under the kernel state mode
Text identifies the signaling message, and recognition result is stored into pre-set shared drive, and obtains the identification
As a result the first location information in the shared drive;
Generation module, for generating the first control message for carrying the first location information under the kernel state mode,
The data volume of first control message is less than the data volume of the signaling message;
Parsing module, for obtaining institute from the shared drive according to first control message under the User space mode
Recognition result is stated, the recognition result is parsed, response message is generated according to parsing result, the response message is stored
Extremely in the shared drive, and obtain second location information of the response message in the shared drive;
The generation module is also used to generate the second control for carrying the second location information under the User space mode
Message, the data volume of second control message are less than the data volume of the response message;
Return module, for obtaining institute from the shared drive according to second control message under the kernel state mode
Response message is stated, and returns to the response message to the view networked node server.
7. the processing unit of signaling message according to claim 6, which is characterized in that described device further include:
Module is obtained, is obtained for being monitored under kernel morphotype formula in the identification module from the view networked node server
Signaling message before, under the User space mode in response to user input operate, obtain preconfigured network tunnel
Configurations information, the configurations information include the network tunnel connected it is each it is described view networked terminals physics
Address and identification information;
Initialization module, for being carried out just according to the configurations information to the network tunnel under the kernel state mode
Beginningization operation.
8. the processing unit of signaling message according to claim 7, which is characterized in that the parsing module is also used to
The network tunnel is updated according to the parsing result under the User space mode.
9. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made
Obtain the processing method for the signaling message that described device is executed as described in any one of claims 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that its computer program stored executes processor as weighed
Benefit requires the processing method of 1 to 5 described in any item signaling messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910262986.2A CN110149262B (en) | 2019-04-02 | 2019-04-02 | Method and device for processing signaling message and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910262986.2A CN110149262B (en) | 2019-04-02 | 2019-04-02 | Method and device for processing signaling message and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110149262A true CN110149262A (en) | 2019-08-20 |
CN110149262B CN110149262B (en) | 2021-03-12 |
Family
ID=67589452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910262986.2A Active CN110149262B (en) | 2019-04-02 | 2019-04-02 | Method and device for processing signaling message and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110149262B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969749A (en) * | 2019-12-13 | 2020-04-07 | 东信和平科技股份有限公司 | Identity recognition device and method |
CN111240853A (en) * | 2019-12-26 | 2020-06-05 | 天津中科曙光存储科技有限公司 | Method and system for bidirectionally transmitting massive data in node |
CN111478794A (en) * | 2020-03-05 | 2020-07-31 | 视联动力信息技术股份有限公司 | Signaling message interaction method and device, terminal equipment and storage medium |
CN112118167A (en) * | 2020-08-17 | 2020-12-22 | 深圳市风云实业有限公司 | Method for quickly transmitting cross-network tunnel data |
CN112995753A (en) * | 2019-12-16 | 2021-06-18 | 中兴通讯股份有限公司 | Media stream distribution method, CDN node server, CDN system and readable storage medium |
CN113382014A (en) * | 2021-06-23 | 2021-09-10 | 中移(杭州)信息技术有限公司 | Negotiation processing method, device, terminal equipment and storage medium |
CN113794767A (en) * | 2021-09-13 | 2021-12-14 | 联想(北京)有限公司 | Data processing method, server and communication interaction system |
CN117692416A (en) * | 2024-02-04 | 2024-03-12 | 苏州元脑智能科技有限公司 | Network message processing method, device, computer equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020039492A (en) * | 2000-11-21 | 2002-05-27 | 노창환 | Packet processing method |
CN103853620A (en) * | 2012-11-30 | 2014-06-11 | 华为技术有限公司 | Method, device and system for mutually communicating between many-core processor programs |
CN104796337A (en) * | 2015-04-10 | 2015-07-22 | 京信通信系统(广州)有限公司 | Method and device for forwarding message |
US9280423B1 (en) * | 2013-06-27 | 2016-03-08 | Emc Corporation | Mounting block level backup images |
CN106330776A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | Message processing method and device |
CN107193673A (en) * | 2017-06-28 | 2017-09-22 | 锐捷网络股份有限公司 | A kind of message processing method and equipment |
CN109376104A (en) * | 2018-09-28 | 2019-02-22 | 阿里巴巴集团控股有限公司 | A kind of chip and the data processing method and device based on it |
CN109491809A (en) * | 2018-11-12 | 2019-03-19 | 西安微电子技术研究所 | A kind of communication means reducing high-speed bus delay |
-
2019
- 2019-04-02 CN CN201910262986.2A patent/CN110149262B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020039492A (en) * | 2000-11-21 | 2002-05-27 | 노창환 | Packet processing method |
CN103853620A (en) * | 2012-11-30 | 2014-06-11 | 华为技术有限公司 | Method, device and system for mutually communicating between many-core processor programs |
US9280423B1 (en) * | 2013-06-27 | 2016-03-08 | Emc Corporation | Mounting block level backup images |
CN104796337A (en) * | 2015-04-10 | 2015-07-22 | 京信通信系统(广州)有限公司 | Method and device for forwarding message |
CN106330776A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | Message processing method and device |
CN107193673A (en) * | 2017-06-28 | 2017-09-22 | 锐捷网络股份有限公司 | A kind of message processing method and equipment |
CN109376104A (en) * | 2018-09-28 | 2019-02-22 | 阿里巴巴集团控股有限公司 | A kind of chip and the data processing method and device based on it |
CN109491809A (en) * | 2018-11-12 | 2019-03-19 | 西安微电子技术研究所 | A kind of communication means reducing high-speed bus delay |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969749A (en) * | 2019-12-13 | 2020-04-07 | 东信和平科技股份有限公司 | Identity recognition device and method |
CN112995753A (en) * | 2019-12-16 | 2021-06-18 | 中兴通讯股份有限公司 | Media stream distribution method, CDN node server, CDN system and readable storage medium |
CN112995753B (en) * | 2019-12-16 | 2024-03-22 | 中兴通讯股份有限公司 | Media stream distribution method, CDN node server, CDN system and readable storage medium |
CN111240853B (en) * | 2019-12-26 | 2023-10-10 | 天津中科曙光存储科技有限公司 | Bidirectional transmission method and system for large-block data in node |
CN111240853A (en) * | 2019-12-26 | 2020-06-05 | 天津中科曙光存储科技有限公司 | Method and system for bidirectionally transmitting massive data in node |
CN111478794A (en) * | 2020-03-05 | 2020-07-31 | 视联动力信息技术股份有限公司 | Signaling message interaction method and device, terminal equipment and storage medium |
CN111478794B (en) * | 2020-03-05 | 2022-11-15 | 视联动力信息技术股份有限公司 | Signaling message interaction method and device, terminal equipment and storage medium |
CN112118167A (en) * | 2020-08-17 | 2020-12-22 | 深圳市风云实业有限公司 | Method for quickly transmitting cross-network tunnel data |
CN112118167B (en) * | 2020-08-17 | 2022-04-12 | 深圳市风云实业有限公司 | Method for quickly transmitting cross-network tunnel data |
CN113382014A (en) * | 2021-06-23 | 2021-09-10 | 中移(杭州)信息技术有限公司 | Negotiation processing method, device, terminal equipment and storage medium |
CN113794767A (en) * | 2021-09-13 | 2021-12-14 | 联想(北京)有限公司 | Data processing method, server and communication interaction system |
CN113794767B (en) * | 2021-09-13 | 2023-09-22 | 联想(北京)有限公司 | Data processing method, server and communication interaction system |
CN117692416A (en) * | 2024-02-04 | 2024-03-12 | 苏州元脑智能科技有限公司 | Network message processing method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110149262B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881133B (en) | A kind of communication means and device of media data | |
CN110149262A (en) | A kind for the treatment of method and apparatus and storage medium of signaling message | |
CN108063741A (en) | A kind of transport protocol conversion method and apparatus | |
CN108881799B (en) | A kind of system and method carrying out view networked video meeting | |
CN107888401B (en) | A kind of method and system of real time monitoring view networked terminals cpu busy percentage | |
CN109309806A (en) | A kind of management method and system of video conference | |
CN108810444A (en) | Processing method, conference dispatching end and the association of video conference turn server | |
CN109963109A (en) | A kind of processing method and system of video conference | |
CN107888544B (en) | A kind of method and system depending on establishing communication between networked terminals and communication apparatus | |
CN109120879A (en) | A kind of processing method and system of video conference | |
CN108965225A (en) | Data processing method turns server and view networked terminals depending on networking association | |
CN109379254A (en) | A kind of detection method and system of the network connection based on video conference | |
CN110460804A (en) | Conferencing data sending method, system, equipment and computer readable storage medium | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN109068086A (en) | A kind of processing method and system of visual telephone service | |
CN109302642A (en) | Collecting method and device | |
CN109547731A (en) | A kind of methods of exhibiting and system of video conference | |
CN109040656A (en) | A kind of processing method and system of video conference | |
CN108965220A (en) | A kind of method and system that Conference control power is synchronous | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage | |
CN109743284A (en) | A kind of method for processing video frequency and system based on view networking | |
CN109788235A (en) | A kind of processing method and system of the minutes information based on view networking | |
CN109347856A (en) | A kind of login method and system regarding networked terminals | |
CN109525663A (en) | A kind of methods of exhibiting and system of video data | |
CN109617709A (en) | A kind of methods of exhibiting and system of warning information |
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 |