CN102447738B - A kind of method and device realizing base station remote debugging - Google Patents

A kind of method and device realizing base station remote debugging Download PDF

Info

Publication number
CN102447738B
CN102447738B CN201110366854.8A CN201110366854A CN102447738B CN 102447738 B CN102447738 B CN 102447738B CN 201110366854 A CN201110366854 A CN 201110366854A CN 102447738 B CN102447738 B CN 102447738B
Authority
CN
China
Prior art keywords
address
message
ftp
debugging
management terminal
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
CN201110366854.8A
Other languages
Chinese (zh)
Other versions
CN102447738A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the communications field, disclose a kind of method and the device that realize base station remote debugging, in order to reduce the complexity of base station debugging, and improve debugging efficiency.The method is: the message of base station debugging is carried out in the instruction that the network control module receiving management terminal in base station sends, IP address, office terminal is obtained by this message, base station public network IP address and the port numbers in order to unique identification debugger object, and obtain should the port numbers processor IP address of debugger object of presetting and the IP address of self, and data tunnel is set up between office terminal and debugger object, and realize the transfer of data for debugging operations between office terminal and debugger object based on the information employing data tunnel obtained, like this, just when not needing to connect and the ability of debugging the multiple board processor in multiple base station by providing long-range PC when master control borad handoff processor, the operation complexity reducing base station remote debugging improves debugging efficiency effectively.

Description

