CN103152766B - The monitor method of a kind of IR Interface Controller and administrative messag and system - Google Patents

The monitor method of a kind of IR Interface Controller and administrative messag and system Download PDF

Info

Publication number
CN103152766B
CN103152766B CN201310056580.1A CN201310056580A CN103152766B CN 103152766 B CN103152766 B CN 103152766B CN 201310056580 A CN201310056580 A CN 201310056580A CN 103152766 B CN103152766 B CN 103152766B
Authority
CN
China
Prior art keywords
packet
tcp
frame
tcp data
length
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.)
Active
Application number
CN201310056580.1A
Other languages
Chinese (zh)
Other versions
CN103152766A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201310056580.1A priority Critical patent/CN103152766B/en
Publication of CN103152766A publication Critical patent/CN103152766A/en
Application granted granted Critical
Publication of CN103152766B publication Critical patent/CN103152766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments provide monitor method and the system of a kind of IR Interface Controller and administrative messag, inaccurate with the judged result solving current one-sided analytical method, the problem that public credibility is inadequate.Wherein, method comprises: in the process that Base Band Unit communicates with RF remote unit, isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit; Tcp data stream is parsed respectively from described first data flow and the second data flow; Effective control and management message is parsed from described tcp data stream.The embodiment of the present invention, by analyzing the control and management message of both direction, can judge specifically BBU side or problem has appearred in RRU side more exactly.

Description

