CN103259693B - A kind of method and system of link automatic scan - Google Patents

A kind of method and system of link automatic scan Download PDF

Info

Publication number
CN103259693B
CN103259693B CN201310118521.2A CN201310118521A CN103259693B CN 103259693 B CN103259693 B CN 103259693B CN 201310118521 A CN201310118521 A CN 201310118521A CN 103259693 B CN103259693 B CN 103259693B
Authority
CN
China
Prior art keywords
link
control module
scanning control
data
detecting
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.)
Expired - Fee Related
Application number
CN201310118521.2A
Other languages
Chinese (zh)
Other versions
CN103259693A (en
Inventor
吴建进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Joyit Technologies Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310118521.2A priority Critical patent/CN103259693B/en
Publication of CN103259693A publication Critical patent/CN103259693A/en
Application granted granted Critical
Publication of CN103259693B publication Critical patent/CN103259693B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and system of link automatic scan, method of the present invention comprises: A, access E1 link carry out initialization to link scanning control module; B, link scanning control module divide the channel resource being used in detection, and then are automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module; C, link scanning control module divide the channel resource being used in collection, and then carry out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link; D, the data of collection are sent to data acquisition service end.Method of the present invention adopts automatic identification technology to detect link, and Resources allocation carries out data acquisition to the link identified in units of time slot, has the good advantage of adaptivity of high accuracy of identification, high detection efficiency and link dynamic change.The present invention can be widely used in the communications field.

Description

A kind of method and system of link automatic scan
Technical field
The present invention relates to the communications field, especially a kind of method and system of link automatic scan.
Background technology
E1 is one of PCM two standards (form of expression), the feature of being encoded from PCM pulse-code modulation, and the time division multiplexing frame (its length T=125us) of E1 is divided into 32 equal time slots altogether, time slot be numbered TS0-TS31.Wherein time slot TS0 is used as frame synchronization, and time slot TS16 is used for transmitting signaling, and remaining TS1-TS15 and TS17-TS31 totally 30 time slots is used as 30 speech channels.Each time slot transmits 8bit, therefore shares 256bit.Transmission per second 8000 frames, therefore the data transfer rate of PCM primary group E1 is exactly 2.048Mbit/s.Each time slot accounts for 8bit in E1 frame, 8*8k=64k, namely contains 32 64K in an E1.
The PCM pattern of 2M comprises PCM30C and PCM31, and PCM30 user's available time slot is 30, is TS1-TS15 and TS17-TS31.Now, TS16 transmits signaling, has CRC check.PCM31 user's available time slot is 31, is TS1-TS15 and TS16-TS31.Now, TS16 does not transmit signaling, has CRC check.
The Linktype of E1 carrying has three classes: a class whole 2M is used as a link, as DDN2M; One class is that 2M is used as several 64k and combination thereof, as 128K, 256K(N<1-30>x64K) etc., Here it is CE1; A class low speed chain circuit is also had to be the link using the bit in each time slot to be combined into 8K, 16K, 32K.
At present, the 34 type links that the E1 for foregoing description carries carry out the method scanned, and it is not high that great majority also exist link identification accuracy, the shortcoming of the adaptivity difference of the low and link dynamic change of detection efficiency.
Summary of the invention
In order to solve the problems of the technologies described above, the object of the invention is: a kind of method of the good link automatic scan of adaptivity that high accuracy of identification, high detection efficiency and link dynamic change are provided.
Another object of the present invention is: the system providing the link automatic scan that a kind of high accuracy of identification, high detection efficiency and adaptivity are good.
The technical solution adopted for the present invention to solve the technical problems is: a kind of method of link automatic scan, comprising:
A, access E1 link initialization is carried out to link scanning control module;
B, link scanning control module divide the channel resource being used in detection, and then are automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module;
C, link scanning control module divide the channel resource being used in collection, and then carry out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link;
D, the data of collection are sent to data acquisition service end.
Further, described step B, it comprises:
B1, link scanning control module are that effective E1 of access divides the channel resource being used in detection;
B2, link scanning control module exchange link block to numeral and send the order of setting up switching matrix, thus arrange two tuples of source time slot and object time slot;
B3, link scanning control module send the order and parameter that detect to link detecting acquisition module, and start detection timer;
B4, link detecting acquisition module according to the order received and optimum configurations relevant parameter, and are added up E1 link data bag;
After B5, detection timer arrive the time of setting, link scanning control module exchanges link block to numeral and sends dismounting order, delete two tuples of respective sources time slot and object time slot, and send the order and parameter that stop automatically detecting to link detecting acquisition module;
B6, link detecting acquisition module return the statistics of E1 link data bag, and judge that whether the type of E1 link is correct by link scanning control module according to the data of statistics.
Further, described step B1, it is specially:
Judge whether link detecting acquisition module adopts symmetric pattern to carry out link and automatically detect, if so, then link scanning control module adopts symmetric pattern to be that the effective E1 accessed divides the channel resource being used in detection; Otherwise then link scanning control module adopts asymmetric mode to be that the effective E1 accessed divides the channel resource being used in detection.
Further, judge the type of E1 link this step whether correct by link scanning control module according to the data of statistics in described step B6, it is specially:
The percentage accounting for total data bag according to correct data bag in the data of statistics by link scanning control module judges that whether the type of E1 link is correct, if the percentage that correct data bag accounts for total data bag is more than or equal to the percentage preset, then represent that the type of E1 link is correct, now, the type of mode to E1 link of Flash memory is adopted to store and continue automatically to detect the E1 link of next type; Otherwise, then represent that the type of E1 link is incorrect, now, continues automatically to detect the E1 link of next type.
Further, described step C, it comprises:
C1, link scanning control module are the channel resource of E1 link assignment for gathering after detecting;
C2, link scanning control module exchange link block to numeral and send the order of setting up switching matrix;
C3, link scanning control module send acquisition to link detecting acquisition module;
C4, link detecting acquisition module arrange acquisition parameter according to the acquisition received, and gather in units of time slot to corresponding E1 link data.
Further, described step C1, it comprises:
C11, link scanning control module carry out classification statistics to the E1 link after detection, thus obtain the quantity of E1 link of the same type;
C12, judge whether the quantity of current E1 link of the same type is less than total number of link detecting acquisition module, if, then perform step C13, otherwise, then the quantity of E1 link of the same type is adjusted, make the quantity of the E1 link of the same type after adjustment be less than total number of link detecting acquisition module and perform step C13;
C13, structure load balancing tree, carry out equilibrium statistics to the speed of E1 link;
C14, link scanning control module are the channel resource of E1 link assignment for gathering after speed equilibrium statistics.
Further, after described step C14, be also provided with step C15, described step C15 is specially it:
C15, after the channel resource for gathering is assigned, link scanning control module gathers link to every bar and monitors, and judges whether this link has data within the time preset, if there are data, then continues to perform step C2; Otherwise, then the channel resource that this link occupies is discharged.
Further, described link scanning control module is exchanged link block all communicated by ICP/IP protocol with link detecting acquisition module with link scanning control module with numeral.
The present invention solves another technical scheme that its technical problem adopts: a kind of system of link automatic scan, comprising:
Link access and initialization unit, for accessing E1 link and carrying out initialization to link scanning control module;
Link automatic detection unit, divides the channel resource being used in detection for link scanning control module, and then is automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module;
Link data collecting unit, divides the channel resource being used in collection for link scanning control module, and then carries out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link;
Link data output unit, for sending to data acquisition service end by the data of collection;
The output of described link access and initialization unit is successively by link automatic detection unit and link data collecting unit and then be connected with the input of link data output unit.
Further, described link automatic detection unit comprises:
Link detecting Resourse Distribute subelement, the effective E1 being access for link scanning control module divides the channel resource being used in detection;
Switching matrix is set up order and is sent subelement, exchanges link block and sends the order of setting up switching matrix, thus arrange two tuples of source time slot and object time slot for link scanning control module to numeral;
Sense command sends subelement, sends the order and parameter that detect for link scanning control module to link detecting acquisition module, and start detection timer;
Link statistics subelement, for link detecting acquisition module according to the order received and optimum configurations relevant parameter, and adds up E1 link data bag;
Detect and stop order transmission subelement, arrive the time of setting for detecting timer after, link scanning control module exchanges link block to numeral and sends dismounting order, delete two tuples of respective sources time slot and object time slot, and send the order and parameter that stop automatically detecting to link detecting acquisition module;
Statistics returns and judgment sub-unit, returns the statistics of E1 link data bag for link detecting acquisition module, and judges that whether the type of E1 link is correct by link scanning control module according to the data of statistics;
The input of described link detecting Resourse Distribute subelement accesses with link and is connected with the output of initialization unit, the output of described link detecting Resourse Distribute subelement sets up order transmission subelement by switching matrix successively, sense command sends subelement, link statistics subelement and detection and stops order transmission subelement and then return with statistics being connected with the input of judgment sub-unit, and described statistics returns and is connected with the input of the output of judgment sub-unit with link data collecting unit.
The invention has the beneficial effects as follows: method of the present invention adopts automatic identification technology to detect link, and Resources allocation carries out data acquisition to the link identified in units of time slot, there is the good advantage of adaptivity of high accuracy of identification, high detection efficiency and link dynamic change.Further, method of the present invention can adopt symmetric pattern to carry out link and automatically detect, and further increases the efficiency of link scanning.Further, method of the present invention adopts statistical method statistical data packet quantity, and judges that whether the type of link is correct according to the quantity of statistics, can reduce the probability that link detecting is made mistakes, improve the accuracy of link identification; Meanwhile, adopt the type of mode to E1 link of Flash memory to store when the type detection of link is correct, effectively can reduce the drain sweep probability of link of the same type.Further, method of the present invention is when multiple link detecting acquisition module carries out link data collection, have employed the load-balancing algorithm simultaneously comprising number of links equilibrium and speed equilibrium, the load of each link detecting acquisition module can be alleviated, thus realize the equilibrium assignment of load.Further, method of the present invention comprises the step C15 monitored collection link, can reclaim the channel resource not being used further to gather, reduce the waste of resource.
Another beneficial effect of the present invention is: system of the present invention comprises link automatic detection unit and link data collecting unit, automatic identification technology is adopted to detect link, and Resources allocation carries out data acquisition to the link identified in units of time slot, there is the good advantage of adaptivity of high accuracy of identification, high detection efficiency and link dynamic change.Further, system of the present invention comprises link statistics subelement and statistics returns and judgment sub-unit, adopts statistical method statistical data packet quantity, and judges that whether the type of link is correct according to the quantity of statistics, the probability that link detecting is made mistakes can be reduced, improve the accuracy of link identification.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described.
Fig. 1 is the annexation schematic diagram of module of the present invention and each module;
Fig. 2 is the flow chart of steps of the method for a kind of link automatic scan of the present invention;
Fig. 3 is the flow chart of the method step B of a kind of link automatic scan of the present invention;
Fig. 4 is the flow chart of the method step C of a kind of link automatic scan of the present invention;
Fig. 5 is the flow chart of the method step C1 of a kind of link automatic scan of the present invention;
Fig. 6 is the structured flowchart of the system of a kind of link automatic scan of the present invention;
Fig. 7 is the composition frame chart of the system link automatic detection unit of a kind of link automatic scan of the present invention.
Embodiment
First module of the present invention is introduced.Module of the present invention comprises E1 link access module, link scanning control module, numeral exchange link block, link detecting acquisition module and data acquisition service end, and its annexation each other as shown in Figure 1.Wherein:
E1 link access module is the plural number that E1s(E1s is E1, represents multiple E1) interface module, for providing external fiber access link.E1s interface can be electric mouth or light mouth (light mouth is the encapsulation of electric mouth), and their elementary cell is E1, carries link in its E1 accessed.
Numeral exchanges link block, and intermediate station, for carrying out time slot cross connection, to coordinate link detecting and link acquisition process; It is communicated with link scanning control module by the agreements such as TCP/IP or mode.
Link scanning control module, the administrative center of resource and link scanning control centre, for distributing scanning resource and gathering resource, and the process of control link scanning.The resource of its management comprises the E1s of access, the inner passage (have 32 time slots in each E1, each passage can be mapped to one or more time slots) for detecting/gathering, and numeral exchanges the switching matrix of connection and the concrete information etc. of link.The process of control link scanning, had both comprised the control to the process that the automatic testing process of link and link data gather, had comprised again control numeral being exchanged to connection procedure and time slot cross connection process.
Link detecting acquisition module, the real executor of link detecting and link acquisition, for identifying link and gathering link, is responsible for the direct control of link scanning; It is communicated with link scanning control module by the agreements such as TCP/IP or mode.In concrete enforcement, link detecting/scan module can be one or more, and the module that its inside comprises can be link detecting and link acquisition two independently module.
Data acquisition service end, as the outside output that link data gathers.In concrete enforcement, data acquisition service end both can be a station server or a computer, also can be multiple stage computer or server.
Complete scanning comprises link and automatically detects and link data collection, collection be based upon detection basis on, but can walk abreast to the link scanning of different E1 and carry out.
With reference to Fig. 2, the method for a kind of link automatic scan of the present invention, comprising:
A, access E1 link initialization is carried out to link scanning control module;
B, link scanning control module divide the channel resource being used in detection, and then are automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module;
C, link scanning control module divide the channel resource being used in collection, and then carry out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link;
D, the data of collection are sent to data acquisition service end.
Wherein, initialization is carried out to link scanning control module and comprise initialization access E1 link
Interface status is effective, initialization passage is (for detecting the resource of link and collection link, a passage can be mapped as one or more time slot) resource is idle condition, initialization needs the type of the E1 link detected (in order to improve the speed of link detecting and a kind of method of adopting, the type of link can be arranged) etc.Being carry out in units of E1 when automatically detecting the E1 link of access, simplifying processing logic, improve link detecting speed; Gather in units of time slot, can resource be made full use of.In addition, the distribution of channel resource divides according to the standard of Linktype, and Nx64K(N>=2, N are natural number) the N number of passage of link assignment continuous print, the link of 64K, 32K, 16K and 8K all only distributes a passage.
With reference to Fig. 3, be further used as preferred embodiment, it comprises:
B1, link scanning control module are that effective E1 of access divides the channel resource being used in detection;
B2, link scanning control module exchange link block to numeral and send the order of setting up switching matrix, thus arrange two tuples of source time slot and object time slot;
B3, link scanning control module send the order and parameter that detect to link detecting acquisition module, and start detection timer;
B4, link detecting acquisition module according to the order received and optimum configurations relevant parameter, and are added up E1 link data bag;
After B5, detection timer arrive the time of setting, link scanning control module exchanges link block to numeral and sends dismounting order, delete two tuples of respective sources time slot and object time slot, and send the order and parameter that stop automatically detecting to link detecting acquisition module;
B6, link detecting acquisition module return the statistics of E1 link data bag, and judge that whether the type of E1 link is correct by link scanning control module according to the data of statistics.
Wherein, effective E1 is the Interface status of access E1 link is effective.The present invention is only that effective E1 distributes channel resource, and invalid E1 does not distribute channel resource, effectively can reduce the waste of resource.Meanwhile, the present invention, when processing a fairly large number of E1, can adopt the mode of batch process automatically to detect, to alleviate the load of link and to improve the efficiency of link detecting and collection.
Be further used as preferred embodiment, described step B1, it is specially:
Judge whether link detecting acquisition module adopts symmetric pattern to carry out link and automatically detect, if so, then link scanning control module adopts symmetric pattern to be that the effective E1 accessed divides the channel resource being used in detection; Otherwise then link scanning control module adopts asymmetric mode to be that the effective E1 accessed divides the channel resource being used in detection.
Wherein, light mouth or electric mouth for accessing E1s in E1 link access module adopt paired mode to manage, and the E1s of access so just can form E1 couple.In the balanced mode, link detecting acquisition module only needs to detect the link carried in a right E1 of every a pair E1, and the link in another one E1 is then determined by the link carried in this E1, thus the efficiency of link detecting is doubled.
Be further used as preferred embodiment, judge the type of E1 link this step whether correct by link scanning control module according to the data of statistics in described step B6, it is specially:
The percentage accounting for total data bag according to correct data bag in the data of statistics by link scanning control module judges that whether the type of E1 link is correct, if the percentage that correct data bag accounts for total data bag is more than or equal to the percentage preset, then represent that the type of E1 link is correct, now, the type of mode to E1 link of Flash memory is adopted to store and continue automatically to detect the E1 link of next type; Otherwise, then represent that the type of E1 link is incorrect, now, continues automatically to detect the E1 link of next type.
Wherein, the percentage P preset is that P must be more than or equal to the 99% percentage P namely preset between 99% ~ 100% in advance according to the constant of actual conditions setting.And Flash memory to refer to memory be erasable: in the time period T0 preset, the type memory retention of E1 link; After having crossed the time period T0 preset, the type memory of E1 link can be wiped free of, thus effectively reduces the drain sweep probability of link of the same type.
Here for HDLC agreement, the type of its E1 link data bag has four kinds: correct packet msu, short bag fisu, crc error bag crcErr, termination bag abortErr.Wherein msu, fisu are correct packet, and crcErr, abortErr are the packet of mistake.If the percentage that correct packet accounts for total data bag (packet of correct packet+mistake) is not less than the percentage P preset, so the type of link is correct.For reducing the probability of link error detection, needing to adopt the method for statistics to carry out statistical data packet, the link data bag quantity in statistics a period of time T, and then judging that whether the type of link is correct.
Here two parameter P and T are related to, the arranging of this two parameters directly can have influence on the accuracy and efficiency that link detects automatically, if P value is excessive, link meeting drain sweep, if T value is excessive, the time of every bar link detecting lengthens, and the number of links that unit interval class detects is few, and the efficiency of link detecting can reduce.In practice, general P is arranged to 99%, T and establishes and be worth into 1 second.
With reference to Fig. 4, be further used as preferred embodiment, described step C, it comprises:
C1, link scanning control module are the channel resource of E1 link assignment for gathering after detecting;
C2, link scanning control module exchange link block to numeral and send the order of setting up switching matrix;
C3, link scanning control module send acquisition to link detecting acquisition module;
C4, link detecting acquisition module arrange acquisition parameter according to the acquisition received, and gather in units of time slot to corresponding E1 link data.
With reference to Fig. 5, be further used as preferred embodiment, described step C1, it comprises:
C11, link scanning control module carry out classification statistics to the E1 link after detection, thus obtain the quantity of E1 link of the same type;
C12, judge whether the quantity of current E1 link of the same type is less than total number of link detecting acquisition module, if, then perform step C13, otherwise, then the quantity of E1 link of the same type is adjusted, make the quantity of the E1 link of the same type after adjustment be less than total number of link detecting acquisition module and perform step C13;
C13, structure load balancing tree, carry out equilibrium statistics to the speed of E1 link;
C14, link scanning control module are the channel resource of E1 link assignment for gathering after speed equilibrium statistics.
The process of automatic detection and collection all needs to take physical resource on link detecting acquisition module, and the resource that testing process takies and the resource that gatherer process takies all can be reused.The balancing link load form of expression mainly link acquisition, because the final form of expression link acquisition of link scanning.Load balancing can have two kinds of criterions: the quantity that link is total and the total speed of link.Weigh the load of each link detecting acquisition module with the quantity that link is total, this standard comparing is simple, only need link detecting acquisition module one by one to distribute and gather resource, but its accuracy is not high.And the load of each link detecting acquisition module is weighed with the speed that link is total, this standard considers that duty ratio is comparatively comprehensive, but algorithm is very complicated.
Present invention employs the load-balancing algorithm simultaneously comprising number of links equilibrium and speed equilibrium and carry out load balancing to data acquisition link road, two of load balancing criterions organically combined, accuracy is high and algorithm is relatively simple.Be provided with N number of link detecting acquisition module, detailed process of carrying out load balancing of the present invention is as follows:
First, link scanning control module carries out classification statistics to the E1 link after detection, thus the quantity obtaining E1 link of the same type is Ln (35>n>0);
Then, compare the size of Ln and N, if Ln>N, then the quantity of E1 link of the same type is adjusted, make Ln<N, otherwise, then construct load balancing tree;
Then, structure load balancing tree, carries out equilibrium statistics to the speed of link;
Finally, link scanning control module is the channel resource of link assignment for gathering after speed equilibrium.
Wherein, if Ln>N, then the quantity of E1 link of the same type is adjusted, make the detailed process of Ln<N as follows: a, be respectively each link detecting acquisition module and distribute an E1 link, after being assigned, the quantity Ln of E1 link of the same type reduces N number of; B, judge whether current Ln meets Ln<N, if also do not meet, then repeat step a, until Ln<N.In fact, if Ln>N, then the number of links of this type of each link detecting acquisition module distributing is (Ln-Ln%N)/N, and here " % " refers to and get remainder operation.
Suppose also have M(M>N now) bar link is not assigned with, and the process of structure load balancing tree is as follows: (1) chooses 2 minimum values in current link rate value; (2) the value addition chosen these 2 obtains a new rate value, and replaces 2 original minimum values with the new rate value obtained, and participates in sequence (link numerical value number now becomes M-2+1); (3) in this M-2+1 link rate value, choose 2 minimum values again, repeat (2), until number of links is less than or equal to N.
First method of the present invention distributes collection resource with number of links standard, and then carries out equilibrium to the speed of link, effectively can reduce the number of plies of structure load balancing tree, improve the speed of algorithm.
With reference to Fig. 4, be further used as preferred embodiment, after described step C14, be also provided with step C15, described step C15 is specially it:
After the channel resource for gathering is assigned, link scanning control module gathers link to every bar and monitors, and judges whether this link has data within the time preset, if there are data, then continues to perform step C2; Otherwise, then the channel resource that this link occupies is discharged.
Wherein, the time T1 preset sets according to actual needs, generally gets T1 and is less than 1s(as got T1=0.5s).
Step C15 comprise to collection link monitor, can reclaim be not used further to collection channel resource, minimizing resource waste.
Meanwhile, the link detecting of different E1 and link data collection walk abreast and carry out, and link detecting and link data collection all need Resources allocation.If the resource that link detecting takies is too much and the resource of link acquisition can not get distributing always, the deadlock of resource will be formed.In order to prevent the deadlock of resource, need utilance problem link detecting Resourse Distribute being optimized to efficiency and the resource that just can solve link detecting.Specific practice is as follows: each is taken turns link detecting and distributes resource as much as possible, to improve the efficiency of link detecting; And the inspection that link detecting will discharge after completing
Survey resource and be used for link data collection, until the link data collection of epicycle complete after release link data gather resource carry out next round link detecting, namely next round link detecting Resources allocation is just carried out after last round of resource all releases (link detecting and link data gather resource and all release).This ensures that there the link detected and necessarily have resource for gathering, improve the efficiency that link data gathers, and take full advantage of resource.
Be further used as preferred embodiment, described link scanning control module is exchanged link block with numeral and is all communicated by ICP/IP protocol with link detecting acquisition module with link scanning control module.
With reference to Fig. 6, a kind of system of link automatic scan, comprising:
Link access and initialization unit, for accessing E1 link and carrying out initialization to link scanning control module;
Link automatic detection unit, divides the channel resource being used in detection for link scanning control module, and then is automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module;
Link data collecting unit, divides the channel resource being used in collection for link scanning control module, and then carries out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link;
Link data output unit, for sending to data acquisition service end by the data of collection;
The output of described link access and initialization unit is successively by link automatic detection unit and link data collecting unit and then be connected with the input of link data output unit.
With reference to Fig. 7, be further used as preferred embodiment, described link automatic detection unit comprises:
Link detecting Resourse Distribute subelement, the effective E1 being access for link scanning control module divides the channel resource being used in detection;
Switching matrix is set up order and is sent subelement, exchanges link block and sends the order of setting up switching matrix, thus arrange two tuples of source time slot and object time slot for link scanning control module to numeral;
Sense command sends subelement, sends the order and parameter that detect for link scanning control module to link detecting acquisition module, and start detection timer;
Link statistics subelement, for link detecting acquisition module according to the order received and optimum configurations relevant parameter, and adds up E1 link data bag;
Detect and stop order transmission subelement, arrive the time of setting for detecting timer after, link scanning control module exchanges link block to numeral and sends dismounting order, delete two tuples of respective sources time slot and object time slot, and send the order and parameter that stop automatically detecting to link detecting acquisition module;
Statistics returns and judgment sub-unit, returns the statistics of E1 link data bag for link detecting acquisition module, and judges that whether the type of E1 link is correct by link scanning control module according to the data of statistics;
The input of described link detecting Resourse Distribute subelement accesses with link and is connected with the output of initialization unit, the output of described link detecting Resourse Distribute subelement sets up order transmission subelement by switching matrix successively, sense command sends subelement, link statistics subelement and detection and stops order transmission subelement and then return with statistics being connected with the input of judgment sub-unit, and described statistics returns and is connected with the input of the output of judgment sub-unit with link data collecting unit.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.

Claims (8)

1. a method for link automatic scan, is characterized in that comprising:
A, access E1 link initialization is carried out to link scanning control module;
B, link scanning control module divide the channel resource being used in detection, and then are automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module;
C, link scanning control module divide the channel resource being used in collection, and then carry out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link;
D, the data of collection are sent to data acquisition service end;
Described step B, it comprises:
B1, link scanning control module are that effective E1 of access divides the channel resource being used in detection;
B2, link scanning control module exchange link block to numeral and send the order of setting up switching matrix, thus arrange two tuples of source time slot and object time slot;
B3, link scanning control module send the order and parameter that detect to link detecting acquisition module, and start detection timer;
B4, link detecting acquisition module according to the order received and optimum configurations relevant parameter, and are added up E1 link data bag;
After B5, detection timer arrive the time of setting, link scanning control module exchanges link block to numeral and sends dismounting order, delete two tuples of respective sources time slot and object time slot, and send the order and parameter that stop automatically detecting to link detecting acquisition module;
B6, link detecting acquisition module return the statistics of E1 link data bag, and judge that whether the type of E1 link is correct by link scanning control module according to the data of statistics.
2. the method for a kind of link automatic scan according to claim 1, it is characterized in that: described step B1, it is specially:
Judge whether link detecting acquisition module adopts symmetric pattern to carry out link and automatically detect, if so, then link scanning control module adopts symmetric pattern to be that the effective E1 accessed divides the channel resource being used in detection; Otherwise then link scanning control module adopts asymmetric mode to be that the effective E1 accessed divides the channel resource being used in detection.
3. the method for a kind of link automatic scan according to claim 1, is characterized in that: judge the type of E1 link this step whether correct by link scanning control module according to the data of statistics in described step B6, it is specially:
The percentage accounting for total data bag according to correct data bag in the data of statistics by link scanning control module judges that whether the type of E1 link is correct, if the percentage that correct data bag accounts for total data bag is more than or equal to the percentage preset, then represent that the type of E1 link is correct, now, the type of mode to E1 link of Flash memory is adopted to store and continue automatically to detect the E1 link of next type; Otherwise, then represent that the type of E1 link is incorrect, now, continues automatically to detect the E1 link of next type.
4. the method for a kind of link automatic scan according to claim 1, it is characterized in that: described step C, it comprises:
C1, link scanning control module are the channel resource of E1 link assignment for gathering after detecting;
C2, link scanning control module exchange link block to numeral and send the order of setting up switching matrix;
C3, link scanning control module send acquisition to link detecting acquisition module;
C4, link detecting acquisition module arrange acquisition parameter according to the acquisition received, and gather in units of time slot to corresponding E1 link data.
5. the method for a kind of link automatic scan according to claim 4, it is characterized in that: described step C1, it comprises:
C11, link scanning control module carry out classification statistics to the E1 link after detection, thus obtain the quantity of E1 link of the same type;
C12, judge whether the quantity of current E1 link of the same type is less than total number of link detecting acquisition module, if, then perform step C13, otherwise, then the quantity of E1 link of the same type is adjusted, make the quantity of the E1 link of the same type after adjustment be less than total number of link detecting acquisition module and perform step C13;
C13, structure load balancing tree, carry out equilibrium statistics to the speed of E1 link;
C14, link scanning control module are the channel resource of E1 link assignment for gathering after speed equilibrium statistics.
6. the method for a kind of link automatic scan according to claim 5, it is characterized in that: after described step C14, be also provided with step C15, described step C15 is specially it:
After the channel resource for gathering is assigned, link scanning control module gathers link to every bar and monitors, and judges whether this link has data within the time preset, if there are data, then continues to perform step C2; Otherwise, then the channel resource that this link occupies is discharged.
7. the method for a kind of link automatic scan according to any one of claim 1-6, is characterized in that: described link scanning control module is exchanged link block with numeral and all communicated by ICP/IP protocol with link detecting acquisition module with link scanning control module.
8. a system for link automatic scan, is characterized in that comprising:
Link access and initialization unit, for accessing E1 link and carrying out initialization to link scanning control module;
Link automatic detection unit, divides the channel resource being used in detection for link scanning control module, and then is automatically detected according to the E1 link of the channel resource distributed to access by link detecting acquisition module;
Link data collecting unit, divides the channel resource being used in collection for link scanning control module, and then carries out data acquisition according to the channel resource distributed to the E1 link after detection by link detecting acquisition module link;
Link data output unit, for sending to data acquisition service end by the data of collection;
The output of described link access and initialization unit is successively by link automatic detection unit and link data collecting unit and then be connected with the input of link data output unit;
Described link automatic detection unit comprises:
Link detecting Resourse Distribute subelement, the effective E1 being access for link scanning control module divides the channel resource being used in detection;
Switching matrix is set up order and is sent subelement, exchanges link block and sends the order of setting up switching matrix, thus arrange two tuples of source time slot and object time slot for link scanning control module to numeral;
Sense command sends subelement, sends the order and parameter that detect for link scanning control module to link detecting acquisition module, and start detection timer;
Link statistics subelement, for link detecting acquisition module according to the order received and optimum configurations relevant parameter, and adds up E1 link data bag;
Detect and stop order transmission subelement, arrive the time of setting for detecting timer after, link scanning control module exchanges link block to numeral and sends dismounting order, delete two tuples of respective sources time slot and object time slot, and send the order and parameter that stop automatically detecting to link detecting acquisition module;
Statistics returns and judgment sub-unit, returns the statistics of E1 link data bag for link detecting acquisition module, and judges that whether the type of E1 link is correct by link scanning control module according to the data of statistics;
The input of described link detecting Resourse Distribute subelement accesses with link and is connected with the output of initialization unit, the output of described link detecting Resourse Distribute subelement sets up order transmission subelement by switching matrix successively, sense command sends subelement, link statistics subelement and detection and stops order transmission subelement and then return with statistics being connected with the input of judgment sub-unit, and described statistics returns and is connected with the input of the output of judgment sub-unit with link data collecting unit.
CN201310118521.2A 2013-04-07 2013-04-07 A kind of method and system of link automatic scan Expired - Fee Related CN103259693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310118521.2A CN103259693B (en) 2013-04-07 2013-04-07 A kind of method and system of link automatic scan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310118521.2A CN103259693B (en) 2013-04-07 2013-04-07 A kind of method and system of link automatic scan

Publications (2)

Publication Number Publication Date
CN103259693A CN103259693A (en) 2013-08-21
CN103259693B true CN103259693B (en) 2016-01-27

Family

ID=48963409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310118521.2A Expired - Fee Related CN103259693B (en) 2013-04-07 2013-04-07 A kind of method and system of link automatic scan

Country Status (1)

Country Link
CN (1) CN103259693B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315662B (en) * 2021-05-28 2022-09-23 广州市炬元互联网科技有限公司 Link scanning analysis system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585352A (en) * 2003-08-19 2005-02-23 华为技术有限公司 SS7 monitoring system and method
US7068594B1 (en) * 1999-02-26 2006-06-27 Cisco Technology, Inc. Method and apparatus for fault tolerant permanent voice calls in voice-over-packet systems
CN101582801A (en) * 2009-06-04 2009-11-18 中兴通讯股份有限公司 E1 interface data collection device and method for realizing time slot scanning
CN102202243A (en) * 2011-06-21 2011-09-28 珠海市佳讯实业有限公司 Method and device for detecting signalling No.7 channel based on E1
CN102594514A (en) * 2012-03-28 2012-07-18 广东宜通世纪科技股份有限公司 Signaling link access and identification method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7068594B1 (en) * 1999-02-26 2006-06-27 Cisco Technology, Inc. Method and apparatus for fault tolerant permanent voice calls in voice-over-packet systems
CN1585352A (en) * 2003-08-19 2005-02-23 华为技术有限公司 SS7 monitoring system and method
CN101582801A (en) * 2009-06-04 2009-11-18 中兴通讯股份有限公司 E1 interface data collection device and method for realizing time slot scanning
CN102202243A (en) * 2011-06-21 2011-09-28 珠海市佳讯实业有限公司 Method and device for detecting signalling No.7 channel based on E1
CN102594514A (en) * 2012-03-28 2012-07-18 广东宜通世纪科技股份有限公司 Signaling link access and identification method

Also Published As

Publication number Publication date
CN103259693A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN101771902B (en) Method, system and device for allocating passive optical network uplink bandwidth
CN102098224B (en) Method and device for sharing data stream loads
CN106937396A (en) A kind of uplink scheduling method, terminal and base station
CN1689273A (en) Method for automated connection discovery in optical networks
CN102726009A (en) Data flow exchange control method and relative device
CN105681933A (en) Base station wireless resource sharing realization method based on passive optical network
CN106488467A (en) Network capacity transfinites determination methods, device and network capacity management method, system
US20230048590A1 (en) Pon multi-channel binding transmission method, pon node and storage medium
CN108738161A (en) Accidental access method based on different delay demand device packets in a kind of machine type communication
CN101692716B (en) Optical line terminal, optical network unit and passive optical network system
CN103684580B (en) The method of Remote Radio Unit and reporting links fault thereof, wireless communication system
CN106888078A (en) The data transmission method and device of forward pass network
CN101330433A (en) Method and apparatus for managing Ethernet equipment sharing buffer area base on transmission network
CN102316483B (en) A kind of EVDO system ensures the method and device of applied business QoS
CN103259693B (en) A kind of method and system of link automatic scan
CN107612714A (en) A kind of automated topology structure realization method and system
CN103346905A (en) Method and device for analyzing signaling
CN105357694A (en) 4G user data message processing method and system
CN106982092A (en) The exception message catching method and ONT Optical Network Terminal of ONT Optical Network Terminal
CN106775961A (en) A kind of method of cross-system data and signal transmission
CN204652392U (en) Based on the data self-healing looped network network device of Optical Fiber Transmission
CN106411731A (en) Method and device of self-negotiation link aggregation control protocol (LACP) reference system and reference port
CN110430117A (en) A kind of high concurrent tunnel system and method connecting cloud network and user&#39;s Intranet
CN103813460A (en) Method for identifying resources used for transmitting control channels
CN104009817A (en) Method for energy-saving dispatching in PON based on network coding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190121

Address after: 510663 Unit 103, Level 10, C1 Innovation Building, 182 Science Avenue, Science City, Guangzhou High-tech Industrial Development Zone, Guangdong Province

Patentee after: JOYIT TECHNOLOGIES Co.,Ltd.

Address before: 510006 Unit 103, 10th Floor, C1 Building, Innovation Building, 182 Science Avenue, Guangzhou Science City, Guangdong Province

Patentee before: Wu Jianjin

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160127