Method and device for realizing remote debugging of base station
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for implementing remote debugging of a base station.
Background
In the process of debugging the base station, except for using a Local Maintenance Terminal (LMT-B) to configure and control the base station, sometimes a debugging function provided by the base station is needed to achieve positioning and solve the problem. When the near end debugs the base station, the control console function of the base station board card, the abundant debugging interface function and the file transmission function of file transmission with the base station board card can be used. Generally, debug information for each task may be received on the board console, and a test function may be invoked. The debugging interface provides various debugging methods, including task management, mutual exclusion lock management, memory pool management and the like. The file transmission function enables a user to update the version of the board software and acquire the log file of the board at any time.
In the research and development and product test stage, the LMT debugging interface connected to the base station at the near end can conveniently realize debugging and positioning of the base station, because the LMT debugging interface can be directly connected to the main control board, the baseband board and the RRU (radio remote unit) in the base station. However, in a TD-LTE (TD-SCDMA Long Term Evolution) networking environment, the management terminal is often far away from the base station in physical location, and cannot be directly connected to the LMT debug interface, but can only interact with the base station through the S1 port, and thus can only be connected to the main control board of the base station. For example, referring to fig. 1, in the prior art, a remote PC (i.e., a management terminal) may be directly connected to a main control board through a network control module inside a base station, and if a baseband board and an RRU are to be remotely connected, the main control board is required to perform a relay process.
Therefore, in the prior art, for the console function, if a remote PC needs to remotely connect a baseband board or an RRU in a base station to use the console function, the remote PC needs to remotely connect a main control board and then log in a corresponding board card for debugging; for the function of the debugging interface, a redirection debugging command is input into the main control board to redirect to the debugging interface; for the File transfer function, File transfer is realized by NFS (Network File System) sharing, that is, a File must be transferred to the main control board and then transferred to a corresponding board by the main control board, the main control board acquires the File from the board, and the management terminal acquires the File from the main control board.
In summary, in the prior art, when a remote PC is used to remotely debug a base station, all operations need to be transferred through a main control board, which is very inconvenient for a tester to operate, because the remote debugging method only allows to debug one board card at the same time, if the remote debugging method needs to operate on different board cards, the remote debugging method needs to switch back and forth between different board cards in the aforementioned manner, which not only increases the complexity of the debugging process, but also reduces the execution efficiency of the debugging process, and greatly increases the possibility of operation errors in the debugging process.
Disclosure of Invention
The embodiment of the invention provides a method and a device for realizing remote debugging of a base station, which are used for reducing the complexity of base station debugging and improving the debugging efficiency.
The embodiment of the invention provides the following specific technical scheme:
a method for realizing remote debugging of a base station comprises the following steps:
a network control module in the base station receives a message which is sent by a management terminal and indicates to debug the base station, and obtains an IP address of the management terminal, an IP address of a public network of the base station and a port number which is used for uniquely identifying a debugging object through the message;
the network control module acquires the processor IP address of the debugging object preset corresponding to the port number and acquires the IP address of the network control module;
the network control module establishes a data tunnel between the management terminal and the debugging object, and realizes data transmission for debugging operation between the management terminal and the debugging object by adopting the data tunnel based on the IP address of the management terminal, the IP address of the base station public network, the IP address of the processor of the debugging object and the IP address of the network control module.
An apparatus for implementing remote debugging of a base station, comprising:
the system comprises board cards and a debugging module, wherein the board cards are used for completing set application functions, and each board card is provided with at least one processor serving as a debugging object;
the network control module is used for receiving a message which is sent by a management terminal and used for debugging a base station, acquiring an IP address of the management terminal, an IP address of a public network of the base station and a port number used for uniquely identifying a debugging object through the message, acquiring a processor IP address of the debugging object and an IP address of the network control module, which are preset corresponding to the port number, establishing a data tunnel between the management terminal and the debugging object, and realizing data transmission for debugging operation between the management terminal and the debugging object by adopting the data tunnel based on the IP address of the management terminal, the IP address of the public network of the base station, the processor IP address of the debugging object and the IP address of the network control module.
In the embodiment of the invention, the base station modifies the source IP address and the destination IP address of the received message through the internal network control module, thus ensuring that the internal network is not influenced by the outside on the premise of separating the internal network from the external network and ensuring the normal communication of remote debugging data, thereby providing the capability of connecting a remote PC and debugging a plurality of board card processors of a plurality of base stations under the condition of not switching the processors through a main control board, reducing the operation complexity of remote debugging of the base stations, reducing the operation error rate and effectively improving the debugging efficiency.
Drawings
FIG. 1 is a diagram illustrating a connection relationship between a remote PC and a base station according to the prior art and an embodiment of the present invention;
fig. 2A is a schematic functional structure diagram of a first network control module according to an embodiment of the present invention;
fig. 2B is a functional structure diagram of a second network control module according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of a remote debugging process of a base station through a network control module according to an embodiment of the present invention.
Detailed Description
In order to reduce the debugging complexity and improve the debugging efficiency in the process of remotely debugging the base station, in the embodiment of the invention, in order to ensure that the technical solution can be implemented, it is preferable that the system first ensures that the transmission resources of the base station are available, and a remote management terminal (hereinafter referred to as a remote PC) can remotely connect to the base station, secondly, a plurality of remote PCs can be simultaneously connected with different board card processors respectively, different remote PCs can be connected with different processors, for example, remote PC 1 is connected to the board card processor 1 on the baseband board, remote PC2 is connected to the board card processor 2 on the baseband board, and the remote PC3 is connected to the board card processor 3 on the RRU, with each remote PC being connected to a corresponding board card processor, direct communication can be realized through message address conversion operation of the network control module instead of through the transfer processing of the main control board.
The following is a detailed description of preferred embodiments of the present invention.
Referring to fig. 1, in the embodiment of the present invention, a network control module and a plurality of boards are disposed in a base station, where the boards may be of various types, and may be a main control board, a baseband board, or an RRU; wherein,
the system comprises board cards and a debugging module, wherein the board cards are used for completing set application functions, and each board card is provided with at least one processor serving as a debugging object;
in the following embodiments, only the board card is taken as the base band board for example.
The network control module is used for receiving a message which is sent by a remote PC and used for debugging the base station, acquiring a management terminal IP address, a base station public network IP address and a port number used for uniquely identifying a debugging object through the message, acquiring a processor IP address of the debugging object preset corresponding to the port number and the local network control module IP address, establishing a data tunnel between the management terminal and the debugging object, and adopting the established data tunnel to realize data transmission for debugging operation between the management terminal and the debugging object based on the acquired management terminal IP address, the base station public network IP address, the processor IP address of the debugging object and the self IP address.
Referring to fig. 2A and 2B, a network processing sub-module and a protocol parsing sub-module are disposed inside the network control module, wherein,
the network processing submodule is used for receiving a message sent by the remote PC, directly analyzing the IP message when the message is the IP message so as to obtain a management terminal IP address of the remote PC, a base station public network IP address and a port number of a debugging object, and forwarding the message to the protocol analysis submodule for analysis processing when the message is an FTP message and receiving an analysis result returned by the protocol analysis submodule;
correspondingly, the network processing sub-module may also receive a message returned by the debug object, and similarly, when the message is an IP message, the network processing sub-module may directly analyze the IP message, and when the message is an FTP message, the network processing sub-module forwards the FTP message to the protocol analysis sub-module for analysis processing, and receives an analysis result returned by the protocol analysis sub-module.
The protocol analysis submodule is used for receiving an FTP message sent by the remote PC through the network processing submodule, analyzing the FTP message to obtain a management terminal IP address, a base station public network IP address and a port number of the remote PC, and sending an analysis result to the network processing submodule;
correspondingly, the protocol analysis submodule can also receive the FTP message returned by the debugging object through the network processing submodule and send the analysis result to the network processing submodule.
In this embodiment, the network processing sub-module may establish a bidirectional data tunnel used for carrying the IP packet between the remote PC and the debug object according to the instruction of the remote PC, for example, as shown in fig. 2A, the bidirectional data tunnel carrying the IP packet is:
remote PC- > network processing submodule- > debugging object- > network processing submodule- > remote PC
Similarly, the protocol parsing submodule may establish a bidirectional data tunnel used for carrying the FTP control message between the remote PC and the debug object according to the instruction of the remote PC, for example, as shown in fig. 2B, the bidirectional data tunnel used for carrying the FTP control message is:
remote PC- > network processing submodule- > protocol analysis submodule- > network processing submodule- > debugging object- > network processing submodule- > protocol analysis submodule- > network processing submodule- > remote PC ";
the network processing sub-module may also establish a bidirectional data tunnel for carrying the FTP data message between the remote PC and the debug object according to the instruction of the remote PC, for example, as shown in fig. 2B, the bidirectional data tunnel for carrying the FTP control message is:
remote PC- > network processing submodule- > debugging object- > network processing submodule- > remote PC
As shown in fig. 2B, when the FTP control message is transmitted, the network processing sub-module needs to transmit the FTP control message to the protocol parsing module for parsing, and perform subsequent processing according to the returned parsing result, and when the FTP data message is transmitted, the network processing sub-module can directly transmit the FTP data message to the debug object.
On the other hand, if the debugging object is the main control board, the network processing sub-module can directly transmit the IP message, the analyzed FTP control message and the FTP data message to the main control board, and if the debugging object is another board, such as a baseband board, the network processing sub-module can transmit the IP message, the analyzed FTP control message and the FTP data message to the other board through the main control board, that is, the main control board is only used for transmission and does not perform any analysis processing, which is the biggest difference from the prior art, so that when different boards are remotely debugged, the switching operation does not need to be performed on the main control board, and the debugging time is effectively saved.
Based on the above technical solution, in the embodiment of the present invention, in order to ensure that the internal network environment of the base station is not threatened by external attack, preferably, in the process of implementing remote debugging of the base station, all messages entering and exiting the base station are processed by the network control module. For normal messages sent to the base station, the network control module modifies the relevant fields of the messages according to preset configuration and sends the messages to the corresponding board card for processing.
In the prior art, the reason why the near end can be connected to the processors of the board cards through the LMT debugging ports of the connection base station is that the processor of each board card is provided with an internal IP address of the base station, which is also called as an IP address of the processor; and during remote connection, because the base station public network IP is configured on the main control board, the remote PC can be connected to the main control board firstly and then is communicated with other board cards through the main control board, so that the possibility of remotely connecting the main control board and then logging in other board cards is realized. In the embodiment of the invention, for the remote PC, the IP of the public network of the base station can only be obtained, and the IP address of the processor of each board card cannot be obtained, so that if the IP address of the message can be modified in the base station through the network control module, the remote PC can be connected with each board card, namely, the main control board is not required to perform transfer analysis operation. When other board cards are remotely connected, the port number of a data packet sent by the remote PC can be calculated according to the board card slot number corresponding to a debugging object (namely, a processor on the board card) and the processor serial number, namely, the port number is in one-to-one correspondence with the processor IP address, so that when a network control module in the base station receives a message sent by the remote PC, the source IP address and the destination IP address of the message can be modified according to the port number; for the message sent by the base station, the network control module can modify the source IP address, the destination IP address and the destination port of the message according to the port number, so that the connection of each board card in the base station through the remote PC becomes possible.
Referring to fig. 3, in the embodiment of the present invention, a detailed process for remotely debugging a base station through a network control module inside the base station is as follows:
step 300: a network control module in the base station receives a message which is sent by a remote PC and indicates to debug the base station, and acquires an IP address (hereinafter referred to as a management terminal IP address) of the remote PC, a public network IP address of the base station, and a port number for uniquely identifying a debugging object through the message.
The debugging object refers to a processor on each board card to be debugged in the base station, and may be a processor on the main control board, a processor on the baseband board, or a processor on the RRC, where the number of the processors on each board card may be one or more, and preferably, one remote PC is connected to one processor. The port number of the debugging object can be used for uniquely identifying the debugging object, the value of the port number is obtained by calculating the board card slot position number of the slot position where the debugging object is located and the processor serial number of the debugging object, and the formula for calculating the port number is as follows: a + board slot number B + processor serial number C, wherein A, B, C is a constant preset by an administrator according to daily experience, and usually, the port number is carried in a message as a source port number and sent from a remote PC to a base station.
Referring to fig. 2A, if the remote PC needs to remotely control the base station to implement the debugging interface function or/and the console function, the remote PC interacts with the base station by using an IP packet (i.e., a TCP or UDP packet), where a source IP address of the IP packet is an IP address of a management terminal of the remote PC, a destination IP address of the IP packet is an IP address of a public network of the base station, and a source port number of the IP packet is a port number of a debugging object, which is calculated from a board card slot number of a slot where the debugging object is located and a processor serial number of the debugging object itself; at this time, if the message received by the network controller is an IP message, the network control module analyzes the IP message through an internal network processing sub-module to obtain a management terminal IP address of the remote PC, a base station public network IP address and a port number of a debugging object;
referring to fig. 2B, if the remote PC needs to remotely control the base station to implement the FTP file transfer function, the remote PC interacts with the base station by using an FTP control message and an FTP data message, where source IP addresses of the FTP control message and the FTP data message are both management terminal IP addresses of the remote PC, destination IP addresses are both base station public network IP addresses, and source port numbers of the IP messages are both port numbers of the debug object, and are calculated from a board card slot number of a slot where the debug object is located and a processor serial number of the debug object itself; at this time, the remote PC usually sends an FTP control message first, and when the network controller receives the FTP control message, the network controller parses the FTP control message through an internal protocol parsing submodule to obtain a management terminal IP address of the remote PC, a base station public network IP address and a port number of a debugging object; and then, the protocol analysis submodule also transmits the analysis result to a network processing submodule, so that the network processing submodule also obtains the IP address of the management terminal of the remote PC, the IP address of the base station public network and the port number of the debugging object.
It can be seen that, if the message received by the network controller is an FTP message, the network control module forwards the FTP message to the protocol analysis submodule through the network processing submodule, and the protocol analysis submodule analyzes the FTP message to obtain the management terminal IP address of the remote PC, the base station public network IP address and the port number of the debugging object.
On the other hand, the number of the management terminals sending the message to the base station may be one or more, and if the number is the latter, the base station may process the messages in parallel, which is not described herein again.
Step 310: the network control module acquires the processor IP address of the debugging object preset corresponding to the port number and acquires the IP address of the network control module (namely the IP address of the network control module).
A one-to-one mapping relation is preset between the port number of the debugging object and the processor IP address of the debugging object, and the network control module can acquire the processor IP address of the debugging object according to the port number carried in the message sent by the remote PC.
Step 320: the network control module establishes a data tunnel between the management terminal and the debugging object, and realizes data transmission for debugging operation between the management terminal and the debugging object by adopting the data tunnel based on the acquired IP address of the management terminal, the IP address of the base station public network, the IP address of the processor of the debugging object and the IP address of the network control module.
In the embodiment of the present invention, based on the acquired IP address of the management terminal, the IP address of the public network of the base station, the IP address of the processor of the debug object, and the IP address of the network control module itself, when a data tunnel is established between the remote PC and the debug object, the network control module may adopt different processing modes according to different specific application scenarios, specifically:
in the first case, if the message sent by the remote PC to the network control module is an IP message, the network control module parses the IP message through the internal network processing sub-module, and after obtaining the management terminal IP address of the remote PC, the base station public network IP address, the processor IP address of the debug object, and its own IP address, establishes a bidirectional data tunnel for carrying the IP message among the remote PC, the network processing sub-module, and the debug object through the network processing sub-module.
In the second case, if the message sent by the remote PC to the network control module is an FTP message (usually, the first message is an FTP control message), the network control module first establishes a bidirectional data tunnel for carrying the FTP control message among the management terminal, the network processing sub-module, the protocol analysis sub-module, and the debug object through the network processing sub-module and the protocol analysis sub-module, then analyzes the received FTP control message through the internal protocol analysis sub-module, and obtains the IP address of the management terminal, the IP address of the public network of the base station, the IP address of the processor of the debug object, and the IP address of the processor of the remote PC, and then establishes a bidirectional data tunnel for carrying the FTP data message between the management terminal and the debug object through the internal network processing sub-module.
It can be seen from the second situation that, for the FTP file transfer function, the FTP protocol packet needs to be parsed, the operation of parsing the packet is processed by an independent protocol parsing submodule inside the network control module, and it dynamically deletes and creates a data tunnel according to the content of the packet, so as to implement the FTP file transfer function, and the network control module can create two data tunnels: when the FTP protocol is used for FTP file transmission, all the FTP control messages pass through the data tunnel of the FTP control messages and are processed by the protocol analysis submodule.
After the data tunnel is established by adopting the method, the network control module adopts the established data tunnel to realize the data transmission for debugging operation between the management terminal and the debugging object so as to finish the debugging operation, and the specific mode is as follows:
aiming at an IP message, when a network control module is initialized, a binary matching rule is established to match a source port number and a destination port number of the IP message, when a remote PC sends a first IP message (hereinafter referred to as a first IP message), the network control module matches (i.e. screens out) the IP message based on the established binary matching rule, and knows which processor is sent to which slot position according to the source port number (i.e. the port number of a debugging object) carried by the IP message, so that the IP address of the corresponding processor is calculated; then, the network control module modifies the source IP address of the received first IP packet into its own IP address through the internal network processing sub-module, modifies the destination IP address of the first IP packet into the processor IP address of the debug object, and keeps the source port number unchanged, i.e. the source port number is still the port number of the debug object sent by the remote PC, and then the network control module sends the modified first IP packet to the debug object through the internal network processing sub-module; and when the network control module receives a second IP message returned by the debugging object, the network control module modifies the source IP address of the received second IP message into the public network IP address of the base station through the internal network processing submodule, modifies the destination IP address of the second IP message into the IP address of the management terminal, simultaneously keeps the destination port number unchanged, namely the destination port number is the port number sent by the debugging object, sets the destination port number of the second IP message as the port number of the debugging object, and finally sends the modified second IP message to the remote PC through the internal network processing submodule.
Aiming at the FTP message, after establishing a data tunnel of the FTP control message, when a remote PC (such as FTPServer) sends the FTP control message (such as the FTP control message with a response code of 227), a protocol analysis submodule inside a network control module analyzes the FTP control message to obtain a Server IP address (namely a management terminal IP address), a base station public network IP address and a source port number (namely a port number of a debugging object) of the remote PC, then, a network processing submodule creates the data tunnel of the FTP data message according to the analysis result of the protocol analysis submodule, so that the network processing submodule can match a source IP address with the management terminal IP address of the remote PC in the downlink direction, a target IP address with the base station public network IP address, the FTP data message with the source port number being the port number of the debugging object and a processor IP address with the source IP address being the debugging object in the uplink direction, the destination IP address is a network control module IP address, and meanwhile, the destination port is an FTP data message of a port number of a debugging object; after the FTP data messages are screened out, a network processing submodule inside the network control module modifies the source IP address and the destination IP address and forwards the FTP data messages, and the method specifically comprises the following steps:
when a first FTP control message sent by a remote PC is received, a network control module modifies a source IP address of the first FTP control message into a self IP address through an internal protocol analysis submodule, sets a destination IP address of the first FTP control message as a processor IP address of a debugging object, simultaneously keeps a source port number unchanged, namely the source port number is still a port number of the debugging object sent by the remote PC, and sends the first FTP control message to the debugging object; when a second FTP control message returned by the debugging object is received, the network control module modifies a source IP address of the second FTP control message into a base station public network IP address through an internal protocol analysis processing submodule, sets a destination IP address of the second FTP control message as a management terminal IP address, simultaneously keeps a destination port number unchanged, namely a source port number is still a port number sent by the debugging object, and sends the second FTP control message to a remote PC; and
when a first FTP data message sent by a remote PC is received, a network control module modifies a source IP address of the first FTP data message into an IP address of the network control module through an internal protocol analysis submodule, sets a destination IP address of the first FTP data message as a processor IP address of a debugging object, simultaneously keeps a source port number unchanged, namely the source port number is still a port number of the debugging object sent by the remote PC, and sends the first FTP data message to the debugging object; and when receiving a second FTP data message returned by the debugging object, the network control module modifies the source IP address of the second FTP control message into a base station public network IP address through an internal protocol analysis processing submodule, modifies the destination IP address of the second FTP data message into a remote PCIP address, simultaneously keeps the destination port number unchanged, namely the destination port number is still the port number sent by the debugging object, and sends the second FTP data message to a remote PC.
In the above embodiment, when the remote PC is turned off or disconnected, the network control module does not delete the currently established data tunnel, but performs the following operations: when the same debugging object is connected according to the indication of the remote PC next time, deleting the data tunnel established last time and establishing a new data tunnel; or, when the total number of the established data tunnels reaches the set threshold value, deleting all the currently established data tunnels, and recreating the corresponding data tunnels according to the indication of the remote PC.
In summary, in the embodiments of the present invention, the base station modifies the source IP address and the destination IP address of the received packet through the internal network control module, so that the internal network is not affected by the outside world on the premise of separating the internal network from the external network, and normal communication of remote debugging data is also ensured, thereby providing the capability of connecting a remote PC and debugging multiple board card processors of multiple base stations without switching the processors through the main control board, reducing the operation complexity of remote debugging of the base station, reducing the operation error rate, and effectively improving the debugging efficiency.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (5)