The monitor method of a kind of IR Interface Controller and administrative messag and system
Technical field
The embodiment of the present invention relates to communication technical field, particularly relates to monitor method and the system of a kind of IR Interface Controller and administrative messag.
Background technology
IR(InterfacebetweentheRRUandtheBBU) interface is the standard interface of communication between Base Band Unit (BasebandUnit, BBU) and RF remote unit (RadioRemoteUnit, RRU) in distributed base station system.Control and management (Control & Management, C & M) message is carried on the application layer messages on IR interface, has detailed IR interface specification to define.BBU and RRU of each producer all needs to meet IR interface specification and just can interconnect in C & M message.
At present, when carrying out interface uniting and adjustment to BBU and RRU of different manufacturers, mainly by utilizing in BBU side or RRU side debugging method to capture C & M message, then analyzing, finally determining whether BBU and RRU meets IR interface specification in C & M message.
But, just obtained by one-sided analysis due to above-mentioned, if analysis result draws C & M, message does not meet IR interface specification, when judging that specifically which side goes wrong, may there is wrongheaded situation, therefore judged result public credibility is inadequate.
Summary of the invention
Embodiment of the present invention technical problem to be solved is to provide monitor method and the system of a kind of IR Interface Controller and administrative messag, inaccurate with the judged result solving current one-sided analytical method, the problem that public credibility is inadequate.
In order to solve the problem, the invention discloses the monitor method of a kind of IR Interface Controller and administrative messag, it is characterized in that, comprising:
In the process that Base Band Unit communicates with RF remote unit, isolate the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit;
Tcp data stream is parsed respectively from described first data flow and the second data flow;
Effective control and management message is parsed from described tcp data stream.
Alternatively, the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit is isolated by optical splitter.
Alternatively, describedly from described tcp data stream, parse effective control and management message, comprising:
Initial control and management message is extracted from described tcp data stream;
Heartbeat frame is detected from described initial control and management message;
Judge that whether the form of the Frame after described heartbeat frame is correct;
When correct, described Frame is defined as effective control and management message;
When incorrect, continue to detect heartbeat frame from described initial control and management message.
Alternatively, describedly from described initial control and management message, detect heartbeat frame, comprising:
Detect in described initial control and management message and whether receive heartbeat frame number;
When receiving heartbeat frame number, detect whether receive heartbeat frame regular length;
When receiving heartbeat frame regular length, determine that frame corresponding to described frame number is heartbeat frame.
Alternatively, describedly judge that whether the form of the Frame after described heartbeat frame is correct, comprising:
Detect the frame number whether receiving correct Frame after described heartbeat frame;
When receiving the frame number of correct Frame, detect length, RRUID and BBUID and the light slogan and serial number that whether receive Frame successively;
When receiving the length of Frame, RRUID and BBUID and light slogan and serial number successively, detecting and whether receiving correct IE mark;
When receiving correct IE mark, detect whether receive correct IE length;
When receiving correct IE length, waiting for IE data mode, and comparing the length of IE length and Frame;
When IE length equals the length of Frame, determine that the form of described Frame is correct;
When the frame number of Frame is incorrect, or IE mark is incorrect, or IE length is incorrect, or when IE length is greater than the length of Frame, determines that the form of described Frame is incorrect.
Alternatively, describedly from the first data flow and the second data flow, parse tcp data stream respectively, comprising:
IP packet is obtained respectively from described first data flow and the second data flow;
IP restructuring is carried out to described IP packet, from the IP packet after restructuring, obtains tcp data bag;
TCP restructuring is carried out to described tcp data bag, generates tcp data stream.
Alternatively, describedly from described first data flow and the second data flow, obtain IP packet respectively, comprising:
From described first data flow and the second data flow, the ether packet in control and management passage is obtained respectively by field programmable gate array;
Driven by ether and extract IP packet from described ether packet.
Alternatively, described IP packet comprises the IP packet of burst and the IP packet of non-burst, and each IP packet comprises each self-corresponding IP address, port numbers and identification number,
Described IP restructuring is carried out to described IP packet, from the IP packet after restructuring, obtains tcp data bag, comprising:
Tcp data bag is extracted in the IP packet of direct never burst;
Divide the IP packet pool being used in storing IP packet; Described IP packet pool comprises multiple IP and cushions chained list, and each IP cushions chained list and comprises each self-corresponding IP address and port numbers;
The IP packet of burst is linked into the IP with the IP packet of described burst with identical IP address and port numbers according to identification number order from small to large to be cushioned on chained list;
Judge that each IP cushioned chained list and whether receive complete IP packet within the very first time of presetting;
When receiving, cushioning from described IP in the IP packet chained list and extracting tcp data bag;
When not receiving, abandon the IP packet on described IP buffering chained list.
Alternatively, each tcp data handbag draws together each self-corresponding IP address, port numbers and identification number,
Described TCP restructuring is carried out to described tcp data bag, generates tcp data stream, comprising:
Divide the TCP packet pool being used in and storing tcp data bag; Described TCP packet pool comprises multiple TCP and cushions chained list, and each TCP cushions chained list and comprises each self-corresponding IP address and port numbers;
Described tcp data bag is linked into the TCP with described tcp data bag with identical IP address and port numbers according to identification number order from small to large to be cushioned on chained list;
Judge that each TCP cushioned chained list and whether receive continuous print tcp data bag within second time of presetting;
When receiving, using the tcp data bag on described TCP buffering chained list as tcp data stream;
When not receiving, fill unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list is as tcp data stream.
On the other hand, the invention also discloses the monitoring system of a kind of IR Interface Controller and administrative messag, it is characterized in that, comprising:
Separation module, in the process that communicates with RF remote unit at Base Band Unit, isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit;
Parsing of the data stream module, for parsing tcp data stream respectively from described first data flow and the second data flow;
Message resolution module, for parsing effective control and management message from described tcp data stream.
Alternatively, described separation module isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit by optical splitter.
Alternatively, described message resolution module comprises:
Initial message extracts submodule, for extracting initial control and management message from described tcp data stream;
Heartbeat frame detection sub-module, for detecting heartbeat frame from described initial control and management message;
Whether form judges submodule, correct for judging the form of the Frame after described heartbeat frame;
Efficient message determination submodule, during for judging that when form the judged result of submodule is correct, is defined as effective control and management message by described Frame;
When described heartbeat frame detection sub-module is also for judging that when form the judged result of submodule is incorrect, continue to detect heartbeat frame from described initial control and management message.
Alternatively, described heartbeat frame detection sub-module comprises:
First numbering detection sub-unit, for detecting in described initial control and management message whether receive heartbeat frame number;
Length detection subelement, for when the testing result of numbering detection sub-unit is for receiving heartbeat frame number, detects whether receive heartbeat frame regular length;
Heartbeat frame determination subelement, for when the testing result of length detection subelement is for receiving heartbeat frame regular length, determines that frame corresponding to described frame number is heartbeat frame.
Alternatively, described form judges that submodule comprises:
Second numbering detection sub-unit, for detecting the frame number whether receiving correct Frame after described heartbeat frame;
Detection sub-unit successively, for when the testing result of the second numbering detection sub-unit is the frame number receiving correct Frame, detects length, RRUID and BBUID and the light slogan and serial number that whether receive Frame successively;
IE Mark Detection subelement, for being, when receiving the length of Frame, RRUID and BBUID and light slogan and serial number successively, detect and whether receive correct IE mark when the testing result of detection sub-unit successively;
IE length detection subelement, for being, when receiving correct IE mark, detect whether receive correct IE length when the testing result of IE Mark Detection subelement;
Relatively subelement, for being when receiving correct IE length when the testing result of IE length detection subelement, waiting for IE data mode, and comparing the length of IE length and Frame;
Form determination subelement, for when IE length equals the length of Frame, determines that the form of described Frame is correct; When the frame number of Frame is incorrect, or IE mark is incorrect, or IE length is incorrect, or when IE length is greater than the length of Frame, determines that the form of described Frame is incorrect.
Alternatively, described parsing of the data stream module comprises:
IP packet obtains submodule, for obtaining IP packet respectively from described first data flow and the second data flow;
Tcp data bag obtains submodule, for carrying out IP restructuring to described IP packet, from the IP packet after restructuring, obtains tcp data bag;
Generating submodule, for carrying out TCP restructuring to described tcp data bag, generating tcp data stream.
Alternatively, described IP packet acquisition submodule comprises:
Ether packet obtains subelement, for being obtained the ether packet in control and management passage respectively from described first data flow and the second data flow by field programmable gate array;
IP packet extracts subelement, extracts IP packet for being driven by ether from described ether packet.
Alternatively, described IP packet comprises the IP packet of burst and the IP packet of non-burst, and each IP packet comprises each self-corresponding IP address, port numbers and identification number,
Described tcp data bag obtains submodule and comprises:
Extracting directly subelement, extracts tcp data bag in the IP packet for direct never burst;
IP packet pool distributes subelement, for dividing the IP packet pool being used in storing IP packet; Described IP packet pool comprises multiple IP and cushions chained list, and each IP cushions chained list and comprises each self-corresponding IP address and port numbers;
IP packet is linked into subelement, cushions chained list for the IP packet of burst is linked into the IP with the IP packet of described burst with identical IP address and port numbers according to identification number order from small to large;
The complete judgment sub-unit of IP, for judging that each IP cushioned chained list and whether receive complete IP packet within the very first time of presetting;
First process subelement, for when the judged result of the complete judgment sub-unit of IP is for receiving, cushions from described IP in the IP packet chained list and extracting tcp data bag; When the judged result of the complete judgment sub-unit of IP is not for receiving, abandon the IP packet on described IP buffering chained list.
Alternatively, each tcp data handbag draws together each self-corresponding IP address, port numbers and identification number,
Described generation submodule comprises:
TCP packet pool distributes subelement, for dividing the TCP packet pool being used in and storing tcp data bag; Described TCP packet pool comprises multiple TCP and cushions chained list, and each TCP cushions chained list and comprises each self-corresponding IP address and port numbers;
Tcp data bag is linked into subelement, cushions chained list for described tcp data bag is linked into the TCP with described tcp data bag with identical IP address and port numbers according to identification number order from small to large;
The continuous judgment sub-unit of TCP, for judging that each TCP cushioned chained list and whether receive continuous print tcp data bag within second time of presetting;
Second process subelement, for when the judged result of the continuous judgment sub-unit of TCP is for receiving, using the tcp data bag on described TCP buffering chained list as tcp data stream; When the judged result of the continuous judgment sub-unit of TCP is not for receiving, fill unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list is as tcp data stream.
Compared with prior art, the embodiment of the present invention comprises following advantage:
In the process that the embodiment of the present invention can communicate with RF remote unit at Base Band Unit, isolate the first data flow that BBU sends to RRU and the second data flow that RRU sends to BBU, and can analyze the data flow of this both direction respectively, finally parse effective control and management message.Owing to which includes the control and management message of both direction, therefore, when showing that control and management message does not meet IR interface specification, by analyzing the control and management message of this both direction, specifically BBU side or problem has appearred in RRU side can be judged more exactly.
Accompanying drawing explanation
Fig. 1 is the flow chart of the monitor method of a kind of IR Interface Controller described in the embodiment of the present invention one and administrative messag;
Fig. 2 is the schematic diagram of the overall process of the monitor method of a kind of IR Interface Controller described in the embodiment of the present invention two and administrative messag;
Fig. 3 is the schematic diagram of the IP regrouping process described in the embodiment of the present invention two;
Fig. 4 is the schematic diagram of the TCP regrouping process described in the embodiment of the present invention two;
Fig. 5 is the structural representation of the control and management message described in the embodiment of the present invention two;
Fig. 6 is the schematic diagram of resolving effective control and management message from initial control and management message described in the embodiment of the present invention two;
Fig. 7 is the structured flowchart of the monitoring system of a kind of IR Interface Controller described in the embodiment of the present invention three and administrative messag.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
In the process that the embodiment of the present invention can communicate at BBU with RRU, isolate the C & M message of both direction, by analyzing the C & M message of this both direction, the problem of BBU and RRU in communication process can be judged more exactly.
Embodiment one:
C & M message is carried on the application layer messages on IR interface, has detailed IR interface specification to define.BBU and RRU of each producer all needs to meet IR interface specification and just can interconnect in C & M message.
At present, when carrying out interface uniting and adjustment to BBU and RRU of different manufacturers, mainly by utilizing in BBU side or RRU side debugging method to capture C & M message, then analyzing, finally determining whether BBU and RRU meets IR interface specification in C & M message.
But, just obtained by one-sided analysis due to above-mentioned, if analysis result draws C & M, message does not meet IR interface specification, when judging that specifically which side goes wrong, may there is wrongheaded situation, therefore judged result public credibility is inadequate.
In order to solve the problem, the embodiment of the present invention proposes the monitor method of a kind of IR Interface Controller and administrative messag, and the method can be implemented in the process that BBU with RRU communicate and monitors two-way C & M message, thus improves the accuracy judged.
With reference to Fig. 1, show the monitor method of a kind of IR Interface Controller described in the embodiment of the present invention and administrative messag, described method can comprise:
Step 100, in the process that Base Band Unit communicates with RF remote unit, isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit.
The embodiment of the present invention can at BBU and RRU by the process of IR interface communication, and the data stream separation that the data flow sent to RRU by BBU respectively and RRU send to BBU out, follow-uply can be analyzed the data flow of this both direction.
In the embodiment of the present invention, the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit can be isolated by optical splitter.
Optical splitter is a kind of passive device, and it does not need external energy, as long as there is input light.Optical splitter is made up of incident and exit slit, speculum and dispersion element, and its effect is separated by required resonance absorption line.Therefore, can by optical splitter data by after Optical Fiber Transmission by data Replica portion for monitoring.
Certainly, those skilled in the art can also adopt additive method to isolate the first data flow and the second data flow according to practical experience, and the embodiment of the present invention is not limited this.
Step 102, parses tcp data stream respectively from described first data flow and the second data flow.
After obtaining the first data flow and the second data flow, transmission control protocol (TransmissionControlProtocol can be parsed respectively from described first data flow and the second data flow, TCP) data flow, includes C & M message in described tcp data stream.Therefore by analyzing tcp data stream, required C & M message can be drawn.
It should be noted that, the embodiment of the present invention can parse tcp data stream respectively from the first data flow and the second data flow, and the tcp data stream namely obtained is also the tcp data stream of both direction, therefore can comprise the C & M message of both direction.
Step 104, parses effective control and management message from described tcp data stream.
C & M message in tcp data stream may some be effective C & M message, can carry out analyzing according to this part message, positioning problems debugging.Therefore, the effective C & M message in both direction can also be parsed in the embodiment of the present invention further from described tcp data stream.
For the detailed process of each step above-mentioned, will discuss in detail in the following embodiments.
In the process that the embodiment of the present invention can communicate with RF remote unit at Base Band Unit, isolate the first data flow that BBU sends to RRU and the second data flow that RRU sends to BBU, and can analyze the data flow of this both direction respectively, finally parse effective control and management message.Owing to which includes the control and management message of both direction, therefore, when showing that control and management message does not meet IR interface specification, by analyzing the control and management message of this both direction, specifically BBU side or problem has appearred in RRU side can be judged more exactly.
Embodiment two:
In the embodiment of the present invention two, be described in detail to the monitor method of IR Interface Controller and administrative messag.
With reference to Fig. 2, show the schematic diagram of the overall process of the monitor method of a kind of IR Interface Controller described in the embodiment of the present invention two and administrative messag.
As can be seen from Figure 2, the monitor method of the IR interface C & M message described in the embodiment of the present invention mainly can comprise following process: the abbreviation of the process of separate data streams, field programmable gate array (FieldProgrammableGateArray, FPGA), IP restructuring (IP is the agreement interconnected between English InternetProtocol(network)), TCP restructuring, C & M message parse and application interface represent.Below, respectively above-mentioned several process is described.
1, separate data streams
First, in the process of proper communication between BBU and RRU, the first data flow that BBU sends to RRU and the second data flow that RRU sends to BBU can be isolated by optical splitter.This process can step 100 in corresponding embodiment one.
For concrete separation process, those skilled in the art carry out relevant treatment according to practical experience, and the embodiment of the present invention is discussed no longer in detail at this.
2, FPGA process
After isolating the first data flow and the second data flow, IP packet can be obtained further from described first data flow and the second data flow.In the embodiment of the present invention, FPGA mainly completes the parsing of fiber-optic signal (i.e. the first data flow and the second data flow), obtains ether packet, and then drives acquisition IP packet by ether.
Therefore, the above-mentioned step (steps A) obtaining IP packet respectively from described first data flow and the second data flow can comprise:
A1, obtains the ether packet in control and management passage respectively from described first data flow and the second data flow by field programmable gate array;
A2, is driven by ether and extract IP packet from described ether packet.
For the concrete data handling procedure that above-mentioned FPGA and ether drive, those skilled in the art carry out relevant treatment according to practical experience, and the embodiment of the present invention is discussed no longer in detail at this.
3, IP restructuring
In the embodiment of the present invention, IP regrouping process mainly completes the restructuring to fragment data, restores the packet before burst, then gives TCP layer.
IP packet obtained above can comprise the IP packet of burst and the IP packet of non-burst.In the embodiment of the present invention, whether IP packet is that the IP packet of burst can be set by the size of this IP packet.Such as, can set be more than or equal to 1000 bytes IP packet as the IP packet of non-burst, the IP packet that setting is less than 1000 bytes is as the IP packet of burst, and the embodiment of the present invention is not limited this.
Wherein, each IP packet can comprise each self-corresponding IP address, port numbers and identification number, etc.IP restructuring can be carried out to the IP address of correspondence, port numbers and identification number to described IP packet according to described IP packet in this process, and obtain tcp data bag (step B) from the IP packet after restructuring.
As shown in Figure 3, be the schematic diagram of IP regrouping process described in the embodiment of the present invention two.As can be seen from the figure, the embodiment of the present invention can perform different operations for the IP packet of the IP packet of burst and non-burst.
Drive the IP packet obtained from ether, the IP packet of burst is not had will directly to carry out TCP restructuring process, the IP allocation of packets IP Buffer Pool of burst stores, described IP packet pool can comprise multiple IP and cushion chained list, can and be linked into independent IP according to the IP address of the IP data of burst, port numbers and identification number and cushion in chained list.Be linked into rear inspection IP packet whether complete, complete, deliver TCP restructuring process, otherwise continue to wait for new IP packet, time-out does not receive the burst that lacks then by the IP data packet discarding on whole IP chained list.
Concrete, above-mentioned steps B can comprise:
B1, extracts tcp data bag in the IP packet of direct never burst;
In the embodiment of the present invention, tcp data bag can be extracted in the IP packet of direct never burst, and carry out TCP regrouping process.
B2, divides the IP packet pool being used in storing IP packet;
For the IP packet of burst, first can divide the IP packet pool being used in storing IP packet, described IP packet pool can comprise multiple IP and cushion chained list, and each IP cushions chained list and comprises each self-corresponding IP address and port numbers.In Fig. 3, each burst passage can cushion chained list by a corresponding IP.
B3, is linked into the IP with the IP packet of described burst with identical IP address and port numbers by the IP packet of burst according to identification number order from small to large and cushions on chained list;
Each IP packet comprises an identification number, has ordinal relation between the identification number of each IP packet.Such as, the size of each IP packet is 100 bytes, then the identification number of first IP packet can be 1, and so the identification number of second IP packet is 101, the like, the identification number of the 3rd IP packet is 201, etc.
The embodiment of the present invention is when being linked into IP and cushioning on chained list by the IP packet of burst, be be linked into according to the identification number order from small to large of the IP packet of burst, and the IP packet of each burst be linked into the IP with the IP packet of described burst with identical IP address and port numbers and cushion on chained list.
B4, judges that each IP cushioned chained list and whether receive complete IP packet within the very first time of presetting;
B5, when receiving, cushioning from described IP in the IP packet chained list and extracting tcp data bag;
B6, when not receiving, abandons the IP packet on described IP buffering chained list.
Cushioning chained list for each IP, can judging whether the very first time presetting receives complete IP packet.As shown in Figure 3, following 3 kinds of situations can be comprised:
(1) order addition sequence arrives
This kind of situation shows within the described very first time, cushion chained list 1(and burst passage 1 with IP) the IP packet of the IP address burst identical with port numbers be arrive according to the order addition sequence of identification number, and within the described very first time, have received complete IP packet.Now, can cushion from IP in the IP packet chained list 1 and extract tcp data bag, and carry out TCP restructuring process.
(2) out of order arrival
This kind of situation shows within the described very first time, cushion chained list 2(and burst passage 2 with IP) the IP packet of the IP address burst identical with port numbers be not add according to the order of identification number completely, in this case, the IP packet of out of order arrival can be inserted corresponding position according to the order of identification number by IP restructuring automatically.
Such as, the identification number of first the IP packet received is 1, the identification number of second IP packet is 201, if so the identification number of the 3rd IP packet is 101, then can automatically by identification number be 101 IP packet be inserted into identification number be 1 and identification number be between the IP packet of 201.
If have received complete IP packet within the described very first time, now, can cushion from this IP in the IP packet chained list 2 and extract tcp data bag, and carry out TCP restructuring process.
(3) receive time-out
This kind of situation shows within the described very first time, does not receive complete to cushion chained list 3(and burst passage 3 with IP) the IP address IP packet identical with port numbers, now can abandon described IP and cushion IP packet on chained list 3.
For the situation of receive time-out, can be the situation that IP cushions the order addition sequence arrival on chained list 1, also can be the situation that IP cushions the out of order arrival on chained list 2, the embodiment of the present invention not be limited this.
Said method mainly judges according to the time, and such as, can arrange the described very first time is 1s, then can judge in 1s, whether receive complete IP packet.
Certainly, the embodiment of the present invention can also be judged by additive method.Such as according to burst number, concrete, can arrange burst number is 1000, then can judge in the IP packet of follow-up 1000 bursts, and IP cushions the IP packet whether chained list receives complete burst.
Can judge whether complete according to the size of IP packet in the embodiment of the present invention.Such as, can to pre-set size be the IP packet of 1000 bytes is a complete IP packet, if the size of the IP packet of each burst is 100 bytes, then can judge, when the size of the IP packet that IP cushions on chained list is 1000 byte (receiving the IP packet of 10 bursts), is and have received complete IP packet.
Certainly, can also judge that whether IP packet is complete by other means, the embodiment of the present invention is not limited this.
4, TCP restructuring
In the embodiment of the present invention, after obtain tcp data bag from above-mentioned IP restructuring, TCP layer mainly completes the restructuring to tcp data bag, and carries out the process of the data of losing, obtain tcp data stream to greatest extent, then carry out the process of C & M message parse.
Wherein, each tcp data handbag draws together each self-corresponding IP address, port numbers and identification number, etc.TCP restructuring can be carried out according to IP address corresponding to described tcp data bag, port numbers and identification number to described tcp data bag in this process, generate tcp data stream (step C).
As shown in Figure 4, be the schematic diagram of TCP regrouping process described in the embodiment of the present invention two.
Obtain tcp data bag from IP restructuring after, tcp data bag can be stored by distribution T CP packet pool, described TCP packet pool can comprise multiple TCP and cushion chained list, tcp data bag can be hung over corresponding TCP and cushion on chained list, and the benefit 0 completing obliterated data is filled.The tcp data recovered is banished in annular First Input First Output (FirstInputFirstOutput, FIFO) to follow-up C & M message parse process.
Concrete, above-mentioned steps C can comprise:
C1, divides the TCP packet pool being used in and storing tcp data bag;
For tcp data bag, first can divide the TCP packet pool being used in and storing tcp data bag, described TCP packet pool can comprise multiple TCP and cushion chained list, and each TCP cushions chained list and comprises each self-corresponding IP address and port numbers.In Fig. 4, each passage can cushion chained list by a corresponding TCP.
C2, is linked into the TCP with described tcp data bag with identical IP address and port numbers by described tcp data bag according to identification number order from small to large and cushions on chained list;
Each tcp data bag comprises an identification number, has ordinal relation between the identification number of each tcp data bag.Such as, the size of each tcp data bag is 100 bytes, then the identification number of first tcp data bag can be 1, and so the identification number of second tcp data bag is 101, the like, the identification number of the 3rd tcp data bag is 201, etc.
The embodiment of the present invention is when being linked into TCP and cushioning on chained list by tcp data bag, be be linked into according to the identification number order from small to large of tcp data bag, and each tcp data bag be linked into the TCP with described tcp data bag with identical IP address and port numbers and cushion on chained list.
C3, judges that each TCP cushioned chained list and whether receive continuous print tcp data bag within second time of presetting;
C4, when receiving, using the tcp data bag on described TCP buffering chained list as tcp data stream;
C5, when not receiving, fills unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list is as tcp data stream.
Cushioning chained list for each TCP, can judging whether the second time presetting receives continuous print tcp data bag.As shown in Figure 4, following 3 kinds of situations can be comprised:
(i) order addition sequence arrives
This kind of situation shows within described second time, cushion chained list 1(and passage 1 with TCP) the IP address tcp data bag identical with port numbers be arrive according to the order addition sequence of identification number, and have received continuous print tcp data bag within described second time.Now, using the tcp data bag on described TCP buffering chained list 1 as tcp data stream, and the process of C & M message parse can be carried out.
(ii) out of order arrival
This kind of situation shows within described second time, cushion chained list 2(and passage 2 with TCP) the IP address tcp data bag identical with port numbers be not add according to the order of identification number completely, in this case, the tcp data bag of out of order arrival can be inserted corresponding position according to the order of identification number by TCP restructuring automatically.
Such as, the identification number of first the tcp data bag received is 1, the identification number of second tcp data bag is 201, if so the identification number of the 3rd tcp data bag is 101, then can automatically by identification number be 101 tcp data bag be inserted into identification number be 1 and identification number be between the tcp data bag of 201.
If the tcp data bag that have received within described second time is continuous print, now, by the tcp data bag on described TCP buffering chained list 2 as tcp data stream, and the process of C & M message parse is carried out.
(iii) receive time-out
This kind of situation shows within described second time, do not receive continuous print and cushion chained list 3(and passage 3 with TCP) the IP address tcp data bag identical with port numbers, now can fill unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list 3 is as tcp data stream.
In the embodiment of the present invention, after adding new tcp data bag, can check whether continuously this TCP cushions the identification number of the tcp data bag on chained list at every turn, if continuously, then can illustrate that this TCP cushions chained list and have received continuous print tcp data bag.
Such as, the identification number of the TCP within the second time, TCP buffering chained list 1 received is followed successively by 1 and 101, be then continuous print tcp data bag; The identification number of the TCP within the second time, TCP buffering chained list 2 received is followed successively by 1,101 and 201, and wherein, 101 receive after receiving 201, then TCP restructuring will be inserted between 1 and 201 automatically, is therefore also continuous print tcp data bag; The identification number of the TCP within the second time, TCP buffering chained list 3 received is followed successively by 1,101 and 301, but within the second time, do not receive complete 201, now namely can supplement unreceived tcp data bag 201 with 0, and this tcp data bag 201 is inserted between 101 and 301.
It should be noted that, if in the process of above-mentioned IP restructuring and TCP restructuring, the IP packet of some bursts is when being linked into IP and cushioning chained list, or when some tcp datas wrap in and are linked into TCP buffering chained list, IP cushion IP address that chained list or TCP cushion chained list and identification number all from the IP packet of this burst or the IP address of tcp data bag different with identification number, then IP packet pool or TCP packet pool can generate with the IP packet of this burst or the IP address of the tcp data bag IP identical with identification number cushions chained list or TCP cushions chained list automatically.
Above-mentioned steps A, step B and step C can correspond to the step 102 in embodiment one.
5, C & M message parse
After getting tcp data stream, effective C & M message can be parsed from described tcp data stream.The embodiment of the present invention monitors C & M message, can not ensure in the listen mode to receive complete tcp data stream, and therefore, the embodiment of the present invention can obtain C & M message from incomplete tcp data stream.
The embodiment of the present invention can detect for heartbeat frame.The frame-skipping of C & M message center is one and compares the frame having feature, frame number 171 or 181, and length is definite value--0x0000000F.Can the frame head of preliminary judgement heartbeat frame according to these 8 continuous print bytes.After judgement frame head, check according to the form of C & M message, if correctly this message is sent to application interface.If discovery mistake, then think and again enter the state that heartbeat frame detects by synchronization loss.
Concrete, the described step parsing effective C & M message from described tcp data stream can comprise:
D1, extracts initial control and management message from described tcp data stream;
In the embodiment of the present invention, first can extract initial C & M message from above-mentioned tcp data stream, more initial C & M message be detected afterwards, parse wherein effective C & M message.
D2, detects heartbeat frame from described initial control and management message;
D3, judges that whether the form of the Frame after described heartbeat frame is correct;
D4, when correct, is defined as effective control and management message by described Frame;
D5, when incorrect, continues to detect heartbeat frame from described initial control and management message.
In the embodiment of the present invention, can detect according to the structure of C & M message, as shown in Figure 5, be the structural representation of C & M message.Concrete analytic method can with reference to Fig. 6, and described resolving can comprise:
Step 601, waits for heartbeat frame number 171 or 181 state;
First, can detect in described initial control and management message whether receive heartbeat frame number (namely 171 or 181), if receive described heartbeat frame number, then perform step 602.
Step 602, waits for heartbeat frame regular length state.
When receiving heartbeat frame number, can detect further and whether receiving heartbeat frame regular length (i.e. 0x0000000F), if receive heartbeat frame regular length, then can determine that frame corresponding to described frame number is heartbeat frame, and perform step 603.
Above-mentioned steps 601-step 602 can detect the process of heartbeat frame in corresponding d2 from described initial control and management message.
After detecting heartbeat frame, can be judged the form whether correct (d4) of the Frame after described heartbeat frame by step 603-step 611, this deterministic process is the judgement that the structure according to Fig. 5 is carried out.
Step 603, waits for frame number state.
This step mainly detects the frame number whether receiving correct Frame after described heartbeat frame.If receive the frame number of correct Frame, then step 604 can be performed; If the frame number received incorrect (such as frame number is not in normal range (NR)), then can determine that the form of this Frame is incorrect, and return step 601.
Step 604, waits for length condition.
If receive the length of Frame, then perform step 605, otherwise continue to wait for.
Step 605, waits for RRUID state.
If receive RRUID, then perform step 606, otherwise continue to wait for.
Step 606, waits for BBUID state.
If receive BBUID, then perform step 607, otherwise continue to wait for.
Step 607, waits for light slogan state.
If receive light slogan, then perform step 608, otherwise continue to wait for.
Step 608, waits for serial number state.
If receive serial number, then perform step 609, otherwise continue to wait for.
Step 609, waits for IE flag states.
When receiving the frame number of correct Frame, detect length, RRUID and BBUID and the light slogan and serial number that whether receive Frame successively.When receiving the length of Frame, RRUID and BBUID and light slogan and serial number successively, can detect and whether receive correct IE mark.
If receive correct IE mark, then step 610 can be performed; If IE mark incorrect (such as IE mark is not in normal range (NR)) received, then can determine that the form of this Frame is incorrect, and return step 601.
Step 610, waits for IE length condition.
When receiving correct IE mark, can detect further and whether receiving correct IE length.If receive correct IE length, then step 611 can be performed; If the IE length received incorrect (such as IE length is not in normal range (NR)), then can determine that the form of this Frame is incorrect, and return step 601.
Step 611, waits for IE data mode.
When receiving correct IE length, IE data mode can be waited for, and compare the length of IE length and Frame.
As can be seen from Figure 5, n IE can be comprised in each Frame.When IE length is less than the length of Frame, step 609 can be returned and detect next IE; When IE length equals the length of Frame (all IE have all detected, and the length of last IE just in time equals the length of Frame), determine that the form of described Frame is correct, and return step 603 and detect next Frame; When IE length is greater than the length of Frame, can determines that the form of described Frame is incorrect, and return step 601.
For each normal range (NR) above-mentioned, those skilled in the art can carry out relevant treatment according to practical experience, and the embodiment of the present invention is not limited concrete numerical value.
6, application interface represents
For the Frame that the form detected is correct, effective control and management message can be defined as, and be supplied to application interface and represent.In application interface, C & M message can be represented very intuitively, and, if find to occur mistake, then can carry out alarm prompt.
Such as, if it is B that BBU sends to the message of RRU to be the message that A, RRU should return to BBU, and the actual message returned is C, now namely occurs mistake, can carry out alarm.Further, can judge it is RRU side existing problems according to the C & M message monitored, therefore can safeguard RRU.
Finally, it should be noted that, above-mentioned ether packet, IP packet, tcp data bag and C & M message obtain respectively from the first data flow and the second data flow, and they have included the data of both direction.Because the processing procedure of the data for both direction is identical, the embodiment of the present invention is just introduced from entirety, but should be actually and carry out above-mentioned various process to the data of both direction respectively by distinct its.
In the process that the embodiment of the present invention can communicate at BBU with RRU, isolate the C & M message of both direction, by analyzing the C & M message of this both direction, the problem of BBU and RRU in communication process can be judged more exactly.
Embodiment three:
With reference to Fig. 7, show the structured flowchart of the monitoring system of a kind of IR Interface Controller described in the embodiment of the present invention three and administrative messag, described system can comprise: separation module 700, parsing of the data stream module 702 and message resolution module 704.
Wherein,
Separation module 700, in the process that communicates with RF remote unit at Base Band Unit, isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit;
Described separation module 700 can isolate the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit by optical splitter.
Parsing of the data stream module 702, for parsing tcp data stream respectively from described first data flow and the second data flow;
Described parsing of the data stream module 702 can comprise:
IP packet obtains submodule, for obtaining IP packet respectively from described first data flow and the second data flow;
Tcp data bag obtains submodule, for carrying out IP restructuring to described IP packet, from the IP packet after restructuring, obtains tcp data bag;
Generating submodule, for carrying out TCP restructuring to described tcp data bag, generating tcp data stream.
Wherein, described IP packet acquisition submodule can comprise:
Ether packet obtains subelement, for being obtained the ether packet in control and management passage respectively from described first data flow and the second data flow by field programmable gate array;
IP packet extracts subelement, extracts IP packet for being driven by ether from described ether packet.
Described IP packet comprises the IP packet of burst and the IP packet of non-burst, and each IP packet comprises each self-corresponding IP address, port numbers and identification number.
Described tcp data bag obtains submodule and can comprise:
Extracting directly subelement, extracts tcp data bag in the IP packet for direct never burst;
IP packet pool distributes subelement, for dividing the IP packet pool being used in storing IP packet; Described IP packet pool comprises multiple IP and cushions chained list, and each IP cushions chained list and comprises each self-corresponding IP address and port numbers;
IP packet is linked into subelement, cushions chained list for the IP packet of burst is linked into the IP with the IP packet of described burst with identical IP address and port numbers according to identification number order from small to large;
The complete judgment sub-unit of IP, for judging that each IP cushioned chained list and whether receive complete IP packet within the very first time of presetting;
First process subelement, for when the judged result of the complete judgment sub-unit of IP is for receiving, cushions from described IP in the IP packet chained list and extracting tcp data bag; When the judged result of the complete judgment sub-unit of IP is not for receiving, abandon the IP packet on described IP buffering chained list.
Each tcp data handbag draws together each self-corresponding IP address, port numbers and identification number.
Described generation submodule can comprise:
TCP packet pool distributes subelement, for dividing the TCP packet pool being used in and storing tcp data bag; Described TCP packet pool comprises multiple TCP and cushions chained list, and each TCP cushions chained list and comprises each self-corresponding IP address and port numbers;
Tcp data bag is linked into subelement, cushions chained list for described tcp data bag is linked into the TCP with described tcp data bag with identical IP address and port numbers according to identification number order from small to large;
The continuous judgment sub-unit of TCP, for judging that each TCP cushioned chained list and whether receive continuous print tcp data bag within second time of presetting;
Second process subelement, for when the judged result of the continuous judgment sub-unit of TCP is for receiving, using the tcp data bag on described TCP buffering chained list as tcp data stream; When the judged result of the continuous judgment sub-unit of TCP is not for receiving, fill unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list is as tcp data stream.
Message resolution module 704, for parsing effective control and management message from described tcp data stream.
Described message resolution module 704 can comprise:
Initial message extracts submodule, for extracting initial control and management message from described tcp data stream;
Heartbeat frame detection sub-module, for detecting heartbeat frame from described initial control and management message;
Whether form judges submodule, correct for judging the form of the Frame after described heartbeat frame;
Efficient message determination submodule, during for judging that when form the judged result of submodule is correct, is defined as effective control and management message by described Frame;
When described heartbeat frame detection sub-module is also for judging that when form the judged result of submodule is incorrect, continue to detect heartbeat frame from described initial control and management message.
Wherein, described heartbeat frame detection sub-module can comprise:
First numbering detection sub-unit, for detecting in described initial control and management message whether receive heartbeat frame number;
Length detection subelement, for when the testing result of numbering detection sub-unit is for receiving heartbeat frame number, detects whether receive heartbeat frame regular length;
Heartbeat frame determination subelement, for when the testing result of length detection subelement is for receiving heartbeat frame regular length, determines that frame corresponding to described frame number is heartbeat frame.
Described form judges that submodule can comprise:
Second numbering detection sub-unit, for detecting the frame number whether receiving correct Frame after described heartbeat frame;
Detection sub-unit successively, for when the testing result of the second numbering detection sub-unit is the frame number receiving correct Frame, detects length, RRUID and BBUID and the light slogan and serial number that whether receive Frame successively;
IE Mark Detection subelement, for being, when receiving the length of Frame, RRUID and BBUID and light slogan and serial number successively, detect and whether receive correct IE mark when the testing result of detection sub-unit successively;
IE length detection subelement, for being, when receiving correct IE mark, detect whether receive correct IE length when the testing result of IE Mark Detection subelement;
Relatively subelement, for being when receiving correct IE length when the testing result of IE length detection subelement, waiting for IE data mode, and comparing the length of IE length and Frame;
Form determination subelement, for when IE length equals the length of Frame, determines that the form of described Frame is correct; When the frame number of Frame is incorrect, or IE mark is incorrect, or IE length is incorrect, or when IE length is greater than the length of Frame, determines that the form of described Frame is incorrect.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
In the process that the embodiment of the present invention can communicate at BBU with RRU, isolate the first data flow that BBU sends to RRU and the second data flow that RRU sends to BBU, and can analyze the data flow of this both direction respectively, finally parse effective control and management message.Owing to which includes the control and management message of both direction, therefore, when showing that control and management message does not meet IR interface specification, by analyzing the control and management message of this both direction, specifically BBU side or problem has appearred in RRU side can be judged more exactly.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
The embodiment of the present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
Above to monitor method and the system of a kind of IR Interface Controller provided by the present invention and administrative messag, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. a monitor method for IR Interface Controller and administrative messag, is characterized in that, comprising:
In the process that Base Band Unit communicates with RF remote unit, isolate the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit;
Tcp data stream is parsed respectively from described first data flow and the second data flow;
Effective control and management message is parsed from described tcp data stream;
Wherein, describedly from described tcp data stream, parse effective control and management message, comprising:
Initial control and management message is extracted from described tcp data stream;
Heartbeat frame is detected from described initial control and management message;
Judge that whether the form of the Frame after described heartbeat frame is correct;
When correct, described Frame is defined as effective control and management message;
When incorrect, continue to detect heartbeat frame from described initial control and management message.
2. method according to claim 1, is characterized in that, isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit by optical splitter.
3. method according to claim 1, is characterized in that, describedly from described initial control and management message, detects heartbeat frame, comprising:
Detect in described initial control and management message and whether receive heartbeat frame number;
When receiving heartbeat frame number, detect whether receive heartbeat frame regular length;
When receiving heartbeat frame regular length, determine that frame corresponding to described frame number is heartbeat frame.
4. method according to claim 1, is characterized in that, describedly judges that whether the form of the Frame after described heartbeat frame is correct, comprising:
Detect the frame number whether receiving correct Frame after described heartbeat frame;
When receiving the frame number of correct Frame, detect length, RRUID and BBUID and the light slogan and serial number that whether receive Frame successively;
When receiving the length of Frame, RRUID and BBUID and light slogan and serial number successively, detecting and whether receiving correct IE mark;
When receiving correct IE mark, detect whether receive correct IE length;
When receiving correct IE length, waiting for IE data mode, and comparing the length of IE length and Frame;
When IE length equals the length of Frame, determine that the form of described Frame is correct;
When the frame number of Frame is incorrect, or IE mark is incorrect, or IE length is incorrect, or when IE length is greater than the length of Frame, determines that the form of described Frame is incorrect.
5. method according to claim 1, is characterized in that, describedly from the first data flow and the second data flow, parses tcp data stream respectively, comprising:
IP packet is obtained respectively from described first data flow and the second data flow;
IP restructuring is carried out to described IP packet, from the IP packet after restructuring, obtains tcp data bag;
TCP restructuring is carried out to described tcp data bag, generates tcp data stream.
6. method according to claim 5, is characterized in that, describedly from described first data flow and the second data flow, obtains IP packet respectively, comprising:
From described first data flow and the second data flow, the ether packet in control and management passage is obtained respectively by field programmable gate array;
Driven by ether and extract IP packet from described ether packet.
7. method according to claim 5, is characterized in that, described IP packet comprises the IP packet of burst and the IP packet of non-burst, and each IP packet comprises each self-corresponding IP address, port numbers and identification number,
Described IP restructuring is carried out to described IP packet, from the IP packet after restructuring, obtains tcp data bag, comprising:
Tcp data bag is extracted in the IP packet of direct never burst;
Divide the IP packet pool being used in storing IP packet; Described IP packet pool comprises multiple IP and cushions chained list, and each IP cushions chained list and comprises each self-corresponding IP address and port numbers;
The IP packet of burst is linked into the IP with the IP packet of described burst with identical IP address and port numbers according to identification number order from small to large to be cushioned on chained list;
Judge that each IP cushioned chained list and whether receive complete IP packet within the very first time of presetting;
When receiving, cushioning from described IP in the IP packet chained list and extracting tcp data bag;
When not receiving, abandon the IP packet on described IP buffering chained list.
8. method according to claim 5, is characterized in that, each tcp data handbag draws together each self-corresponding IP address, port numbers and identification number,
Described TCP restructuring is carried out to described tcp data bag, generates tcp data stream, comprising:
Divide the TCP packet pool being used in and storing tcp data bag; Described TCP packet pool comprises multiple TCP and cushions chained list, and each TCP cushions chained list and comprises each self-corresponding IP address and port numbers;
Described tcp data bag is linked into the TCP with described tcp data bag with identical IP address and port numbers according to identification number order from small to large to be cushioned on chained list;
Judge that each TCP cushioned chained list and whether receive continuous print tcp data bag within second time of presetting;
When receiving, using the tcp data bag on described TCP buffering chained list as tcp data stream;
When not receiving, fill unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list is as tcp data stream.
9. a monitoring system for IR Interface Controller and administrative messag, is characterized in that, comprising:
Separation module, in the process that communicates with RF remote unit at Base Band Unit, isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit;
Parsing of the data stream module, for parsing tcp data stream respectively from described first data flow and the second data flow;
Message resolution module, for parsing effective control and management message from described tcp data stream;
Wherein, described message resolution module comprises:
Initial message extracts submodule, for extracting initial control and management message from described tcp data stream;
Heartbeat frame detection sub-module, for detecting heartbeat frame from described initial control and management message;
Whether form judges submodule, correct for judging the form of the Frame after described heartbeat frame;
Efficient message determination submodule, during for judging that when form the judged result of submodule is correct, is defined as effective control and management message by described Frame;
When described heartbeat frame detection sub-module is also for judging that when form the judged result of submodule is incorrect, continue to detect heartbeat frame from described initial control and management message.
10. system according to claim 9, is characterized in that, described separation module isolates the first data flow that Base Band Unit sends to RF remote unit and the second data flow that RF remote unit sends to Base Band Unit by optical splitter.
11. systems according to claim 9, is characterized in that, described heartbeat frame detection sub-module comprises:
First numbering detection sub-unit, for detecting in described initial control and management message whether receive heartbeat frame number;
Length detection subelement, for when the testing result of numbering detection sub-unit is for receiving heartbeat frame number, detects whether receive heartbeat frame regular length;
Heartbeat frame determination subelement, for when the testing result of length detection subelement is for receiving heartbeat frame regular length, determines that frame corresponding to described frame number is heartbeat frame.
12. systems according to claim 9, is characterized in that, described form judges that submodule comprises:
Second numbering detection sub-unit, for detecting the frame number whether receiving correct Frame after described heartbeat frame;
Detection sub-unit successively, for when the testing result of the second numbering detection sub-unit is the frame number receiving correct Frame, detects length, RRUID and BBUID and the light slogan and serial number that whether receive Frame successively;
IE Mark Detection subelement, for being, when receiving the length of Frame, RRUID and BBUID and light slogan and serial number successively, detect and whether receive correct IE mark when the testing result of detection sub-unit successively;
IE length detection subelement, for being, when receiving correct IE mark, detect whether receive correct IE length when the testing result of IE Mark Detection subelement;
Relatively subelement, for being when receiving correct IE length when the testing result of IE length detection subelement, waiting for IE data mode, and comparing the length of IE length and Frame;
Form determination subelement, for when IE length equals the length of Frame, determines that the form of described Frame is correct; When the frame number of Frame is incorrect, or IE mark is incorrect, or IE length is incorrect, or when IE length is greater than the length of Frame, determines that the form of described Frame is incorrect.
13. systems according to claim 9, is characterized in that, described parsing of the data stream module comprises:
IP packet obtains submodule, for obtaining IP packet respectively from described first data flow and the second data flow;
Tcp data bag obtains submodule, for carrying out IP restructuring to described IP packet, from the IP packet after restructuring, obtains tcp data bag;
Generating submodule, for carrying out TCP restructuring to described tcp data bag, generating tcp data stream.
14. systems according to claim 13, is characterized in that, described IP packet obtains submodule and comprises:
Ether packet obtains subelement, for being obtained the ether packet in control and management passage respectively from described first data flow and the second data flow by field programmable gate array;
IP packet extracts subelement, extracts IP packet for being driven by ether from described ether packet.
15. systems according to claim 13, is characterized in that, described IP packet comprises the IP packet of burst and the IP packet of non-burst, and each IP packet comprises each self-corresponding IP address, port numbers and identification number,
Described tcp data bag obtains submodule and comprises:
Extracting directly subelement, extracts tcp data bag in the IP packet for direct never burst;
IP packet pool distributes subelement, for dividing the IP packet pool being used in storing IP packet; Described IP packet pool comprises multiple IP and cushions chained list, and each IP cushions chained list and comprises each self-corresponding IP address and port numbers;
IP packet is linked into subelement, cushions chained list for the IP packet of burst is linked into the IP with the IP packet of described burst with identical IP address and port numbers according to identification number order from small to large;
The complete judgment sub-unit of IP, for judging that each IP cushioned chained list and whether receive complete IP packet within the very first time of presetting;
First process subelement, for when the judged result of the complete judgment sub-unit of IP is for receiving, cushions from described IP in the IP packet chained list and extracting tcp data bag; When the judged result of the complete judgment sub-unit of IP is not for receiving, abandon the IP packet on described IP buffering chained list.
16. systems according to claim 13, is characterized in that, each tcp data handbag draws together each self-corresponding IP address, port numbers and identification number,
Described generation submodule comprises:
TCP packet pool distributes subelement, for dividing the TCP packet pool being used in and storing tcp data bag; Described TCP packet pool comprises multiple TCP and cushions chained list, and each TCP cushions chained list and comprises each self-corresponding IP address and port numbers;
Tcp data bag is linked into subelement, cushions chained list for described tcp data bag is linked into the TCP with described tcp data bag with identical IP address and port numbers according to identification number order from small to large;
The continuous judgment sub-unit of TCP, for judging that each TCP cushioned chained list and whether receive continuous print tcp data bag within second time of presetting;
Second process subelement, for when the judged result of the continuous judgment sub-unit of TCP is for receiving, using the tcp data bag on described TCP buffering chained list as tcp data stream; When the judged result of the continuous judgment sub-unit of TCP is not for receiving, fill unreceived tcp data bag by spot patch, and the tcp data bag cushioned by described TCP on chained list is as tcp data stream.
CN201310056580.1A 2013-02-22 2013-02-22 The monitor method of a kind of IR Interface Controller and administrative messag and system Active CN103152766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310056580.1A CN103152766B (en) 2013-02-22 2013-02-22 The monitor method of a kind of IR Interface Controller and administrative messag and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310056580.1A CN103152766B (en) 2013-02-22 2013-02-22 The monitor method of a kind of IR Interface Controller and administrative messag and system

