CN109728961A - A kind of the networking test method and system of autonomous networks - Google Patents

A kind of the networking test method and system of autonomous networks Download PDF

Info

Publication number
CN109728961A
CN109728961A CN201711023795.8A CN201711023795A CN109728961A CN 109728961 A CN109728961 A CN 109728961A CN 201711023795 A CN201711023795 A CN 201711023795A CN 109728961 A CN109728961 A CN 109728961A
Authority
CN
China
Prior art keywords
service device
testing service
control server
test
main control
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.)
Withdrawn
Application number
CN201711023795.8A
Other languages
Chinese (zh)
Inventor
杨春晖
陆宏成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING QIANTANG SHILIAN NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING QIANTANG SHILIAN NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING QIANTANG SHILIAN NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING QIANTANG SHILIAN NETWORK TECHNOLOGY Co Ltd
Priority to CN201711023795.8A priority Critical patent/CN109728961A/en
Publication of CN109728961A publication Critical patent/CN109728961A/en
Withdrawn legal-status Critical Current

Links

Abstract

The embodiment of the invention provides the networking test methods and system of a kind of autonomous networks, which comprises testing service device receives the test initiation command that main control server is sent;Testing service device generates test data packet according to the test initiation command;The test data packet is sent to target detection server by testing service device, and receives the target detection data packet that the target detection server is sent;Testing service device generates test result according to the target detection data packet;The test result is sent to the main control server by testing service device.The present embodiment is by between theoretical validation and existing net two stages of test, increase a kind of networking test on dedicated testing platform, form a set of iteration tests method through plan-validation, parameter adjustment and existing net test overall process, it has not only taken into account the environmental requirement of test network and has built time restriction, also the verifying for accelerating networking plan is conducive to the proposition of aggressive scheme and adopts.

Description

