CN109787837A - The configuration method and device of a kind of view networking port - Google Patents

The configuration method and device of a kind of view networking port Download PDF

Info

Publication number
CN109787837A
CN109787837A CN201910108107.0A CN201910108107A CN109787837A CN 109787837 A CN109787837 A CN 109787837A CN 201910108107 A CN201910108107 A CN 201910108107A CN 109787837 A CN109787837 A CN 109787837A
Authority
CN
China
Prior art keywords
port
view
type
networking
view networking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910108107.0A
Other languages
Chinese (zh)
Inventor
李红雨
沈军
王艳辉
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910108107.0A priority Critical patent/CN109787837A/en
Publication of CN109787837A publication Critical patent/CN109787837A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application provides a kind of view networking port configuration method and devices.It may be implemented that first port type will be updated to depending on the corresponding port type depending on port of networking of the first port mark in connection cat by the application, backsight connection cat when according to first port mark corresponding view networking port processing data, data can be handled according to the first data processing function, change the corresponding port type for regarding networking port of first port mark as first port type to realize.Pass through the application, flexible configuration it can regard the port type for joining the networking of each view in cat port according to actual needs, such as, it attends a meeting if necessary and regards the quantity increase of the video conference device of networked video meeting, in order to enable more view networked video meeting can be participated in depending on networking conference facility, then this can be regarded to the change of networking port to be used to connect the view networking port of video conference device, and new view connection cat can be not provided with, so as to save hardware resource, hardware cost is reduced.

Description