1. A method for realizing remote debugging of a base station is characterized by comprising the following steps:
a network control module in a base station receives a message which is sent by a management terminal and indicates to debug the base station, and obtains a management terminal IP address, a base station public network IP address and a port number used for uniquely identifying a debugging object through the message, wherein if the message is the IP message, the network control module analyzes the IP message through an internal network processing submodule to obtain the management terminal IP address, the base station public network IP address and the port number; if the message is an FTP message, the network control module analyzes the FTP message through an internal protocol analysis submodule to obtain the IP address of the management terminal, the IP address of the base station public network and a port number;
the network control module acquires the processor IP address of the debugging object preset corresponding to the port number and acquires the IP address of the network control module;
the network control module establishes a data tunnel between the management terminal and the debugging object, wherein if the message is an IP message, the network control module establishes a data tunnel for bearing the IP message between the management terminal and the debugging object through an internal network processing sub-module; if the message is an FTP message, the network control module firstly establishes a data tunnel for bearing the FTP control message between the management terminal and the debugging object through an internal network processing submodule and a protocol analysis submodule, and then establishes a data tunnel for bearing the FTP data message between the management terminal and the debugging object through the internal network processing submodule; and are
Based on the IP address of the management terminal, the IP address of the public network of the base station, the IP address of the processor of the debugging object and the IP address of the processor, the data tunnel is adopted to realize the data transmission for debugging operation between the management terminal and the debugging object, and the method comprises the following steps:
when a first IP message sent by a management terminal is received, a network control module sets a source IP address of the first IP message as an IP address of the network control module through an internal network processing submodule, sets a destination IP address of the first IP message as a processor IP address of a debugging object, and sends the first IP message to the debugging object; when a second IP message returned by the debugging object is received, the network control module sets a source IP address of the second IP message as a public network IP address of the base station through an internal network processing submodule, sets a target IP address of the second IP message as a management terminal IP address, and sends the second IP message to a management terminal;
when a first FTP control message sent by a management terminal is received, a network control module sets a source IP address of the first FTP control message as a self IP address through an internal protocol analysis submodule, sets a target IP address of the first FTP control message as a processor IP address of a debugging object, and sends the first FTP control message to the debugging object; when a second FTP control message returned by the debugging object is received, the network control module sets a source IP address of the second FTP control message as a base station public network IP address through an internal protocol analysis processing submodule, sets a destination IP address of the second FTP control message as a management terminal IP address, and sends the second FTP control message to a management terminal; and
when a first FTP data message sent by a management terminal is received, a network control module sets a source IP address of the first FTP data message as a self IP address through an internal protocol analysis submodule, sets a target IP address of the first FTP data message as a processor IP address of a debugging object, and sends the first FTP data message to the debugging object; and when receiving a second FTP data message returned by the debugging object, the network control module sets a source IP address of the second FTP control message as a base station public network IP address through an internal protocol analysis processing submodule, sets a destination IP address of the second FTP data message as a management terminal IP address, and sends the second FTP data message to a management terminal.
2. The method of claim 1, wherein when the management terminal closes or disconnects, the network control module maintains a currently established data tunnel, and deletes a last established data tunnel and establishes a new data tunnel when connecting the same debug object next time; or, when the network control module determines that the total number of the established data tunnels reaches a set threshold value, deleting all the currently established data tunnels and re-establishing corresponding data tunnels.
3. The method of claim 1, wherein the number of the management terminals is one or more.
4. An apparatus for implementing remote debugging of a base station, comprising:
the system comprises board cards and a debugging module, wherein the board cards are used for completing set application functions, and each board card is provided with at least one processor serving as a debugging object;
the network control module is used for receiving a message sent by the management terminal and used for debugging the base station, and acquiring an IP address of the management terminal, an IP address of a public network of the base station and a port number used for uniquely identifying a debugging object through the message, wherein the network control module further comprises: the network processing submodule is used for analyzing the IP message when the received message is the IP message so as to obtain the IP address of the management terminal, the IP address of the base station public network and the port number; the protocol analysis submodule is used for analyzing the FTP message when the received message is the FTP message so as to obtain the IP address of the management terminal, the IP address of the base station public network and the port number; acquiring a processor IP address and a local network control module IP address of the debugging object preset corresponding to the port number, and establishing a data tunnel between the management terminal and the debugging object, wherein if the message is an IP message, the network control module establishes a data tunnel for bearing the IP message between the management terminal and the debugging object through an internal network processing submodule; if the message is an FTP message, the network control module firstly establishes a data tunnel for bearing the FTP control message between the management terminal and the debugging object through an internal network processing submodule and a protocol analysis submodule, and then establishes a data tunnel for bearing the FTP data message between the management terminal and the debugging object through the internal network processing submodule; and
based on the IP address of the management terminal, the IP address of the public network of the base station, the IP address of the processor of the debugging object and the IP address of the processor, the data tunnel is adopted to realize the data transmission for debugging operation between the management terminal and the debugging object, and the method comprises the following steps: when a first IP message sent by a management terminal is received, a network control module sets a source IP address of the first IP message as an IP address of the network control module through an internal network processing submodule, sets a destination IP address of the first IP message as a processor IP address of a debugging object, and sends the first IP message to the debugging object; when a second IP message returned by the debugging object is received, the network control module sets a source IP address of the second IP message as a public network IP address of the base station through an internal network processing submodule, sets a target IP address of the second IP message as a management terminal IP address, and sends the second IP message to a management terminal;
when a first FTP control message sent by a management terminal is received, a network control module sets a source IP address of the first FTP control message as a self IP address through an internal protocol analysis submodule, sets a target IP address of the first FTP control message as a processor IP address of a debugging object, and sends the first FTP control message to the debugging object; when a second FTP control message returned by the debugging object is received, the network control module sets a source IP address of the second FTP control message as a base station public network IP address through an internal protocol analysis processing submodule, sets a destination IP address of the second FTP control message as a management terminal IP address, and sends the second FTP control message to a management terminal; and
when a first FTP data message sent by a management terminal is received, a network control module sets a source IP address of the first FTP data message as a self IP address through an internal protocol analysis submodule, sets a target IP address of the first FTP data message as a processor IP address of a debugging object, and sends the first FTP data message to the debugging object; and when receiving a second FTP data message returned by the debugging object, the network control module sets a source IP address of the second FTP control message as a base station public network IP address through an internal protocol analysis processing submodule, sets a destination IP address of the second FTP data message as a management terminal IP address, and sends the second FTP data message to a management terminal.
5. The apparatus of claim 4, wherein when the management terminal closes or disconnects, the network control module maintains a currently established data tunnel, and deletes a last established data tunnel and establishes a new data tunnel when connecting the same debug object next time; or, when the network control module determines that the total number of the established data tunnels reaches a set threshold value, deleting all the currently established data tunnels and re-establishing corresponding data tunnels.
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 CN102447738A (en) 2012-05-09
CN102447738B true 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)