A kind of the networking test method and system of autonomous networks
Technical field
The present invention relates to autonomous networks technical fields, more particularly to networking test method, one kind of a kind of autonomous networks The networking test macro of testing service device, a kind of main control server and a kind of autonomous networks.
Background technique
Video signal market development is quick, demand is changeable, and video communication network can also encounter various problem in actual operation. In order to find the problem, solve the problems, such as in time, the test for video communication network is just particularly important.Wherein, now net is tested just It is a kind of common test method.
Now net test is tested in actual network environment, is a link very crucial in the network operation. In the prior art, after combining the market demand, technical specification and design experiences to formulate and complete corresponding networking plan, first have into Then row theoretical validation carries out existing net test again.But the personnel that are related to of now net test are more, region is wide, equipment is miscellaneous, communication is difficult, And the Network Abnormal of discovery can only be recorded first, can not reproduce and check problem in time.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of networking test method of the autonomous networks to solve the above problems, a kind of testing service device, a kind of main control server and corresponding A kind of autonomous networks networking test macro.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of networking test method of autonomous networks, it is described from Controlling in network includes main control server and testing service device cluster, and the testing service device cluster includes border router, boundary Sub-control server, terminal sub-control server and testing service device;The main control server and border router, boundary sub-control service Device, terminal sub-control server access exchange network, and the terminal sub-control server and testing service device access another exchange network, The boundary sub-control server and border router access another exchange network;The described method includes:
Testing service device receives the test initiation command that main control server is sent;
Testing service device generates test data packet according to the test initiation command;
The test data packet is sent to target detection server by testing service device, and receives the target detection service The target detection data packet that device is sent;
Testing service device generates test result according to the target detection data packet;
The test result is sent to the main control server by testing service device.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of testing service device, the testing service device is integrated In testing service device cluster, networking of the testing service device cluster by being connect with main control server, for autonomous networks Test;The testing service device cluster further includes border router, boundary sub-control server, terminal sub-control server;The master It controls server and border router, boundary sub-control server, terminal sub-control server accesses exchange network, the terminal sub-control clothes Device be engaged in another exchange network of testing service device access, the boundary sub-control server and border router access another switching network Network;The testing service device includes:
Initiation command receiving module is tested, for receiving the test initiation command of main control server transmission;
Test data packet generation module, for generating test data packet according to the test initiation command;
Data packet sending/receiving module for the test data packet to be sent to target detection server, and receives institute State the target detection data packet of target detection server transmission;
Test result generation module, for generating test result according to the target detection data packet;
Test result sending module, for the test result to be sent to the main control server.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of main control server, the main control server and surveys Server cluster connection is tried, the networking for autonomous networks is tested;The testing service device cluster includes border router, boundary Sub-control server, terminal sub-control server and testing service device;The main control server and border router, boundary sub-control service Device, terminal sub-control server access exchange network, and the terminal sub-control server and testing service device access another exchange network, The boundary sub-control server and border router access another exchange network;The main control server includes:
Initiation command sending module is tested, for sending test initiation command, the testing service device to testing service device Test data packet is generated according to the test initiation command, the test data packet is sent to target detection server, and connect The target detection data packet that the target detection server is sent is received, generates test result according to the target detection data packet;
Test result receiving module, the test result sent for receiving the testing service device.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of networking test macros of autonomous networks, including master Server and testing service device cluster are controlled, the main control server is connect with testing service device cluster, the group for autonomous networks Net test;The testing service device cluster includes border router, boundary sub-control server, terminal sub-control server and test clothes Business device;The main control server and border router, boundary sub-control server, terminal sub-control server access exchange network, institute It states terminal sub-control server and testing service device accesses another exchange network, the boundary sub-control server connects with border router Enter another exchange network;
The main control server includes:
Initiation command sending module is tested, for sending test initiation command to testing service device;
Test result receiving module, the test result sent for receiving the testing service device;
The testing service device includes:
Test data packet generation module, for generating test data packet according to the test initiation command;
Data packet sending/receiving module for the test data packet to be sent to target detection server, and receives institute State the target detection data packet of target detection server transmission;
Test result generation module, for generating test result according to the target detection data packet.
Compared with the background art, the embodiment of the present invention includes following advantages:
The embodiment of the present invention, by increasing one kind in special test between theoretical validation and existing net two stages of test Networking test on platform forms a set of iteration tests through plan-validation, parameter adjustment and existing net test overall process Method has not only taken into account the environmental requirement of test network and has built time restriction, also accelerated the verifying of networking plan, be conducive to The it is proposed of aggressive scheme and adopt.
Second, for network topology, the adjustment of the parameters such as available bandwidth, implementing in the test of existing net can time-consuming expense Power, and by the adjustment of above-mentioned parameters by implementing in networking on dedicated testing platform test, realize adjustment, The iteratively faster of the processes such as test and feedback, accelerates test process.
Third, the Network Abnormal found in the test of existing net are typically only capable to first record, and can not reproduce and check problem in time, And in networking provided in this embodiment test, then exception can be reappeared in time, adjust and solve the problems, such as, be conducive to push existing Net test smoothly completes early.
4th, by the way that situations such as the recurrent packet mistake of simulation real network, packet loss, adjustment is wrong in networking is tested Whether accidentally packet matching rule and Packet Error Rate, meet robustness etc. during so as in networking is tested to each service operation It is required that being verified.
5th, networking test method of the present embodiment based on autonomous networks agreement, by utilizing software and hardware Combined design side Case, incorporating plan-validation early period, mid-term system optimization and later period now nets test, can guarantee network test effectively, can By while, improve flexibility and the convenience of test macro, saved the construction cost of autonomous networks, effectively meet fast The testing requirement of all kinds of business scenarios is directed in the changeable video signal market of speed development, demand.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of autonomous networks of one embodiment of the invention;
Fig. 2 is a kind of structural schematic diagram of autonomous cloud of one embodiment of the invention;
Fig. 3 is a kind of structural schematic diagram of main control server of one embodiment of the invention;
Fig. 4 is a kind of structural schematic diagram of sub-control server of one embodiment of the invention;
Fig. 5 is a kind of structural schematic diagram of border router of one embodiment of the invention;
Fig. 6 is a kind of structural schematic diagram of terminal of one embodiment of the invention;
Fig. 7 is a kind of step flow chart of the networking test method of autonomous networks of one embodiment of the invention;
Fig. 8 is the step flow chart of the networking test method of another autonomous networks of one embodiment of the invention;
Fig. 9 is a kind of schematic diagram of design of hardware and software in the prior art;
Figure 10 is a kind of schematic diagram of software and hardware Combined design of one embodiment of the invention;
Figure 11 is a kind of block diagram of the software and hardware Combined design of testing service device of one embodiment of the invention;
Figure 12 is the step flow chart of the networking test method of another autonomous networks of one embodiment of the invention;
Figure 13 is a kind of schematic diagram of testing service device cluster of one embodiment of the invention;
Figure 14 is the connection schematic diagram of testing service device in a kind of testing service device cluster of one embodiment of the invention;
Figure 15 is the connection signal between a kind of testing service device cluster and main control server of one embodiment of the invention Figure;
Figure 16 is a kind of networking plan schematic diagram of single autonomous cloud of one embodiment of the invention;
Figure 17 is a kind of block diagram of testing service device of one embodiment of the invention;
Figure 18 is a kind of block diagram of main control server of one embodiment of the invention;
Figure 19 is a kind of block diagram of the networking test macro of autonomous networks of one embodiment 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.
In order to make it easy to understand, being made a presentation first to the relevant knowledge of autonomous networks.
One, the topological structure of autonomous networks
Referring to Fig. 1, a kind of structural schematic diagram of autonomous networks of one embodiment of the invention is shown.
As shown in Figure 1, autonomous networks, are a kind of distributed centrally controlled networks, it include multiple press in autonomous networks The autonomous cloud of layer distribution, i.e. the overall network structure of autonomous networks are interconnected together by multiple minor structures for being known as autonomous cloud, Autonomous cloud shows hierarchical structure when interconnecting.
Since the autonomous cloud of top layer, each autonomy cloud can be interconnected with one or more next layer of autonomous clouds, The autonomous cloud of lower layer is connected with more next layer of autonomous cloud again, and until bottom autonomy cloud, all autonomous clouds are with this Mode is formed autonomous networks net after connecting layer by layer.
Obviously, this hierarchical structure is tree, each autonomous cloud is exactly a node in tree, entire autonomy net Network is exactly the tree being made of multiple autonomous clouds as node.
As shown in Figure 1, the autonomous networks include four layers, the autonomous cloud in the 4th layer (L4) connects multiple third layer (L3) In autonomous cloud, the autonomous cloud in multiple second layers (L2) is connected in the autonomous cloud in third layer (L3), in the second layer (L2) Autonomous cloud connect the autonomous cloud in one or more first layers (L1).
Referring to fig. 2, a kind of structural schematic diagram of autonomous cloud of one embodiment of the invention is shown.
As shown in Fig. 2, autonomous cloud is the basic minor structure in autonomous networks structure, and transport autonomous networks normally Capable structural units.
One autonomous cloud, can be in the function of autonomous cloud internal independence realization autonomous networks in the case where configuring correct situation.
When autonomous cloud can not be connected due to communication failure with upper and lower level autonomy cloud, business in autonomous networks still can be with It is realized inside single autonomous cloud, this is also the origin (autonomy operation) of autonomous cloud title.
When autonomous cloud can be with the autonomous cloud normal communication of upper and lower level, it is bigger that these autonomous clouds just constitute a range Autonomous networks, the business across autonomous cloud may be implemented.
In the concrete realization, each autonomous cloud includes main control server, thin cloud server, terminal and exchange network.
1, main control server
Main control server is the centralized control node of autonomous cloud, the function of realization mainly include to the equipment in autonomous cloud into Row management realizes that autonomous cloud inside and the management across business, autonomous networks between autonomous cloud are communicated to realize higher Management etc., by main control server, each autonomy cloud can become an independently operated centrally controlled network.
In each autonomous cloud, main control server and thin cloud server access exchange network, i.e. main control server can be with Multiple thin cloud servers are attached by the same exchange network, this exchange network and with it connect common group of equipment At the master control thin cloud of autonomous cloud, the quantity of the master control thin cloud in autonomous cloud is one, and the equipment in master control thin cloud can be with tree The various topological classifications such as type, star-like, total exchange are attached.
In general, the equipment in autonomous networks is registered firstly the need of on main control server, then accessed by networking process Autonomous networks, the equipment that do not register can not network, and cannot obtain the service of autonomous networks offer.
Referring to Fig. 3, a kind of structural schematic diagram of main control server of one embodiment of the invention is shown.
As shown in figure 3, main control server 300 mainly includes network transceiving module 301, device management module 302, multicast pipe Manage the modules such as module 303, Service Processing Module 304.
Wherein, network transceiving module 301 is responsible for sending and receiving for data packet, and when received data packet can check that data packet is The no packet format for meeting autonomous networks, the packet for whether being destined to main control server, according in data packet if meeting the requirements Type of message by packet delivery to device management module 302, multicast management module 303 and Service Processing Module 304.
Device management module 302 be responsible for processing and autonomy cloud in equipment enter net state it is related and with neighboring autonomous cloud it Between the relevant agreement of access state, safeguard relevant with these states table, realize networking such as equipment and logout, it is adjacent oneself Control the processes such as access and the disconnection between cloud.
Multicast management module 303 is responsible for multicast traffic stream or and the multicast number across autonomous cloud inside processing and autonomous cloud According to relevant agreement is flowed, table relevant with these data flows is safeguarded, realize creation and destruction, data such as data flow transmitting terminal Flow the processes such as addition and deletion, the management across autonomous cloud data flow of receiving end.
Service Processing Module 304 is responsible for processing agreement relevant with various autonomous networks business, maintenance and these business phases The table of pass realizes the process of such as live broadcast, videophone, video conference service.
2, thin cloud server
Thin cloud server is the exchcange core of autonomous cloud, in most cases, the communication that the equipment in autonomous networks issues Data arrive at final destination by the forwarding of thin cloud server.
Furthermore, thin cloud server includes border router, terminal sub-control server and boundary sub-control server.
2.1, sub-control server
Terminal sub-control server and boundary sub-control server are also referred to as sub-control server, and sub-control server is the number of autonomous cloud According to forward node, there is a upstream Interface and a downstream interface.Upstream Interface is used to be connected to the master control thin cloud of autonomous cloud, Downstream interface can be attached with the border router in terminal or other autonomous clouds by the same exchange network, this Exchange network and the equipment connected with it have collectively constituted a sub-control thin cloud of autonomous cloud.
Wherein, terminal sub-control server and terminal access another exchange network, and corresponding sub-control thin cloud is also known as terminal point Control thin cloud.
Boundary sub-control server and border router access another exchange network, and corresponding sub-control thin cloud is also known as boundary point Control thin cloud.
In embodiments of the present invention, master control thin cloud, sub-control thin cloud may be collectively referred to as thin cloud.
Assuming that the hierarchical structure of autonomous cloud is 4 layers, and the thin cloud level inside each autonomous cloud is 2 layers, then entire autonomous The hierarchical structure of thin cloud is 8 layers in network.
Equipment in sub-control thin cloud can be equally attached with the various topological classifications such as tree-shaped, star-like, total exchange.
Each of master control thin cloud sub-control server can correspond to a sub-control thin cloud, and sub-control thin cloud and master control are micro- Cloud realizes connection by being multiplexed the same sub-control server.
Since thin cloud server can be linked into simultaneously in two different thin clouds, so can pass through between multiple thin clouds Thin cloud server, which is realized, to be interconnected, and when connection needs to meet following rule:
It cannot be interconnected between sub-control thin cloud inside autonomous cloud;
When master control thin cloud inside autonomous cloud is connected with sub-control thin cloud, the upstream Interface of thin cloud server (sub-control server) Master control thin cloud is accessed, downstream interface accesses sub-control thin cloud;
Master control thin cloud can be connected with the sub-control thin cloud in upper layer autonomy cloud, the uplink of thin cloud server (border router) Interface accesses sub-control thin cloud, and downstream interface accesses master control thin cloud;
Master control thin cloud can only be connected with the sub-control thin cloud in a upper layer autonomy cloud;
Sub-control thin cloud can be connected with the master control thin cloud in lower layer's autonomy cloud, (border router) uplink of thin cloud server Interface accesses sub-control thin cloud, and downstream interface accesses master control thin cloud;
Sub-control thin cloud can be connected with the master control thin cloud in multiple lower layer's autonomy clouds.
The auxiliary control node of sub-control server or autonomous cloud can carry out other equipment in sub-control thin cloud simple Management, share the partial function of main control server.
Referring to fig. 4, a kind of structural schematic diagram of sub-control server of one embodiment of the invention is shown.
As shown in figure 4, sub-control server 400 mainly includes Network Interface Module 401 (upstream Interface module, downstream interface Module), switching engine module 402, protocol process module 403.
Wherein, Network Interface Module 401 is responsible for sending and receiving for data packet, and when reception can check whether data packet meets The reception filtering rule of setting, gives switching engine resume module if meeting, the number from switching engine module when transmission Other equipment are sent to by network interface according to packet;
Switching engine module 402 is responsible for the forwarding of data packet, receives from Network Interface Module and protocol process module Data packet after, according to the table of the address information connecting inner in data packet data packet according to rules modification relevant field after It gives Network Interface Module or protocol process module is further processed;
Protocol process module 403 is responsible for processing autonomous networks agreement, realize receive data packet from switching engine module, Internal form is configured according to autonomous networks protocol processes data packet and on demand, is given data packet to switching engine module and is done further The functions such as processing.
It should be noted that sub-control server can be further divided into terminal sub-control server and boundary sub-control service again Device.
2.2, border router
Border router is also the head-end site of autonomous cloud, can be connected to simultaneously in two layers of autonomous cloud, Neng Goushi Data forwarding now across autonomous cloud.
Border router has a upstream Interface and a downstream interface, and downstream interface is used to be connected to some autonomous cloud Master control thin cloud, upstream Interface are used to be connected to the sub-control thin cloud of another autonomous cloud.
It is attached at this point, adjacent two layers autonomy cloud is multiplexed the same border router, after connection, is connected by downstream interface The autonomous cloud connect is known as lower layer's autonomy cloud, is known as upper layer autonomy cloud by the autonomous cloud that upstream Interface connects.
After multiple autonomy clouds are interconnected by this method by border router, it is formed the distribution being distributed by layer Formula network.
Referring to Fig. 5, a kind of structural schematic diagram of border router of one embodiment of the invention is shown.
As shown in figure 5, border router 500 mainly includes Network Interface Module 501 (upstream Interface module, downstream interface Module), switching engine module 502, protocol process module 503.
Wherein, Network Interface Module 501 is responsible for sending and receiving for data packet, and when reception can check whether data packet meets The reception filtering rule of setting, gives switching engine resume module if meeting, the number from switching engine module when transmission Other equipment are sent to by network interface according to packet;
Switching engine module 502 is responsible for the forwarding of data packet, receives from Network Interface Module and protocol process module Data packet after, according to the table of the address information connecting inner in data packet data packet according to rules modification relevant field after It gives Network Interface Module or protocol process module is further processed;
Protocol process module 503 is responsible for processing autonomous networks agreement, realize receive data packet from switching engine module, Internal form is configured according to autonomous networks protocol processes data packet and on demand, is given data packet to switching engine module and is done further The functions such as processing.
3, terminal
Terminal is that user into autonomous networks provides the equipment of service, for example, set-top box, Streaming Media gateway, encoding board, Memory, media synthesizer etc..
Referring to Fig. 6, a kind of structural schematic diagram of terminal of one embodiment of the invention is shown.
As shown in fig. 6, terminal 600 mainly includes Network Interface Module 601, data processing module 602 and protocol processes mould Block 603.
Wherein, Network Interface Module 601 is responsible for sending and receiving for data packet, and when reception can check whether data packet meets The packet format of autonomous networks, the packet for whether being destined to terminal, will according to the type of message in data packet if meeting the requirements Packet delivery is to data processing module and protocol process module;
Data processing module 602 is responsible for processing business datum relevant with terminal;
For example, data processing module 602 is video/audio encoding and decoding engine modules if terminal is set-top box, it can incite somebody to action oneself The video and audio digital signal of body capture according to various standard compressions and encodes, and will be after various video encoding data decompressions It is reduced into digital signal;
If terminal is encoding board, data processing module 602 is video encoding engine modules, can be by itself capture Video and audio digital signal is according to various standard compressions and encodes;
If terminal is memory, data processing module 602 is disk array module, the business datum that can will be received In information be stored on disk or sent after the information on disk is converted into business datum;
Protocol process module 603 is responsible for processing autonomous networks agreement, realizes networking process, the autonomous networks Business Stream of terminal Journey (such as live broadcast, videophone, video conference).
4, exchange network
Exchange network is used to provide the network communications capability of bottom to autonomous networks, so that being connected to the same exchange network In equipment between can communicate with each other.
In one example, exchange network is Ethernet, i.e., can be carried out between equipment with measured Ethernet protocol Communication.
Various open up can be formed after equipment accesses master control thin cloud or sub-control thin cloud according to the actual conditions of carrying Ethernet Structure is flutterred, for example, connecting shape, star, tree-like etc. entirely.
In different topological structures, the communication process between equipment is different.
Two, the network parameter of autonomous networks
1, logical device types
Equipment in autonomous networks has a logical device types, and logical device types are used to distinguish the function of equipment realization Can, the identical logical device of type may be implemented into different physical entities.
For example, logical device types include main control server, thin cloud server (terminal sub-control server, boundary sub-control clothes Be engaged in device, border router), terminal, etc..
2, logical device identifies
Equipment in autonomous networks has a logical device mark, and logical device is identified for distinguishing logical device types Identical equipment.
Logical device types and logical device mark are unique identifier of the equipment in autonomous networks.
3, logic port address
The network interface for being connected to the equipment of autonomous networks will all be assigned to the logical end of a 8bit when equipment networks Port address.
The logic port address is internal unique in the thin cloud (master control thin cloud or sub-control thin cloud) connected, usually with 16 systems It indicates, value range is 0x01-0xfe, i.e., can access 254 network interfaces in the same thin cloud altogether.
For sub-control server or border router, its two interfaces access is two different thin clouds, The logic port address being assigned to can it is identical, can also be different.
4, logical address
Logical address is used for the network interface of positioning device.If equipment accesses autonomous networks using multiple network interfaces, Then each network interface can have oneself independent logical address.
Logical address includes local logical address, logical address prefix and global logic address.
4.1, local logical address
The network interface for being connected to the equipment of autonomous networks all patrols the local for being assigned to a 16bit when equipment networks Address is collected, the address is unique inside the autonomous cloud that equipment accesses, and is usually indicated with 16 systems.
Local logical address is automatically generated by the logic port in thin cloud.
For the network interface in master control thin cloud, local logical address is < logic port of the interface in master control thin cloud Location > 00.
For the network interface in sub-control thin cloud, local logical address is <upstream Interface of sub-control server is micro- in master control Logic port address><logic port address of the interface in sub-control thin cloud>in cloud.
For border router, its two interfaces access is two different autonomous clouds, so their sheet Ground logical address is unique in corresponding autonomous cloud.
4.2, logical address prefix
Each autonomy cloud will be assigned to a logical address prefix according to its position in entire autonomous networks.
Logical address prefix is the numerical value of 1 48bit, is divided into 3 sections, every section of 16bit.Logical address prefix usually use 16 into Tabulation is shown, such as 12D4-56C8-A07F.
The composition rule of the logical address prefix of each layer autonomy cloud is as follows:
Its composition rule of logical address prefix of 1st layer of autonomous cloud is<access logical address 4>-<access logical address 3>- <access logical address 2>;
Its composition rule of logical address prefix of 2nd layer of autonomous cloud is<access logical address 4>-<access logical address 3>- 0000;
Its composition rule of logical address prefix of 3rd layer of autonomous cloud is<access logical address 4>-0000-0000;
Its composition rule of logical address prefix of 4th layer of autonomous cloud is 0000-0000-0000, indicates no prefix;
Wherein,<access logical address 2>indicates used border routing when the 1st layer of autonomous the 2nd layer of autonomous cloud of cloud access Local logical address of the device in the 2nd layer of autonomous cloud;
<access logical address 3>indicates when the 2nd layer of autonomous the 3rd layer of autonomous cloud of cloud access used border router the Local logical address in 3 layers of autonomous cloud;
<access logical address 4>indicates when the 3rd layer of autonomous the 4th layer of autonomous cloud of cloud access used border router the Local logical address in 4 layers of autonomous cloud;
4.3, global logic address
Being connected to the network interface of the equipment of autonomous networks, will to be assigned to a whole network when equipment networks uniquely global Logical address.
Global logic address is the numerical value of 1 64bit, is divided into 4 sections, every section of 16bit.
Global logic address is usually indicated with 16 systems, such as 12D4-56C8-A07F-3B9E.
Global logic address can pass through the local logical address of network interface, the logical address prefix and autonomy of autonomous cloud The level of cloud is constituted with following rule:
Its composition rule of global logic address of 1st layer of autonomous cloud is<the logical address prefix of autonomous cloud>-<network interface Local logical address >;
Its composition rule of global logic address in 2nd layer of autonomous cloud is<first 2 sections of the logical address prefix of autonomous cloud>- <the local logical address>-0000 of network interface;
Its composition rule of global logic address in 3rd layer of autonomous cloud is<paragraph 1 of the logical address prefix of autonomous cloud>- <the local logical address>-0000-0000 of network interface;
Its composition rule of global logic address in 4th layer of autonomous cloud is<the local logical address>-0000- of network interface 0000-0000;
5, equipment number
Equipment number is used for the positioning device in the business of autonomous networks, it is usually related to using the user of autonomous networks Connection.
When the equipment of some user is replaced due to failure, original equipment number can be tied to new set For up without changing equipment number.
Equipment number includes local device number, equipment number prefix and global equipment number.
5.1, local device number
The equipment for being connected to autonomous networks is all assigned to a local device number when equipment networks.The number is in equipment It is unique inside the autonomous cloud of access, it is one 5 10 binary digits, i.e. effective range is 00000-99999.Wherein 00000 This local device number retains, it is impossible to be used in indicates an actual equipment.
For border router, its two interfaces access is two different autonomous clouds, so their sheet Ground equipment number is only unique in corresponding autonomous cloud.
5.2, equipment number prefix
Each autonomy cloud will all be assigned to an equipment number prefix according to its position in entire autonomous networks.
Equipment number prefix is one 15 10 binary digits, is divided into 3 sections, and every section is one 5 10 binary digits. Such as 12345-67890-33333.
The composition rule of the equipment number prefix of each layer autonomy cloud is as follows:
Its composition rule of equipment number prefix of 1st layer of autonomous cloud is<access device number 4>-<access device number 3>- <access device number 2>;
Its composition rule of equipment number prefix of 2nd layer of autonomous cloud is<access device number 4>-<access device number 3>- 00000;
Its composition rule of equipment number prefix of 3rd layer of autonomous cloud is<access device number 4>-00000-00000;
Its composition rule of equipment number prefix of 4th layer of autonomous cloud is 00000-00000-00000, indicates no prefix;
Wherein,<access device number 2>indicates used border routing when the 1st layer of autonomous the 2nd layer of autonomous cloud of cloud access Local device number of the device in the 2nd layer of autonomous cloud;
<access device number 3>indicates when the 3rd layer of autonomous cloud of the 2nd layer of autonomous cloud access used border router the Local device number in 3 layers of autonomous cloud;
<access logical address 4>indicates when the 3rd layer of autonomous the 4th layer of autonomous cloud of cloud access used border router the Local device number in 4 layers of autonomous cloud;
5.3, global equipment number
The equipment for being connected to autonomous networks will all be assigned to a whole network uniquely global equipment number when equipment networks.
Global equipment number is one 20 10 binary digits, is divided into 4 sections, and every section is one 5 10 binary digits. Such as 12345-67890-33333-88888.
Global equipment number can pass through the local device number of equipment, the equipment number prefix of autonomous cloud and autonomous cloud Level is constituted with following rule:
Its composition rule of global equipment number of 1st layer of autonomous cloud is the sheet of<the equipment number prefix of autonomous cloud>-<equipment Ground equipment number >;
Its composition rule of global equipment number in 2nd layer of autonomous cloud is<first 2 sections of the equipment number prefix of autonomous cloud>- <the local device number>-00000 of equipment;
Its composition rule of global equipment number in 3rd layer of autonomous cloud is<paragraph 1 of the equipment number prefix of autonomous cloud>- <the local device number>-00000-00000 of equipment;
Its composition rule of global equipment number in 4th layer of autonomous cloud is<the local device number>-00000- of equipment 00000-00000;
6, thin cloud level
Thin cloud level is for indicating relative position of each thin cloud in entire autonomous networks.
Thin cloud in each autonomy cloud is divided into 2 layers, and master control thin cloud is on upper layer, and sub-control thin cloud is in lower layer.Such 4 layers autonomous cloud Total hierachy number of thin cloud is 8 in the autonomous networks of structure, i.e., the master control thin cloud level in the 4th layer autonomous cloud is the 8, the 1st layer of autonomy Sub-control thin cloud level in cloud is 1.
7, thin cloud topology
Thin cloud topology is used to indicate the connection type in same thin cloud between each equipment.
Thin cloud topology and equipment actual connection type in exchange network are unrelated, are a kind of topological relations in logic. Thin cloud topology will affect transmission path of the data packet in thin cloud.
In the concrete realization, thin cloud topology includes supporting star topology and total exchange topology.
It include a central apparatus in star topology thin cloud, most of data between other equipment are required by this Heart equipment is forwarded.
There is no central apparatus in total exchange topology thin cloud, the data between equipment point-to-point can directly transmit.
Since terminal does not have data forwarding function, so the topological classification of terminal sub-control thin cloud is star topology and center Equipment is corresponding terminal sub-control server.
8, physical port information
Used ginseng when physical port information is for describing to communicate with the network interface of some equipment by exchange network Number.Current Ethernet is realized, includes the information such as MAC Address, ethernet type and VLAN tag.
Specifically, MAC Address indicates target MAC (Media Access Control) address, the ethernet type used when sending data packet to this interface Indicate that the ethernet frame type from data packet to this interface, the VLAN tag that use when sending indicate to send data packet to this interface When the vlan information that uses.
To simplify the description, in the case where ambiguity will not be caused, would generally omit hereinafter for ethernet type and The description of VLAN tag and entire physical port information is directly replaced with MAC Address.
Three, the data packet of autonomous networks
1, packet definitions
The data packet of autonomous networks mainly includes following sections: Ethernet head, autonomous networks head, Payload (PDU)、CRC。
Ethernet head can be divided into again: target MAC (Media Access Control) address (DMAC), source MAC (SMAC), ethernet type (ETYPE).It can also include the head VLAN (VLAN) in Ethernet head as needed.
Autonomous networks head can be divided into again: type of data packet (VTYPE), reserve bytes (Reserved), purpose are autonomous Network address (DA), from controlling network address (SA).
Specific format is (no head VLAN) as shown in the table:
DMAC SMAC ETYPE VTYPE Reserved DA SA Payload CRC
Or it is (having the head VLAN) as shown in the table:
DMAC SMAC VLAN ETYPE VTYPE Reserved DA SA Payload CRC
Wherein:
Target MAC (Media Access Control) address (DMAC) can be made of 6 bytes, indicate the network interface for receiving the equipment of the data packet MAC Address;
Source MAC (SMAC) can be made of 6 bytes, indicate the network interface for sending the equipment of the data packet MAC Address;
Ethernet type (ETYPE) can be made of 2 bytes, indicate the frame type of Ethernet;
The head VLAN can be made of 4 bytes, the vlan information used when indicating using VLAN transmission data packet;
Type of data packet can be made of 1 byte, indicate data packet type (such as connection packet, unicast packet, multicast packets Deng);
Reserve bytes can be made of 1 byte, be traditionally arranged to be 0;
Purpose autonomous networks address (DA) can be made of 8 bytes, indicate the recipient for receiving the data packet in autonomy Address in network, meaning are determined by type of data packet;
It can be made of 8 bytes from network address (SA) is controlled, indicate the recipient for sending the data packet in autonomous net Address in network, meaning are determined by type of data packet;
The PDU of autonomous networks is stored in Payload, length is related with the type of data packet.For example the length of multicast packets can To be 288 or 1056 bytes, the length of connection packet and unicast packet can be 64,288 or 1056 bytes.
Certainly, Payload is not restricted to above 3 kinds of length, and using other length, the embodiment of the present invention is to this It is without restriction.
CRC can be made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2, autonomous networks address
There are 3 kinds of different addresses in autonomous networks, is link address, unicast address, multicast address respectively.
Wherein, link address uses in the networking process of equipment, and the numerical value of its 8 bytes is identical, such as 0x0101 0x0101 0x0101 0x0101.Link address is for distinguishing the equipment being linked into the same thin cloud;
Unicast address is the global logic address of network interface, such as 0x0102 0x0304 0x0506 0x0708;
Multicast address is used to distinguish the multicast traffic stream in the same autonomous cloud, and multicast address can only autonomous net as a purpose Network address uses and cannot control network address as being originated from and use.
Rear 4 bytes in 8 bytes can be used in multicast address, and preceding 4 bytes are fixed as full 0, such as 0x0000 0x0000 0x0012 0x3456。
3, type of data packet
There is the data packet of 3 seed types in autonomous networks: connection packet, unicast packet, multicast packets.
Wherein, connection packet uses in the networking process of equipment, its purpose autonomous networks address and source autonomous networks Location is all link address, respectively indicates the recipient and sender of connection packet;
Unicast packet uses after equipment networking, the agreement PDU being used for transmission between equipment, its purpose autonomous networks address Be originated from that control network address be all unicast address, respectively indicate the recipient and sender of unicast packet;
Multicast packets use after equipment networking, the data PDU being used for transmission between equipment, its purpose autonomous networks address It is multicast address, is unicast address from network address is controlled, respectively indicates the recipient and sender of multicast packets.
In order to distinguish different data packets, can be arranged as follows in advance:
The value of ethernet type is 0x0800;
The Packet type value of connection packet is 0x10;
The Packet type value of unicast packet is 0x02;
The Packet type value of multicast packets is 0x81.
4, data packet is transmitted
4.1, connection packet
Connection packet is not supported to forward, and can only transmit between two equipment in the same thin cloud.
Connection packet indicates the sender and recipient of data packet using link address.8 byte values of link address are all Identical, numerical value is usually exactly the logic port address of the network interface of sender or recipient.
4.1.1, non-forwarding nodes behavior
For main control server and terminal, with needing to be arranged the MAC that target MAC (Media Access Control) address is recipient when sending connection packet Location, setting source MAC are the MAC Address of oneself, and setting purpose autonomous networks address is the link address of other side, and setting is originated from Control the link address that network address is oneself.Need to check whether target MAC (Media Access Control) address is oneself MAC when receiving connection packet Location.
4.1.2, forward node behavior
For sub-control server and border router, they maintain two Ethernets in inside and send matching list.Two Table corresponds to two network interfaces, and downstream interface is No. 0 mouth, and corresponding matching list is No. 0 table, and upstream Interface is No. 1 mouth, corresponding Matching list be No. 1 table.It include 256 list items, the logic port address corresponding to 8bit in every matching list.In each list item Including an ethernet mac address and a transmission flag bit.Flag bit is that 0 expression port is invalid, and MAC Address is meaningless. Flag bit is that 1 expression port is effective, and MAC Address is exactly the target MAC (Media Access Control) address used when sending data packet to the port.
Setting is originated from the link address for controlling that network address is oneself when forward node sends connection packet, and source MAC is arranged For the MAC Address of transmission interface, the link address that purpose autonomous networks address is other side is set.It is arranged first when target MAC (Media Access Control) address The corresponding table item in Ethernet transmission matching list is first searched according to the link address of other side.For example the link address of other side is 0x3434 0x3434 0x3434 0x3434, connection packet need to be dealt into No. 1 mouth, then inquire No. 1 Ethernet and send in matching list 0x34 list item.The connection packet is not sent if sending flag bit and being 0, if sending flag bit and being 1 purpose MAC is set Location is then the MAC Address in list item is sent.
Forward node receive connection packet when need to check target MAC (Media Access Control) address whether be receiving interface MAC Address.
4.2, unicast packet
Unicast packet indicates the sender and recipient of data packet using unicast address.Unicast packet can pass through data forwarding section The forwarding of point, is transferred to another thin cloud from a thin cloud, realizes the communication of equipment within the scope of full autonomous networks.
4.2.1, non-forwarding nodes behavior
Setting is needed to patrol from the overall situation that network address is oneself is controlled for main control server and terminal, when sending unicast packet Address is collected, setting source MAC is the MAC Address of oneself, the global logic that purpose autonomous networks address is recipient is arranged Location, setting target MAC (Media Access Control) address are MAC Address corresponding to next recipient of unicast packet.
For terminal, next recipient of unicast packet is exactly No. 0 mouth of the sub-control server of affiliated thin cloud.
For main control server, next recipient of unicast packet needs to calculate according to the following rules:
When autonomous cloud layer time is 1, compare recipient global logic address and first 6 of the global logic address of oneself Whether byte is identical, if identical, the local logical address that next recipient is arranged is the global logic address of recipient 7th, 8 bytes, if it is different, next recipient of unicast packet is exactly No. 0 mouth of border router in master control thin cloud;
When autonomous cloud layer time is 2, compare recipient global logic address and first 4 of the global logic address of oneself Whether byte is identical, if identical, the local logical address that next recipient is arranged is the global logic address of recipient 5th, 6 bytes, if it is different, next recipient of unicast packet is exactly No. 0 mouth of border router in master control thin cloud;
When autonomous cloud layer time is 3, compare recipient global logic address and first 2 of the global logic address of oneself Whether byte is identical, if identical, the local logical address that next recipient is arranged is the global logic address of recipient 3rd, 4 bytes, if it is different, next recipient of unicast packet is exactly No. 0 mouth of border router in master control thin cloud;
When autonomous cloud layer time is 4, the local logical address that next recipient is arranged is the global logic of recipient Location the 1st, 2 bytes;
Corresponding equipment is found according to the local logical address of next recipient;
If equipment is the border router in master control thin cloud, next recipient of unicast packet is exactly side in master control thin cloud No. 0 mouth of boundary's router;
If equipment is not the border router in master control thin cloud, the topological classification of master control thin cloud is checked;
If the topological classification of master control thin cloud be it is star-like, next recipient of unicast packet is exactly the center in master control thin cloud No. 1 mouth of equipment;
If the topological classification of master control thin cloud is total exchange, check that equipment is sub-control server;
If equipment is sub-control server, next recipient of unicast packet is exactly No. 1 mouth of sub-control server;
If equipment is not sub-control server, equipment is exactly the equipment under some sub-control thin cloud, unicast packet it is next A recipient is exactly No. 1 mouth of the sub-control server of the sub-control thin cloud;
Main control server and terminal need to check whether target MAC (Media Access Control) address is oneself MAC Address, mesh when receiving unicast packet Autonomous networks address whether be oneself global logic address.
4.2.2, forward node behavior
For sub-control server and border router, they will appreciate that the global logic address of No. 0 mouth and No. 1 mouth after networking And level of the corresponding thin cloud of No. 0 mouth in autonomous networks.
Provide that the protocol process module inside head-end site is made using the global logic address of No. 0 mouth in autonomous networks It is communicated for the unicast address and other equipment of oneself.
Forward node is when receiving the unicast packet on No. 0 mouth or No. 1 mouth, it is necessary first to check target MAC (Media Access Control) address Whether be receiving interface MAC Address, then according to purpose autonomous networks address, oneself No. 0 mouth global logic address and Next recipient of thin cloud level calculating unicast packet.
Assuming that purpose autonomous networks address is D8.D7.D6.D5.D4.D3.D2.D1, No. 0 mouth global logic address of oneself For S8.S7.S6.S5.S4.S3.S2.S1.Wherein D8 to D1, S8 to S1 respectively indicate 1 byte in address.
Before calculating, purpose autonomous networks address and No. 0 mouth global logic address are divided into 3 according to No. 0 mouth thin cloud level Point, it is referred to as address 2, address 1 and address 0.
Following table is the method for dividing address:
Thin cloud level Address 2 Address 1 Address 0
1 D8-D3、S8-S3 D2、S2 D1、S1
2 D8-D4、S8-S4 D3、S3 D2、S2
3 D8-D5、S8-S5 D4、S4 D3、S3
4 D8-D6、S8-S6 D5、S5 D4、S4
5 D8-D7、S8-S7 D6、S6 D5、S5
6 D8、S8 D7、S7 D6、S6
7 0x00、0x00 D8、S8 D7、S7
8 0x00、0x00 0x00、0x00 D8、S8
Calculate 4 kinds of situations of next recipient's time-division:
If 3 parts of two addresses are all identical, indicate that next recipient is exactly oneself, it, will at this time without forwarding Data packet is given internal protocol process module and is handled;
If two addresses only have 0 part of address different, indicate that next recipient is located in thin cloud belonging to No. 0 mouth, it is right The logic port address answered is exactly 0 part of address of purpose autonomous networks address;
If 2 part of address of two addresses is identical but 1 part of address is different, indicates that next recipient is located at No. 1 In thin cloud belonging to mouthful, corresponding logic port address is exactly 1 part of address of purpose autonomous networks address;
If 2 part of address of two addresses is not identical, next recipient is exactly thin cloud (master control thin cloud belonging to No. 1 mouth Or sub-control thin cloud) in be known as a special installation of upper layer forward node, its logic port address is when forward node networks It obtains;
If necessary to forward after the completion of calculating, then pair in the Ethernet matching list of corresponding interface is inquired according to calculated result List item is answered, does not send the unicast packet if sending flag bit and being 0, target MAC (Media Access Control) address, which is arranged, if sending flag bit and being 1 is MAC Address in list item, setting source MAC are then the MAC Address of corresponding interface is sent.
When internal protocol process module sends unicast packet, setting is with being originated from the global logic for controlling that network address is No. 0 mouth Location, setting purpose autonomous networks address are the global logic address of recipient.Then according to the global logic address of recipient, from Oneself No. 0 mouth global logic address and thin cloud level calculate next recipient of unicast packet.Calculation method and calculating come from 0 The method of next recipient of number mouth or the unicast packet on No. 1 mouth is identical, and target MAC (Media Access Control) address and source MAC is then arranged Method it is also identical.
Referring to Fig. 7, a kind of step process of the networking test method of autonomous networks of one embodiment of the invention is shown Figure, can specifically include following steps:
Step 701, equipment networks;
In embodiments of the present invention, the equipment for executing networking test includes main control server, terminal sub-control server, boundary Sub-control server, border router and access device.Wherein, access device can be in such a way that testing service device emulates come real Now corresponding function.
Therefore, the equipment networking process in the present embodiment includes the networking between terminal sub-control server and main control server Networking process, border router between process, boundary sub-control server and main control server and entering between main control server Net process, and, the networking process between access device (i.e. testing service device) and terminal sub-control server.
Step 702, start multicast test;
In embodiments of the present invention, each equipment can start multicast test after networking and completing parameter configuration.
In the concrete realization, multicast packets can be generated in each testing service device, and respectively send multicast packets generated To the testing service device of opposite end;Meanwhile each testing service device also receives and checks to come transmitted by opposite end testing service device Multicast packets.
During the test, each testing service device can recorde the reception information of the multicast packets sent and received, and Accordingly generate test result.
In embodiments of the present invention, test result may include it is following any one or more:
Handling capacity (Throughput) test result
Handling capacity is the maximum rate of test data processing, i.e. maximum frame of the network under not frame loss condition forwards speed Rate.For the linear speed network equipment, the target value of the corresponding handling capacity of various frame lengths is 100%.
Frame loss rate (Frame Loss Rate) test result
The case where frame loss rate is test frame loss.For the linear speed network equipment, the corresponding frame loss of various frame lengths The target value of rate is 0%.
It should be noted that the sum of frame loss rate and handling capacity should be equal to 100%, that is, frame loss rate+handling capacity= 100%.
Time delay (Latency) test result
Time delay is the time of test frame processing.Under store and forward message mode, the time of frame processing refers to last from data frame One bit (binary digit, bit, the minimum unit of measurement information) input equipment starts, to first bit of data frame Time interval until output equipment.
(Back-to-Back) test result back-to-back
It is the capacity for testing buffer area back-to-back.For the linear speed network equipment, which is equal to the testing time and gulps down Product between the amount of spitting, that is, back-to-back test result=testing time * handling capacity.
Shake (Jitter) test result.
Shake is the variation degree of frame delay.Shake is to evaluate one of the important indicator of network performance, especially for view News business.In general, shake is smaller to illustrate that network is more stable.
Step 703, terminate multicast test;
In embodiments of the present invention, terminating multicast test can be realized by two ways.
For example, give out a contract for a project in several tests in specified maximum, when each testing service device complete specified quantity give out a contract for a project number after, Corresponding test can be automatically stopped.
And in several test of giving out a contract for a project in not specified maximum, then it can be sent by main control server to each testing service device Test terminates the mode of order to terminate this test.
Step 704, multicast test result is uploaded;
After test, main control server can send to each testing service device and upload test result order, order Each testing service device uploads this test result tested.
In general, test result can be recorded by the statistic table of each testing service device, each testing service device exists After the upload test result order for receiving main control server transmission, the statistic table of itself can be read, and be uploaded to master Control server.
Step 705, equipment logout.
After test terminates and completes the upload of test result, equipment logout process can be executed.
In embodiments of the present invention, equipment logout process may include between terminal sub-control server and main control server Logout process, border router between logout process, boundary sub-control server and main control server and between main control server Logout process, and, the logout process between access device (i.e. testing service device) and terminal sub-control server.
Referring to Fig. 8, the step of showing the networking test method of another autonomous networks of one embodiment of the invention stream Cheng Tu can specifically include following steps:
Step 801, testing service device receives the test initiation command that main control server is sent;
It should be noted that the test in the present embodiment refers to the networking test implemented on dedicated testing platform, the survey Examination is networking plan in the test after theoretical validation passes through, carried out before the test of existing net starts.
In general, after combining the market demand, technical specification and design experiences to formulate the corresponding networking plan of completion, the first rank Section will will be tested by theoretical validation, second stage by existing net.Test in the present embodiment be above-mentioned two stage it Between, a kind of increased networking test on dedicated testing platform.By implementing networking test, testing for networking plan can be accelerated Card, is conducive to the proposition of aggressive scheme and adopts.
It in embodiments of the present invention, may include main control server and testing service device cluster in autonomous networks.Test clothes Business device cluster may include border router, boundary sub-control server, terminal sub-control server and testing service device again.Wherein, Main control server can access exchange network with border router, boundary sub-control server, terminal sub-control server;Terminal sub-control Server can access another exchange network with testing service device;Boundary sub-control server can access another with border router Exchange network.In embodiments of the present invention, exchange network can be Ethernet.
Therefore, it can according to need, pass through connection main control server, border router, boundary sub-control server, terminal point Server and testing service device are controlled, to set up and the indiscriminate dedicated testing platform of real network environment.
Wherein it is possible to emulate the access device in autonomous networks by testing service device.Generally, 1 testing service device With 2 independent network ports, each port can at most emulate the protocol command and 2000 multicast numbers of 250 access devices According to stream, data double-way total bandwidth can achieve 2Gbps.
It should be noted that due to each network port of testing service device be at best able to 250 access devices of emulation and 2000 multicast data flows, data double-way total bandwidth 2Gbps, while autonomous networks are mainly directed towards videoconferencing service, traditional method of average stream It measures examination and is unable to satisfy demand at all.Therefore, when realizing emulation of the testing service device to access device, software and hardware can be passed through The mode of Combined design, to be precisely controlled the transmission time interval of multicast packets and the receiving time interval of measurement multicast packets.
As shown in figure 9, being a kind of schematic diagram of design of hardware and software in the prior art.In general, traditional design of hardware and software Method is first to select suitable hardware platform according to system requirements, then starts Design of Software Platform.It should realize various need It asks, and is limited to the various limitations of hardware platform.
As shown in Figure 10, be one embodiment of the invention a kind of software and hardware Combined design schematic diagram.According to Figure 10 institute The software and hardware Combined design method shown, can be according to the direct partition functionality module of system requirements.That is, the mould extended for needs Block can be realized by way of software;For needing efficient module, then by hardware realization;If the two requires, By programmable hardware (FPGA) Lai Shixian.Software and hardware sub-module is not stratified, to realize that software can with high efficiency, hardware Expansible software and hardware Combined design.
As shown in figure 11, be one embodiment of the invention a kind of testing service device software and hardware Combined design block diagram. In Figure 11,1 testing service device may include that two network ports, i.e. No. 0 mouth and No. 1 mouth, each network port are realized Function it is essentially identical.
It is different according to the function of realization by taking No. 0 mouth as an example, testing service device can be divided into following several modules:
Wherein, DSP indicates that digital signal processing chip, PHY IC indicate that networked physics layer chip, SOFT are indicated by software It realizes, FPGA indicates to realize by programmable hardware.
In embodiments of the present invention, each equipment in main control server and testing service device cluster is completed to initialize, After reaching corresponding test request, it can start to execute test assignment.
In general, test command is issued by main control server, i.e., after each equipment completes test preparation, master control service Device can issue test initiation command to each testing service device.Testing service device is in the test for receiving main control server transmission After initiation command, it can start to be tested accordingly.
Step 802, testing service device generates test data packet according to the test initiation command;
In embodiments of the present invention, testing service device can generate after receiving test initiation command according to the order Test data packet.The test data packet is the multicast packets for needing to use when testing.
In the concrete realization, testing service device can complete frame head according to the instruction of main control server first in initialization The configuration of table, the control test information such as information table and statistic table.It then, can be with after receiving test initiation command All effective list items in control information table by inquiring itself, generate multicast packets.
Step 803, the test data packet is sent to target detection server by testing service device, and receives the target The target detection data packet that testing service device is sent;
It should be noted that target detection server is opposite end testing service corresponding with current testing service device Device, target detection data packet are the multicast packets that the target detection server generates.
In actual networking test, the target detection server of current testing service device and opposite end can be mutually opposite right Side sends multicast packets, and receives the multicast packets of other side's transmission simultaneously.The reality that those skilled in the art can test according to networking Demand determines one group each other of which two testing service device, so that carrying out the opposite of multicast packets sends test, the present embodiment to this not It limits.
For example, it may be determined that one group of the opposite of carry out multicast packets sends survey each other by testing service device 1# and testing service device 2# Examination determines that one group of the opposite of carry out multicast packets sends test each other by testing service device 3# and testing service device 4#, determines test clothes Being engaged in, one group of the opposite of carry out multicast packets sends test to device 5# and testing service device 6# each other.
Step 804, testing service device generates test result according to the test data packet and target detection data packet;
In embodiments of the present invention, testing service device to the quantity of the multicast packets of transmission and can be connect by statistic table The quantity and reception information of the multicast packets received are counted.
In the concrete realization, testing service device can update after sending multicast packets to the target detection server of opposite end Statistic table, to update the quantity of the multicast packets sent wherein recorded.When testing service device receives the target of opposite end After the multicast packets that testing service device is sent, statistic table can also be updated, be had received with what update wherein recorded Multicast packets quantity and receive information.
It should be noted that the data packet that the target detection server that testing service device receives opposite end is sent may also It is not multicast packets.Therefore, after receiving target detection data packet, need to first confirm that whether the data packet is multicast packets, If so, updating the quantity of the multicast packets having received recorded in statistic table and receiving information, otherwise, then not to the number Amount and reception information are updated.
In general, the type field in packet header may indicate that the type of current data packet, such as, if it is multicast Packet etc..Therefore, in the concrete realization, testing service device, can be by checking the packet header after receiving data packet In the mode of type field confirm whether the data packet is multicast packets.
After test, testing service device can be according to the quantity of the multicast packets of transmission and the multicast packets received Quantity and reception information generate test result.The test result may include throughput test results, frame loss rate test result, Delay testing result, back-to-back test result, and, any one or more in jitter test result.
It should be noted that can determine whether to terminate current test by the quantity of setting transmitting-receiving multicast packets.Example Such as, a maximum can be set to give out a contract for a project number, when the quantity for the multicast packets that testing service device is sent is more than that maximum gives out a contract for a project several, Ke Yitong When stop send multicast packets and stop receive multicast packets.
Alternatively, current test can also be terminated by way of the control of main control server.For example, being carried out in test After a period of time, main control server, which can send test to testing service device, terminates order.When testing service device receives the life After order, it can be simultaneously stopped and send multicast packets and stop receiving multicast packets, to terminate current test.
Those skilled in the art can select specifically to terminate the mode of test according to actual needs, the present embodiment to this not It limits.
Step 805, the test result is sent to the main control server by testing service device.
In the concrete realization, after test, main control server can send to testing service device and upload test result Order.The test result respectively obtained can be sent to master control service after receiving mentioned order by each testing service device Device.
Further, main control server, can be according to the test after the test result for receiving each testing service device As a result the networking test analysis report of autonomous networks is generated.For example, whether the networking movement of each access device meets expected, group Broadcast stream send test whether successfully, multicast data flow reception tests whether successfully etc..
In embodiments of the present invention, by increasing one kind dedicated between theoretical validation and existing net two stages of test Networking test on test platform forms a set of iteration through plan-validation, parameter adjustment and existing net test overall process Test method has not only taken into account the environmental requirement of test network and has built time restriction, also accelerated the verifying of networking plan, have Conducive to aggressive scheme proposition and adopt.
Second, for network topology, the adjustment of the parameters such as available bandwidth, implementing in the test of existing net can time-consuming expense Power, and by the adjustment of above-mentioned parameters by implementing in networking on dedicated testing platform test, realize adjustment, The iteratively faster of the processes such as test and feedback, the test process of quickening.
Third, the Network Abnormal found in the test of existing net are typically only capable to first record, and can not reproduce and check problem in time, And in networking provided in this embodiment test, then exception can be reappeared in time, adjust and solve the problems, such as, be conducive to existing net and survey Examination smoothly completes early.
4th, by the way that situations such as the recurrent packet mistake of simulation real network, packet loss, adjustment is wrong in networking is tested Whether accidentally packet matching rule and Packet Error Rate, meet robustness etc. during so as in networking is tested to each service operation It is required that being verified.
Referring to Figure 12, the step of showing the networking test method of another autonomous networks of one embodiment of the invention stream Cheng Tu can specifically include following steps:
Step 1201, main control server and testing service device cluster initialize;
In general, may include at least one autonomous cloud in autonomous networks, each autonomy cloud may include main control server, side Boundary's router, boundary sub-control server, terminal sub-control server and access device.
When executing networking test, access device can pass through testing service device the Realization of Simulation.Generally, 1 test clothes Device be engaged in 2 independent network ports, each port can at most emulate the protocol command and 2000 groups of 250 access devices Multicast data stream, data double-way total bandwidth can achieve 2Gbps.
It should be noted that the networking test in the present embodiment refers to the test implemented on dedicated testing platform, the survey Examination is networking plan in the test after theoretical validation passes through, carried out before the test of existing net starts.
In the concrete realization, it is taken by connection main control server, border router, boundary sub-control server, terminal sub-control Business device and testing service device, can set up and the indiscriminate dedicated testing platform of real network environment.
In embodiments of the present invention, can first by border router, boundary sub-control server, terminal sub-control server and Testing service device integrates, and above-mentioned each equipment is attached according to certain mode, constitutes a testing service Device cluster.
For example, can be by 3 testing service devices, 6 terminal sub-control servers, 2 edge of table circle sub-control servers and 1 edge of table circle Router is integrated in a 6U standard PC case, constitutes a testing service device cluster.Due to each end of 1 testing service device Mouth can at most emulate 250 access devices and 2000 multicast data flows, and data double-way total bandwidth can achieve 2Gbps, therefore, above-mentioned Testing service device cluster can emulate 1500 access devices and 12000 multicast data flows, and data total bandwidth can achieve 12Gbps.
As shown in figure 13, be one embodiment of the invention a kind of testing service device cluster schematic diagram.In Figure 13, packet 3 testing service devices (i.e. testing service device 1#, testing service device 2# and testing service device 3#) is included, every testing service device wraps Two network ports (i.e. No. 1 mouth and No. 0 mouth) is included, each network port can at most emulate 250 access devices and 2000 groups Broadcast stream.
Correspondingly, every terminal sub-control server, boundary sub-control server and border router also respectively include No. 1 mouth and No. 0 mouth totally two network ports.
6 terminal sub-control servers (i.e. terminal sub-control server 1#, terminal sub-control server 2#, terminal sub-control server 3#, terminal sub-control server 4#, terminal sub-control server 5# and terminal sub-control server 6#) share 6 No. 0 network ports and 6 A No. 1 network interface.6 No. 0 network ports can connect access device (i.e. testing service device) by exchange network.6 No. 1 The network port can pass through exchange network and No. 0 of main control server, No. 1 mouth of boundary sub-control server and border router Mouth interconnection.
2 edge of table circle sub-control servers (i.e. boundary sub-control server 1# and boundary sub-control server 2#) share 2 No. 0 mouths and 2 No. 1 mouths.Wherein, 2 No. 0 mouths can connect lower layer's autonomy cloud by exchange network.2 No. 1 mouths can pass through exchange network It is interconnected with No. 0 mouth of main control server, No. 1 mouth of terminal sub-control server and border router.
1 border router (i.e. border router 1#) has 1 No. 0 mouth and 1 No. 1 mouth.1 No. 1 mouth can pass through friendship Switching network connects 1 upper layer autonomy cloud.1 No. 0 mouth can pass through exchange network and main control server, terminal sub-control server The interconnection of No. 1 mouth of No. 1 mouth and boundary sub-control server.
As shown in figure 14, be one embodiment of the invention a kind of testing service device cluster in the connection of testing service device show It is intended to.In Figure 14, No. 0 mouth of testing service device 1# can No. 0 mouth by exchange network 1#, with terminal sub-control server 1# It is connected, No. 1 mouth of testing service device 1# can be connected by exchange network 2# with No. 0 mouth of terminal sub-control server 2#;Test No. 0 mouth of server 2# can be connected by exchange network 3# with No. 0 mouth of terminal sub-control server 3#, testing service device 2# No. 1 mouth can be connected by exchange network 4# with No. 0 of terminal sub-control server 4#;No. 0 mouth of testing service device 3# can be with By exchange network 5#, it is connected with No. 0 mouth of terminal sub-control server 5#, No. 1 mouth of testing service device 3# can pass through exchange 6# is connected with No. 0 mouth of terminal sub-control server 6#.
It is a kind of testing service device cluster and the master control of one embodiment of the invention referring to Figure 15 on the basis of Figure 14 Connection schematic diagram between server.
In Figure 15, No. 1 mouth of terminal sub-control server 1# can be by exchange network 7#, with the phases such as main control server Even, No. 1 mouth of terminal sub-control server 2# can be connected with main control server etc. by exchange network 7#, terminal sub-control service No. 1 mouth of device 3# can be connected with main control server etc. by exchange network 7#, and No. 1 mouth of terminal sub-control server 4# can be with By exchange network 7#, be connected with main control server etc., No. 1 mouth of terminal sub-control server 5# can by exchange network 7#, It is connected with main control server etc., No. 1 mouth of terminal sub-control server 6# can be by exchange network 7#, with the phases such as main control server Even.
No. 1 mouth of boundary sub-control server 1# can be connected with main control server etc. by exchange network 7#, boundary sub-control No. 1 mouth of server 2# can be connected with main control server etc. by exchange network 7#, No. 0 mouth of boundary sub-control server 1# It can be connected to lower layer's autonomy cloud, No. 0 mouth of boundary sub-control server 2# can be by exchange network, even by exchange network It is connected to lower layer's autonomy cloud.
No. 0 mouth of border router 1# can be connected with main control server etc. by exchange network 7#, border router 1# No. 1 mouth autonomy cloud in upper layer can be connected to by exchange network.
It, can be with after being in the manner described above attached each equipment in main control server and testing service device cluster Form the networking plan schematic diagram of single autonomous cloud as shown in figure 16.
Single autonomy cloud is the minimum component unit in autonomous networks.Therefore, simplest single autonomous cloud networking test, needs 1 main control server, 1 ethernet switch hub and 1 testing service device cluster.Main control server is the management core of autonomous cloud The heart manages the equipment in autonomous cloud and realizes the service logic of autonomous networks.Ethernet switch hub realize main control server with Connection in testing service device cluster and testing service device cluster between each equipment.
Certainly, by increasing the quantity of main control server and testing service device cluster, and according to certain connection type pair Each equipment in each main control server and testing service device cluster is attached, and can also form the group of multilayer autonomy cloud Net scheme.It allies the communists for example, 3 levels can be formed by 6 main control servers of connection and 6 testing service device clusters including 6 More autonomous cloud networking plans of autonomous cloud so that 6 testing service device clusters can emulate 9000 access devices and 72000 multicast data flows, so that data total bandwidth reaches 72Gbps.Those skilled in the art can according to actual test needs, An appropriate number of main control server and testing service device cluster is selected to carry out networking test, the present embodiment does not limit this specifically It is fixed.
In order to make it easy to understand, the present embodiment carries out subsequent introduction by taking the networking test carried out in Dan Zizhi cloud as an example.
It should be noted that the testing requirement of this networking test can also be specified before carrying out practical networking test.Example Such as, certain can be with for the testing requirement of networking test in single autonomous cloud are as follows:
Test object is each access device of testing service device emulation;
Monitoring/analysis test object the performance test results;
Monitoring/analysis test object autonomous networks data packet test result;
It should be noted that autonomous networks data packet may include protocol package and multicast packets.Wherein, protocol package can divide again For connection packet and unicast packet, connection packet can be used for the networking process of each equipment, and unicast packet can be used between each equipment Protocol interaction;And multicast packets then can be used for multicast data transmission between the individual devices.
Monitoring/analysis test object operational trials result;
Each access device uses 8 multicast data flows, and 1500 access devices share 12000 multicast data flow simultaneous transmissions;
The multicast packets length of odd indexed multicast data flow is set as 1078Byte, sets bandwidth (two-way) as 825Kbps;
The multicast packets length of even number serial number multicast data flow is set as 310Byte, sets bandwidth (two-way) as 32Kbps;
Valid data bandwidth availability ratio reaches 85.7%;
The access device of terminal sub-control server 1# and the access device of terminal sub-control server 2# carry out multicast packets pair It is tested to sending;
The access device of terminal sub-control server 3# and the access device of terminal sub-control server 4# carry out multicast packets pair It is tested to sending;
The access device of terminal sub-control server 5# and the access device of terminal sub-control server 6# carry out multicast packets pair It is tested to sending.
Certainly, the above testing requirement is only a kind of example, and those skilled in the art, can be according to specific in actual test It is required that determining suitable testing requirement, the present embodiment is not construed as limiting this.
It in embodiments of the present invention, first can be to main control server and testing service device collection when executing networking test Group executes power-on initialization operation.
Specifically, initialization operation may include: main control server initialization, and import test script, terminal sub-control clothes Being engaged in, device initializes and networks, testing service device initializes and networks, and, the test that main control server configures testing service device is believed Breath etc..
When terminal sub-control server networks, it can be from main control server to the terminal sub-control server and send connection packet, To transmit the equipment bind command for being directed to the terminal sub-control server, when terminal sub-control server receives above equipment connection life After order, inbound information can be initialized, to access main control server according to equipment bind command.
Testing service device can send unicast packet from main control server to terminal sub-control server first when networking, with Transmission accesses the inbound information of each testing service device of the terminal sub-control server;Then, terminal sub-control server can divide The inbound information of each testing service device is not configured, and sends connection packet to each testing service device, and each survey is directed to transmission Try the equipment bind command of server;After testing service device receives above equipment bind command, it can be connected according to equipment Order initializes inbound information, thus access terminal sub-control server.
On the other hand, after the networking of testing service device, main control server, which also needs to configure for each testing service device, to be tested Information, the test information may include frame head table, control information table and statistic table.
In the concrete realization, the frame head table of main control server configuration testing service device can be taken from main control server to test Business device sends unicast packet, and with transmission frame head table configuration information, then testing service device can be according to the frame head table configuration received Information configures frame head table.The above process corresponds to the processing path of testing service device in Figure 11 are as follows: Ethernet reception → protocol package Reception → DSP control → frame head table.
The control information table that main control server configures testing service device can be sent from main control server to testing service device Unicast packet controls information table configuration information with transmission, and then testing service device can be according to the control information table configuration received Information, configuration control information table.The above process corresponds to the processing path of testing service device in Figure 11 are as follows: Ethernet reception → association View packet reception → DSP is controlled → controls information table.
The statistic table that main control server configures testing service device can be sent from main control server to testing service device Unicast packet, with transmission state statistical form configuration information, then testing service device can be according to the statistic table configuration received Information, configuration status statistical form.The above process corresponds to the processing path of testing service device in Figure 11 are as follows: Ethernet reception → association Discuss packet reception → DSP control → statistic table.
Step 1202, testing service device receives the test initiation command that main control server is sent;
In the concrete realization, main control server can send unicast packet to each testing service device, be started with transmission test Order.After testing service device receives test initiation command, it can start to test.
The process that testing service device receives test initiation command corresponds to the processing path of testing service device in Figure 11 are as follows: with Too net reception → protocol package reception → DSP control → multicast data flow generation module/multicast data flow statistical module.
As a kind of example of the invention, testing in initiation command may include that maximum is given out a contract for a project number, to work as each test When server multicast packets transmitted during executing test are more than that above-mentioned maximum gives out a contract for a project several, current survey can be stopped Examination.
Step 1203, testing service device confirms effective in the control information table of itself according to the test initiation command List item;
In general, each access device of testing service device emulation may include 8 multicast data flows, each stream is exactly a table ?.
Testing service device list item can be handled, when executing networking test when having handled an effective list item one by one Afterwards, next effective list item can be continued with.
Step 1204, testing service device generates multicast packets according to effective list item in the control information table;
In the concrete realization, whether testing service device interval time that can first determine whether currently to give out a contract for a project is less than between default give out a contract for a project Every the time.Currently give out a contract for a project interval time if so, updating;If it is not, then generating multicast packets sends information, and sent according to multicast packets Information generates multicast packets.
It can be and generated by multicast data flow generation module it should be noted that multicast packets send information.Generating multicast packets After sending information, multicast packets can be sent in the information merging preset transmission buffering queue of multicast packets sending module.
It then, can foundation after the multicast packets sending module of testing service device detects that effective multicast packets send information Multicast packets send information, generate packet header, packet serial number and the bag data of corresponding multicast packets.
Step 1205, testing service device obtains multicast packets packet header;
In the concrete realization, after generating multicast packets, it can be sent to the Ethernet sending module of testing service device, executed The step of multicast packets are sent to the target detection server of opposite end.
Ethernet sending module can obtain the packet header of currently transmitted multicast packets before sending multicast packets first.
Step 1206, testing service device generates the Ethernet frame head of the multicast packets according to the multicast packets packet header;
In embodiments of the present invention, the frame head table that can traverse itself of testing service device, inquiry obtain in frame head table The multicast packets packet header of record and the corresponding informance of Ethernet frame head generate the ether of multicast packets then according to above-mentioned corresponding informance Net frame head.
In the concrete realization, the Ethernet sending module of testing service device can obtain the multicast packets currently to be sent In the case where packet header, the corresponding Ethernet frame head in the multicast packets packet header in frame head table is inquired, then adds Ethernet frame head On the packet header of multicast packets, to meet the requirement for transmitting above-mentioned multicast packets in exchange network.
Step 1207, the multicast packets are sent to according to the Ethernet frame head by exchange network by testing service device Target detection server;
In embodiments of the present invention, Ethernet sending module can pass through friendship after the Ethernet frame head for generating multicast packets The multicast packets are sent to the target detection server of opposite end by switching network, and record the quantity of the multicast packets sent.It has sent The quantity of multicast packets can be recorded in the statistic table of testing service device.
Step 1208, testing service device receives the multicast packets that the target detection server is sent by exchange network, and It records the quantity of the multicast packets and receives information;
In embodiments of the present invention, testing service device can receive the mesh that target detection server is sent by exchange network Mapping tries data packet, and records the quantity of target detection data packet and receive information.
In general, the target detection data packet that the opposite end target detection server that testing service device receives is sent may not be It is all multicast packets.Therefore, testing service device also needs to judge whether target detection data packet is multicast packets;If so, can be according to Multicast packets are generated according to the multicast packets and receive information, and multicast packets are received into information and are placed in preset receiving cache queue, while more The statistic table of new testing service device itself.
When whether judge target detection data packet is multicast packets, can be by confirming the packet header of target detection data packet The no mode including Ethernet frame head and multicast packets packet header carries out, if so, can be confirmed that target detection data packet is multicast packets; If it is not, then can be confirmed that target detection data packet is non-multicast packet.
In the concrete realization, the Ethernet receiving module of testing service device is in the number for receiving the transmission of opposite end testing service device After packet, the type field in the packet header of the data packet can be first checked for, if the type field show to be currently received be Multicast packets then can recorde the quantity of the multicast packets received, and the multicast packets be forwarded to multicast packets receiving module.
Then, multicast packets receiving module can confirm packet serial number and bag data, in turn by the packet header of analysis multicast packets It generates multicast packets and receives information (inter-packet gap/packet serial number consistency/bag data consistency), and the multicast packets are received into information merging In the buffering queue of multicast data flow statistical module.
After multicast data flow statistical module detects that effective multicast packets receive information, the state of testing service device can be updated Statistical form, to realize the update to the reception information of the multicast packets received recorded in statistic table.
Step 1209, testing service device generates test result according to the multicast packets sent and received;
After test, testing service device can generate the test of this test according to the multicast packets sent and received As a result.
In embodiments of the present invention, test result may include it is following any one or more:
Throughput test results, frame loss rate test result, delay testing result, back-to-back test result, and, shake Test result.
In embodiments of the present invention, can terminate to test by two different modes.
For example, testing service device, can during executing test when testing in initiation command includes that maximum gives out a contract for a project several To record the quantity of the multicast packets of transmission in real time, when the quantity is more than that above-mentioned maximum gives out a contract for a project several, transmission group can be stopped It broadcasts packet and stops receiving multicast packets.
Alternatively, when testing in initiation command does not include that maximum gives out a contract for a project several, after test carries out a period of time, master control service Device, which can send test to each testing service device, terminates order, when testing service device, which receives above-mentioned test, terminates order, It can also stop sending multicast packets in time and stop receiving multicast packets.
Those skilled in the art can select suitable mode according to actual needs to terminate to test, the present embodiment is to this It is not construed as limiting.
Step 1210, main control server sends unicast packet to testing service device, uploads test result order with transmission;
In the concrete realization, after test, main control server can send to testing service device and upload test result Order.After each testing service device receives mentioned order, step 1211 can be executed, it will be in the test result of self record Reach main control server.
Testing service device receives processing path of the process for uploading test result order corresponding to testing service device in Figure 11 Are as follows: Ethernet reception → protocol package reception → DSP control.
Step 1211, testing service device uploads test according to the upload test result order, Xiang Suoshu main control server As a result;
In embodiments of the present invention, testing service device is in the upload test result order for receiving main control server transmission Afterwards, the statistic table of itself according to the order, can be obtained, unicast packet is then generated according to the statistic table, and to list Packet addition Ethernet frame head is broadcast, and then passes through exchange network for the unicast packets added with Ethernet frame head to master control service Device realizes the upload of test result.
The process that testing service device uploads test result corresponds to the processing path of testing service device in Figure 11 are as follows: state system Table → DSP control → protocol package generation → Ethernet is counted to send.
Step 1212, main control server generates the networking test analysis report of autonomous networks according to the test result.
As a kind of example of the invention, the networking test analysis of autonomous networks includes that may include:
Whether the networking movement of each access device meets expection
Autonomous networks data packet test-autonomous networks connect packet reception/transmission OK
Operational trials-networking OK
Multicast data flow sends test/reception is tested/and reads whether result succeeds
Autonomous networks data packet test-autonomous networks unicast packet receives/sends OK
Operational trials-multicast packets test OK
Operational trials-logout OK
Whether the error condition position of each access device is 0 (No Error)
Operational trials-multicast packets test OK
Whether the statistics packet number of the error in data of each access device is 0
Performance test-handling capacity/frame loss rate/back-to-back OK
Whether the statistics packet number of the inter-packet gap mistake of each access device is 0
Performance test-shake OK
Whether the average inter-packet gap value of each access device meets expection
Performance test-shake OK
Whether the statistics packet number of the packet serial number mistake of each access device is 0
Performance test-handling capacity/frame loss rate/back-to-back OK
Whether the multicast packets length of delay of each access device meets expection
Performance test-time delay OK
Whether the logout movement of each access device meets expection
Autonomous networks data packet test-autonomous networks unicast packet receives/sends OK
Operational trials-logout OK
Networking test method of the embodiment of the present invention based on autonomous networks agreement, by utilizing software and hardware Combined design side Case, incorporating plan-validation early period, mid-term system optimization and later period now nets test, can guarantee network test effectively, can By while, improve flexibility and the convenience of test macro, saved the construction cost of autonomous networks, effectively meet fast The testing requirement of all kinds of business scenarios is directed in the changeable video signal market of speed development, demand.
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 Figure 17, a kind of block diagram of testing service device of one embodiment of the invention, the testing service device are shown It is integrated in testing service device cluster, the testing service device cluster with main control server by connecting, for autonomous networks Networking test;The testing service device cluster further includes border router, boundary sub-control server, terminal sub-control server;Institute State main control server and border router, boundary sub-control server, terminal sub-control server access exchange network, the terminal point It controls server and testing service device accesses another exchange network, the boundary sub-control server and border router access another hand over Switching network;The testing service implement body may include following module:
Initiation command receiving module 1701 is tested, for receiving the test initiation command of main control server transmission;
Test data packet generation module 1702, for generating test data packet according to the test initiation command;
Data packet sending/receiving module 1703 for the test data packet to be sent to target detection server, and connects Receive the target detection data packet that the target detection server is sent;
Test result generation module 1704, for generating test result according to the target detection data packet;
Test result sending module 1705, for the test result to be sent to the main control server.
In embodiments of the present invention, the testing service device can also include following module:
Initialization and networking module, for executing the initialization of testing service device and entering net operation.
In embodiments of the present invention, the initialization and networking module can specifically include following submodule:
Equipment bind command receiving submodule, for receiving the connection packet of terminal sub-control server transmission, the connection packet Equipment bind command including being directed to testing service device;
Networking submodule accesses the terminal sub-control clothes for initializing inbound information according to the equipment bind command Business device.
In embodiments of the present invention, the initialization and networking module can also include following submodule:
Frame head table configuration information receiving submodule, for receiving the unicast packet of main control server transmission, the unicast packet packet Include frame head table configuration information;
Frame head table configures submodule, for configuring frame head table according to the frame head table configuration information.
In embodiments of the present invention, the initialization and networking module can also include following submodule:
Information table configuration information receiving submodule is controlled, for receiving the unicast packet of main control server transmission, the unicast Packet includes control information table configuration information;
It controls information table and configures submodule, for according to the control information table configuration information, configuration control information table.
In embodiments of the present invention, the initialization and networking module can also include following submodule:
Statistic table configuration information receiving submodule, for receiving the unicast packet of main control server transmission, the unicast Packet includes statistic table configuration information;
Statistic table configures submodule, for according to the statistic table configuration information, configuration status statistical form.
In embodiments of the present invention, the test data packet is multicast packets, and the test data packet generation module 1702 has Body may include following submodule:
Effective list item confirms submodule, for confirming in the control information table of itself according to the test initiation command Effective list item;
Multicast packets generate submodule, for generating multicast packets according to effective list item in the control information table.
In embodiments of the present invention, the multicast packets generate submodule and can specifically include such as lower unit:
Give out a contract for a project interval time judging unit, for the interval time that judges currently to give out a contract for a project whether be less than it is default give out a contract for a project be spaced when Between;
Give out a contract for a project interval time updating unit, for described currently giving out a contract for a project interval time if so, updating;
Multicast packets generation unit, for if it is not, then generate multicast packets send information, and according to the multicast packets send information Generate multicast packets.
In embodiments of the present invention, the multicast packets, which generate submodule, to include such as lower unit:
It sends information and is placed in unit, be placed in preset transmission buffering queue for the multicast packets to be sent information.
In embodiments of the present invention, the multicast packets generation unit can specifically include following subelement:
Multicast packets generate subelement, for sending information according to the multicast packets, generate corresponding multicast packets, the multicast Packet has packet header, packet serial number and bag data.
In embodiments of the present invention, the data packet sending/receiving module 1703 can specifically include following submodule:
Multicast packets packet header acquisition submodule, for obtaining multicast packets packet header;
Exchange network frame head generates submodule, for generating the exchange network of the multicast packets according to the multicast packets packet header Frame head;
Multicast packets sending submodule, for being sent out the multicast packets by exchange network according to the exchange network frame head It send to target detection server.
In embodiments of the present invention, the exchange network frame head generates submodule and can specifically include such as lower unit:
Frame head table Traversal Unit, for traversing the frame head table of testing service device itself, the frame head table includes multicast packets packet The corresponding informance of head and exchange network frame head;
Exchange network frame head generation unit, for generating the exchange network frame of the multicast packets according to the corresponding informance Head.
In embodiments of the present invention, the data packet sending/receiving module can also include following submodule:
Data packet receives record sub module, the target sent for receiving the target detection server by exchange network Test data packet, and record the quantity of the target detection data packet.
In embodiments of the present invention, the data packet sending/receiving module can also include following submodule:
Multicast packets judging submodule, for judging whether the target detection data packet is multicast packets;
It receives information and generates submodule, be used for if so, generating multicast packets according to the multicast packets receives information.
In embodiments of the present invention, the multicast packets judging submodule can specifically include such as lower unit:
Packet header confirmation unit, for confirming whether the packet header of the target detection data packet includes exchange network frame head and group Broadcast packet packet header;
Multicast packets confirmation unit, for if so, confirming that the target detection data packet is multicast packets;
Non-multicast packet confirmation unit, for if it is not, then confirming that the target detection data packet is non-multicast packet.
In embodiments of the present invention, the data packet sending/receiving module can also include following submodule:
It receives information and is placed in submodule, be placed in preset receiving cache queue for the multicast packets to be received information;
Statistic table updates submodule, for updating the statistic table of testing service device itself.
It in embodiments of the present invention, may include that maximum is given out a contract for a project number in the test initiation command, the testing service device Can also include following module:
Data packet number logging modle, for recording the quantity of the test data packet sent;
First stopping modular, for when the quantity is more than that maximum gives out a contract for a project several, stop sending the test data packet with And stop receiving the target detection data packet.
In embodiments of the present invention, the testing service device can also include following module:
Second stopping modular, for stopping described in transmission when the test for receiving main control server transmission terminates order Test data packet and stopping receive the target detection data packet.
In embodiments of the present invention, the test result may include it is following any one or more:
Throughput test results, frame loss rate test result, delay testing result, back-to-back test result, and, shake Test result.
In embodiments of the present invention, the test result sending module 1705 can specifically include following submodule:
Test result order receiving submodule is uploaded, for receiving the unicast packet of main control server transmission, the unicast packet Including uploading test result order;
Test result uploads submodule, for according to the upload test result order, Xiang Suoshu main control server to be uploaded Test result.
In embodiments of the present invention, the test result uploads submodule and can specifically include such as lower unit:
Statistic table acquiring unit, for obtaining testing service device itself according to the upload test result order Statistic table;
Unicast packet generation unit, for generating unicast packet according to the statistic table;
Exchange network frame head adding unit, for adding exchange network frame head to the unicast packet;
Unicast packets unit, for passing through exchange network for the unicast packets added with exchange network frame head to master control Server.
Referring to Figure 18, a kind of block diagram of main control server of one embodiment of the invention, the main control server are shown It is connect with testing service device cluster, the networking for autonomous networks is tested;The testing service device cluster include border router, Boundary sub-control server, terminal sub-control server and testing service device;The main control server and border router, boundary sub-control Server, terminal sub-control server access exchange network, and the terminal sub-control server accesses another exchange with testing service device Network, the boundary sub-control server and border router access another exchange network;The main control server specifically can wrap Include following module:
Initiation command sending module 1801 is tested, for sending test initiation command, the test clothes to testing service device Device be engaged according to test initiation command generation test data packet, the test data packet is sent to target detection server, And the target detection data packet that the target detection server is sent is received, test knot is generated according to the target detection data packet Fruit;
Test result receiving module 1802, the test result sent for receiving the testing service device.
In embodiments of the present invention, the main control server can also include following module:
Initialization module, for executing the initialization operation of main control server.
In embodiments of the present invention, the initialization module can specifically include following submodule:
Initialization and test script import submodule, for initializing and importing test script;
Information configuration submodule is tested, for configuring the test information of testing service device.
In embodiments of the present invention, the main control server can also include following module:
Equipment bind command sending module is directed to the end for sending connection packet to terminal sub-control server with transmission Hold the equipment bind command of sub-control server;The terminal sub-control server is used for according to the equipment bind command, initialization Inbound information, to access the main control server.
In embodiments of the present invention, the main control server can also include following module:
Testing service device inbound information sending module, for sending unicast packet to terminal sub-control server, to transmit access The inbound information of each testing service device of the terminal sub-control server;The terminal sub-control server is for being respectively configured institute The inbound information of each testing service device is stated, connection packet is sent to each testing service device respectively, with transmission for described The equipment bind command of each testing service device;The testing service device is used to initially dissolve into according to the equipment bind command Net information, to access the terminal sub-control server.
In embodiments of the present invention, the test information configuration submodule can specifically include such as lower unit:
Frame head table configuration unit, for configuring the frame head table of testing service device;
Information table configuration unit is controlled, for configuring the control information table of testing service device;
Statistic table configuration unit, for configuring the statistic table of testing service device.
In embodiments of the present invention, the frame head table configuration unit can specifically include following subelement:
Frame head table configuration information transmission sub-unit, for sending unicast packet to testing service device, with the configuration of transmission frame head table Information;The testing service device is used to configure frame head table according to the frame head table configuration information.
In embodiments of the present invention, the control information table configuration unit can specifically include following subelement:
Information table configuration information transmission sub-unit is controlled, for sending unicast packet to testing service device, with transmission control letter Cease table configuration information;The testing service device is used for according to the control information table configuration information, configuration control information table.
In embodiments of the present invention, the statistic table configuration unit can specifically include following subelement:
Statistic table configuration information transmission sub-unit is united for sending unicast packet to testing service device with transmission state Count table configuration information;The testing service device is used for according to the statistic table configuration information, configuration status statistical form.
In embodiments of the present invention, the main control server can also include following module:
Test terminates command sending module, terminates order, the testing service device for sending test to testing service device For terminating to order according to the test, stopping sending the test data packet and stopping receiving the target detection data Packet.
In embodiments of the present invention, the test result receiving module 1802 can specifically include following submodule:
Test result order sending submodule is uploaded, for sending unicast packet to testing service device, test is uploaded with transmission Result command;The testing service device is used for according to the upload test result order, and Xiang Suoshu main control server uploads test As a result.
In embodiments of the present invention, the test result may include it is following any one or more:
Throughput test results, frame loss rate test result, delay testing result, back-to-back test result, and, shake Test result.
In embodiments of the present invention, the main control server can also include following module:
Networking test analysis report generation module, for generating the networking test point of autonomous networks according to the test result Analysis report.
Referring to Figure 19, a kind of block diagram of the networking test macro of autonomous networks of one embodiment of the invention, institute are shown The system of stating includes main control server and testing service device cluster, and the main control server connect with testing service device cluster, is used for The networking of autonomous networks is tested;The testing service device cluster includes border router, boundary sub-control server, terminal sub-control clothes Business device and testing service device;The main control server and border router, boundary sub-control server, terminal sub-control server access Exchange network, the terminal sub-control server and testing service device access another exchange network, the boundary sub-control server with Border router accesses another exchange network;
The main control server can specifically include following module:
Initiation command sending module is tested, for sending test initiation command to testing service device;
Test result receiving module, the test result sent for receiving the testing service device;
The testing service implement body may include following module:
Test data packet generation module, for generating test data packet according to the test initiation command;
Data packet sending/receiving module for the test data packet to be sent to target detection server, and receives institute State the target detection data packet of target detection server transmission;
Test result generation module, for generating test result according to the target detection data packet.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of networking test method of autonomous networks provided by the present invention, a kind of testing service device, Yi Zhongzhu The networking test macro for controlling server and a kind of autonomous networks, is described in detail, and specific case used herein is to this The principle and embodiment of invention is expounded, method of the invention that the above embodiments are only used to help understand and Its core concept;At the same time, for those skilled in the art in specific embodiment and is answered according to the thought of the present invention With in range, there will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (60)

1. a kind of networking test method of autonomous networks, which is characterized in that include main control server and survey in the autonomous networks Try server cluster, the testing service device cluster include border router, boundary sub-control server, terminal sub-control server and Testing service device;The main control server and border router, boundary sub-control server, terminal sub-control server access switching network Network, the terminal sub-control server and testing service device access another exchange network, the boundary sub-control server and boundary road Another exchange network is accessed by device;The described method includes:
Testing service device receives the test initiation command that main control server is sent;
Testing service device generates test data packet according to the test initiation command;
The test data packet is sent to target detection server by testing service device, and receives the target detection server hair The target detection data packet sent;
Testing service device generates test result according to the target detection data packet;
The test result is sent to the main control server by testing service device.
2. the method according to claim 1, wherein further include:
Main control server and testing service device cluster initialize.
3. according to the method described in claim 2, it is characterized in that, the main control server and testing service device cluster initialize The step of include: main control server initialization, and import test script;
Terminal sub-control server initiation and networking;
The initialization of testing service device and networking;
The test information of main control server configuration testing service device.
4. according to the method described in claim 3, it is characterized in that, the terminal sub-control server initiation and network the step of Include:
Main control server sends connection packet to terminal sub-control server, is connected with transmitting the equipment for being directed to the terminal sub-control server Connect order;
Terminal sub-control server initializes inbound information, accesses the main control server according to the equipment bind command.
5. according to the method described in claim 3, it is characterized in that, the testing service device is initialized and is wrapped the step of networking It includes:
Main control server sends unicast packet to terminal sub-control server, to transmit each survey for accessing the terminal sub-control server Try the inbound information of server;
The inbound information of each testing service device is respectively configured in terminal sub-control server;
Terminal sub-control server sends connection packet to each testing service device respectively, with transmission for each test clothes The equipment bind command of business device;
Testing service device initializes inbound information, accesses the terminal sub-control server according to the equipment bind command.
6. according to the method described in claim 3, it is characterized in that, the test information include frame head table, control information table and The step of statistic table, the test information of main control server configuration testing service device includes:
The frame head table of main control server configuration testing service device;
The control information table of main control server configuration testing service device;
The statistic table of main control server configuration testing service device.
7. according to the method described in claim 6, it is characterized in that, the frame head table of main control server configuration testing service device The step of include:
Main control server sends unicast packet to testing service device, with transmission frame head table configuration information;
Testing service device configures frame head table according to the frame head table configuration information.
8. according to the method described in claim 6, it is characterized in that, the control letter of main control server configuration testing service device The step of breath table includes:
Main control server sends unicast packet to testing service device, controls information table configuration information with transmission;
Testing service device is according to the control information table configuration information, configuration control information table.
9. according to the method described in claim 6, it is characterized in that, the state system of main control server configuration testing service device The step of meter table includes:
Main control server sends unicast packet to testing service device, with transmission state statistical form configuration information;
Testing service device is according to the statistic table configuration information, configuration status statistical form.
10. the method according to claim 1, wherein the test data packet is multicast packets, the testing service Device according to the test initiation command generate test data packet the step of include:
Testing service device confirms effective list item in the control information table of itself according to the test initiation command;
Testing service device generates multicast packets according to effective list item in the control information table.
11. according to the method described in claim 10, it is characterized in that, the testing service device is according in the control information table Effective list item, generate multicast packets the step of include:
Whether testing service device judgement current interval time of giving out a contract for a project is less than default give out a contract for a project interval time;
Currently give out a contract for a project interval time if so, update is described;
If it is not, then generating multicast packets sends information, and information is sent according to the multicast packets and generates multicast packets.
12. according to the method for claim 11, which is characterized in that further include:
The multicast packets are sent into information and are placed in preset transmission buffering queue.
13. according to the method for claim 11, which is characterized in that described to send information generation multicast according to the multicast packets The step of packet includes:
Testing service device sends information according to the multicast packets, generates corresponding multicast packets, and the multicast packets have packet header, Bao Xu Number and bag data.
14. according to the method described in claim 10, it is characterized in that, the testing service device sends the test data packet Include: to the step of target detection server
Testing service device obtains multicast packets packet header;
The exchange network frame head of the multicast packets is generated according to the multicast packets packet header;
According to the exchange network frame head, the multicast packets are sent to by target detection server by exchange network.
15. according to the method for claim 14, which is characterized in that described to generate the multicast according to the multicast packets packet header The step of exchange network frame head of packet includes:
Testing service device traverses the frame head table of itself, and the frame head table includes multicast packets packet header letter corresponding with exchange network frame head Breath;
According to the corresponding informance, the exchange network frame head of the multicast packets is generated.
16. the method according to claim 1, wherein the mesh for receiving the target detection server and sending Mapping try data packet the step of include:
Testing service device receives the target detection data packet that the target detection server is sent by exchange network, and records institute State the quantity of target detection data packet.
17. according to the method for claim 16, which is characterized in that further include:
Testing service device judges whether the target detection data packet is multicast packets;
If so, generating multicast packets according to the multicast packets receives information.
18. according to the method for claim 17, which is characterized in that the testing service device judges the target detection data Packet the step of whether being multicast packets includes:
Testing service device confirms whether the packet header of the target detection data packet includes exchange network frame head and multicast packets packet header;
If so, confirming that the target detection data packet is multicast packets;
If it is not, then confirming that the target detection data packet is non-multicast packet.
19. according to the method for claim 17, which is characterized in that further include:
The multicast packets are received into information and are placed in preset receiving cache queue;
Update the statistic table of testing service device itself.
20. the method according to claim 1, wherein include that maximum is given out a contract for a project number in the test initiation command, institute State method further include:
The quantity for the test data packet that testing service device record is sent;
When the quantity is more than that maximum gives out a contract for a project several, stops sending the test data packet and stop receiving the target detection Data packet.
21. the method according to claim 1, wherein further include:
When the test for receiving main control server transmission terminates order, testing service device stop sending the test data packet with And stop receiving the target detection data packet.
22. the method according to claim 1, wherein the test result include it is following any one or more:
Throughput test results, frame loss rate test result, delay testing result, back-to-back test result, and, jitter test As a result.
23. the method according to claim 1, wherein the test result is sent to by the testing service device The step of main control server includes:
Main control server sends unicast packet to testing service device, uploads test result order with transmission;
Testing service device uploads test result according to the upload test result order, Xiang Suoshu main control server.
24. according to the method for claim 23, which is characterized in that the testing service device is according to the upload test result Order, Xiang Suoshu main control server upload test result the step of include:
Testing service device obtains the statistic table of itself according to the upload test result order;
Unicast packet is generated according to the statistic table, and exchange network frame head is added to the unicast packet;
By exchange network by the unicast packets added with exchange network frame head to main control server.
25. the method according to claim 1, wherein further include:
Main control server generates the networking test analysis report of autonomous networks according to the test result.
26. a kind of testing service device, which is characterized in that the testing service device is integrated in testing service device cluster, the survey Server cluster is tried by connecting with main control server, the networking for autonomous networks is tested;The testing service device cluster is also Including border router, boundary sub-control server, terminal sub-control server;The main control server and border router, boundary Sub-control server, terminal sub-control server access exchange network, and the terminal sub-control server accesses another with testing service device Exchange network, the boundary sub-control server and border router access another exchange network;The testing service device includes:
Initiation command receiving module is tested, for receiving the test initiation command of main control server transmission;
Test data packet generation module, for generating test data packet according to the test initiation command;
Data packet sending/receiving module for the test data packet to be sent to target detection server, and receives the mesh Mapping tries the target detection data packet that server is sent;
Test result generation module, for generating test result according to the target detection data packet;
Test result sending module, for the test result to be sent to the main control server.
27. testing service device according to claim 26, which is characterized in that further include:
Initialization and networking module, for executing the initialization of testing service device and entering net operation.
28. testing service device according to claim 27, which is characterized in that the initialization and networking module include:
Equipment bind command receiving submodule, for receiving the connection packet of terminal sub-control server transmission, the connection includes For the equipment bind command of testing service device;
Networking submodule, for initializing inbound information, accessing the terminal sub-control service according to the equipment bind command Device.
29. testing service device according to claim 27, which is characterized in that the initialization and networking module include:
Frame head table configuration information receiving submodule, for receiving the unicast packet of main control server transmission, the unicast packet includes frame Head table configuration information;
Frame head table configures submodule, for configuring frame head table according to the frame head table configuration information.
30. testing service device according to claim 27, which is characterized in that the initialization and networking module include:
Information table configuration information receiving submodule is controlled, for receiving the unicast packet of main control server transmission, the unicast packet packet Include control information table configuration information;
It controls information table and configures submodule, for according to the control information table configuration information, configuration control information table.
31. testing service device according to claim 27, which is characterized in that the initialization and networking module include:
Statistic table configuration information receiving submodule, for receiving the unicast packet of main control server transmission, the unicast packet packet Include statistic table configuration information;
Statistic table configures submodule, for according to the statistic table configuration information, configuration status statistical form.
32. testing service device according to claim 26, which is characterized in that the test data packet is multicast packets, described Test data packet generation module includes:
Effective list item confirms submodule, effective in the control information table for according to the test initiation command, confirming itself List item;
Multicast packets generate submodule, for generating multicast packets according to effective list item in the control information table.
33. testing service device according to claim 32, which is characterized in that the multicast packets generate submodule and include:
Give out a contract for a project interval time judging unit, for judging currently to give out a contract for a project, whether interval time is less than default give out a contract for a project interval time;
Give out a contract for a project interval time updating unit, for described currently giving out a contract for a project interval time if so, updating;
Multicast packets generation unit, for if it is not, then generate multicast packets send information, and according to the multicast packets send information generate Multicast packets.
34. testing service device according to claim 33, which is characterized in that the multicast packets generate submodule further include:
It sends information and is placed in unit, be placed in preset transmission buffering queue for the multicast packets to be sent information.
35. testing service device according to claim 33, which is characterized in that the multicast packets generation unit includes:
Multicast packets generate subelement, for sending information according to the multicast packets, generate corresponding multicast packets, the multicast packets tool There are packet header, packet serial number and bag data.
36. testing service device according to claim 32, which is characterized in that the data packet sending/receiving module includes:
Multicast packets packet header acquisition submodule, for obtaining multicast packets packet header;
Exchange network frame head generates submodule, for generating the exchange network frame of the multicast packets according to the multicast packets packet header Head;
Multicast packets sending submodule, for being sent to the multicast packets by exchange network according to the exchange network frame head Target detection server.
37. testing service device according to claim 36, which is characterized in that the exchange network frame head generates submodule packet It includes:
Frame head table Traversal Unit, for traversing the frame head table of testing service device itself, the frame head table include multicast packets packet header with The corresponding informance of exchange network frame head;
Exchange network frame head generation unit, for generating the exchange network frame head of the multicast packets according to the corresponding informance.
38. testing service device according to claim 26, which is characterized in that the data packet sending/receiving module includes:
Data packet receives record sub module, the target detection sent for receiving the target detection server by exchange network Data packet, and record the quantity of the target detection data packet.
39. the testing service device according to claim 38, which is characterized in that the data packet sending/receiving module also wraps It includes:
Multicast packets judging submodule, for judging whether the target detection data packet is multicast packets;
It receives information and generates submodule, be used for if so, generating multicast packets according to the multicast packets receives information.
40. testing service device according to claim 39, which is characterized in that the multicast packets judging submodule includes:
Packet header confirmation unit, for confirming whether the packet header of the target detection data packet includes exchange network frame head and multicast packets Packet header;
Multicast packets confirmation unit, for if so, confirming that the target detection data packet is multicast packets;
Non-multicast packet confirmation unit, for if it is not, then confirming that the target detection data packet is non-multicast packet.
41. testing service device according to claim 39, which is characterized in that the data packet sending/receiving module also wraps It includes:
It receives information and is placed in submodule, be placed in preset receiving cache queue for the multicast packets to be received information;
Statistic table updates submodule, for updating the statistic table of testing service device itself.
42. testing service device according to claim 26, which is characterized in that include maximum hair in the test initiation command Packet number, the testing service device further include:
Data packet number logging modle, for recording the quantity of the test data packet sent;
First stopping modular, for stopping sending the test data packet and stop when the quantity being more than that maximum gives out a contract for a project several Only receive the target detection data packet.
43. testing service device according to claim 26, which is characterized in that the testing service device further include:
Second stopping modular, for stopping sending the test when the test for receiving main control server transmission terminates order Data packet and stopping receive the target detection data packet.
44. testing service device according to claim 26, which is characterized in that the test result include it is following any one Or it is a variety of:
Throughput test results, frame loss rate test result, delay testing result, back-to-back test result, and, jitter test As a result.
45. testing service device according to claim 26, which is characterized in that the test result sending module includes:
Test result order receiving submodule is uploaded, for receiving the unicast packet of main control server transmission, the unicast packet includes Upload test result order;
Test result uploads submodule, for according to the upload test result order, Xiang Suoshu main control server to upload test As a result.
46. testing service device according to claim 45, which is characterized in that the test result uploads submodule and includes:
Statistic table acquiring unit, for obtaining the state of testing service device itself according to the upload test result order Statistical form;
Unicast packet generation unit, for generating unicast packet according to the statistic table;
Exchange network frame head adding unit, for adding exchange network frame head to the unicast packet;
Unicast packets unit, for passing through exchange network for the unicast packets added with exchange network frame head to master control service Device.
47. a kind of main control server, which is characterized in that the main control server is connect with testing service device cluster, for autonomy The networking of network is tested;The testing service device cluster includes border router, boundary sub-control server, terminal sub-control server With testing service device;The main control server is exchanged with border router, boundary sub-control server, the access of terminal sub-control server Network, the terminal sub-control server and testing service device access another exchange network, the boundary sub-control server and boundary Router accesses another exchange network;The main control server includes:
Initiation command sending module is tested, for sending test initiation command, the testing service device foundation to testing service device The test initiation command generates test data packet, the test data packet is sent to target detection server, and receive institute The target detection data packet for stating the transmission of target detection server generates test result according to the target detection data packet;
Test result receiving module, the test result sent for receiving the testing service device.
48. main control server according to claim 47, which is characterized in that further include:
Initialization module, for executing the initialization operation of main control server.
49. main control server according to claim 48, which is characterized in that the initialization module includes:
Initialization and test script import submodule, for initializing and importing test script;
Information configuration submodule is tested, for configuring the test information of testing service device.
50. main control server according to claim 48, which is characterized in that further include:
Equipment bind command sending module, for sending connection packet to terminal sub-control server, with transmission for the terminal point Control the equipment bind command of server;The terminal sub-control server is used for according to the equipment bind command, and initialization networks Information, to access the main control server.
51. main control server according to claim 50, which is characterized in that further include:
Testing service device inbound information sending module, for sending unicast packet to terminal sub-control server, described in transmission access The inbound information of each testing service device of terminal sub-control server;The terminal sub-control server is described each for being respectively configured The inbound information of a testing service device sends connection packet to each testing service device respectively, with transmission for described each The equipment bind command of testing service device;The testing service device is used for according to the equipment bind command, and initialization, which networks, to be believed Breath, to access the terminal sub-control server.
52. main control server according to claim 49, which is characterized in that the test information configuration submodule includes:
Frame head table configuration unit, for configuring the frame head table of testing service device;
Information table configuration unit is controlled, for configuring the control information table of testing service device;
Statistic table configuration unit, for configuring the statistic table of testing service device.
53. main control server according to claim 52, which is characterized in that the frame head table configuration unit includes:
Frame head table configuration information transmission sub-unit, for sending unicast packet to testing service device, with transmission frame head table configuration information; The testing service device is used to configure frame head table according to the frame head table configuration information.
54. main control server according to claim 52, which is characterized in that the control information table configuration unit includes:
Information table configuration information transmission sub-unit is controlled, for sending unicast packet to testing service device, to transmit control information table Configuration information;The testing service device is used for according to the control information table configuration information, configuration control information table.
55. main control server according to claim 52, which is characterized in that the statistic table configuration unit includes:
Statistic table configuration information transmission sub-unit, for sending unicast packet to testing service device, with transmission state statistical form Configuration information;The testing service device is used for according to the statistic table configuration information, configuration status statistical form.
56. main control server according to claim 47, which is characterized in that further include:
Test terminates command sending module, terminates order for sending test to testing service device, the testing service device is used for Terminate to order according to the test, stop sending the test data packet and stops receiving the target detection data packet.
57. main control server according to claim 47, which is characterized in that the test result receiving module includes:
Test result order sending submodule is uploaded, for sending unicast packet to testing service device, to transmit upload test result Order;The testing service device is used for according to the upload test result order, and Xiang Suoshu main control server uploads test result.
58. main control server according to claim 57, which is characterized in that the test result include it is following any one Or it is a variety of:
Throughput test results, frame loss rate test result, delay testing result, back-to-back test result, and, jitter test As a result.
59. main control server according to claim 47, which is characterized in that further include:
Networking test analysis report generation module, for generating the networking test analysis report of autonomous networks according to the test result It accuses.
60. a kind of networking test macro of autonomous networks, which is characterized in that including main control server and testing service device cluster, The main control server is connect with testing service device cluster, and the networking for autonomous networks is tested;The testing service device cluster Including border router, boundary sub-control server, terminal sub-control server and testing service device;The main control server and boundary Router, boundary sub-control server, terminal sub-control server access exchange network, the terminal sub-control server and testing service Device accesses another exchange network, and the boundary sub-control server and border router access another exchange network;
The main control server includes:
Initiation command sending module is tested, for sending test initiation command to testing service device;
Test result receiving module, the test result sent for receiving the testing service device;
The testing service device includes:
Test data packet generation module, for generating test data packet according to the test initiation command;
Data packet sending/receiving module for the test data packet to be sent to target detection server, and receives the mesh Mapping tries the target detection data packet that server is sent;
Test result generation module, for generating test result according to the target detection data packet.
CN201711023795.8A 2017-10-27 2017-10-27 A kind of the networking test method and system of autonomous networks Withdrawn CN109728961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711023795.8A CN109728961A (en) 2017-10-27 2017-10-27 A kind of the networking test method and system of autonomous networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711023795.8A CN109728961A (en) 2017-10-27 2017-10-27 A kind of the networking test method and system of autonomous networks

Publications (1)

Publication Number Publication Date
CN109728961A true CN109728961A (en) 2019-05-07

Family

ID=66292047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711023795.8A Withdrawn CN109728961A (en) 2017-10-27 2017-10-27 A kind of the networking test method and system of autonomous networks

Country Status (1)

Country Link
CN (1) CN109728961A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669300A (en) * 2020-04-24 2020-09-15 平安科技(深圳)有限公司 Gateway testing method and device based on direct connection testing network and computer equipment
CN114553714A (en) * 2021-12-30 2022-05-27 北京天成通链科技有限公司 Simulation method for solving block chain network test uncertainty
CN114553714B (en) * 2021-12-30 2024-05-14 北京天成通链科技有限公司 Simulation method for solving uncertainty of block chain network test

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669300A (en) * 2020-04-24 2020-09-15 平安科技(深圳)有限公司 Gateway testing method and device based on direct connection testing network and computer equipment
CN111669300B (en) * 2020-04-24 2023-08-18 平安科技(深圳)有限公司 Gateway test method and device based on direct connection test network and computer equipment
CN114553714A (en) * 2021-12-30 2022-05-27 北京天成通链科技有限公司 Simulation method for solving block chain network test uncertainty
CN114553714B (en) * 2021-12-30 2024-05-14 北京天成通链科技有限公司 Simulation method for solving uncertainty of block chain network test

Similar Documents

Publication Publication Date Title
US10334059B2 (en) Network for transporting ethernet and time sensitive data
US9154330B2 (en) Method and device of link aggregation and method and system for transceiving MAC frames
JP5684680B2 (en) Flow statistics aggregation
CN103259727B (en) A kind of message forwarding method and equipment
US8773999B2 (en) Distributed chassis architecture having integrated service appliances
CN102835069B (en) Apparatus and method for synchronized networks
CN110493351B (en) Video networking access method, device, equipment and storage medium
CN109391614A (en) It is a kind of based on depending on network transfer monitoring data method and apparatus
CN108882008B (en) A kind of method and apparatus of data conversion
CN105556916B (en) The information statistical method and device of network flow
CN100405772C (en) Information processing device and method and program
CN109302453A (en) A kind for the treatment of method and apparatus of the monitoring data based on view networking
CN109617995A (en) To management system, method and the electronic equipment of tenant&#39;s cluster VPC internal container
KR20210010586A (en) Network topology generation method and device
CN109561073A (en) A kind of transparent transmission system and method based on view networking
CN107517130B (en) OPNET-based seamless redundancy protocol network performance equivalent simulation method
CN109787873A (en) A kind of method and apparatus of multi-to-multi incoming communication
CN106790146A (en) The system and its operation method of mobile multicast are realized under a kind of cloud environment based on SDN technologies
CN109728961A (en) A kind of the networking test method and system of autonomous networks
CN109194914A (en) A kind for the treatment of method and apparatus of facility information
CN111211977B (en) Ship communication method and system supporting external multi-heterogeneous channel connection
CN103117956B (en) Based on the network system method of automatic configuration of scheduling queue
CN110493149A (en) A kind of method and apparatus of Message processing
CN109728963A (en) A kind of networking test macro of autonomous networks
CN107070677B (en) Heterogeneous network end-to-end QoS performance verification method and system based on OPNET

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190507