The configuration method and device of a kind of view networking port
Technical field
This application involves view networking technology fields, more particularly to the configuration method and device of a kind of view networking port.
Background technique
Currently, the equipment in local area network connects internet if necessary, then needs that interchanger is arranged, as local area network and mutually Gateway between networking includes two generic ports in interchanger, and a generic port is used to connect the equipment in internet, and a generic port is used Equipment in connection local area network, in this way, the equipment in local area network is connected to internet by interchanger.
Summary of the invention
However, the port number in interchanger is limited, and the quantity of each generic port is also limited.
In the increased situation of equipment for needing to connect internet in local area network, if being used to connect local in interchanger The quantity of the port of equipment in net is less than the quantity for needing to connect the equipment of internet in local area network, then can not just make in office The all devices for needing to connect internet in the net of domain can connect internet.
If it is desired that all devices that must need to connect internet in local area network can connect internet, then need to match New interchanger is set to come so that all devices for needing to connect internet in local area network can connect internet, however, this Sample will increase hardware cost.
To solve the above-mentioned problems, present application illustrates the configuration methods and device of a kind of view networking port.
In a first aspect, the method is applied to view connection cat, institute present application illustrates a kind of configuration method of view networking port It states depending on joining the view networking port that cat includes multiple types, the port of each type is at least one, different types of view networking end Mouth is for connecting different types of view networked devices, which comprises
Configuring request is received, the configuring request carries first port mark and first port type, the configuration are asked It asks for requesting for the port type depending on network port corresponding depending on the first port mark in connection cat to be updated to The first port type;
Obtain corresponding first data processing function of the first port type;
The configuration file of view networking port is updated using first data processing function according to the port-mark.
It is described to obtain the corresponding first data processing letter of the first port type in an optional implementation Number, comprising:
Determine the first corresponding relationship between the port type of view networking port and the data processing function of view networking port;
Data processing function corresponding with the first port type is searched in first corresponding relationship.
It is described that first data processing function is used more according to the port-mark in an optional implementation The configuration file of new view networking port, comprising:
Determine the second corresponding relationship between the port-mark of view networking port and the configuration file of view networking port;
Configuration file corresponding with first port mark is searched in second corresponding relationship;
Stored current data in the configuration file, which is replaced, using first data processing function handles function.
In an optional implementation, the method also includes:
Detect the whether whole failures in view networking port of the first port type in the view connection cat;
The port whole failure if the view of the first port type in the view connection cat is networked, in view connection cat really The view networking port of at least one fixed second port type;
By the view networking for being updated to the first port type depending on networking port of at least one second port type Port.
In an optional implementation, the view that at least one second port type is determined in the view connection cat Networking port, comprising:
In all views networking port in addition to the view networking port of the first port type in the view connection cat, Determine that the quantity for the view networking port being in idle condition is greater than the port type of preset quantity, and as the second port class Type;
At least one view networking port is determined in the view networking port of the second port type.
Second aspect, present application illustrates a kind of configuration device of view networking port, described device is applied to view connection cat, institute It states depending on joining the view networking port that cat includes multiple types, the port of each type is at least one, different types of view networking end For connecting different types of view networked devices, described device includes: mouth
Receiving module, for receiving configuring request, the configuring request carries first port mark and first port class Type, the configuring request are used to request the end of the corresponding view networking port of the first port mark in the view connection cat Mouth type is updated to the first port type;
Module is obtained, for obtaining corresponding first data processing function of the first port type;
First update module joins for updating the view using first data processing function according to the port-mark Net the configuration file of port.
In an optional implementation, the acquisition module includes:
First determination unit, for determine regard networking port port type and view networking port data processing function it Between the first corresponding relationship;
First searching unit, for searching number corresponding with the first port type in first corresponding relationship According to processing function.
In an optional implementation, first update module includes:
Second determination unit regards between the port-mark of networking port and the configuration file for regarding port of networking for determining Second corresponding relationship;
Second searching unit, for searching match corresponding with first port mark in second corresponding relationship Set file;
Replacement unit, for replacing stored current number in the configuration file using first data processing function According to processing function.
In an optional implementation, described device further include:
Detection module, for detecting the whether whole failures in view networking port of the first port type in the view connection cat;
Determining module, the port whole failure if the view for the first port type in the view connection cat is networked, The view networking port of at least one second port type is determined in the view connection cat;
Second update module, at least one second port type to be updated to described first depending on networking port The view networking port of port type.
In an optional implementation, the determining module includes:
Third determination unit, for it is described view connection cat in except the first port type view networking port in addition to In all view networkings port, determine that the quantity for the view networking port being in idle condition is greater than the port type of preset quantity, and As the second port type;
4th determination unit, for determining at least one view networking end in the view of second port type networking port Mouthful.
The application includes following advantages:
In this application, configuring request is received, which carries first port mark and first port type, should Configuring request is used to request that the port type corresponding to the first port mark in view connection cat depending on networking port to be updated to the Single port type;Obtain corresponding first data processing function of first port type;The first data are used according to the port-mark Handle the configuration file that function updates view networking port.The corresponding view of the first port mark in view connection cat is joined to realize The port type of net port is updated to first port type, backsight connection cat network according to the corresponding view of first port mark When port handles data, data can be handled according to the first data processing function, thus corresponding to realizing and identifying first port Regard networking port port type change as first port type.
By the application, flexible configuration the port class for joining the networking of each view in cat port can be regarded according to actual needs Type regards the quantity increase of the video conference device of networked video meeting for example, attending a meeting if necessary, in order to enable more view connection Net conference facility can participate in view networked video meeting, then this can be regarded to the change of networking port and set to be used to connect video conference Standby view networking port, and it can be not provided with new view connection cat, so as to save hardware resource, reduce hardware cost.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application.
Fig. 2 is a kind of hardware structural diagram of node server of the application.
Fig. 3 is a kind of hardware structural diagram of access switch of the application.
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway.
Fig. 5 is a kind of step flow chart of the configuration method of view networking port of the application.
Fig. 6 is a kind of structural block diagram of the configuration device of view networking port of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in 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.
To make those skilled in the art more fully understand the application, it is introduced below to depending on networking:
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, and node server and metropolitan area clothes The network controlled under business device can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the application's can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including Ethernet net Close), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or country 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 this application:
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 frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
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 datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in this application: 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, one of core idea of the application is proposed, it then follows the agreement for regarding networking passes through The application flexible configuration can regard the port type for joining the networking of each view in cat port according to actual needs, for example, if needing It attends a meeting and regards the quantity increase of the video conference device of networked video meeting, in order to enable more can depending on networking conference facility View networked video meeting is participated in, then this can be regarded to the change of networking port to be used to connect the view networking end of video conference device Mouthful, and it can be not provided with new view connection cat, so as to save hardware resource, reduce hardware cost.
Referring to Fig. 5, a kind of step flow chart of the configuration method of view networking port of the application is shown, this method can be with Join cat applied to view, this method can specifically include following steps:
In step s101, configuring request is received, which carries first port mark and first port type, The configuring request is used to request to be updated to depending on the corresponding port type depending on port of networking of the first port mark in connection cat First port type;
It in this application, include the view of multiple types depending on connection cat depending on connection cat as the gateway between view networking and internet Networking port, the port of each type are at least one, different types of to join depending on networking port for connecting different types of view Net equipment.
For example, depending on joining the view networking port that cat includes three types, for example, the view networking port for connecting internet, View networking port for connecting the view networking port of video conference device and for connecting the equipment in view networking.
In this application, after view connection cat factory, the effect depending on each view networking port in connection cat is configured good, example Such as, one is used to connect internet depending on networking port, and one depending on networking port for connecting video conference device, remaining view connection Net port is used to connect the equipment etc. in view networking.
It, can for actual demand for any one view networking port in view connection cat during view joins cat use To change the effect of view networking port, for example, the port of view networking before is used to connect the equipment in view networking, if necessary It attends a meeting and regards the quantity increase of the video conference device of networked video meeting, in order to enable more can join depending on networking conference facility With view networked video meeting, then this can be regarded to networking port and changed to be used to connect the view of video conference device networking port, It is same for other each view networking ports in view connection cat.
Wherein, technical staff can input the configuring request in depending on connection cat, alternatively, being sent out by other equipment to view connection cat The configuring request is given, which carries first port mark and first port type, which will for request First port type is updated to depending on the corresponding port type depending on port of networking of the first port mark in connection cat.Then view connection Cat receives the configuring request, and executes step S102.
In step s 102, corresponding first data processing function of first port type is obtained;
In this application, why it is different types of depending on networking port for connecting different equipment, in other words why The effect of different types of view networking port is different, is because being the data processing function of different types of view networking port configuration It is different.
Any one view networking port in cat, when receiving data by view networking port depending on connection cat, meeting are joined for view According to being the data processing function depending on the configuration of networking port come to data processing, view connection cat is networked port transmission number by the view According to when, can according to for this depending on networking port configure data processing function come to data processing.For in view connection cat other are every One view networking port, it is same.
Therefore, in this application, the corresponding port for regarding networking port is identified in order to which the first port in connection cat will be regarded Type is updated to first port type, needs to obtain corresponding first data processing function of first port type, then executes step Rapid S103.
Wherein, in corresponding first data processing function of acquisition first port type, view networking port can be determined The first corresponding relationship between port type and the data processing function of view networking port, is then searched in the first corresponding relationship Data processing function corresponding with first port type.
Wherein, the first corresponding relationship can store in view connection cat.
In step s 103, the configuration text of view networking port is updated using the first data processing function according to the port-mark Part.
In this step, the between the port-mark of view networking port and the configuration file of view networking port can be determined Then two corresponding relationships search configuration file corresponding with first port mark in the second corresponding relationship, reuse first Data processing function replaces stored current data in configuration file and handles function.
Wherein, the second corresponding relationship can store in view connection cat.
In this application, configuring request is received, which carries first port mark and first port type, should Configuring request is used to request that the port type corresponding to the first port mark in view connection cat depending on networking port to be updated to the Single port type;Obtain corresponding first data processing function of first port type;The first data are used according to the port-mark Handle the configuration file that function updates view networking port.The corresponding view of the first port mark in view connection cat is joined to realize The port type of net port is updated to first port type, backsight connection cat network according to the corresponding view of first port mark When port handles data, data can be handled according to the first data processing function, thus corresponding to realizing and identifying first port Regard networking port port type change as first port type.
By the application, flexible configuration the port class for joining the networking of each view in cat port can be regarded according to actual needs Type regards the quantity increase of the video conference device of networked video meeting for example, attending a meeting if necessary, in order to enable more view connection Net conference facility can participate in view networked video meeting, then this can be regarded to the change of networking port and set to be used to connect video conference Standby view networking port, and it can be not provided with new view connection cat, so as to save hardware resource, reduce hardware cost.
In another embodiment of the application, if there is event depending on networking port depending on a certain port type in connection cat Barrier carries out the corresponding business of view networking interface by just can not be successfully depending on connection cat, in order to enable the view networking interface is corresponding Business can be normally carried out, can be automatically by the view networking port change of other port types in another embodiment of the application For the view networking port of the type.
For example, the whether whole failures in view networking port of the first port type in detection view connection cat;If depending in connection cat First port type view network port whole failure, then view connection cat in determine at least one second port type view connection Net port;By the view networking port for being updated to first port type depending on networking port of at least one second port type, specifically How to update may refer to previous embodiment, and it is not described here in detail.
Wherein, when determining the view networking port of at least one second port type in view connection cat, depending on removing in connection cat In all views networking port other than the view networking port of first port type, the view networking port being in idle condition is determined Quantity is greater than the port type of preset quantity, and as second port type;Then in the view networking port of second port type At least one view networking port of middle determination.
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, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, 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 related movement not necessarily the application is implemented Necessary to example.
Referring to Fig. 6, a kind of structural block diagram of the configuration device of view networking port of the application, described device application are shown Join cat in view, the view connection cat includes the view networking port of multiple types, and the port of each type is at least one, different type Depending on networking port for connecting different types of view networked devices, described device includes:
Receiving module 11, for receiving configuring request, the configuring request carries first port mark and first port Type, the configuring request are used to request the corresponding view networking port of the first port mark in the view connection cat Port type is updated to the first port type;
Module 12 is obtained, for obtaining corresponding first data processing function of the first port type;
First update module 13, for updating the view using first data processing function according to the port-mark The configuration file of networking port.
In an optional implementation, the acquisition module 12 includes:
First determination unit, for determine regard networking port port type and view networking port data processing function it Between the first corresponding relationship;
First searching unit, for searching number corresponding with the first port type in first corresponding relationship According to processing function.
In an optional implementation, first update module 13 includes:
Second determination unit regards between the port-mark of networking port and the configuration file for regarding port of networking for determining Second corresponding relationship;
Second searching unit, for searching match corresponding with first port mark in second corresponding relationship Set file;
Replacement unit, for replacing stored current number in the configuration file using first data processing function According to processing function.
In an optional implementation, described device further include:
Detection module, for detecting the whether whole failures in view networking port of the first port type in the view connection cat;
Determining module, the port whole failure if the view for the first port type in the view connection cat is networked, The view networking port of at least one second port type is determined in the view connection cat;
Second update module, at least one second port type to be updated to described first depending on networking port The view networking port of port type.
In an optional implementation, the determining module includes:
Third determination unit, for it is described view connection cat in except the first port type view networking port in addition to In all view networkings port, determine that the quantity for the view networking port being in idle condition is greater than the port type of preset quantity, and As the second port type;
4th determination unit, for determining at least one view networking end in the view of second port type networking port Mouthful.
In this application, configuring request is received, which carries first port mark and first port type, should Configuring request is used to request that the port type corresponding to the first port mark in view connection cat depending on networking port to be updated to the Single port type;Obtain corresponding first data processing function of first port type;The first data are used according to the port-mark Handle the configuration file that function updates view networking port.The corresponding view of the first port mark in view connection cat is joined to realize The port type of net port is updated to first port type, backsight connection cat network according to the corresponding view of first port mark When port handles data, data can be handled according to the first data processing function, thus corresponding to realizing and identifying first port Regard networking port port type change as first port type.
By the application, flexible configuration the port class for joining the networking of each view in cat port can be regarded according to actual needs Type regards the quantity increase of the video conference device of networked video meeting for example, attending a meeting if necessary, in order to enable more view connection Net conference facility can participate in view networked video meeting, then this can be regarded to the change of networking port and set to be used to connect video conference Standby view networking port, and it can be not provided with new view connection cat, so as to save hardware resource, reduce hardware 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 embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application 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 application 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 application is referring to according to the method for the embodiment of the present application, 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 preferred embodiments of the embodiments of the present application have 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 all change and modification within the scope of the embodiments of the present application.
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 the configuration method and device of a kind of view networking port provided herein, it is described in detail, this Specific case is applied in text, and the principle and implementation of this application are described, the explanation of above example is only intended to Help understands the present processes and its core concept;At the same time, for those skilled in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the application.