Publications (2)

Publication Number Publication Date
CN103152766A CN103152766A (en) 2013-06-12
CN103152766B true CN103152766B (en) 2016-01-20

Family

ID=48550581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310056580.1A Active CN103152766B (en) 2013-02-22 2013-02-22 The monitor method of a kind of IR Interface Controller and administrative messag and system

Country Status (1)

Country Link
CN (1) CN103152766B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204371B (en) * 2022-12-13 2023-11-24 远峰科技股份有限公司 Monitoring method and device for camera image data stream

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004159016A (en) * 2002-11-05 2004-06-03 Ntt Docomo Inc Mobile communication system, radio control apparatus, base station, and communication method
CN101184280A (en) * 2007-12-14 2008-05-21 中兴通讯股份有限公司 Method of obtaining ID of radio frequency unit
CN101436896A (en) * 2007-11-13 2009-05-20 中兴通讯股份有限公司 IQ data transmission method of radio frequency zooming unit
CN101557597A (en) * 2009-05-21 2009-10-14 华为技术有限公司 Multimode converging and combining method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004159016A (en) * 2002-11-05 2004-06-03 Ntt Docomo Inc Mobile communication system, radio control apparatus, base station, and communication method
CN101436896A (en) * 2007-11-13 2009-05-20 中兴通讯股份有限公司 IQ data transmission method of radio frequency zooming unit
CN101184280A (en) * 2007-12-14 2008-05-21 中兴通讯股份有限公司 Method of obtaining ID of radio frequency unit
CN101557597A (en) * 2009-05-21 2009-10-14 华为技术有限公司 Multimode converging and combining method and device thereof