Families Citing this family (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
CN104037946B (en) * 2014-06-27 2017-01-18 浪潮(北京)电子信息产业有限公司 Machine room power control method, device and system
CN104602256B (en) * 2015-01-21 2018-06-08 大唐移动通信设备有限公司 A kind of method and system of message transmissions
CN105208589B (en) * 2015-08-17 2019-02-26 大唐移动通信设备有限公司 A kind of reversed maintaining method and equipment
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
CN109450928B (en) * 2018-12-12 2020-10-27 航天新长征大道科技有限公司 Cross-cloud data transparent transmission method and system based on UDP (user Datagram protocol) and Modbus TCP (Transmission control protocol)
CN112491970B (en) * 2020-11-09 2022-06-21 山东星宏电讯有限责任公司 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

Also Published As

Publication number Publication date
CN102447738A (en) 2012-05-09

Similar Documents

Publication Publication Date Title
CN102447738B (en) A kind of method and device realizing base station remote debugging
CN109873728B (en) Terminal testing method and device and storage medium
CN106375401B (en) Communication method of electric power multimode heterogeneous fusion device supporting multi-stream convergence
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN101286883A (en) Centralized debug system and method of equipment plate card in distributed equipment
CN109923836B (en) Method for transmitting test results from a wireless device under test using non-link test resources
EP2429150A1 (en) Apparatus, web service component and method based on web service
CN106487847B (en) Information processing method and transfer server
CN106534178A (en) System and method for realizing RapidIO network universal socket
US10700981B2 (en) Processing method for service flow packet, and device
CN104424036A (en) Synchronous operation method and device of smart terminal
CN101895441B (en) Service debugging device and method for JAVA application of terminal of Internet of things
CN109818901B (en) Method, device and system for determining message header compression mechanism
CN109302325A (en) Serial server, device management method and readable storage medium storing program for executing
CN113472637A (en) LORA gateway
CN111200519B (en) Data processing method and device, BBU, access network equipment and storage medium
CN117061431A (en) Heterogeneous network emergency communication system terminal fusion method, heterogeneous network emergency communication system terminal fusion device, terminal and medium
CN106559838B (en) business processing optimization method and device
TWI795619B (en) Gateway device with built-in server module and communication system thereof
CN210274135U (en) Remote connection system
CN113973134A (en) Data transmission method and device, electronic equipment and computer storage medium
CN107306268B (en) Communicating via application specific protocols over wide area networks
CN103973519A (en) Simulation testing system of switching center based on PC (Personal Computer) platform
CN110290553B (en) Terminal data wireless transmission system and method
WO2012115367A2 (en) Wireless communication method using health check, and system therefor

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