Claims (10)

1. a kind of configuration method of view networking port, which is characterized in that the method is applied to view connection cat, described to include depending on connection cat The view networking port of multiple types, the port of each type is at least one, and different types of view networking port is for connecting not The view networked devices of same type, which comprises
Configuring request is received, the configuring request carries first port mark and first port type, and the configuring request is used Described in the port type of the corresponding view networking port of the first port mark in the view connection cat is updated in request First port type;
Obtain corresponding first data processing function of the first port type;
The configuration file of view networking port is updated using first data processing function according to the port-mark.
2. the method according to claim 1, wherein described obtain corresponding first number of the first port type According to processing function, comprising:
Determine the first corresponding relationship between the port type of view networking port and the data processing function of view networking port;
Data processing function corresponding with the first port type is searched in first corresponding relationship.
3. the method according to claim 1, wherein described use first data according to the port-mark Processing function updates the configuration file of view networking port, comprising:
Determine the second corresponding relationship between the port-mark of view networking port and the configuration file of view networking port;
Configuration file corresponding with first port mark is searched in second corresponding relationship;
Stored current data in the configuration file, which is replaced, using first data processing function handles function.
4. the method according to claim 1, wherein the method also includes:
Detect the whether whole failures in view networking port of the first port type in the view connection cat;
The port whole failure if the view of the first port type in the view connection cat is networked, determines extremely in view connection cat The view networking port of a few second port type;
By the view networking port for being updated to the first port type depending on networking port of at least one second port type.
5. according to the method described in claim 4, it is characterized in that, described determine at least one second end in view connection cat The view networking port of mouth type, comprising:
In all views networking port in addition to the view networking port of the first port type in the view connection cat, determine The quantity for the view networking port being in idle condition is greater than the port type of preset quantity, and as the second port type;
At least one view networking port is determined in the view networking port of the second port type.
6. a kind of configuration device of view networking port, which is characterized in that described device is applied to view connection cat, described to include depending on connection cat The view networking port of multiple types, the port of each type is at least one, and different types of view networking port is for connecting not The view networked devices of same type, described device include:
Receiving module, for receiving configuring request, the configuring request carries first port mark and first port type, institute Configuring request is stated for requesting the port class of the corresponding view networking port of the first port mark in the view connection cat Type is updated to the first port type;
Module is obtained, for obtaining corresponding first data processing function of the first port type;
First update module, for updating view networking end using first data processing function according to the port-mark The configuration file of mouth.
7. device according to claim 6, which is characterized in that the acquisition module includes:
First determination unit regards between the port type of networking port and the data processing function for regarding port of networking for determining First corresponding relationship;
First searching unit, for being searched at data corresponding with the first port type in first corresponding relationship Manage function.
8. device according to claim 6, which is characterized in that first update module includes:
Second determination unit, for determining regard between the port-mark of networking port and the configuration file for regarding port of networking second Corresponding relationship;
Second searching unit, for searching configuration text corresponding with first port mark in second corresponding relationship Part;
Replacement unit, for being replaced in the configuration file at stored current data using first data processing function Manage function.
9. device according to claim 6, which is characterized in that described device further include:
Detection module, for detecting the whether whole failures in view networking port of the first port type in the view connection cat;
Determining module, the port whole failure if the view for the first port type in the view connection cat is networked, described View networking port depending on determining at least one second port type in connection cat;
Second update module, at least one second port type to be updated to the first port depending on networking port The view networking port of type.
10. device according to claim 9, which is characterized in that the determining module includes:
Third determination unit, for all in addition to the view networking port of the first port type in the view connection cat Depending in networking port, determining that the quantity for the view networking port being in idle condition is greater than the port type of preset quantity, and conduct The second port type;
4th determination unit, for determining at least one view networking port in the view of second port type networking port.
CN201910108107.0A 2019-02-02 2019-02-02 The configuration method and device of a kind of view networking port Pending CN109787837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910108107.0A CN109787837A (en) 2019-02-02 2019-02-02 The configuration method and device of a kind of view networking port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910108107.0A CN109787837A (en) 2019-02-02 2019-02-02 The configuration method and device of a kind of view networking port