Also Published As

Publication number Publication date
CN103152766A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN112134653B (en) OAM message transmission method, transmission equipment and storage medium
CN109714221B (en) Method, device and system for determining network data packet
US9460035B2 (en) Method for operating a slave node of a digital bus system
CN107547300B (en) Network quality detection method and device
KR20130021652A (en) Interface apparatus and method for converting a plurality of different vehicles diagnosis protocol to standard diagnosis protocol
EP3605881A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN105162646A (en) Multi-protocol interface test system and method
US20200012545A1 (en) Event to serverless function workflow instance mapping mechanism
CN101873235A (en) Detection method of equipment network link, network management system and network system
CN101540772A (en) DPI (deep packet inspection) equipment and communication method thereof
CN103152766B (en) The monitor method of a kind of IR Interface Controller and administrative messag and system
EP2923461A1 (en) Device and method for retransmitting data in a network switch
CN105915377A (en) Flume and Spark streaming integration method and system
CN101667953B (en) Reporting method of rapid looped network physical link state and device therefor
US9781010B2 (en) Managing remote devices
JP2011129121A (en) Apparatus and system for integrally managing static analysis tool
US20140044138A1 (en) Dynamic link adjustment method and link managing device
CN103368786A (en) Test method and test device of controller area network bus data
US20140136905A1 (en) Methods for Testing Network Circuitry
CN110855530B (en) Method for assisting detection of RS232 serial interface communication link
CN107707492B (en) Method and device for reporting and issuing message
CN107992752A (en) A kind of data processing method, device and computer equipment
CN102209009A (en) Framing method and device of dynamic rate data service
CN107547232B (en) Network element equipment and transmission mode configuration device and method thereof
CN104427378A (en) Multi-type-service data stream transmission device

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