CN102447738A - Method and device for realizing remote debugging of base station - Google Patents

Method and device for realizing remote debugging of base station Download PDF

Info

Publication number
CN102447738A
CN102447738A CN2011103668548A CN201110366854A CN102447738A CN 102447738 A CN102447738 A CN 102447738A CN 2011103668548 A CN2011103668548 A CN 2011103668548A CN 201110366854 A CN201110366854 A CN 201110366854A CN 102447738 A CN102447738 A CN 102447738A
Authority
CN
China
Prior art keywords
address
message
office terminal
ftp
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103668548A
Other languages
Chinese (zh)
Other versions
CN102447738B (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 CN201110366854.8A priority Critical patent/CN102447738B/en
Publication of CN102447738A publication Critical patent/CN102447738A/en
Application granted granted Critical
Publication of CN102447738B publication Critical patent/CN102447738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of communication, discloses a method and device for realizing remote debugging of a base station, and aims to reduce the complexity of base station debugging so as to improve the debugging efficiency. The method comprises the steps as follows: a network control module in the base station receives a message instructing base station debugging and sent by a management terminal and acquires IP address of the management terminal, IP address of a public network of the base station, and the port number identifying a debugging object uniquely; the network control module acquires IP address of a processor of a preset debugging object corresponding to the port number and acquires self IP address; and the network control module establishes a data channel between the management terminal and the debugging object and adopts the data channel to realize data transmission for debugging operation and between the management terminal and the debugging object based on acquired information. Therefore, the capability that a remote PC is connected with and debugs a plurality of base stations and a plurality of broad processors is provided under the condition that the processors are not required to be switched through a main control panel, the operation complexity of remote debugging of the base station is reduced, and the debugging efficiency is improved effectively.

Description

A kind of method and device of realizing base station remote debugging
Technical field
The present invention relates to a kind of communications field, particularly a kind of method and device of realizing base station remote debugging.
Background technology
In the debugging base station process, except using LMT-B (Local Maintenance Terminal-Node B, LMT Local Maintenance Terminal) base station is configured and controls the base station, the debug function that need use the base station to provide sometimes realizes the location and deals with problems.Can use the console function of base station integrated circuit board, abundant accent to survey interface function during near-end debugging base station and carry out the file transmitting function of file transfer with the base station integrated circuit board.Usually, on the integrated circuit board control desk, can receive the Debugging message of each task, and can call test function.Transfer the survey interface that various adjusting, measuring methods are provided, comprise task management, mutual exclusion lock management, internal memory pool managing or the like.File transmitting function makes version that the user can updated at any time integrated circuit board software and the journal file that obtains integrated circuit board.
In research and development and product test stage, the LMT debugging interface that connects the base station at near-end can be realized debugging and location to the base station easily, because can be connected directly to master control borad, baseband board and the RRU (Remote Radio Unit) in the base station this moment.But at TD-LTE (TD-SCDMA Long Term Evolution; The TD-SCDMA Long Term Evolution) in the network environment; The office terminal is often geographically far apart with the base station; The LMT debugging interface can't be directly connected, and only can be mutual, thereby the master control borad of base station can only be connected to through S1 mouth and base station.For example, consult shown in Figure 1ly, under the prior art, long-range PC (being the office terminal) can be connected directly to master control borad through the network control module of inside of base station, handles if long-range connection baseband board and RRU then need master control borad to do transfer.
This shows, under the prior art, for console function,, then need first long-range connection master control borad, and then sign in to corresponding integrated circuit board and debug if long-range PC needs baseband board or RRU in the long-range connection base station to use its console function; For transferring the survey interface function, need be through surveying interface to be redirected to transfer to redirected debug command of master control borad input; For file transmitting function; File transfer is through NFS (Network File System; NFS) shares and realize; Promptly must transfer the file to earlier on the master control borad and transfer to corresponding integrated circuit board by master control borad again, and obtain file by master control borad from integrated circuit board earlier, the office terminal obtains file from master control borad again.
In sum, under the prior art, when remote debugging being carried out in the base station through long-range PC; All operations all need pass through the master control borad transfer and could realize, this is very inconvenient in operation for the tester; Because interior at one time integrated circuit board of debugging that only allows of this remote debugging means; On different integrated circuit boards, operate if desired, just must on different integrated circuit boards, switch back and forth through aforementioned manner, this has not only increased the complexity of debugging flow process; Also reduce the execution efficient of debugging flow process, and increased the possibility of operating mistake in the debug process greatly.
Summary of the invention
The embodiment of the invention provides a kind of method and device of realizing base station remote debugging, in order to the complexity of reduction base station debugging, and improves debugging efficiency.
The concrete technical scheme that the embodiment of the invention provides is following:
A kind of method that realizes base station remote debugging comprises:
The message of base station debugging is carried out in the indication that send at network control module receiving management terminal in the base station, and obtains IP address, office terminal, base station public network IP address and in order to the port numbers of unique identification debugger object through this message;
Said network control module obtains the processor IP address of the preset said debugger object of corresponding said port numbers, and the IP address that obtains self;
Said network control module is set up data tunnel between said office terminal and debugger object; And, adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object.
A kind of device of realizing base station remote debugging comprises:
Integrated circuit board is used to accomplish the application function of setting, and each piece integrated circuit board is provided with at least one processor as debugger object;
Network control module; Be used for that the receiving management terminal sends in order to carry out the message of base station debugging; Obtain IP address, office terminal, base station public network IP address and in order to the port numbers of unique identification debugger object through this message; And the processor IP address and network control module IP address originally that obtain the preset said debugger object of corresponding said port numbers; And between said office terminal and debugger object, set up data tunnel; And, adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object.
In the embodiment of the invention; Source IP address and purpose IP address that the message that receives is revised through the network control module of inside in the base station, like this, just under the prerequisite that separates the inside and outside network; Guaranteed that internal network does not receive ectocine; Also guaranteed simultaneously the proper communication of remote debugging data, thereby the ability that provides long-range PC to connect and debug a plurality of integrated circuit board processors in a plurality of base stations under need not the situation through the master control borad handoff processor has reduced the complicated operation degree of base station remote debugging; Reduce the operating mistake rate, improved debugging efficiency effectively.
Description of drawings
Fig. 1 is the annexation sketch map between prior art and embodiment of the invention medium-long range PC and the base station;
Fig. 2 A is first kind of network control module illustrative view of functional configuration in the embodiment of the invention;
Fig. 2 B is second kind of network control module illustrative view of functional configuration in the embodiment of the invention;
Fig. 3 realizes base station remote debugging flow chart through network control module in the embodiment of the invention.
Embodiment
The base station is being carried out in the process of remote debugging, in order to reduce the debugging complexity, and improving debugging efficiency; In the embodiment of the invention, can implement in order to guarantee technical scheme, preferable; Will guarantee at first in the system that transmission resource of base station can use, and long-range office terminal (below be called long-range PC) can long-range connection base station, secondly; Can connect different integrated circuit board processors simultaneously respectively by a plurality of long-range PC, different long-range PC can connect different processors, for example; The integrated circuit board processor 1 that long-range PC 1 connects on the baseband board, long-range PC2 connects the integrated circuit board processor 2 on the baseband board, and long-range PC3 connects the integrated circuit board processor 3...... on the RRU; And between each long-range PC and the corresponding integrated circuit board processor, can not handle through the transfer of master control borad, but realize direct communication through the message address conversion operations of network control module.
Be elaborated below in conjunction with the preferred embodiment of the present invention.
Consult shown in Figure 1ly, in the embodiment of the invention, be provided with network control module and some integrated circuit boards in the base station, wherein, it is multiple that integrated circuit board has kind to have, and can be master control borad, can be baseband board, also can be RRU; Wherein,
Integrated circuit board is used to accomplish the application function of setting, and each piece integrated circuit board is provided with at least one processor as debugger object;
In the subsequent implementation example, only be that baseband board is that example is introduced with the integrated circuit board.
Network control module; Be used for that receiving remote PC sends in order to carry out the message of base station debugging; Obtain IP address, office terminal, base station public network IP address and in order to the port numbers of unique identification debugger object through this message; And obtain the processor IP address of should port numbers preset debugger object and this network control module IP address; And between office terminal and debugger object, set up data tunnel, and, adopt the data tunnel of having set up to realize the transfer of data that is used for debugging operations between office terminal and the debugger object based on the processor IP address and its own IP address of the IP address, office terminal that obtains, base station public network IP address, debugger object.
Consult shown in Fig. 2 A and Fig. 2 B, the network control module set inside has network processes submodule and protocol analysis submodule, wherein,
The network processes submodule; Be used for the message that receiving remote PC sends, when this message is the IP message, directly this IP message resolved; Port numbers with the IP address, office terminal, base station public network IP address and the debugger object that obtain long-range PC; And when message was the FTP message, forwarding it to the protocol analysis submodule carried out dissection process, and received the analysis result that the protocol analysis submodule returns;
Accordingly; The network processes submodule also can receive the message that debugger object returns, in like manner, and when this message is the IP message; The network processes submodule can directly be resolved this IP message; And when message was the FTP message, forwarding it to the protocol analysis submodule carried out dissection process, and received the analysis result that the protocol analysis submodule returns.
The protocol analysis submodule; Be used for FTP message through network processes submodule receiving remote PC transmission; And this FTP message resolved, obtaining IP address, office terminal, base station public network IP address and the port numbers of long-range PC, and analysis result is sent to the network processes submodule;
Accordingly, the protocol analysis submodule also can receive the FTP message that debugger object returns through the network processes submodule, and analysis result is sent to the network processes submodule.
In the present embodiment, the network processes submodule can be set up a bi-directional data tunnel in order to bearing IP packet according to the indication of long-range PC between long-range PC and debugger object, and for example, shown in Fig. 2 A, the bi-directional data tunnel of bearing IP packet is:
Long-range PC->network processes submodule->debugger object->the network processes submodule->long-range PC
In like manner, the protocol analysis submodule can be set up one in order to carry the bi-directional data tunnel of FTP control message according to the indication of long-range PC between long-range PC and debugger object, for example, shown in Fig. 2 B, in order to the bi-directional data tunnel that carries FTP control message be:
Long-range PC->network processes submodule->the protocol analysis submodule->the network processes submodule->debugger object->the network processes submodule->the protocol analysis submodule->the network processes submodule->long-range PC ";
And the network processes submodule can also be according to the indication of long-range PC; Between between long-range PC and the debugger object, set up one in order to carry the bi-directional data tunnel of FTP data message; For example, shown in Fig. 2 B, be in order to the bi-directional data tunnel that carries FTP control message:
Long-range PC->network processes submodule->debugger object->the network processes submodule->long-range PC
Can know by Fig. 2 B; When transmission FTP control message; The network processes submodule need be controlled message transmissions to protocol analysis module with FTP and resolve; And make subsequent treatment according to the analysis result that returns, and when transmission FTP data message, the network processes submodule can directly be sent to debugger object with the FTP data message.
On the other hand, if debugger object is a master control borad, then the network processes submodule can directly transfer to master control borad with FTP control message and the FTP data message after IP message, the parsing; And if debugger object is other integrated circuit boards, like baseband board, then the network processes submodule can pass through master control borad transparent transmission to other integrated circuit boards with FTP control message after IP message, the parsing and FTP data message; Be that master control borad only is used for transmission, can not make any dissection process, this is and maximum different of prior art; Like this; When different integrated circuit boards are carried out remote debugging, just need on master control borad, not carry out handover operation, effectively saved debug time.
Based on technique scheme, in the embodiment of the invention, do not receive the threat of external attack in order to guarantee the inside of base station network environment, preferable, in the process that realizes base station remote debugging, all messages of turnover base station all will pass through the processing of network control module.For the normal message that mails to the base station, network control module can be revised the message relevant field according to preset configuration, mails to corresponding integrated circuit board again and handles.
Under the prior art, why transferring the survey mouth can be connected to the processor of each integrated circuit board at near-end through connecting base station LMT, is because be provided with an inside of base station IP address in the processor of each integrated circuit board, is also referred to as processor IP address; And when long-range connection, because the base station public network IP is configured on the master control borad, so long-range PC can be connected to master control borad earlier, communicate through master control borad and other integrated circuit boards again, therefore long-range connection master control borad is just arranged, sign in to the possibility of other integrated circuit boards again.And in the embodiment of the invention; For long-range PC, it only can obtain the base station public network IP, can't obtain the processor IP address of each integrated circuit board; Thereby; If can make amendment to the IP address of message through network control module at inside of base station, just can make long-range PC be connected with each integrated circuit board, promptly need not master control borad and make the transfer parse operation.And during other integrated circuit boards of long-range connection; The port numbers of the packet that long-range PC sends can be calculated according to debugger object (being the processor on the integrated circuit board) corresponding integrated circuit board slot number and Processor Number Feature; Be to be one to one between port numbers and the processor IP address; Like this, when the network control module in the base station receives the message of long-range PC transmission, just can revise the source IP address and the purpose IP address of message according to above-mentioned port numbers; And the message that sends for the base station, network control module then can be revised source IP address and the purpose IP address of message according to above-mentioned port numbers, and destination interface, thus order each integrated circuit board through long-range PC connection inside of base station becomes possibility.
Consult shown in Figure 3ly, in the embodiment of the invention, the network control module through inside of base station realizes that the detailed process of remote debugging base station is following:
Step 300: the message of base station debugging is carried out in the indication that network control module receiving remote PC in the base station sends, and obtains the IP address (below be called IP address, office terminal), base station public network IP address of long-range PC and in order to the port numbers of unique identification debugger object through this message.
Above-mentioned debugger object promptly is meant the processor on inside of base station each integrated circuit board to be debugged; It can be the processor on the master control borad; Also can be the processor on the baseband board, can also be the processor on the RRC, and it also can be a plurality of that the number of the processor on each integrated circuit board can be one; Preferable, a long-range PC connects a processor.The port numbers of debugger object can be used for this debugger object of unique identification; The value of this port numbers is calculated acquisition by the integrated circuit board slot number of groove position, debugger object place and the Processor Number Feature of debugger object self; The formula that calculates port numbers is: A+ integrated circuit board slot number * B+ Processor Number Feature * C; The constant that is provided with in advance according to daily experience for the keeper of A, B, C wherein, usually, above-mentioned port numbers is carried in the message as source port number and mails to the base station by long-range PC.
Consult shown in Fig. 2 A; If long-range PC realizes transferring the survey interface function or/and console function in the current Long-distance Control base station that needs; Then long-range PC adopts IP message (being TCP or UDP message) and base station mutual, and wherein, the source IP address of IP message is that IP address, office terminal, the purpose IP address of long-range PC is the base station public network IP address; The source port number of IP message promptly is the port numbers of debugger object, is calculated by the integrated circuit board slot number of groove position, debugger object place and the Processor Number Feature of debugger object self; At this moment, the message that network controller receives is the IP message, and then network control module is resolved this IP message through the network processes submodule of inside, with the port numbers of the IP address, office terminal, base station public network IP address and the debugger object that obtain long-range PC;
Consult shown in Fig. 2 B; If long-range PC realizes the ftp file transfer function in the current Long-distance Control base station that needs; Then long-range PC adopts FTP control message and FTP data message and base station mutual; Wherein, IP address, office terminal, purpose IP address that the source IP address of FTP control message and FTP data message is long-range PC are the base station public network IP address, and the source port number of IP message all is port numbers of debugger object, are calculated by the integrated circuit board slot number of groove position, debugger object place and the Processor Number Feature of debugger object self; At this moment; Long-range PC can send FTP control message usually earlier; When network controller receives FTP control message, resolve, with the port numbers of the IP address, office terminal, base station public network IP address and the debugger object that obtain long-range PC through this FTP control message of protocol analysis submodule of inside; Afterwards, the protocol analysis submodule also can be sent to the network processes submodule with analysis result, makes the network processes submodule also obtain the port numbers of IP address, office terminal, base station public network IP address and the debugger object of long-range PC.
It is thus clear that; If the message that network controller receives is the FTP message; Then network control module is forwarded to the protocol analysis submodule with this FTP message through the network processes submodule; By the protocol analysis submodule this FTP message is resolved, with the port numbers of the IP address, office terminal, base station public network IP address and the debugger object that obtain long-range PC.
On the other hand, the number that sends the office terminal of message to the base station can be one, also can be a plurality of, if the latter, the base station can parallel processing, repeats no more at this.
Step 310: network control module obtains the processor IP address of the preset debugger object of corresponding above-mentioned port numbers, and the IP address (being the IP address of network control module) that obtains self.
Between the processor IP address of the port numbers of debugger object and debugger object, be provided with mapping relations one to one in advance, the port numbers of carrying in the message that network control module sends according to long-range PC promptly can be known the processor IP address of debugger object.
Step 320: network control module is set up data tunnel between office terminal and debugger object; And, adopt above-mentioned data tunnel to realize the transfer of data that is used for debugging operations between office terminal and the debugger object based on the processor IP address and its own IP address of the IP address, office terminal that obtains, base station public network IP address, debugger object.
In the embodiment of the invention; Network control module is based on the processor IP address and its own IP address of the IP address, office terminal that obtains, base station public network IP address, debugger object; When between long-range PC and debugger object, setting up data tunnel; According to different concrete application scenarioss, network control module can adopt different processing modes, is specially:
Under first kind of situation; If long-range PC is the IP message to the message that network control module sends; Then network control module is resolved this IP message through the network processes submodule of inside; And after obtaining the processor IP address and its own IP address of IP address, office terminal, base station public network IP address, debugger object of long-range PC, between long-range PC, network processes submodule and debugger object, set up two-way data tunnel in order to bearing IP packet through the network processes submodule.
Under second kind of situation; If the message that long-range PC sends to network control module is FTP message (what at first send usually is that FTP controls message); Then network control module is set up between office terminal, network processes submodule, protocal analysis submodule and debugger object in order to carry the two-way data tunnel of FTP control message through network processes submodule and protocal analysis submodule earlier; Then; Protocal analysis submodule through inside is resolved the FTP control message that receives; And after obtaining the processor IP address and its own IP address of IP address, office terminal, base station public network IP address, debugger object of long-range PC, again through the network processes submodule of inside between office terminal and debugger object, set up in order to carry the two-way data tunnel of FTP data message.
Can find out through above-mentioned second kind of situation; For the ftp file transfer function, need to resolve the File Transfer Protocol message, the operation of analytic message by network control module inside independently the protocol analysis submodule handle; It is deleted dynamically according to message content and builds data tunnel; Realize the ftp file transfer function, network control module can be created two kinds of data tunnels: a kind of data tunnel of the FTP of being control message, and a kind of is the data tunnel of FTP data message; When using File Transfer Protocol to carry out the ftp file transmission, all FTP control messages all pass through data tunnel that FTP controls message and transfer to the protocal analysis submodule and handle.
After adopting said method to set up data tunnel, network control module just adopts the data tunnel of having set up to realize the transfer of data that is used for debugging operations between office terminal and the debugger object, and to accomplish debugging operations, concrete mode is following:
To the IP message; Network control module is when initialization; Create the binary matched rule; The source port number of Match IP message and destination slogan, when long-range PC sent first IP message (below be called an IP message), network control module can be based on binary matched rule coupling (promptly filtering out) this IP message of creating; And know which processor that mails to which groove position, thereby calculate corresponding processor IP address according to the source port number (being the port numbers of debugger object) that the IP message carries; Then; The network control module just source IP address of the one IP message that will receive of the network processes submodule through inside is revised as its own IP address; With the purpose IP address modification of an IP message is the processor IP address of debugger object, keeps source port number constant simultaneously, and promptly source port number still is the port numbers of the debugger object of long-range PC transmission; Then, network control module mails to debugger object through the network processes submodule of inside with an amended IP message; And when network control module receives the 2nd IP message that debugger object returns; The source IP address of the 2nd IP message that the network processes submodule of network control module through inside will receive is revised as the base station public network IP address; With the purpose IP address modification of the 2nd IP message is IP address, office terminal; Keep the destination slogan constant simultaneously, promptly the destination slogan is the port numbers that debugger object sends, and the destination slogan of the 2nd IP message is set to the port numbers of debugger object; At last, network control module mails to long-range PC through the network processes submodule of inside with amended the 2nd IP message.
To the FTP message; Behind the data tunnel of setting up FTP control message; When long-range PC (like FTP Server) send FTP control message (as, response code is 227 FTP control message) time, the inner protocal analysis submodule of network control module is resolved this FTP control message; Obtain Server IP address (being IP address, office terminal), base station public network IP address and the source port number (being the port numbers of debugger object) of long-range PC; Then, the network processes submodule is according to the data tunnel of the analysis result establishment FTP data message of protocol analysis submodule, like this; The network processes submodule can mate the IP address, office terminal that source IP address is long-range PC at down direction; Purpose IP address is the base station public network IP address, and simultaneously source port number is the FTP data message of the port numbers of debugger object, and is the processor IP address of debugger object at up direction coupling source IP address; Purpose IP address is network control module IP address, and destination interface is the FTP data message of the port numbers of debugger object simultaneously; After filtering out these FTP data messages, the inner network processes submodule of network control module is transmitted after can revising its source IP address and purpose IP address again, is specially:
When receiving the FTP control message of long-range PC transmission; Network control module is revised as its own IP address through the protocal analysis submodule of inside with the source IP address that a FTP controls message; With the purpose IP address setting of FTP control message is the processor IP address of debugger object; Keep source port number constant simultaneously, promptly source port number still is the port numbers of the debugger object of long-range PC transmission, and FTP control message is mail to debugger object; And when receiving the 2nd FTP control message that debugger object returns; Network control module is revised as the base station public network IP address through the protocal analysis processing sub of inside with the source IP address that the 2nd FTP controls message; With the purpose IP address setting of the 2nd FTP control message is IP address, office terminal; Keep the destination slogan constant simultaneously, i.e. the source port number port numbers of still sending for debugger object, and the 2nd FTP control message mail to long-range PC; And
When receiving a FTP data message of long-range PC transmission; The protocal analysis submodule of network control module through inside is revised as its own IP address with the source IP address of a FTP data message; With the purpose IP address setting of a FTP data message is the processor IP address of debugger object,, keep source port number constant simultaneously; Be that source port number still is the port numbers of the debugger object of long-range PC transmission, and a FTP data message is mail to debugger object; And when receiving the 2nd FTP data message that debugger object returns; Network control module is revised as the base station public network IP address through the protocal analysis processing sub of inside with the source IP address that the 2nd FTP controls message; With the purpose IP address modification of the 2nd FTP data message is the remote PCI P address; Keep the destination slogan constant simultaneously, i.e. the destination slogan port numbers of still sending for debugger object, and said the 2nd FTP data message mail to long-range PC.
In the above-described embodiments; When long-range PC closes or break off connection; Network control module can't be with the data tunnel deletion of current foundation; But operation below carrying out: when connecting identical debugger object according to long-range PC indication, new data tunnel is set up in the data tunnel deletion of again last time being set up simultaneously next time; Perhaps, when the total number of the data tunnel of confirming to have set up reaches the setting threshold value, delete current all data tunnels of having set up, and create corresponding data tunnel again according to the indication of long-range PC.
In sum, in the embodiment of the invention, the source IP address and the purpose IP address of the message that receives revised in the base station through the network control module of inside; Like this; Just under the prerequisite that separates the inside and outside network, guaranteed that internal network does not receive ectocine, also guaranteed the proper communication of remote debugging data simultaneously; Thereby the ability that provides long-range PC to connect and debug a plurality of integrated circuit board processors in a plurality of base stations under need not situation through the master control borad handoff processor; Reduce the complicated operation degree of base station remote debugging, reduced the operating mistake rate, improved debugging efficiency effectively.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1. a method that realizes base station remote debugging is characterized in that, comprising:
The message of base station debugging is carried out in the indication that send at network control module receiving management terminal in the base station, and obtains IP address, office terminal, base station public network IP address and in order to the port numbers of unique identification debugger object through this message;
Said network control module obtains the processor IP address of the preset said debugger object of corresponding said port numbers, and the IP address that obtains self;
Said network control module is set up data tunnel between said office terminal and debugger object; And, adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object.
2. the method for claim 1 is characterized in that, network control module obtains IP address, said office terminal, base station public network IP address and port numbers through said message, comprising:
If said message is the IP message, then network control module is resolved said IP message through the network processes submodule of inside, to obtain IP address, said office terminal, base station public network IP address and port numbers;
If said message is the FTP message, then network control module is resolved said FTP message through the protocol analysis submodule of inside, to obtain IP address, said office terminal, base station public network IP address and port numbers.
3. method as claimed in claim 2 is characterized in that, said network control module is set up data tunnel between said office terminal and debugger object, comprising:
If said message is the IP message, then network control module is set up the data tunnel in order to bearing IP packet through inner network processes submodule between said office terminal and debugger object;
If said message is the FTP message; Then network control module is earlier through inner network processes submodule and protocal analysis submodule; Between said office terminal and debugger object, set up in order to carry the data tunnel of FTP control message, between said office terminal and debugger object, set up in order to carry the data tunnel of FTP data message through inner network processes submodule again.
4. like claim 2 or 3 described methods; It is characterized in that; Said network control module is based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object; Adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object, comprising:
When receiving an IP message that sends the office terminal; Network control module is set to its own IP address through the source IP address of the said IP message of network processes submodule of inside; With the purpose IP address setting of a said IP message is the processor IP address of debugger object, and a said IP message is mail to debugger object; And when receiving the 2nd IP message that debugger object returns; Network control module is set to the base station public network IP address through the source IP address of said the 2nd IP message of network processes submodule of inside; With the purpose IP address setting of said the 2nd IP message is IP address, office terminal, and said the 2nd IP message is mail to the office terminal.
5. like claim 2 or 3 described methods; It is characterized in that; Said network control module is based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object; Adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object, comprising:
When receiving the FTP control message that sends the office terminal; Network control module is set to its own IP address through the source IP address of the said FTP control of the protocal analysis submodule of inside message; With the purpose IP address setting of said FTP control message is the processor IP address of debugger object, and said FTP control message is mail to said debugger object; And when receiving the 2nd FTP control message that debugger object returns; Network control module is set to the base station public network IP address through the source IP address of said the 2nd FTP control of the protocal analysis processing sub of inside message; With the purpose IP address setting of said the 2nd FTP control message is IP address, office terminal, and said the 2nd FTP control message is mail to the office terminal; And
When receiving a FTP data message that sends the office terminal; Network control module is set to its own IP address through the source IP address of the said FTP data message of protocal analysis submodule of inside; With the purpose IP address setting of a said FTP data message is the processor IP address of debugger object, and a said FTP data message is mail to said debugger object; And when receiving the 2nd FTP data message that debugger object returns; Network control module is set to the base station public network IP address through the source IP address of said the 2nd FTP control of the protocal analysis processing sub of inside message; With the purpose IP address setting of said the 2nd FTP data message is IP address, office terminal, and said the 2nd FTP data message is mail to the office terminal.
6. like claim 1,2 or 3 described methods; It is characterized in that; When said office terminal is closed or break off connection; Said network control module keeps the data tunnel of current foundation, and the data tunnel of when next time connecting identical debugger object, once setting up in the deletion, and sets up new data tunnel; Perhaps, when the total number of the definite data tunnel of having set up of said network control module reaches the setting threshold value, delete current all data tunnels of having set up, and create corresponding data tunnel again.
7. like claim 1,2 or 3 described methods, it is characterized in that the number of said office terminal is one or more.
8. a device of realizing base station remote debugging is characterized in that, comprising:
Integrated circuit board is used to accomplish the application function of setting, and each piece integrated circuit board is provided with at least one processor as debugger object;
Network control module; Be used for that the receiving management terminal sends in order to carry out the message of base station debugging; Obtain IP address, office terminal, base station public network IP address and in order to the port numbers of unique identification debugger object through this message; And the processor IP address and the local network control module IP address that obtain the preset said debugger object of corresponding said port numbers; And between said office terminal and debugger object, set up data tunnel; And, adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object.
9. device as claimed in claim 8 is characterized in that, also comprises in the network control module:
The network processes submodule is used for when the message that receives is the IP message, said IP message being resolved, to obtain IP address, said office terminal, base station public network IP address and port numbers;
The protocol analysis submodule, being used at the message that receives is the FTP message, said FTP message is resolved, to obtain IP address, said office terminal, base station public network IP address and port numbers.
10. device as claimed in claim 9 is characterized in that, said network control module is set up data tunnel between said office terminal and debugger object, comprising:
If said message is the IP message, then network control module is set up the data tunnel in order to bearing IP packet through inner network processes submodule between said office terminal and debugger object;
If said message is the FTP message; Then network control module is earlier through inner network processes submodule and protocal analysis submodule; The data tunnel of between said office terminal and debugger object, setting up in order to carrying FTP control message, the data tunnel of setting up between said office terminal and debugger object through the network processes submodule of inside again in order to carrying FTP data message.
11. like claim 9 or 10 described devices; It is characterized in that; Said network control module is based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object; Adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object, comprising:
When receiving an IP message that sends the office terminal; Network control module is set to its own IP address through the source IP address of the said IP message of network processes submodule of inside; With the purpose IP address setting of a said IP message is the processor IP address of debugger object, and a said IP message is mail to debugger object; And when receiving the 2nd IP message that debugger object returns; Network control module is set to the base station public network IP address through the source IP address of said the 2nd IP message of network processes submodule of inside; With the purpose IP address setting of said the 2nd IP message is IP address, office terminal, and said the 2nd IP message is mail to the office terminal.
12. like claim 9 or 10 described devices; It is characterized in that; Said network control module is based on the processor IP address and its own IP address of IP address, said office terminal, base station public network IP address, debugger object; Adopt said data tunnel to realize the transfer of data that is used for debugging operations between said office terminal and the debugger object, comprising:
When receiving the FTP control message that sends the office terminal; Network control module is set to its own IP address through the source IP address of the said FTP control of the protocal analysis submodule of inside message; With the purpose IP address setting of said FTP control message is the processor IP address of debugger object, and said FTP control message is mail to said debugger object; And when receiving the 2nd FTP control message that debugger object returns; Network control module is set to the base station public network IP address through the source IP address of said the 2nd FTP control of the protocal analysis processing sub of inside message; With the purpose IP address setting of said the 2nd FTP control message is IP address, office terminal, and said the 2nd FTP control message is mail to the office terminal; And
When receiving a FTP data message that sends the office terminal; Network control module is set to its own IP address through the source IP address of the said FTP data message of protocal analysis submodule of inside; With the purpose IP address setting of a said FTP data message is the processor IP address of debugger object, and a said FTP data message is mail to said debugger object; And when receiving the 2nd FTP data message that debugger object returns; Network control module is set to the base station public network IP address through the source IP address of said the 2nd FTP control of the protocal analysis processing sub of inside message; With the purpose IP address setting of said the 2nd FTP data message is IP address, office terminal, and said the 2nd FTP data message is mail to the office terminal.
13. like claim 8,9 or 10 described devices; It is characterized in that; When said office terminal is closed or break off connection; Said network control module keeps the data tunnel of current foundation, and the data tunnel of when next time connecting identical debugger object, once setting up in the deletion, and sets up new data tunnel; Perhaps, when the total number of the definite data tunnel of having set up of said network control module reaches the setting threshold value, delete current all data tunnels of having set up, and create corresponding data tunnel again.
CN201110366854.8A 2011-11-17 2011-11-17 A kind of method and device realizing base station remote debugging Active CN102447738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110366854.8A CN102447738B (en) 2011-11-17 2011-11-17 A kind of method and device realizing base station remote debugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110366854.8A CN102447738B (en) 2011-11-17 2011-11-17 A kind of method and device realizing base station remote debugging

Publications (2)

Publication Number Publication Date
CN102447738A true CN102447738A (en) 2012-05-09
CN102447738B CN102447738B (en) 2015-08-05

Family

ID=46009822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110366854.8A Active CN102447738B (en) 2011-11-17 2011-11-17 A kind of method and device realizing base station remote debugging

Country Status (1)

Country Link
CN (1) CN102447738B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761621A (en) * 2012-07-17 2012-10-31 中兴通讯股份有限公司 Version upgrading method, device and system
CN104037946A (en) * 2014-06-27 2014-09-10 浪潮(北京)电子信息产业有限公司 Machine room power control method, device and system
CN104602256A (en) * 2015-01-21 2015-05-06 大唐移动通信设备有限公司 Message transmission method and system
CN105208589A (en) * 2015-08-17 2015-12-30 大唐移动通信设备有限公司 Reverse maintenance method and equipment
CN106454897A (en) * 2016-10-18 2017-02-22 合肥浮点信息科技有限公司 Control system for debugging communication network base station
CN107645727A (en) * 2016-07-20 2018-01-30 大唐移动通信设备有限公司 A kind of method and device of testing base station
CN109450928A (en) * 2018-12-12 2019-03-08 航天新长征大道科技有限公司 A kind of across cloud data penetration transmission method and system based on UDP and Modbus TCP
CN112491970A (en) * 2020-11-09 2021-03-12 山东星宏电讯有限责任公司 Remote debugging end deployment method based on virtual network link

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184316A (en) * 2007-12-17 2008-05-21 华为技术有限公司 Base station debugging method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184316A (en) * 2007-12-17 2008-05-21 华为技术有限公司 Base station debugging method, device and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761621A (en) * 2012-07-17 2012-10-31 中兴通讯股份有限公司 Version upgrading method, device and system
CN104037946A (en) * 2014-06-27 2014-09-10 浪潮(北京)电子信息产业有限公司 Machine room power control method, device and system
CN104602256A (en) * 2015-01-21 2015-05-06 大唐移动通信设备有限公司 Message transmission method and system
CN104602256B (en) * 2015-01-21 2018-06-08 大唐移动通信设备有限公司 A kind of method and system of message transmissions
CN105208589A (en) * 2015-08-17 2015-12-30 大唐移动通信设备有限公司 Reverse maintenance method and equipment
CN105208589B (en) * 2015-08-17 2019-02-26 大唐移动通信设备有限公司 A kind of reversed maintaining method and equipment
CN107645727A (en) * 2016-07-20 2018-01-30 大唐移动通信设备有限公司 A kind of method and device of testing base station
CN107645727B (en) * 2016-07-20 2020-04-03 大唐移动通信设备有限公司 Method and device for testing base station
CN106454897A (en) * 2016-10-18 2017-02-22 合肥浮点信息科技有限公司 Control system for debugging communication network base station
CN109450928A (en) * 2018-12-12 2019-03-08 航天新长征大道科技有限公司 A kind of across cloud data penetration transmission method and system based on UDP and Modbus TCP
CN112491970A (en) * 2020-11-09 2021-03-12 山东星宏电讯有限责任公司 Remote debugging end deployment method based on virtual network link

Also Published As

Publication number Publication date
CN102447738B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN102447738A (en) Method and device for realizing remote debugging of base station
US10652089B2 (en) Controlling of communication network comprising virtualized network functions
CN1997985B (en) Method and system for wireless connectivity in a mobile environment
GB9913102D0 (en) An element for a communications system
US9270571B2 (en) Router collaboration
CN105306536A (en) Method for intelligent terminal to remotely execute service command based on WiFi (Wireless Fidelity)
US11917523B2 (en) Polymorphic network control system and method supporting mobile access of terminal
CN101340459A (en) Remote control method based on Bluetooth
CN101409939A (en) End-to-end system for implementing enterprise application data real time propelling movement and method thereof
CN105873011A (en) Trunking service data transmission and control method, device and equipment
CN104967572A (en) Network access method, apparatus and equipment
CN104506405B (en) The method and device of cross-domain access
JP5676067B1 (en) Communication method and communication system
CN105007260B (en) A kind of Wi Fi signal extension system and methods based on ICP/IP protocol transformation
EP1283628A1 (en) Data terminal activation and control device, WAP server and method for enabling a WAP radiotelephone terminal to remotely activate and control a distant data terminal
KR20020023725A (en) Position Finding Mobile Communication Repeater for Terminal Position Tracking
CN104618468A (en) Method and device for transmitting service data message
KR20090047865A (en) Method and system for voice call in urc enviroment
CN107733801B (en) Method and equipment for receiving and sending message
CN109147306A (en) Management method, equipment and the management system of the network equipment
CN115022116A (en) Radio remote communication system and control method thereof
SE0402208D0 (en) Method and arrangement in a telecommunication system
KR101979527B1 (en) Network system, center router, base router, update method of NAPT table
CN105228091A (en) A kind of control method of ibeacon Bluetooth communication and device
CN105703953A (en) OTT service resource consumption determining method and system

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