Publications (1)

Publication Number Publication Date
CN109787837A true CN109787837A (en) 2019-05-21

Family

ID=66504248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910108107.0A Pending CN109787837A (en) 2019-02-02 2019-02-02 The configuration method and device of a kind of view networking port

Country Status (1)

Country Link
CN (1) CN109787837A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061517A (en) * 2019-10-28 2020-04-24 视联动力信息技术股份有限公司 Method and device for generating configuration file, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222526A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Method and apparatus for loading port driver of network appliance physical layer
CN102870380A (en) * 2012-06-21 2013-01-09 华为技术有限公司 exchange plate for blade server and port configuration method thereof
WO2014140952A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Dynamic port type detection
CN107947966A (en) * 2017-11-07 2018-04-20 深圳市信锐网科技术有限公司 A kind of configuration management system and configuring management method
CN108243027A (en) * 2016-12-23 2018-07-03 大唐移动通信设备有限公司 A kind of port initialization method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222526A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Method and apparatus for loading port driver of network appliance physical layer
CN102870380A (en) * 2012-06-21 2013-01-09 华为技术有限公司 exchange plate for blade server and port configuration method thereof
WO2014140952A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Dynamic port type detection
CN108243027A (en) * 2016-12-23 2018-07-03 大唐移动通信设备有限公司 A kind of port initialization method and device
CN107947966A (en) * 2017-11-07 2018-04-20 深圳市信锐网科技术有限公司 A kind of configuration management system and configuring management method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061517A (en) * 2019-10-28 2020-04-24 视联动力信息技术股份有限公司 Method and device for generating configuration file, electronic equipment and storage medium
CN111061517B (en) * 2019-10-28 2024-03-15 视联动力信息技术股份有限公司 Method and device for generating configuration file, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109743595A (en) Terminal data synchronous method and device
CN108965224A (en) A kind of method and apparatus of video on demand
CN109617956A (en) A kind of data processing method and device
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
CN109768963A (en) A kind of meeting unlatching method and system based on view networking
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN110225083A (en) Data push method and device based on view networking
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN109284265A (en) A kind of date storage method and system
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN109743555A (en) A kind of information processing method and system based on view networking
CN109151519A (en) A kind of configuration distribution method and system based on view networking
CN109005378A (en) A kind of processing method and system of video conference
CN110417792A (en) Communication means, system, gateway and storage medium
CN110493149A (en) A kind of method and apparatus of Message processing
CN109743360A (en) A kind of information processing method and device
CN110048911A (en) A kind of Cascading Methods and server based on view networking
CN109922302A (en) Conference reservation information acquisition method, system, equipment and machine readable media
CN109889759A (en) A kind of exchange method and system regarding networked video meeting
CN110012316A (en) A kind of processing method and processing device regarding networking service
CN109698790A (en) A kind of storage method and system regarding networking data
CN109067895A (en) A kind of method and apparatus remotely controlled
CN109787837A (en) The configuration method and device of a kind of view networking port
CN110381029A (en) A kind of monitoring resource synchronization method and device
CN110213533A (en) A kind of acquisition methods and device regarding networking monitoring video flowing

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190521

RJ01 Rejection of invention patent application after publication